ListServiceDeployments
Source:
src/AWS/ECS/ListServiceDeployments.ts
Runtime binding for ecs:ListServiceDeployments.
Bind this operation to a Service inside a function runtime to get a
callable that lists the bound service’s deployments (newest first). The
service and cluster ARNs are injected automatically and the host is
granted ecs:ListServiceDeployments on the service.
Service Deployments
Section titled “Service Deployments”const listServiceDeployments = yield* AWS.ECS.ListServiceDeployments(service);
const response = yield* listServiceDeployments({ status: ["IN_PROGRESS"],});const deploymentArn = response.serviceDeployments?.[0]?.serviceDeploymentArn;