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 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 client = new AmazonCloud9Client();
var response = client.ListEnvironments(new ListEnvironmentsRequest 
{
});

List<string> environmentIds = response.EnvironmentIds;

            

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