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. Gets a list of Cloud9 development environment identifiers.
Namespace: Amazon.Cloud9.Model
Assembly: AWSSDK.Cloud9.dll
Version: 3.x.y.z
public class ListEnvironmentsRequest : AmazonCloud9Request IAmazonWebServiceRequest
The ListEnvironmentsRequest type exposes the following members
Name | Description | |
---|---|---|
ListEnvironmentsRequest() |
Name | Type | Description | |
---|---|---|---|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of environments to get identifiers for. |
|
NextToken | System.String |
Gets and sets the property NextToken. During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned. |
var client = new AmazonCloud9Client(); var response = client.ListEnvironments(new ListEnvironmentsRequest { }); List<string> environmentIds = response.EnvironmentIds;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5