amazonka-gamelift-1.4.1: Amazon GameLift SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 all 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.

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.

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:

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.4.1-CX4yO3v9jQ1D6MQHqoMmwU" 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 indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start 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. You can 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 the fleet(s) you want to retrieve utilization data for. Leave this parameter empty to retrieve utilization data for all fleets.

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:

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.4.1-CX4yO3v9jQ1D6MQHqoMmwU" 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 indicating 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.

If a request has a limit that exactly matches the number of remaining results, a token is returned even though there are no more results to retrieve.

dfursFleetUtilization :: Lens' DescribeFleetUtilizationResponse [FleetUtilization] Source #

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