Struct aws_sdk_cloudformation::input::ValidateTemplateInput [−][src]
#[non_exhaustive]pub struct ValidateTemplateInput {
pub template_body: Option<String>,
pub template_url: Option<String>,
}
Expand description
The input for ValidateTemplate 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 TemplateURL
or TemplateBody
. 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 (max size: 460,800 bytes) 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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ValidateTemplate, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ValidateTemplate, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ValidateTemplate
>
Creates a new builder-style object to manufacture ValidateTemplateInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ValidateTemplateInput
impl Send for ValidateTemplateInput
impl Sync for ValidateTemplateInput
impl Unpin for ValidateTemplateInput
impl UnwindSafe for ValidateTemplateInput
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