#[non_exhaustive]pub struct EstimateTemplateCostInput {
pub template_body: Option<String>,
pub template_url: Option<String>,
pub parameters: Option<Vec<Parameter>>,
}
Expand description
The input for an EstimateTemplateCost
action.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.template_body: Option<String>
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.
template_url: Option<String>
Location of 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. 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.
parameters: Option<Vec<Parameter>>
A list of Parameter
structures that specify input parameters.
Implementations
sourceimpl EstimateTemplateCostInput
impl EstimateTemplateCostInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EstimateTemplateCost, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EstimateTemplateCost, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<EstimateTemplateCost
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EstimateTemplateCostInput
.
sourceimpl EstimateTemplateCostInput
impl EstimateTemplateCostInput
sourcepub fn template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
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.
sourcepub fn template_url(&self) -> Option<&str>
pub fn template_url(&self) -> Option<&str>
Location of 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. 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.
sourcepub fn parameters(&self) -> Option<&[Parameter]>
pub fn parameters(&self) -> Option<&[Parameter]>
A list of Parameter
structures that specify input parameters.
Trait Implementations
sourceimpl Clone for EstimateTemplateCostInput
impl Clone for EstimateTemplateCostInput
sourcefn clone(&self) -> EstimateTemplateCostInput
fn clone(&self) -> EstimateTemplateCostInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EstimateTemplateCostInput
impl Debug for EstimateTemplateCostInput
sourceimpl PartialEq<EstimateTemplateCostInput> for EstimateTemplateCostInput
impl PartialEq<EstimateTemplateCostInput> for EstimateTemplateCostInput
sourcefn eq(&self, other: &EstimateTemplateCostInput) -> bool
fn eq(&self, other: &EstimateTemplateCostInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EstimateTemplateCostInput) -> bool
fn ne(&self, other: &EstimateTemplateCostInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for EstimateTemplateCostInput
Auto Trait Implementations
impl RefUnwindSafe for EstimateTemplateCostInput
impl Send for EstimateTemplateCostInput
impl Sync for EstimateTemplateCostInput
impl Unpin for EstimateTemplateCostInput
impl UnwindSafe for EstimateTemplateCostInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more