pub struct CancelComponentDeployment { /* private fields */ }
Expand description
Fluent builder constructing a request to CancelComponentDeployment
.
Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS
deployment status).
For more information about components, see Proton components in the Proton User Guide.
Implementations§
source§impl CancelComponentDeployment
impl CancelComponentDeployment
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CancelComponentDeployment, AwsResponseRetryClassifier>, SdkError<CancelComponentDeploymentError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CancelComponentDeployment, AwsResponseRetryClassifier>, SdkError<CancelComponentDeploymentError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CancelComponentDeploymentOutput, SdkError<CancelComponentDeploymentError>>
pub async fn send(
self
) -> Result<CancelComponentDeploymentOutput, SdkError<CancelComponentDeploymentError>>
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, which can be set when configuring the client.
sourcepub fn component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
The name of the component with the deployment to cancel.
sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
The name of the component with the deployment to cancel.
Trait Implementations§
source§impl Clone for CancelComponentDeployment
impl Clone for CancelComponentDeployment
source§fn clone(&self) -> CancelComponentDeployment
fn clone(&self) -> CancelComponentDeployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more