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 ==
.