Struct aws_sdk_cloudformation::operation::execute_change_set::builders::ExecuteChangeSetInputBuilder
source · #[non_exhaustive]pub struct ExecuteChangeSetInputBuilder { /* private fields */ }
Expand description
A builder for ExecuteChangeSetInput
.
Implementations§
source§impl ExecuteChangeSetInputBuilder
impl ExecuteChangeSetInputBuilder
sourcepub fn change_set_name(self, input: impl Into<String>) -> Self
pub fn change_set_name(self, input: impl Into<String>) -> Self
The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.
This field is required.sourcepub fn set_change_set_name(self, input: Option<String>) -> Self
pub fn set_change_set_name(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.
sourcepub fn get_change_set_name(&self) -> &Option<String>
pub fn get_change_set_name(&self) -> &Option<String>
The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute.
sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute.
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 ExecuteChangeSet
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet
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 ExecuteChangeSet
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet
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 ExecuteChangeSet
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet
requests to ensure that CloudFormation successfully received them.
sourcepub fn disable_rollback(self, input: bool) -> Self
pub fn disable_rollback(self, input: bool) -> Self
Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure
parameter to the CreateChangeSet API operation was specified.
-
True
- if the stack creation fails, do nothing. This is equivalent to specifyingDO_NOTHING
for theOnStackFailure
parameter to the CreateChangeSet API operation. -
False
- if the stack creation fails, roll back the stack. This is equivalent to specifyingROLLBACK
for theOnStackFailure
parameter to the CreateChangeSet API operation.
Default: True
sourcepub fn set_disable_rollback(self, input: Option<bool>) -> Self
pub fn set_disable_rollback(self, input: Option<bool>) -> Self
Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure
parameter to the CreateChangeSet API operation was specified.
-
True
- if the stack creation fails, do nothing. This is equivalent to specifyingDO_NOTHING
for theOnStackFailure
parameter to the CreateChangeSet API operation. -
False
- if the stack creation fails, roll back the stack. This is equivalent to specifyingROLLBACK
for theOnStackFailure
parameter to the CreateChangeSet API operation.
Default: True
sourcepub fn get_disable_rollback(&self) -> &Option<bool>
pub fn get_disable_rollback(&self) -> &Option<bool>
Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure
parameter to the CreateChangeSet API operation was specified.
-
True
- if the stack creation fails, do nothing. This is equivalent to specifyingDO_NOTHING
for theOnStackFailure
parameter to the CreateChangeSet API operation. -
False
- if the stack creation fails, roll back the stack. This is equivalent to specifyingROLLBACK
for theOnStackFailure
parameter to the CreateChangeSet API operation.
Default: True
sourcepub fn retain_except_on_create(self, input: bool) -> Self
pub fn retain_except_on_create(self, input: bool) -> Self
When set to true
, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain
.
Default: false
sourcepub fn set_retain_except_on_create(self, input: Option<bool>) -> Self
pub fn set_retain_except_on_create(self, input: Option<bool>) -> Self
When set to true
, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain
.
Default: false
sourcepub fn get_retain_except_on_create(&self) -> &Option<bool>
pub fn get_retain_except_on_create(&self) -> &Option<bool>
When set to true
, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain
.
Default: false
sourcepub fn build(self) -> Result<ExecuteChangeSetInput, BuildError>
pub fn build(self) -> Result<ExecuteChangeSetInput, BuildError>
Consumes the builder and constructs a ExecuteChangeSetInput
.
source§impl ExecuteChangeSetInputBuilder
impl ExecuteChangeSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ExecuteChangeSetOutput, SdkError<ExecuteChangeSetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ExecuteChangeSetOutput, SdkError<ExecuteChangeSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ExecuteChangeSetInputBuilder
impl Clone for ExecuteChangeSetInputBuilder
source§fn clone(&self) -> ExecuteChangeSetInputBuilder
fn clone(&self) -> ExecuteChangeSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteChangeSetInputBuilder
impl Debug for ExecuteChangeSetInputBuilder
source§impl Default for ExecuteChangeSetInputBuilder
impl Default for ExecuteChangeSetInputBuilder
source§fn default() -> ExecuteChangeSetInputBuilder
fn default() -> ExecuteChangeSetInputBuilder
source§impl PartialEq for ExecuteChangeSetInputBuilder
impl PartialEq for ExecuteChangeSetInputBuilder
source§fn eq(&self, other: &ExecuteChangeSetInputBuilder) -> bool
fn eq(&self, other: &ExecuteChangeSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.