Struct aws_sdk_cloudformation::input::GetTemplateSummaryInput [−][src]
#[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>,
}
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 is located in an Amazon S3 bucket or a Systems Manager document. 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
.
stack_name: Option<String>
The name or the stack ID that is associated with the stack, which are not 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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTemplateSummary, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTemplateSummary, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetTemplateSummary
>
Creates a new builder-style object to manufacture GetTemplateSummaryInput
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 GetTemplateSummaryInput
impl Send for GetTemplateSummaryInput
impl Sync for GetTemplateSummaryInput
impl Unpin for GetTemplateSummaryInput
impl UnwindSafe for GetTemplateSummaryInput
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