libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
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.CloudFormation.ListStacks

Description

Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).

This operation returns paginated results.

Synopsis

Creating a Request

data ListStacks Source #

The input for ListStacks action.

See: newListStacks smart constructor.

Constructors

ListStacks' 

Fields

  • nextToken :: Maybe Text

    A string that identifies the next page of stacks that you want to retrieve.

  • stackStatusFilter :: Maybe [StackStatus]

    Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

Instances

Instances details
Eq ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Read ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Show ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Generic ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Associated Types

type Rep ListStacks :: Type -> Type #

NFData ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Methods

rnf :: ListStacks -> () #

Hashable ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

AWSPager ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

AWSRequest ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Associated Types

type AWSResponse ListStacks #

ToHeaders ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Methods

toHeaders :: ListStacks -> [Header] #

ToPath ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

ToQuery ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

type Rep ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

type Rep ListStacks = D1 ('MetaData "ListStacks" "Amazonka.CloudFormation.ListStacks" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ListStacks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stackStatusFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StackStatus]))))
type AWSResponse ListStacks Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

newListStacks :: ListStacks Source #

Create a value of ListStacks 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:ListStacks', listStacks_nextToken - A string that identifies the next page of stacks that you want to retrieve.

$sel:stackStatusFilter:ListStacks', listStacks_stackStatusFilter - Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

Request Lenses

listStacks_nextToken :: Lens' ListStacks (Maybe Text) Source #

A string that identifies the next page of stacks that you want to retrieve.

listStacks_stackStatusFilter :: Lens' ListStacks (Maybe [StackStatus]) Source #

Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

Destructuring the Response

data ListStacksResponse Source #

The output for ListStacks action.

See: newListStacksResponse smart constructor.

Constructors

ListStacksResponse' 

Fields

  • nextToken :: Maybe Text

    If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

  • stackSummaries :: Maybe [StackSummary]

    A list of StackSummary structures containing information about the specified stacks.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListStacksResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Read ListStacksResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Show ListStacksResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Generic ListStacksResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Associated Types

type Rep ListStacksResponse :: Type -> Type #

NFData ListStacksResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

Methods

rnf :: ListStacksResponse -> () #

type Rep ListStacksResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStacks

type Rep ListStacksResponse = D1 ('MetaData "ListStacksResponse" "Amazonka.CloudFormation.ListStacks" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ListStacksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stackSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StackSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListStacksResponse Source #

Create a value of ListStacksResponse 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:ListStacks', listStacksResponse_nextToken - If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

$sel:stackSummaries:ListStacksResponse', listStacksResponse_stackSummaries - A list of StackSummary structures containing information about the specified stacks.

$sel:httpStatus:ListStacksResponse', listStacksResponse_httpStatus - The response's http status code.

Response Lenses

listStacksResponse_nextToken :: Lens' ListStacksResponse (Maybe Text) Source #

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

listStacksResponse_stackSummaries :: Lens' ListStacksResponse (Maybe [StackSummary]) Source #

A list of StackSummary structures containing information about the specified stacks.