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 ListEnvironments operation. Lists the environments for an application.
Namespace: Amazon.AppConfig.Model
Assembly: AWSSDK.AppConfig.dll
Version: 3.x.y.z
public class ListEnvironmentsRequest : AmazonAppConfigRequest IAmazonWebServiceRequest
The ListEnvironmentsRequest type exposes the following members
Name | Description | |
---|---|---|
ListEnvironmentsRequest() |
Name | Type | Description | |
---|---|---|---|
ApplicationId | System.String |
Gets and sets the property ApplicationId. The application ID. |
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. |
|
NextToken | System.String |
Gets and sets the property NextToken. A token to start the list. Use this token to get the next set of results. |
The following list-environments example lists the available environments in your AWS account for the specified application.
var client = new AmazonAppConfigClient(); var response = client.ListEnvironments(new ListEnvironmentsRequest { ApplicationId = "339ohji" }); List<Environment> items = response.Items;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5