#[non_exhaustive]pub struct GetTemplateOutput {
pub template_body: Option<String>,
pub stages_available: Option<Vec<TemplateStage>>,
/* private fields */
}
Expand description
The output for 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.template_body: Option<String>
Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)
CloudFormation returns the same template that was used when the stack was created.
stages_available: Option<Vec<TemplateStage>>
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After CloudFormation finishes creating the change set, the Processed
template becomes available.
Implementations§
source§impl GetTemplateOutput
impl GetTemplateOutput
sourcepub fn template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)
CloudFormation returns the same template that was used when the stack was created.
sourcepub fn stages_available(&self) -> &[TemplateStage]
pub fn stages_available(&self) -> &[TemplateStage]
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After CloudFormation finishes creating the change set, the Processed
template becomes available.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stages_available.is_none()
.
source§impl GetTemplateOutput
impl GetTemplateOutput
sourcepub fn builder() -> GetTemplateOutputBuilder
pub fn builder() -> GetTemplateOutputBuilder
Creates a new builder-style object to manufacture GetTemplateOutput
.
Trait Implementations§
source§impl Clone for GetTemplateOutput
impl Clone for GetTemplateOutput
source§fn clone(&self) -> GetTemplateOutput
fn clone(&self) -> GetTemplateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTemplateOutput
impl Debug for GetTemplateOutput
source§impl PartialEq for GetTemplateOutput
impl PartialEq for GetTemplateOutput
source§fn eq(&self, other: &GetTemplateOutput) -> bool
fn eq(&self, other: &GetTemplateOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetTemplateOutput
impl RequestId for GetTemplateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetTemplateOutput
Auto Trait Implementations§
impl Freeze for GetTemplateOutput
impl RefUnwindSafe for GetTemplateOutput
impl Send for GetTemplateOutput
impl Sync for GetTemplateOutput
impl Unpin for GetTemplateOutput
impl UnwindSafe for GetTemplateOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more