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

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeStacks Source #

See: newDescribeStacks smart constructor.

Constructors

DescribeStacks' 

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 stacks to describe.

Instances

Instances details
Eq DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Read DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Show DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Generic DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Associated Types

type Rep DescribeStacks :: Type -> Type #

NFData DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Methods

rnf :: DescribeStacks -> () #

Hashable DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

ToJSON DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

AWSPager DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

AWSRequest DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Associated Types

type AWSResponse DescribeStacks #

ToHeaders DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

ToPath DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

ToQuery DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

type Rep DescribeStacks Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

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

Defined in Amazonka.AppStream.DescribeStacks

newDescribeStacks :: DescribeStacks Source #

Create a value of DescribeStacks 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:DescribeStacks', describeStacks_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:DescribeStacks', describeStacks_names - The names of the stacks to describe.

Request Lenses

describeStacks_nextToken :: Lens' DescribeStacks (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.

describeStacks_names :: Lens' DescribeStacks (Maybe [Text]) Source #

The names of the stacks to describe.

Destructuring the Response

data DescribeStacksResponse Source #

See: newDescribeStacksResponse smart constructor.

Constructors

DescribeStacksResponse' 

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.

  • stacks :: Maybe [Stack]

    Information about the stacks.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Read DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Show DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Generic DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Associated Types

type Rep DescribeStacksResponse :: Type -> Type #

NFData DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

Methods

rnf :: DescribeStacksResponse -> () #

type Rep DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.AppStream.DescribeStacks

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

newDescribeStacksResponse Source #

Create a value of DescribeStacksResponse 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:DescribeStacks', describeStacksResponse_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:stacks:DescribeStacksResponse', describeStacksResponse_stacks - Information about the stacks.

$sel:httpStatus:DescribeStacksResponse', describeStacksResponse_httpStatus - The response's http status code.

Response Lenses

describeStacksResponse_nextToken :: Lens' DescribeStacksResponse (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.