amazonka-cloudformation-0.0.6: Amazon CloudFormation SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudFormation.GetTemplate

Contents

Description

Returns the template body for a specified stack. You can get the template for running or deleted stacks.

For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.

If the template does not exist, a ValidationError is returned.

http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_GetTemplate.html

Synopsis

Request

Request constructor

getTemplate Source

GetTemplate constructor.

The fields accessible through corresponding lenses are:

Request lenses

gtStackName :: Lens' GetTemplate Text Source

The name or the unique identifier 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.

Response

Response constructor

getTemplateResponse :: GetTemplateResponse Source

GetTemplateResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

gtrTemplateBody :: Lens' GetTemplateResponse (Maybe Text) Source

Structure containing the template body. (For more information, go to TemplateAnatomy in the AWS CloudFormation User Guide.)