Amazon.GameLift.AmazonGameLiftClient.DescribeFleetCapacity C# (CSharp) 메소드

DescribeFleetCapacity() 공개 메소드

Retrieves the current status of fleet capacity for one or more fleets. This information includes the number of instances that have been requested for the fleet and the number currently active. You can request capacity for all fleets, or specify a list of one or more fleet IDs. When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a FleetCapacity object is returned for each requested fleet ID. When specifying a list of fleet IDs, attribute objects are returned only for fleets that currently exist.

Some API actions may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed.

/// The service encountered an unrecoverable internal failure while processing the request. /// Clients can retry such requests immediately or after a waiting period. /// /// One or more parameter values in the request are invalid. Correct the invalid parameter /// values before retrying. /// /// A service resource associated with the request could not be found. Clients should /// not retry such requests. /// /// The client failed authentication. Clients should not retry such requests. ///
public DescribeFleetCapacity ( DescribeFleetCapacityRequest request ) : DescribeFleetCapacityResponse
request Amazon.GameLift.Model.DescribeFleetCapacityRequest Container for the necessary parameters to execute the DescribeFleetCapacity service method.
리턴 Amazon.GameLift.Model.DescribeFleetCapacityResponse
        public DescribeFleetCapacityResponse DescribeFleetCapacity(DescribeFleetCapacityRequest request)
        {
            var marshaller = new DescribeFleetCapacityRequestMarshaller();
            var unmarshaller = DescribeFleetCapacityResponseUnmarshaller.Instance;

            return Invoke<DescribeFleetCapacityRequest,DescribeFleetCapacityResponse>(request, marshaller, unmarshaller);
        }
AmazonGameLiftClient