aws_sdk_ecs/client/
describe_service_deployments.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DescribeServiceDeployments`](crate::operation::describe_service_deployments::builders::DescribeServiceDeploymentsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`DescribeServiceDeploymentsOutput`](crate::operation::describe_service_deployments::DescribeServiceDeploymentsOutput) with field(s):
8    ///   - [`service_deployments(Option<Vec::<ServiceDeployment>>)`](crate::operation::describe_service_deployments::DescribeServiceDeploymentsOutput::service_deployments): <p>The list of service deployments described.</p>
9    ///   - [`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>
10    /// - On failure, responds with [`SdkError<DescribeServiceDeploymentsError>`](crate::operation::describe_service_deployments::DescribeServiceDeploymentsError)
11    pub fn describe_service_deployments(&self) -> crate::operation::describe_service_deployments::builders::DescribeServiceDeploymentsFluentBuilder {
12        crate::operation::describe_service_deployments::builders::DescribeServiceDeploymentsFluentBuilder::new(self.handle.clone())
13    }
14}