DescribeServiceDeployments
Source:
src/AWS/ECS/DescribeServiceDeployments.ts
Runtime binding for ecs:DescribeServiceDeployments.
Bind this operation to a Service inside a function runtime to get a
callable that describes the bound service’s deployments — rollout state,
circuit-breaker status, target service revision. The host is granted
ecs:DescribeServiceDeployments on the service’s deployments (deployment
ARNs are only known at runtime, e.g. from ListServiceDeployments).
Service Deployments
Section titled “Service Deployments”const describeServiceDeployments = yield* AWS.ECS.DescribeServiceDeployments(service);
const response = yield* describeServiceDeployments({ serviceDeploymentArns: [deploymentArn],});const status = response.serviceDeployments?.[0]?.status;