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 ListServiceDeployments operation. This operation lists all the service deployments that meet the specified filter criteria.
A service deployment happens when you release a software update for the service. You route traffic from the running service revisions to the new service revison and control the number of running tasks.
This API returns the values that you use for the request parameters in DescribeServiceRevisions.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class ListServiceDeploymentsRequest : AmazonECSRequest IAmazonWebServiceRequest
The ListServiceDeploymentsRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
ListServiceDeploymentsRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Cluster | System.String |
Gets and sets the property Cluster.
The cluster that hosts the service. This can either be the cluster name or ARN. Starting
April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic
Inference (EI), and will help current customers migrate their workloads to options
that offer better price and performance. If you don't specify a cluster, |
![]() |
CreatedAt | Amazon.ECS.Model.CreatedAt |
Gets and sets the property CreatedAt. An optional filter you can use to narrow the results by the service creation date. If you do not specify a value, the result includes all services created before the current time. The format is yyyy-MM-dd HH:mm:ss.SSSSSS. |
![]() |
MaxResults | System.Int32 |
Gets and sets the property MaxResults.
The maximum number of service deployment results that |
![]() |
NextToken | System.String |
Gets and sets the property NextToken.
The |
![]() |
Service | System.String |
Gets and sets the property Service. The ARN or name of the service |
![]() |
Status | System.Collections.Generic.List<System.String> |
Gets and sets the property Status. An optional filter you can use to narrow the results. If you do not specify a status, then all status values are included in the result. |
This example lists all successful service deployments for the service "sd-example" in the cluster "example".
var client = new AmazonECSClient(); var response = client.ListServiceDeployments(new ListServiceDeploymentsRequest { Cluster = "example", Service = "sd-example", Status = new List<string> { "SUCCESSFUL" } }); List<ServiceDeploymentBrief> 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