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.ListFleets

Contents

Description

Retrieves a collection of fleet records for this AWS account. You can filter the result set by build ID. Use the pagination parameters to retrieve results in sequential pages.

Fleet records are not listed in any particular order.

Synopsis

Creating a Request

listFleets :: ListFleets Source #

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

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

data ListFleets Source #

Represents the input for a request action.

See: listFleets smart constructor.

Instances

Eq ListFleets Source # 
Data ListFleets Source # 

Methods

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

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

toConstr :: ListFleets -> Constr #

dataTypeOf :: ListFleets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFleets Source # 
Show ListFleets Source # 
Generic ListFleets Source # 

Associated Types

type Rep ListFleets :: * -> * #

Hashable ListFleets Source # 
ToJSON ListFleets Source # 
NFData ListFleets Source # 

Methods

rnf :: ListFleets -> () #

AWSRequest ListFleets Source # 
ToQuery ListFleets Source # 
ToPath ListFleets Source # 
ToHeaders ListFleets Source # 

Methods

toHeaders :: ListFleets -> [Header] #

type Rep ListFleets Source # 
type Rep ListFleets = D1 (MetaData "ListFleets" "Network.AWS.GameLift.ListFleets" "amazonka-gamelift-1.4.1-CX4yO3v9jQ1D6MQHqoMmwU" False) (C1 (MetaCons "ListFleets'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lfBuildId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lfNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lfLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs ListFleets Source # 

Request Lenses

lfBuildId :: Lens' ListFleets (Maybe Text) Source #

Unique identifier of the build to return fleets for. Use this parameter to return only fleets using the specified build. To retrieve all fleets, leave this parameter empty.

lfNextToken :: Lens' ListFleets (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.

lfLimit :: Lens' ListFleets (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.

Destructuring the Response

listFleetsResponse Source #

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

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

data ListFleetsResponse Source #

Represents the returned data in response to a request action.

See: listFleetsResponse smart constructor.

Instances

Eq ListFleetsResponse Source # 
Data ListFleetsResponse Source # 

Methods

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

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

toConstr :: ListFleetsResponse -> Constr #

dataTypeOf :: ListFleetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFleetsResponse Source # 
Show ListFleetsResponse Source # 
Generic ListFleetsResponse Source # 
NFData ListFleetsResponse Source # 

Methods

rnf :: ListFleetsResponse -> () #

type Rep ListFleetsResponse Source # 
type Rep ListFleetsResponse = D1 (MetaData "ListFleetsResponse" "Network.AWS.GameLift.ListFleets" "amazonka-gamelift-1.4.1-CX4yO3v9jQ1D6MQHqoMmwU" False) (C1 (MetaCons "ListFleetsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lfrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lfrsFleetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) (S1 (MetaSel (Just Symbol "_lfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lfrsNextToken :: Lens' ListFleetsResponse (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.

lfrsFleetIds :: Lens' ListFleetsResponse (Maybe (NonEmpty Text)) Source #

Set of fleet IDs matching the list request. You can retrieve additional information about all returned fleets by passing this result set to a call to DescribeFleetAttributes, DescribeFleetCapacity, and DescribeFleetUtilization.