#[non_exhaustive]pub struct ExecuteChangeSetInput { /* private fields */ }Expand description
The input for the ExecuteChangeSet action.
Implementations§
source§impl ExecuteChangeSetInput
impl ExecuteChangeSetInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExecuteChangeSet, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExecuteChangeSet, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ExecuteChangeSet>
Examples found in repository?
5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ExecuteChangeSet,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ExecuteChangeSetError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::ExecuteChangeSetOutput,
aws_smithy_http::result::SdkError<crate::error::ExecuteChangeSetError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExecuteChangeSetInput.
source§impl ExecuteChangeSetInput
impl ExecuteChangeSetInput
sourcepub fn change_set_name(&self) -> Option<&str>
pub fn change_set_name(&self) -> Option<&str>
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) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
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) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
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) -> Option<bool>
pub fn disable_rollback(&self) -> Option<bool>
Preserves the state of previously provisioned resources when an operation fails.
Default: True
Trait Implementations§
source§impl Clone for ExecuteChangeSetInput
impl Clone for ExecuteChangeSetInput
source§fn clone(&self) -> ExecuteChangeSetInput
fn clone(&self) -> ExecuteChangeSetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more