aws_sdk_ecs/client/
describe_service_deployments.rs

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 [`DescribeServiceDeployments`](crate::operation::describe_service_deployments::builders::DescribeServiceDeploymentsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_deployment_arns(impl Into<String>)`](crate::operation::describe_service_deployments::builders::DescribeServiceDeploymentsFluentBuilder::service_deployment_arns) / [`set_service_deployment_arns(Option<Vec::<String>>)`](crate::operation::describe_service_deployments::builders::DescribeServiceDeploymentsFluentBuilder::set_service_deployment_arns):<br>required: **true**<br><p>The ARN of the service deployment.</p> <p>You can specify a maximum of 20 ARNs.</p><br>
    /// - On success, responds with [`DescribeServiceDeploymentsOutput`](crate::operation::describe_service_deployments::DescribeServiceDeploymentsOutput) with field(s):
    ///   - [`service_deployments(Option<Vec::<ServiceDeployment>>)`](crate::operation::describe_service_deployments::DescribeServiceDeploymentsOutput::service_deployments): <p>The list of service deployments described.</p>
    ///   - [`failures(Option<Vec::<Failure>>)`](crate::operation::describe_service_deployments::DescribeServiceDeploymentsOutput::failures): <p>Any failures associated with the call.</p> <p>If you decsribe a deployment with a service revision created before October 25, 2024, the call fails. The failure includes the service revision ARN and the reason set to <code>MISSING</code>.</p>
    /// - On failure, responds with [`SdkError<DescribeServiceDeploymentsError>`](crate::operation::describe_service_deployments::DescribeServiceDeploymentsError)
    pub fn describe_service_deployments(&self) -> crate::operation::describe_service_deployments::builders::DescribeServiceDeploymentsFluentBuilder {
        crate::operation::describe_service_deployments::builders::DescribeServiceDeploymentsFluentBuilder::new(self.handle.clone())
    }
}