#[non_exhaustive]pub struct CancelUpdateStackInput {
pub stack_name: Option<String>,
pub client_request_token: Option<String>,
}
Expand description
The input for the CancelUpdateStack
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>
If you don't pass a parameter to StackName
, the API returns a response that describes all resources in the account.
The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }
The name or the unique stack ID that's associated with the stack.
client_request_token: Option<String>
A unique identifier for this CancelUpdateStack
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might retry CancelUpdateStack
requests to ensure that CloudFormation successfully received them.
Implementations§
source§impl CancelUpdateStackInput
impl CancelUpdateStackInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
If you don't pass a parameter to StackName
, the API returns a response that describes all resources in the account.
The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }
The name or the unique stack ID that's associated with the stack.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique identifier for this CancelUpdateStack
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might retry CancelUpdateStack
requests to ensure that CloudFormation successfully received them.
source§impl CancelUpdateStackInput
impl CancelUpdateStackInput
sourcepub fn builder() -> CancelUpdateStackInputBuilder
pub fn builder() -> CancelUpdateStackInputBuilder
Creates a new builder-style object to manufacture CancelUpdateStackInput
.
Trait Implementations§
source§impl Clone for CancelUpdateStackInput
impl Clone for CancelUpdateStackInput
source§fn clone(&self) -> CancelUpdateStackInput
fn clone(&self) -> CancelUpdateStackInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CancelUpdateStackInput
impl Debug for CancelUpdateStackInput
source§impl PartialEq for CancelUpdateStackInput
impl PartialEq for CancelUpdateStackInput
source§fn eq(&self, other: &CancelUpdateStackInput) -> bool
fn eq(&self, other: &CancelUpdateStackInput) -> bool
self
and other
values to be equal, and is used
by ==
.