amazonka-gamelift-1.5.0: Amazon GameLift SDK.

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

Network.AWS.GameLift.DescribeFleetUtilization

Contents

Description

Retrieves utilization statistics for one or more fleets. You can request utilization data 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 FleetUtilization object is returned for each requested fleet ID. When specifying a list of fleet IDs, utilization objects are returned only for fleets that currently exist.

Fleet-related operations include:

  • CreateFleet
  • ListFleets
  • Describe fleets:
  • DescribeFleetAttributes
  • DescribeFleetPortSettings
  • DescribeFleetUtilization
  • DescribeRuntimeConfiguration
  • DescribeFleetEvents
  • Update fleets:
  • UpdateFleetAttributes
  • UpdateFleetCapacity
  • UpdateFleetPortSettings
  • UpdateRuntimeConfiguration
  • Manage fleet capacity:
  • DescribeFleetCapacity
  • UpdateFleetCapacity
  • PutScalingPolicy (automatic scaling)
  • DescribeScalingPolicies (automatic scaling)
  • DeleteScalingPolicy (automatic scaling)
  • DescribeEC2InstanceLimits
  • DeleteFleet

Synopsis

Creating a Request

describeFleetUtilization :: DescribeFleetUtilization Source #

Creates a value of DescribeFleetUtilization with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dfuNextToken - Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
  • dfuLimit - Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.
  • dfuFleetIds - Unique identifier for a fleet(s) to retrieve utilization data for. To request utilization data for all fleets, leave this parameter empty.

data DescribeFleetUtilization Source #

Represents the input for a request action.

See: describeFleetUtilization smart constructor.

Instances

Eq DescribeFleetUtilization Source # 
Data DescribeFleetUtilization Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeFleetUtilization -> c DescribeFleetUtilization #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeFleetUtilization #

toConstr :: DescribeFleetUtilization -> Constr #

dataTypeOf :: DescribeFleetUtilization -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeFleetUtilization) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeFleetUtilization) #

gmapT :: (forall b. Data b => b -> b) -> DescribeFleetUtilization -> DescribeFleetUtilization #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFleetUtilization -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFleetUtilization -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeFleetUtilization -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeFleetUtilization -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeFleetUtilization -> m DescribeFleetUtilization #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFleetUtilization -> m DescribeFleetUtilization #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFleetUtilization -> m DescribeFleetUtilization #

Read DescribeFleetUtilization Source # 
Show DescribeFleetUtilization Source # 
Generic DescribeFleetUtilization Source # 
Hashable DescribeFleetUtilization Source # 
ToJSON DescribeFleetUtilization Source # 
NFData DescribeFleetUtilization Source # 
AWSRequest DescribeFleetUtilization Source # 
ToQuery DescribeFleetUtilization Source # 
ToPath DescribeFleetUtilization Source # 
ToHeaders DescribeFleetUtilization Source # 
type Rep DescribeFleetUtilization Source # 
type Rep DescribeFleetUtilization = D1 (MetaData "DescribeFleetUtilization" "Network.AWS.GameLift.DescribeFleetUtilization" "amazonka-gamelift-1.5.0-LWFsf2alHztGD91U7ab8u0" False) (C1 (MetaCons "DescribeFleetUtilization'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dfuNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dfuLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dfuFleetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))))))
type Rs DescribeFleetUtilization Source # 

Request Lenses

dfuNextToken :: Lens' DescribeFleetUtilization (Maybe Text) Source #

Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.

dfuLimit :: Lens' DescribeFleetUtilization (Maybe Natural) Source #

Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.

dfuFleetIds :: Lens' DescribeFleetUtilization (Maybe (NonEmpty Text)) Source #

Unique identifier for a fleet(s) to retrieve utilization data for. To request utilization data for all fleets, leave this parameter empty.

Destructuring the Response

describeFleetUtilizationResponse Source #

Creates a value of DescribeFleetUtilizationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dfursNextToken - Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
  • dfursFleetUtilization - Collection of objects containing utilization information for each requested fleet ID.
  • dfursResponseStatus - -- | The response status code.

data DescribeFleetUtilizationResponse Source #

Represents the returned data in response to a request action.

See: describeFleetUtilizationResponse smart constructor.

Instances

Eq DescribeFleetUtilizationResponse Source # 
Data DescribeFleetUtilizationResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeFleetUtilizationResponse -> c DescribeFleetUtilizationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeFleetUtilizationResponse #

toConstr :: DescribeFleetUtilizationResponse -> Constr #

dataTypeOf :: DescribeFleetUtilizationResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeFleetUtilizationResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeFleetUtilizationResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeFleetUtilizationResponse -> DescribeFleetUtilizationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFleetUtilizationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFleetUtilizationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeFleetUtilizationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeFleetUtilizationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeFleetUtilizationResponse -> m DescribeFleetUtilizationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFleetUtilizationResponse -> m DescribeFleetUtilizationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFleetUtilizationResponse -> m DescribeFleetUtilizationResponse #

Read DescribeFleetUtilizationResponse Source # 
Show DescribeFleetUtilizationResponse Source # 
Generic DescribeFleetUtilizationResponse Source # 
NFData DescribeFleetUtilizationResponse Source # 
type Rep DescribeFleetUtilizationResponse Source # 
type Rep DescribeFleetUtilizationResponse = D1 (MetaData "DescribeFleetUtilizationResponse" "Network.AWS.GameLift.DescribeFleetUtilization" "amazonka-gamelift-1.5.0-LWFsf2alHztGD91U7ab8u0" False) (C1 (MetaCons "DescribeFleetUtilizationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dfursNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dfursFleetUtilization") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FleetUtilization]))) (S1 (MetaSel (Just Symbol "_dfursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dfursNextToken :: Lens' DescribeFleetUtilizationResponse (Maybe Text) Source #

Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.

dfursFleetUtilization :: Lens' DescribeFleetUtilizationResponse [FleetUtilization] Source #

Collection of objects containing utilization information for each requested fleet ID.