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.
This is the response object from the DescribeServiceDeployments operation.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class DescribeServiceDeploymentsResponse : AmazonWebServiceResponse
The DescribeServiceDeploymentsResponse type exposes the following members
Name | Description | |
---|---|---|
![]() |
DescribeServiceDeploymentsResponse() |
Name | Type | Description | |
---|---|---|---|
![]() |
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
Failures | System.Collections.Generic.List<Amazon.ECS.Model.Failure> |
Gets and sets the property Failures. Any failures associated with the call.
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
|
![]() |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
ServiceDeployments | System.Collections.Generic.List<Amazon.ECS.Model.ServiceDeployment> |
Gets and sets the property ServiceDeployments. The list of service deployments described. |
This example describes a service deployment for the service sd-example in the example cluster.
var client = new AmazonECSClient(); var response = client.DescribeServiceDeployments(new DescribeServiceDeploymentsRequest { ServiceDeploymentArns = new List<string> { "arn:aws:ecs:us-west-2:123456789012:service-deployment/example/sd-example/NCWGC2ZR-taawPAYrIaU5" } }); List<Failure> failures = response.Failures; List<ServiceDeployment> serviceDeployments = response.ServiceDeployments;
.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