describeServiceRevisions
abstract suspend fun describeServiceRevisions(input: DescribeServiceRevisionsRequest): DescribeServiceRevisionsResponse
Describes one or more service revisions.
A service revision is a version of the service that includes the values for the Amazon ECS resources (for example, task definition) and the environment resources (for example, load balancers, subnets, and security groups). For more information, see Amazon ECS service revisions.
You can't describe a service revision that was created before October 25, 2024.
Samples
fun main() {
//sampleStart
// This example describes a service revision with the specified ARN
val resp = ecsClient.describeServiceRevisions {
serviceRevisionArns = listOf<String>(
"arn:aws:ecs:us-west-2:123456789012:service-revision/testc/sd1/4980306466373577095"
)
}
//sampleEnd
}