libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.DescribeFleetLocationUtilization

Description

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

Setting up GameLift fleets

GameLift metrics for fleets

Related actions

CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity | DescribeFleetUtilization | UpdateFleetCapacity | StopFleetActions | DeleteFleetLocations | All APIs by task

Synopsis

Creating a Request

data DescribeFleetLocationUtilization Source #

Represents the input for a request operation.

See: newDescribeFleetLocationUtilization smart constructor.

Constructors

DescribeFleetLocationUtilization' 

Fields

  • fleetId :: Text

    A unique identifier for the fleet to request location utilization for. You can use either the fleet ID or ARN value.

  • location :: Text

    The fleet location to retrieve utilization information for. Specify a location in the form of an AWS Region code, such as us-west-2.

Instances

Instances details
Eq DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

Read DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

Show DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

Generic DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

Associated Types

type Rep DescribeFleetLocationUtilization :: Type -> Type #

NFData DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

Hashable DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

ToJSON DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

AWSRequest DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

ToHeaders DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

ToPath DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

ToQuery DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

type Rep DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

type Rep DescribeFleetLocationUtilization = D1 ('MetaData "DescribeFleetLocationUtilization" "Amazonka.GameLift.DescribeFleetLocationUtilization" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DescribeFleetLocationUtilization'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeFleetLocationUtilization Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

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.

Constructors

DescribeFleetLocationUtilizationResponse' 

Fields

Instances

Instances details
Eq DescribeFleetLocationUtilizationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

Read DescribeFleetLocationUtilizationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

Show DescribeFleetLocationUtilizationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

Generic DescribeFleetLocationUtilizationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

NFData DescribeFleetLocationUtilizationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

type Rep DescribeFleetLocationUtilizationResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetLocationUtilization

type Rep DescribeFleetLocationUtilizationResponse = D1 ('MetaData "DescribeFleetLocationUtilizationResponse" "Amazonka.GameLift.DescribeFleetLocationUtilization" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DescribeFleetLocationUtilizationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetUtilization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FleetUtilization)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.