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

Description

Returns descriptions of all resources of the specified stack.

For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.

This operation returns paginated results.

Synopsis

Creating a Request

data ListStackResources Source #

The input for the ListStackResource action.

See: newListStackResources smart constructor.

Constructors

ListStackResources' 

Fields

  • nextToken :: Maybe Text

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

  • stackName :: Text

    The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

    • Running stacks: You can specify either the stack's name or its unique stack ID.
    • Deleted stacks: You must specify the unique stack ID.

    Default: There is no default value.

Instances

Instances details
Eq ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Read ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Show ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Generic ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Associated Types

type Rep ListStackResources :: Type -> Type #

NFData ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Methods

rnf :: ListStackResources -> () #

Hashable ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

AWSPager ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

AWSRequest ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Associated Types

type AWSResponse ListStackResources #

ToHeaders ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

ToPath ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

ToQuery ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

type Rep ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

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

Defined in Amazonka.CloudFormation.ListStackResources

newListStackResources Source #

Create a value of ListStackResources 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:ListStackResources', listStackResources_nextToken - A string that identifies the next page of stack resources that you want to retrieve.

$sel:stackName:ListStackResources', listStackResources_stackName - The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

Request Lenses

listStackResources_nextToken :: Lens' ListStackResources (Maybe Text) Source #

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

listStackResources_stackName :: Lens' ListStackResources Text Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

Destructuring the Response

data ListStackResourcesResponse Source #

The output for a ListStackResources action.

See: newListStackResourcesResponse smart constructor.

Constructors

ListStackResourcesResponse' 

Fields

Instances

Instances details
Eq ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Read ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Show ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Generic ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Associated Types

type Rep ListStackResourcesResponse :: Type -> Type #

NFData ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

type Rep ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

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

newListStackResourcesResponse Source #

Create a value of ListStackResourcesResponse 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:ListStackResources', listStackResourcesResponse_nextToken - If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.

$sel:stackResourceSummaries:ListStackResourcesResponse', listStackResourcesResponse_stackResourceSummaries - A list of StackResourceSummary structures.

$sel:httpStatus:ListStackResourcesResponse', listStackResourcesResponse_httpStatus - The response's http status code.

Response Lenses

listStackResourcesResponse_nextToken :: Lens' ListStackResourcesResponse (Maybe Text) Source #

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