amazonka-cloudformation-0.0.6: Amazon CloudFormation SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudFormation.EstimateTemplateCost

Contents

Description

Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.

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

Synopsis

Request

Request constructor

Request lenses

etcParameters :: Lens' EstimateTemplateCost [Parameter] Source

A list of Parameter structures that specify input parameters.

etcTemplateBody :: Lens' EstimateTemplateCost (Maybe Text) Source

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)

Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

etcTemplateURL :: Lens' EstimateTemplateCost (Maybe Text) Source

Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

Response

Response constructor

estimateTemplateCostResponse :: EstimateTemplateCostResponse Source

EstimateTemplateCostResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

etcrUrl :: Lens' EstimateTemplateCostResponse (Maybe Text) Source

An AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.