amazonka-gamelift-1.6.1: Amazon GameLift SDK.

Copyright(c) 2013-2018 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.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-related operations include:

  • CreateFleet
  • ListFleets
  • DeleteFleet
  • Describe fleets:
  • DescribeFleetAttributes
  • DescribeFleetCapacity
  • DescribeFleetPortSettings
  • DescribeFleetUtilization
  • DescribeRuntimeConfiguration
  • DescribeEC2InstanceLimits
  • DescribeFleetEvents
  • Update fleets:
  • UpdateFleetAttributes
  • UpdateFleetCapacity
  • UpdateFleetPortSettings
  • UpdateRuntimeConfiguration
  • Manage fleet actions:
  • StartFleetActions
  • StopFleetActions
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:

  • lfBuildId - Unique identifier for a 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 - 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.
  • lfLimit - Maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

data ListFleets Source #

Represents the input for a request action.

See: listFleets smart constructor.

Instances
Eq ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Data ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

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 # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Show ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Generic ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Associated Types

type Rep ListFleets :: Type -> Type #

Hashable ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

ToJSON ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

AWSRequest ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Associated Types

type Rs ListFleets :: Type #

ToHeaders ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Methods

toHeaders :: ListFleets -> [Header] #

ToPath ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

ToQuery ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

NFData ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Methods

rnf :: ListFleets -> () #

type Rep ListFleets Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

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

Defined in Network.AWS.GameLift.ListFleets

Request Lenses

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

Unique identifier for a 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 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.

lfLimit :: Lens' ListFleets (Maybe Natural) Source #

Maximum number of results to return. 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:

  • lfrsNextToken - 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.
  • lfrsFleetIds - 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 , or DescribeFleetUtilization .
  • lfrsResponseStatus - -- | The response status code.

data ListFleetsResponse Source #

Represents the returned data in response to a request action.

See: listFleetsResponse smart constructor.

Instances
Eq ListFleetsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Data ListFleetsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

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 # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Show ListFleetsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Generic ListFleetsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Associated Types

type Rep ListFleetsResponse :: Type -> Type #

NFData ListFleetsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

Methods

rnf :: ListFleetsResponse -> () #

type Rep ListFleetsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.ListFleets

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

Response Lenses

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

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 , or DescribeFleetUtilization .

lfrsResponseStatus :: Lens' ListFleetsResponse Int Source #

  • - | The response status code.