1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDeploymentTarget`](crate::operation::get_deployment_target::builders::GetDeploymentTargetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`deployment_id(impl Into<String>)`](crate::operation::get_deployment_target::builders::GetDeploymentTargetFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::get_deployment_target::builders::GetDeploymentTargetFluentBuilder::set_deployment_id):<br>required: **false**<br><p> The unique ID of a deployment. </p><br>
    ///   - [`target_id(impl Into<String>)`](crate::operation::get_deployment_target::builders::GetDeploymentTargetFluentBuilder::target_id) / [`set_target_id(Option<String>)`](crate::operation::get_deployment_target::builders::GetDeploymentTargetFluentBuilder::set_target_id):<br>required: **false**<br><p> The unique ID of a deployment target. </p><br>
    /// - On success, responds with [`GetDeploymentTargetOutput`](crate::operation::get_deployment_target::GetDeploymentTargetOutput) with field(s):
    ///   - [`deployment_target(Option<DeploymentTarget>)`](crate::operation::get_deployment_target::GetDeploymentTargetOutput::deployment_target): <p> A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (<code>instanceTarget</code>, <code>lambdaTarget</code>, or <code>ecsTarget</code>). </p>
    /// - On failure, responds with [`SdkError<GetDeploymentTargetError>`](crate::operation::get_deployment_target::GetDeploymentTargetError)
    pub fn get_deployment_target(&self) -> crate::operation::get_deployment_target::builders::GetDeploymentTargetFluentBuilder {
        crate::operation::get_deployment_target::builders::GetDeploymentTargetFluentBuilder::new(self.handle.clone())
    }
}