amazonka-cloudformation-2.0: Amazon CloudFormation 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.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 aren't 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
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

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 #

Generic ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Associated Types

type Rep ListStackResources :: Type -> Type #

Read ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Show ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

NFData ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Methods

rnf :: ListStackResources -> () #

Eq ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Hashable ListStackResources Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

type AWSResponse 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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)))

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:

ListStackResources, listStackResources_nextToken - A string that identifies the next page of stack resources that you want to retrieve.

ListStackResources, listStackResources_stackName - The name or the unique stack ID that is associated with the stack, which aren't 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 aren't 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
Generic ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Associated Types

type Rep ListStackResourcesResponse :: Type -> Type #

Read ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Show ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

NFData ListStackResourcesResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListStackResources

Eq 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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:

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.