1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDeployment`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`deployment_id(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_deployment_id): <p>The unique identifier for the deployment.</p>
    ///   - [`application_id(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_application_id): <p>The unique identifier of the application.</p>
    /// - On success, responds with [`GetDeploymentOutput`](crate::operation::get_deployment::GetDeploymentOutput) with field(s):
    ///   - [`deployment_id(Option<String>)`](crate::operation::get_deployment::GetDeploymentOutput::deployment_id): <p>The unique identifier of the deployment.</p>
    ///   - [`application_id(Option<String>)`](crate::operation::get_deployment::GetDeploymentOutput::application_id): <p>The unique identifier of the application.</p>
    ///   - [`environment_id(Option<String>)`](crate::operation::get_deployment::GetDeploymentOutput::environment_id): <p>The unique identifier of the runtime environment.</p>
    ///   - [`application_version(Option<i32>)`](crate::operation::get_deployment::GetDeploymentOutput::application_version): <p>The application version.</p>
    ///   - [`status(Option<DeploymentLifecycle>)`](crate::operation::get_deployment::GetDeploymentOutput::status): <p>The status of the deployment.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::get_deployment::GetDeploymentOutput::creation_time): <p>The timestamp when the deployment was created.</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::get_deployment::GetDeploymentOutput::status_reason): <p>The reason for the reported status.</p>
    /// - On failure, responds with [`SdkError<GetDeploymentError>`](crate::operation::get_deployment::GetDeploymentError)
    pub fn get_deployment(
        &self,
    ) -> crate::operation::get_deployment::builders::GetDeploymentFluentBuilder {
        crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::new(
            self.handle.clone(),
        )
    }
}