AWS SDK Version 3 for .NET
API Reference

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 ListDeployments operation. Lists the deployments for an environment in descending deployment number order.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppConfig.AmazonAppConfigRequest
      Amazon.AppConfig.Model.ListDeploymentsRequest

Namespace: Amazon.AppConfig.Model
Assembly: AWSSDK.AppConfig.dll
Version: 3.x.y.z

Syntax

C#
public class ListDeploymentsRequest : AmazonAppConfigRequest
         IAmazonWebServiceRequest

The ListDeploymentsRequest type exposes the following members

Constructors

NameDescription
Public Method ListDeploymentsRequest()

Properties

NameTypeDescription
Public Property ApplicationId System.String

Gets and sets the property ApplicationId.

The application ID.

Public Property EnvironmentId System.String

Gets and sets the property EnvironmentId.

The environment ID.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null NextToken that you can provide in a subsequent call to get the next set of results.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results.

Examples

The following list-deployments example lists the available deployments in your AWS account for the specified application and environment.

To list the available deployments


var client = new AmazonAppConfigClient();
var response = client.ListDeployments(new ListDeploymentsRequest 
{
    ApplicationId = "339ohji",
    EnvironmentId = "54j1r29"
});

List<DeploymentSummary> items = response.Items;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5