amazonka-appstream-2.0: Amazon AppStream SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • names :: Maybe [Text]

    The names of the fleets to describe.

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

Instances

Instances details
ToJSON DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.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

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 #

Generic DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Associated Types

type Rep DescribeFleets :: Type -> Type #

Read DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Show DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

NFData DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Methods

rnf :: DescribeFleets -> () #

Eq DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Hashable DescribeFleets Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

type AWSResponse 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" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "DescribeFleets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:names:DescribeFleets', describeFleets_names - The names of the fleets to describe.

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.

Request Lenses

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

The names of the fleets to describe.

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.

Destructuring the Response

data DescribeFleetsResponse Source #

See: newDescribeFleetsResponse smart constructor.

Constructors

DescribeFleetsResponse' 

Fields

  • fleets :: Maybe [Fleet]

    Information about the fleets.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Associated Types

type Rep DescribeFleetsResponse :: Type -> Type #

Read DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Show DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

NFData DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

Methods

rnf :: DescribeFleetsResponse -> () #

Eq DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

type Rep DescribeFleetsResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeFleets

type Rep DescribeFleetsResponse = D1 ('MetaData "DescribeFleetsResponse" "Amazonka.AppStream.DescribeFleets" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "DescribeFleetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Fleet])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:fleets:DescribeFleetsResponse', describeFleetsResponse_fleets - Information about the fleets.

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