#[non_exhaustive]pub struct GetTemplateSummaryInput {
pub template_body: Option<String>,
pub template_url: Option<String>,
pub stack_name: Option<String>,
pub stack_set_name: Option<String>,
pub call_as: Option<CallAs>,
pub template_summary_config: Option<TemplateSummaryConfig>,
}
Expand description
The input for the GetTemplateSummary
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 about templates, see Template anatomy in the CloudFormation User Guide.
Conditional: You must specify only one of the following parameters: StackName
, StackSetName
, TemplateBody
, or TemplateURL
.
template_url: Option<String>
Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://
.
Conditional: You must specify only one of the following parameters: StackName
, StackSetName
, TemplateBody
, or TemplateURL
.
stack_name: Option<String>
The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.
Conditional: You must specify only one of the following parameters: StackName
, StackSetName
, TemplateBody
, or TemplateURL
.
stack_set_name: Option<String>
The name or unique ID of the stack set from which the stack was created.
Conditional: You must specify only one of the following parameters: StackName
, StackSetName
, TemplateBody
, or TemplateURL
.
call_as: Option<CallAs>
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
template_summary_config: Option<TemplateSummaryConfig>
Specifies options for the GetTemplateSummary
API action.
Implementations§
source§impl GetTemplateSummaryInput
impl GetTemplateSummaryInput
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 about templates, see Template anatomy in the CloudFormation User Guide.
Conditional: You must specify only one of the following parameters: StackName
, StackSetName
, TemplateBody
, or TemplateURL
.
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's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://
.
Conditional: You must specify only one of the following parameters: StackName
, StackSetName
, TemplateBody
, or TemplateURL
.
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.
Conditional: You must specify only one of the following parameters: StackName
, StackSetName
, TemplateBody
, or TemplateURL
.
sourcepub fn stack_set_name(&self) -> Option<&str>
pub fn stack_set_name(&self) -> Option<&str>
The name or unique ID of the stack set from which the stack was created.
Conditional: You must specify only one of the following parameters: StackName
, StackSetName
, TemplateBody
, or TemplateURL
.
sourcepub fn call_as(&self) -> Option<&CallAs>
pub fn call_as(&self) -> Option<&CallAs>
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn template_summary_config(&self) -> Option<&TemplateSummaryConfig>
pub fn template_summary_config(&self) -> Option<&TemplateSummaryConfig>
Specifies options for the GetTemplateSummary
API action.
source§impl GetTemplateSummaryInput
impl GetTemplateSummaryInput
sourcepub fn builder() -> GetTemplateSummaryInputBuilder
pub fn builder() -> GetTemplateSummaryInputBuilder
Creates a new builder-style object to manufacture GetTemplateSummaryInput
.
Trait Implementations§
source§impl Clone for GetTemplateSummaryInput
impl Clone for GetTemplateSummaryInput
source§fn clone(&self) -> GetTemplateSummaryInput
fn clone(&self) -> GetTemplateSummaryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTemplateSummaryInput
impl Debug for GetTemplateSummaryInput
source§impl PartialEq for GetTemplateSummaryInput
impl PartialEq for GetTemplateSummaryInput
source§fn eq(&self, other: &GetTemplateSummaryInput) -> bool
fn eq(&self, other: &GetTemplateSummaryInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTemplateSummaryInput
Auto Trait Implementations§
impl Freeze for GetTemplateSummaryInput
impl RefUnwindSafe for GetTemplateSummaryInput
impl Send for GetTemplateSummaryInput
impl Sync for GetTemplateSummaryInput
impl Unpin for GetTemplateSummaryInput
impl UnwindSafe for GetTemplateSummaryInput
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