#[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 ==
.impl StructuralPartialEq for CancelUpdateStackInput
Auto Trait Implementations§
impl Freeze for CancelUpdateStackInput
impl RefUnwindSafe for CancelUpdateStackInput
impl Send for CancelUpdateStackInput
impl Sync for CancelUpdateStackInput
impl Unpin for CancelUpdateStackInput
impl UnwindSafe for CancelUpdateStackInput
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