Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
- estimateTemplateCost :: EstimateTemplateCost
- data EstimateTemplateCost
- etcParameters :: Lens' EstimateTemplateCost [Parameter]
- etcTemplateBody :: Lens' EstimateTemplateCost (Maybe Text)
- etcTemplateURL :: Lens' EstimateTemplateCost (Maybe Text)
- estimateTemplateCostResponse :: Int -> EstimateTemplateCostResponse
- data EstimateTemplateCostResponse
- etcrsURL :: Lens' EstimateTemplateCostResponse (Maybe Text)
- etcrsResponseStatus :: Lens' EstimateTemplateCostResponse Int
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:
etcParameters
- A list ofParameter
structures that specify input parameters.etcTemplateBody
- 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 passTemplateBody
orTemplateURL
. If both are passed, onlyTemplateBody
is used.etcTemplateURL
- 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 passTemplateURL
orTemplateBody
. If both are passed, onlyTemplateBody
is used.
data EstimateTemplateCost Source #
The input for an EstimateTemplateCost
action.
See: estimateTemplateCost
smart 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 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:
etcrsURL
- An AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.etcrsResponseStatus
- -- | The response status code.
data EstimateTemplateCostResponse Source #
The output for a EstimateTemplateCost
action.
See: estimateTemplateCostResponse
smart constructor.
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.
etcrsResponseStatus :: Lens' EstimateTemplateCostResponse Int Source #
- - | The response status code.