libZSservicesZSamazonka-appstreamZSamazonka-appstream
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.AppStream.DescribeFleets

Description

Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeFleets Source #

See: newDescribeFleets smart constructor.

Constructors

DescribeFleets' 

Fields

  • nextToken :: Maybe Text

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

  • names :: Maybe [Text]

    The names of the fleets to describe.

Instances

Instances details
Eq DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Read DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Show DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Generic DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Associated Types

type Rep DescribeFleets :: Type -> Type #

NFData DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Methods

rnf :: DescribeFleets -> () #

Hashable DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

ToJSON DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

AWSPager DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

AWSRequest DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Associated Types

type AWSResponse DescribeFleets #

ToHeaders DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

ToPath DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

ToQuery DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

type Rep DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

type Rep DescribeFleets = D1 ('MetaData "DescribeFleets" "Amazonka.AppStream.DescribeFleets" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "DescribeFleets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))
type AWSResponse DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

newDescribeFleets :: DescribeFleets Source #

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

$sel:names:DescribeFleets', describeFleets_names - The names of the fleets to describe.

Request Lenses

describeFleets_nextToken :: Lens' DescribeFleets (Maybe Text) Source #

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

describeFleets_names :: Lens' DescribeFleets (Maybe [Text]) Source #

The names of the fleets to describe.

Destructuring the Response

data DescribeFleetsResponse Source #

See: newDescribeFleetsResponse smart constructor.

Constructors

DescribeFleetsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • fleets :: Maybe [Fleet]

    Information about the fleets.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Read DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Show DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Generic DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Associated Types

type Rep DescribeFleetsResponse :: Type -> Type #

NFData DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Methods

rnf :: DescribeFleetsResponse -> () #

type Rep DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

type Rep DescribeFleetsResponse = D1 ('MetaData "DescribeFleetsResponse" "Amazonka.AppStream.DescribeFleets" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "DescribeFleetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fleets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Fleet])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeFleetsResponse Source #

Create a value of DescribeFleetsResponse 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:DescribeFleets', describeFleetsResponse_nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:fleets:DescribeFleetsResponse', describeFleetsResponse_fleets - Information about the fleets.

$sel:httpStatus:DescribeFleetsResponse', describeFleetsResponse_httpStatus - The response's http status code.

Response Lenses

describeFleetsResponse_nextToken :: Lens' DescribeFleetsResponse (Maybe Text) Source #

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