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 ListEnvironments operation. Gets a list of AWS Cloud9 development environment identifiers.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Cloud9.AmazonCloud9Request
      Amazon.Cloud9.Model.ListEnvironmentsRequest

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

Syntax

C#
public class ListEnvironmentsRequest : AmazonCloud9Request
         IAmazonWebServiceRequest

The ListEnvironmentsRequest type exposes the following members

Constructors

NameDescription
Public Method ListEnvironmentsRequest()

Properties

NameTypeDescription
Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of environments to get identifiers for.

Public Property 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.

Examples

ListEnvironments


var response = client.ListEnvironments(new ListEnvironmentsRequest 
{
});

List environmentIds = response.EnvironmentIds;

            

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms