aws_sdk_cloudformation/client/estimate_template_cost.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`EstimateTemplateCost`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`template_body(impl Into<String>)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::template_body) / [`set_template_body(Option<String>)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::set_template_body):<br>required: **false**<br><p>Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.</p> <p>Conditional: You must pass <code>TemplateBody</code> or <code>TemplateURL</code>. If both are passed, only <code>TemplateBody</code> is used.</p><br>
7 /// - [`template_url(impl Into<String>)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::template_url) / [`set_template_url(Option<String>)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::set_template_url):<br>required: **false**<br><p>The URL of a file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with <code>https://</code>.</p> <p>Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only <code>TemplateBody</code> is used.</p><br>
8 /// - [`parameters(Parameter)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::parameters) / [`set_parameters(Option<Vec::<Parameter>>)`](crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::set_parameters):<br>required: **false**<br><p>A list of <code>Parameter</code> structures that specify input parameters.</p><br>
9 /// - On success, responds with [`EstimateTemplateCostOutput`](crate::operation::estimate_template_cost::EstimateTemplateCostOutput) with field(s):
10 /// - [`url(Option<String>)`](crate::operation::estimate_template_cost::EstimateTemplateCostOutput::url): <p>An Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to run the template.</p>
11 /// - On failure, responds with [`SdkError<EstimateTemplateCostError>`](crate::operation::estimate_template_cost::EstimateTemplateCostError)
12 pub fn estimate_template_cost(&self) -> crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder {
13 crate::operation::estimate_template_cost::builders::EstimateTemplateCostFluentBuilder::new(self.handle.clone())
14 }
15}