Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data EstimateTemplateCost
- estimateTemplateCost :: EstimateTemplateCost
- etcParameters :: Lens' EstimateTemplateCost [Parameter]
- etcTemplateBody :: Lens' EstimateTemplateCost (Maybe Text)
- etcTemplateURL :: Lens' EstimateTemplateCost (Maybe Text)
- data EstimateTemplateCostResponse
- estimateTemplateCostResponse :: EstimateTemplateCostResponse
- etcrUrl :: Lens' EstimateTemplateCostResponse (Maybe Text)
Request
data EstimateTemplateCost Source
Request constructor
estimateTemplateCost :: EstimateTemplateCost Source
EstimateTemplateCost
constructor.
The fields accessible through corresponding lenses are:
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: