1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeDeployments`](crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_id(impl Into<String>)`](crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder::stack_id) / [`set_stack_id(Option<String>)`](crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder::set_stack_id): <p>The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.</p>
    ///   - [`app_id(impl Into<String>)`](crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder::set_app_id): <p>The app ID. If you include this parameter, the command returns a description of the commands associated with the specified app.</p>
    ///   - [`deployment_ids(impl Into<String>)`](crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder::deployment_ids) / [`set_deployment_ids(Option<Vec<String>>)`](crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder::set_deployment_ids): <p>An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.</p>
    /// - On success, responds with [`DescribeDeploymentsOutput`](crate::operation::describe_deployments::DescribeDeploymentsOutput) with field(s):
    ///   - [`deployments(Option<Vec<Deployment>>)`](crate::operation::describe_deployments::DescribeDeploymentsOutput::deployments): <p>An array of <code>Deployment</code> objects that describe the deployments.</p>
    /// - On failure, responds with [`SdkError<DescribeDeploymentsError>`](crate::operation::describe_deployments::DescribeDeploymentsError)
    pub fn describe_deployments(&self) -> crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder {
        crate::operation::describe_deployments::builders::DescribeDeploymentsFluentBuilder::new(self.handle.clone())
    }
}