libZSservicesZSamazonka-worklinkZSamazonka-worklink
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.WorkLink.ListFleets

Description

Retrieves a list of fleets for the current account and Region.

Synopsis

Creating a Request

data ListFleets Source #

See: newListFleets smart constructor.

Constructors

ListFleets' 

Fields

  • nextToken :: Maybe Text

    The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

  • maxResults :: Maybe Natural

    The maximum number of results to be included in the next page.

Instances

Instances details
Eq ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Read ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Show ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Generic ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Associated Types

type Rep ListFleets :: Type -> Type #

NFData ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Methods

rnf :: ListFleets -> () #

Hashable ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

ToJSON ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

AWSRequest ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Associated Types

type AWSResponse ListFleets #

ToHeaders ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Methods

toHeaders :: ListFleets -> [Header] #

ToPath ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

ToQuery ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

type Rep ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

type Rep ListFleets = D1 ('MetaData "ListFleets" "Amazonka.WorkLink.ListFleets" "libZSservicesZSamazonka-worklinkZSamazonka-worklink" 'False) (C1 ('MetaCons "ListFleets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListFleets Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

newListFleets :: ListFleets Source #

Create a value of ListFleets 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:nextToken:ListFleets', listFleets_nextToken - The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

$sel:maxResults:ListFleets', listFleets_maxResults - The maximum number of results to be included in the next page.

Request Lenses

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

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

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

The maximum number of results to be included in the next page.

Destructuring the Response

data ListFleetsResponse Source #

See: newListFleetsResponse smart constructor.

Constructors

ListFleetsResponse' 

Fields

Instances

Instances details
Eq ListFleetsResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Read ListFleetsResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Show ListFleetsResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Generic ListFleetsResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Associated Types

type Rep ListFleetsResponse :: Type -> Type #

NFData ListFleetsResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

Methods

rnf :: ListFleetsResponse -> () #

type Rep ListFleetsResponse Source # 
Instance details

Defined in Amazonka.WorkLink.ListFleets

type Rep ListFleetsResponse = D1 ('MetaData "ListFleetsResponse" "Amazonka.WorkLink.ListFleets" "libZSservicesZSamazonka-worklinkZSamazonka-worklink" 'False) (C1 ('MetaCons "ListFleetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FleetSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListFleetsResponse Source #

Create a value of ListFleetsResponse 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:fleetSummaryList:ListFleetsResponse', listFleetsResponse_fleetSummaryList - The summary list of the fleets.

$sel:nextToken:ListFleets', listFleetsResponse_nextToken - The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:httpStatus:ListFleetsResponse', listFleetsResponse_httpStatus - The response's http status code.

Response Lenses

listFleetsResponse_nextToken :: Lens' ListFleetsResponse (Maybe Text) Source #

The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.