amazonka-cloudformation-1.3.2: Amazon CloudFormation SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudFormation.DescribeStacks

Contents

Description

Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.

See: AWS API Reference for DescribeStacks.

This operation returns paginated results.

Synopsis

Creating a Request

describeStacks :: DescribeStacks Source

Creates a value of DescribeStacks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dNextToken :: Lens' DescribeStacks (Maybe Text) Source

String that identifies the start of the next list of stacks, if there is one.

dStackName :: Lens' DescribeStacks (Maybe 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

describeStacksResponse Source

Creates a value of DescribeStacksResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dsrsNextToken :: Lens' DescribeStacksResponse (Maybe Text) Source

String that identifies the start of the next list of stacks, if there is one.

dsrsStacks :: Lens' DescribeStacksResponse [Stack] Source

A list of stack structures.