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.

Implementation for accessing Cloud9

Cloud9

Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and release software in the cloud.

For more information about Cloud9, see the Cloud9 User Guide.

Cloud9 supports these operations:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.Cloud9.AmazonCloud9Client

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

Syntax

C#
public class AmazonCloud9Client : AmazonServiceClient
         IAmazonCloud9, IAmazonService, IDisposable

The AmazonCloud9Client type exposes the following members

Constructors

NameDescription
Public Method AmazonCloud9Client()

Constructs AmazonCloud9Client with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonCloud9Client(RegionEndpoint)

Constructs AmazonCloud9Client with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonCloud9Client(AmazonCloud9Config)

Constructs AmazonCloud9Client with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonCloud9Client(AWSCredentials)

Constructs AmazonCloud9Client with AWS Credentials

Public Method AmazonCloud9Client(AWSCredentials, RegionEndpoint)

Constructs AmazonCloud9Client with AWS Credentials

Public Method AmazonCloud9Client(AWSCredentials, AmazonCloud9Config)

Constructs AmazonCloud9Client with AWS Credentials and an AmazonCloud9Client Configuration object.

Public Method AmazonCloud9Client(string, string)

Constructs AmazonCloud9Client with AWS Access Key ID and AWS Secret Key

Public Method AmazonCloud9Client(string, string, RegionEndpoint)

Constructs AmazonCloud9Client with AWS Access Key ID and AWS Secret Key

Public Method AmazonCloud9Client(string, string, AmazonCloud9Config)

Constructs AmazonCloud9Client with AWS Access Key ID, AWS Secret Key and an AmazonCloud9Client Configuration object.

Public Method AmazonCloud9Client(string, string, string)

Constructs AmazonCloud9Client with AWS Access Key ID and AWS Secret Key

Public Method AmazonCloud9Client(string, string, string, RegionEndpoint)

Constructs AmazonCloud9Client with AWS Access Key ID and AWS Secret Key

Public Method AmazonCloud9Client(string, string, string, AmazonCloud9Config)

Constructs AmazonCloud9Client with AWS Access Key ID, AWS Secret Key and an AmazonCloud9Client Configuration object.

Properties

NameTypeDescription
Public Property Config Amazon.Runtime.IClientConfig Inherited from Amazon.Runtime.AmazonServiceClient.
Public Property Paginators Amazon.Cloud9.Model.ICloud9PaginatorFactory

Paginators for the service

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method CreateEnvironmentEC2(CreateEnvironmentEC2Request)

Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.

Public Method CreateEnvironmentEC2Async(CreateEnvironmentEC2Request, CancellationToken)

Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.

Public Method CreateEnvironmentMembership(CreateEnvironmentMembershipRequest)

Adds an environment member to an Cloud9 development environment.

Public Method CreateEnvironmentMembershipAsync(CreateEnvironmentMembershipRequest, CancellationToken)

Adds an environment member to an Cloud9 development environment.

Public Method DeleteEnvironment(DeleteEnvironmentRequest)

Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.

Public Method DeleteEnvironmentAsync(DeleteEnvironmentRequest, CancellationToken)

Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.

Public Method DeleteEnvironmentMembership(DeleteEnvironmentMembershipRequest)

Deletes an environment member from a development environment.

Public Method DeleteEnvironmentMembershipAsync(DeleteEnvironmentMembershipRequest, CancellationToken)

Deletes an environment member from a development environment.

Public Method DescribeEnvironmentMemberships(DescribeEnvironmentMembershipsRequest)

Gets information about environment members for an Cloud9 development environment.

Public Method DescribeEnvironmentMembershipsAsync(DescribeEnvironmentMembershipsRequest, CancellationToken)

Gets information about environment members for an Cloud9 development environment.

Public Method DescribeEnvironments(DescribeEnvironmentsRequest)

Gets information about Cloud9 development environments.

Public Method DescribeEnvironmentsAsync(DescribeEnvironmentsRequest, CancellationToken)

Gets information about Cloud9 development environments.

Public Method DescribeEnvironmentStatus(DescribeEnvironmentStatusRequest)

Gets status information for an Cloud9 development environment.

Public Method DescribeEnvironmentStatusAsync(DescribeEnvironmentStatusRequest, CancellationToken)

Gets status information for an Cloud9 development environment.

Public Method DetermineServiceOperationEndpoint(AmazonWebServiceRequest)

Returns the endpoint that will be used for a particular request.

Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method ListEnvironments(ListEnvironmentsRequest)

Gets a list of Cloud9 development environment identifiers.

Public Method ListEnvironmentsAsync(ListEnvironmentsRequest, CancellationToken)

Gets a list of Cloud9 development environment identifiers.

Public Method ListTagsForResource(ListTagsForResourceRequest)

Gets a list of the tags associated with an Cloud9 development environment.

Public Method ListTagsForResourceAsync(ListTagsForResourceRequest, CancellationToken)

Gets a list of the tags associated with an Cloud9 development environment.

Public Method TagResource(TagResourceRequest)

Adds tags to an Cloud9 development environment.

Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.

Public Method TagResourceAsync(TagResourceRequest, CancellationToken)

Adds tags to an Cloud9 development environment.

Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.

Public Method UntagResource(UntagResourceRequest)

Removes tags from an Cloud9 development environment.

Public Method UntagResourceAsync(UntagResourceRequest, CancellationToken)

Removes tags from an Cloud9 development environment.

Public Method UpdateEnvironment(UpdateEnvironmentRequest)

Changes the settings of an existing Cloud9 development environment.

Public Method UpdateEnvironmentAsync(UpdateEnvironmentRequest, CancellationToken)

Changes the settings of an existing Cloud9 development environment.

Public Method UpdateEnvironmentMembership(UpdateEnvironmentMembershipRequest)

Changes the settings of an existing environment member for an Cloud9 development environment.

Public Method UpdateEnvironmentMembershipAsync(UpdateEnvironmentMembershipRequest, CancellationToken)

Changes the settings of an existing environment member for an Cloud9 development environment.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

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