#[non_exhaustive]pub struct ValidateTemplateInput { /* private fields */ }
Expand description
The input for ValidateTemplate
action.
Implementations§
source§impl ValidateTemplateInput
impl ValidateTemplateInput
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 TemplateURL
or TemplateBody
. 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 (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.
source§impl ValidateTemplateInput
impl ValidateTemplateInput
sourcepub fn builder() -> ValidateTemplateInputBuilder
pub fn builder() -> ValidateTemplateInputBuilder
Creates a new builder-style object to manufacture ValidateTemplateInput
.
source§impl ValidateTemplateInput
impl ValidateTemplateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ValidateTemplate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<ValidateTemplate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ValidateTemplate
>
Trait Implementations§
source§impl Clone for ValidateTemplateInput
impl Clone for ValidateTemplateInput
source§fn clone(&self) -> ValidateTemplateInput
fn clone(&self) -> ValidateTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ValidateTemplateInput
impl Debug for ValidateTemplateInput
source§impl PartialEq<ValidateTemplateInput> for ValidateTemplateInput
impl PartialEq<ValidateTemplateInput> for ValidateTemplateInput
source§fn eq(&self, other: &ValidateTemplateInput) -> bool
fn eq(&self, other: &ValidateTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.