aws_sdk_robomaker/client/cancel_deployment_job.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 [`CancelDeploymentJob`](crate::operation::cancel_deployment_job::builders::CancelDeploymentJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`job(impl Into<String>)`](crate::operation::cancel_deployment_job::builders::CancelDeploymentJobFluentBuilder::job) / [`set_job(Option<String>)`](crate::operation::cancel_deployment_job::builders::CancelDeploymentJobFluentBuilder::set_job):<br>required: **true**<br><p>The deployment job ARN to cancel.</p><br>
7 /// - On success, responds with [`CancelDeploymentJobOutput`](crate::operation::cancel_deployment_job::CancelDeploymentJobOutput)
8 /// - On failure, responds with [`SdkError<CancelDeploymentJobError>`](crate::operation::cancel_deployment_job::CancelDeploymentJobError)
9 #[deprecated(
10 note = "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."
11 )]
12 pub fn cancel_deployment_job(&self) -> crate::operation::cancel_deployment_job::builders::CancelDeploymentJobFluentBuilder {
13 crate::operation::cancel_deployment_job::builders::CancelDeploymentJobFluentBuilder::new(self.handle.clone())
14 }
15}