Struct aws_sdk_cloudformation::client::fluent_builders::EstimateTemplateCost [−][src]
pub struct EstimateTemplateCost<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to EstimateTemplateCost
.
Returns the estimated monthly cost of a template. The return value is an Amazon Web Services Simple Monthly Calculator URL with a query string that describes the resources required to run the template.
Implementations
impl<C, M, R> EstimateTemplateCost<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> EstimateTemplateCost<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<EstimateTemplateCostOutput, SdkError<EstimateTemplateCostError>> where
R::Policy: SmithyRetryPolicy<EstimateTemplateCostInputOperationOutputAlias, EstimateTemplateCostOutput, EstimateTemplateCostError, EstimateTemplateCostInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<EstimateTemplateCostOutput, SdkError<EstimateTemplateCostError>> where
R::Policy: SmithyRetryPolicy<EstimateTemplateCostInputOperationOutputAlias, EstimateTemplateCostOutput, EstimateTemplateCostError, EstimateTemplateCostInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 CloudFormation User Guide.)
Conditional: You must pass TemplateBody
or TemplateURL
. If
both are passed, only TemplateBody
is used.
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 CloudFormation User Guide.)
Conditional: You must pass TemplateBody
or TemplateURL
. If
both are passed, only TemplateBody
is used.
Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.
Conditional: You must pass TemplateURL
or TemplateBody
. If
both are passed, only TemplateBody
is used.
Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide.
Conditional: You must pass TemplateURL
or TemplateBody
. If
both are passed, only TemplateBody
is used.
Appends an item to Parameters
.
To override the contents of this collection use set_parameters
.
A list of Parameter
structures that specify input parameters.
A list of Parameter
structures that specify input parameters.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for EstimateTemplateCost<C, M, R>
impl<C, M, R> Send for EstimateTemplateCost<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for EstimateTemplateCost<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for EstimateTemplateCost<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for EstimateTemplateCost<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more