Struct aws_sdk_cloudformation::operation::cancel_update_stack::builders::CancelUpdateStackInputBuilder
source · #[non_exhaustive]pub struct CancelUpdateStackInputBuilder { /* private fields */ }
Expand description
A builder for CancelUpdateStackInput
.
Implementations§
source§impl CancelUpdateStackInputBuilder
impl CancelUpdateStackInputBuilder
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
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.
This field is required.sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
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 get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &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.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
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.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &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.
sourcepub fn build(self) -> Result<CancelUpdateStackInput, BuildError>
pub fn build(self) -> Result<CancelUpdateStackInput, BuildError>
Consumes the builder and constructs a CancelUpdateStackInput
.
source§impl CancelUpdateStackInputBuilder
impl CancelUpdateStackInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelUpdateStackOutput, SdkError<CancelUpdateStackError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelUpdateStackOutput, SdkError<CancelUpdateStackError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelUpdateStackInputBuilder
impl Clone for CancelUpdateStackInputBuilder
source§fn clone(&self) -> CancelUpdateStackInputBuilder
fn clone(&self) -> CancelUpdateStackInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CancelUpdateStackInputBuilder
impl Default for CancelUpdateStackInputBuilder
source§fn default() -> CancelUpdateStackInputBuilder
fn default() -> CancelUpdateStackInputBuilder
source§impl PartialEq for CancelUpdateStackInputBuilder
impl PartialEq for CancelUpdateStackInputBuilder
source§fn eq(&self, other: &CancelUpdateStackInputBuilder) -> bool
fn eq(&self, other: &CancelUpdateStackInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelUpdateStackInputBuilder
Auto Trait Implementations§
impl Freeze for CancelUpdateStackInputBuilder
impl RefUnwindSafe for CancelUpdateStackInputBuilder
impl Send for CancelUpdateStackInputBuilder
impl Sync for CancelUpdateStackInputBuilder
impl Unpin for CancelUpdateStackInputBuilder
impl UnwindSafe for CancelUpdateStackInputBuilder
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