Values.DescribeFleetCapacityOutputSourceThis API works with the following fleet types: EC2, Container Retrieves the resource capacity settings for one or more fleets. For a container fleet, this operation also returns counts for game server container groups. With multi-location fleets, this operation retrieves data for the fleet's home Region only. To retrieve capacity for remote locations, see https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html. This operation can be used in the following ways: To get capacity data for one or more specific fleets, provide a list of fleet IDs or fleet ARNs. To get capacity data for all fleets, do not provide a fleet identifier. 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. Each FleetCapacity object includes a Location property, which is set to the fleet's home Region. Capacity values are returned only for fleets that currently exist. Some API operations may limit the number of fleet IDs that are allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed. Learn more Setting up Amazon GameLift Servers fleets GameLift metrics for fleets
type nonrec t = {fleetCapacity : FleetCapacityList.t option;A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist. Changes in desired instance value can take up to 1 minute to be reflected.
*)nextToken : NonZeroAndMaxString.t option;A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
*)}type nonrec error = [ | `InternalServiceException of InternalServiceException.t| `InvalidRequestException of InvalidRequestException.t| `NotFoundException of NotFoundException.t| `UnsupportedRegionException of UnsupportedRegionException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServiceException of InternalServiceException.t
| `InvalidRequestException of InvalidRequestException.t
| `NotFoundException of NotFoundException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `UnsupportedRegionException of UnsupportedRegionException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServiceException of InternalServiceException.t
| `InvalidRequestException of InvalidRequestException.t
| `NotFoundException of NotFoundException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `UnsupportedRegionException of UnsupportedRegionException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `String of FleetId.t
| `Structure of
(string
* [> `Enum of string | `Integer of WholeNumber.t ])
list ])
list ]
list
| `String of NonZeroAndMaxString.t ])
list ]