amazonka-cloudformation-1.3.5: 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.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.

See: AWS API Reference for EstimateTemplateCost.

Synopsis

Creating a Request

estimateTemplateCost :: EstimateTemplateCost Source

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

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

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 that is located in an Amazon S3 bucket. 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.

Destructuring the Response

estimateTemplateCostResponse Source

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

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

Response Lenses

etcrsURL :: Lens' EstimateTemplateCostResponse (Maybe Text) Source

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