Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves current usage data for a fleet location. Utilization data
provides a snapshot of current game hosting activity at the requested
location. Use this operation to retrieve utilization information for a
fleet's remote location or home Region (you can also retrieve home
Region utilization by calling DescribeFleetUtilization
).
To retrieve utilization data, identify a fleet and location.
If successful, a FleetUtilization
object is returned for the requested
fleet location.
Learn more
Related actions
CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity | DescribeFleetUtilization | UpdateFleetCapacity | StopFleetActions | DeleteFleetLocations | All APIs by task
Synopsis
- data DescribeFleetLocationUtilization = DescribeFleetLocationUtilization' {}
- newDescribeFleetLocationUtilization :: Text -> Text -> DescribeFleetLocationUtilization
- describeFleetLocationUtilization_fleetId :: Lens' DescribeFleetLocationUtilization Text
- describeFleetLocationUtilization_location :: Lens' DescribeFleetLocationUtilization Text
- data DescribeFleetLocationUtilizationResponse = DescribeFleetLocationUtilizationResponse' {}
- newDescribeFleetLocationUtilizationResponse :: Int -> DescribeFleetLocationUtilizationResponse
- describeFleetLocationUtilizationResponse_fleetUtilization :: Lens' DescribeFleetLocationUtilizationResponse (Maybe FleetUtilization)
- describeFleetLocationUtilizationResponse_httpStatus :: Lens' DescribeFleetLocationUtilizationResponse Int
Creating a Request
data DescribeFleetLocationUtilization Source #
Represents the input for a request operation.
See: newDescribeFleetLocationUtilization
smart constructor.
Instances
newDescribeFleetLocationUtilization Source #
Create a value of DescribeFleetLocationUtilization
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fleetId:DescribeFleetLocationUtilization'
, describeFleetLocationUtilization_fleetId
- A unique identifier for the fleet to request location utilization for.
You can use either the fleet ID or ARN value.
$sel:location:DescribeFleetLocationUtilization'
, describeFleetLocationUtilization_location
- The fleet location to retrieve utilization information for. Specify a
location in the form of an AWS Region code, such as us-west-2
.
Request Lenses
describeFleetLocationUtilization_fleetId :: Lens' DescribeFleetLocationUtilization Text Source #
A unique identifier for the fleet to request location utilization for. You can use either the fleet ID or ARN value.
describeFleetLocationUtilization_location :: Lens' DescribeFleetLocationUtilization Text Source #
The fleet location to retrieve utilization information for. Specify a
location in the form of an AWS Region code, such as us-west-2
.
Destructuring the Response
data DescribeFleetLocationUtilizationResponse Source #
Represents the returned data in response to a request operation.
See: newDescribeFleetLocationUtilizationResponse
smart constructor.
DescribeFleetLocationUtilizationResponse' | |
|
Instances
newDescribeFleetLocationUtilizationResponse Source #
Create a value of DescribeFleetLocationUtilizationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fleetUtilization:DescribeFleetLocationUtilizationResponse'
, describeFleetLocationUtilizationResponse_fleetUtilization
- Utilization information for the requested fleet location. Utilization
objects are returned only for fleets and locations that currently exist.
$sel:httpStatus:DescribeFleetLocationUtilizationResponse'
, describeFleetLocationUtilizationResponse_httpStatus
- The response's http status code.
Response Lenses
describeFleetLocationUtilizationResponse_fleetUtilization :: Lens' DescribeFleetLocationUtilizationResponse (Maybe FleetUtilization) Source #
Utilization information for the requested fleet location. Utilization objects are returned only for fleets and locations that currently exist.
describeFleetLocationUtilizationResponse_httpStatus :: Lens' DescribeFleetLocationUtilizationResponse Int Source #
The response's http status code.