aws-sdk-greengrassv2 1.112.0

AWS SDK for AWS IoT Greengrass V2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CancelDeployment`](crate::operation::cancel_deployment::builders::CancelDeploymentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`deployment_id(impl Into<String>)`](crate::operation::cancel_deployment::builders::CancelDeploymentFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::cancel_deployment::builders::CancelDeploymentFluentBuilder::set_deployment_id):<br>required: **true**<br><p>The ID of the deployment.</p><br>
    /// - On success, responds with [`CancelDeploymentOutput`](crate::operation::cancel_deployment::CancelDeploymentOutput) with field(s):
    ///   - [`message(Option<String>)`](crate::operation::cancel_deployment::CancelDeploymentOutput::message): <p>A message that communicates if the cancel was successful.</p>
    /// - On failure, responds with [`SdkError<CancelDeploymentError>`](crate::operation::cancel_deployment::CancelDeploymentError)
    pub fn cancel_deployment(&self) -> crate::operation::cancel_deployment::builders::CancelDeploymentFluentBuilder {
        crate::operation::cancel_deployment::builders::CancelDeploymentFluentBuilder::new(self.handle.clone())
    }
}