Struct aws_sdk_cloudformation::input::GetTemplateInput [−][src]
#[non_exhaustive]pub struct GetTemplateInput {
pub stack_name: Option<String>,
pub change_set_name: Option<String>,
pub template_stage: Option<TemplateStage>,
}
Expand description
The input for a GetTemplate 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.stack_name: Option<String>
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
change_set_name: Option<String>
The name or Amazon Resource Name (ARN) of a change set for which CloudFormation
returns the associated template. If you specify a name, you must also specify the
StackName
.
template_stage: Option<TemplateStage>
For templates that include transforms, the stage of the template that CloudFormation returns. To get the user-submitted template, specify
Original
. To get the template after CloudFormation has processed
all transforms, specify Processed
.
If the template doesn't include transforms, Original
and
Processed
return the same template. By default, CloudFormation
specifies Processed
.
Implementations
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTemplate, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTemplate, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetTemplate
>
Creates a new builder-style object to manufacture GetTemplateInput
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 GetTemplateInput
impl Send for GetTemplateInput
impl Sync for GetTemplateInput
impl Unpin for GetTemplateInput
impl UnwindSafe for GetTemplateInput
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