AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DescribeServiceRevisions operation. 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.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class DescribeServiceRevisionsRequest : AmazonECSRequest IAmazonWebServiceRequest
The DescribeServiceRevisionsRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DescribeServiceRevisionsRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ServiceRevisionArns | System.Collections.Generic.List<System.String> |
Gets and sets the property ServiceRevisionArns. The ARN of the service revision. You can specify a maximum of 20 ARNs. You can call ListServiceDeployments to get the ARNs. |
This example describes a service revision with the specified ARN
var client = new AmazonECSClient(); var response = client.DescribeServiceRevisions(new DescribeServiceRevisionsRequest { ServiceRevisionArns = new List<string> { "arn:aws:ecs:us-west-2:123456789012:service-revision/testc/sd1/4980306466373577095" } }); List<Failure> failures = response.Failures; List<ServiceRevision> serviceRevisions = response.ServiceRevisions;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5