1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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:
    ///   - [`id(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the deployment that you want to get the detailed data for.</p><br>
    ///   - [`environment_name(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_environment_name):<br>required: **false**<br><p>The name of a environment that you want to get the detailed data for.</p><br>
    ///   - [`service_name(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::service_name) / [`set_service_name(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_service_name):<br>required: **false**<br><p>The name of the service associated with the given deployment ID.</p><br>
    ///   - [`service_instance_name(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::service_instance_name) / [`set_service_instance_name(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_service_instance_name):<br>required: **false**<br><p>The name of the service instance associated with the given deployment ID. <code>serviceName</code> must be specified to identify the service instance.</p><br>
    ///   - [`component_name(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::component_name) / [`set_component_name(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_component_name):<br>required: **false**<br><p>The name of a component that you want to get the detailed data for.</p><br>
    /// - On success, responds with [`GetDeploymentOutput`](crate::operation::get_deployment::GetDeploymentOutput) with field(s):
    ///   - [`deployment(Option<Deployment>)`](crate::operation::get_deployment::GetDeploymentOutput::deployment): <p>The detailed data of the requested deployment.</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())
    }
}