aws_sdk_proton/client/
cancel_component_deployment.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`CancelComponentDeployment`](crate::operation::cancel_component_deployment::builders::CancelComponentDeploymentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`component_name(impl Into<String>)`](crate::operation::cancel_component_deployment::builders::CancelComponentDeploymentFluentBuilder::component_name) / [`set_component_name(Option<String>)`](crate::operation::cancel_component_deployment::builders::CancelComponentDeploymentFluentBuilder::set_component_name):<br>required: **true**<br><p>The name of the component with the deployment to cancel.</p><br>
7    /// - On success, responds with [`CancelComponentDeploymentOutput`](crate::operation::cancel_component_deployment::CancelComponentDeploymentOutput) with field(s):
8    ///   - [`component(Option<Component>)`](crate::operation::cancel_component_deployment::CancelComponentDeploymentOutput::component): <p>The detailed data of the component with the deployment that is being canceled.</p>
9    /// - On failure, responds with [`SdkError<CancelComponentDeploymentError>`](crate::operation::cancel_component_deployment::CancelComponentDeploymentError)
10    pub fn cancel_component_deployment(&self) -> crate::operation::cancel_component_deployment::builders::CancelComponentDeploymentFluentBuilder {
11        crate::operation::cancel_component_deployment::builders::CancelComponentDeploymentFluentBuilder::new(self.handle.clone())
12    }
13}