Class: AWS.Cloud9
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Cloud9
- Identifier:
- cloud9
- API Version:
- 2017-09-23
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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:
-
CreateEnvironmentEC2
: Creates an Cloud9 development environment, launches an Amazon EC2 instance, and then connects from the instance to the environment. -
CreateEnvironmentMembership
: Adds an environment member to an environment. -
DeleteEnvironment
: Deletes an environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance. -
DeleteEnvironmentMembership
: Deletes an environment member from an environment. -
DescribeEnvironmentMemberships
: Gets information about environment members for an environment. -
DescribeEnvironments
: Gets information about environments. -
DescribeEnvironmentStatus
: Gets status information for an environment. -
ListEnvironments
: Gets a list of environment identifiers. -
ListTagsForResource
: Gets the tags for an environment. -
TagResource
: Adds tags to an environment. -
UntagResource
: Removes tags from an environment. -
UpdateEnvironment
: Changes the settings of an existing environment. -
UpdateEnvironmentMembership
: Changes the settings of an existing environment member for an environment.
Sending a Request Using Cloud9
var cloud9 = new AWS.Cloud9();
cloud9.createEnvironmentEC2(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Cloud9 object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var cloud9 = new AWS.Cloud9({apiVersion: '2017-09-23'});
You can also set the API version globally in AWS.config.apiVersions
using
the cloud9 service identifier:
AWS.config.apiVersions = {
cloud9: '2017-09-23',
// other service API versions
};
var cloud9 = new AWS.Cloud9();
Constructor Summary collapse
-
new AWS.Cloud9(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createEnvironmentEC2(params = {}, callback) ⇒ AWS.Request
Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
.
-
createEnvironmentMembership(params = {}, callback) ⇒ AWS.Request
Adds an environment member to an Cloud9 development environment.
.
-
deleteEnvironment(params = {}, callback) ⇒ AWS.Request
Deletes an Cloud9 development environment.
-
deleteEnvironmentMembership(params = {}, callback) ⇒ AWS.Request
Deletes an environment member from an Cloud9 development environment.
.
-
describeEnvironmentMemberships(params = {}, callback) ⇒ AWS.Request
Gets information about environment members for an Cloud9 development environment.
.
-
describeEnvironments(params = {}, callback) ⇒ AWS.Request
Gets information about Cloud9 development environments.
.
-
describeEnvironmentStatus(params = {}, callback) ⇒ AWS.Request
Gets status information for an Cloud9 development environment.
.
-
listEnvironments(params = {}, callback) ⇒ AWS.Request
Gets a list of Cloud9 development environment identifiers.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Gets a list of the tags associated with an Cloud9 development environment.
.
-
tagResource(params = {}, callback) ⇒ AWS.Request
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.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes tags from an Cloud9 development environment.
.
-
updateEnvironment(params = {}, callback) ⇒ AWS.Request
Changes the settings of an existing Cloud9 development environment.
.
-
updateEnvironmentMembership(params = {}, callback) ⇒ AWS.Request
Changes the settings of an existing environment member for an Cloud9 development environment.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Cloud9(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
createEnvironmentEC2(params = {}, callback) ⇒ AWS.Request
Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
createEnvironmentMembership(params = {}, callback) ⇒ AWS.Request
Adds an environment member to an Cloud9 development environment.
deleteEnvironment(params = {}, callback) ⇒ AWS.Request
Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
deleteEnvironmentMembership(params = {}, callback) ⇒ AWS.Request
Deletes an environment member from an Cloud9 development environment.
describeEnvironmentMemberships(params = {}, callback) ⇒ AWS.Request
Gets information about environment members for an Cloud9 development environment.
describeEnvironments(params = {}, callback) ⇒ AWS.Request
Gets information about Cloud9 development environments.
describeEnvironmentStatus(params = {}, callback) ⇒ AWS.Request
Gets status information for an Cloud9 development environment.
listEnvironments(params = {}, callback) ⇒ AWS.Request
Gets a list of Cloud9 development environment identifiers.
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Gets a list of the tags associated with an Cloud9 development environment.
tagResource(params = {}, callback) ⇒ AWS.Request
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.
untagResource(params = {}, callback) ⇒ AWS.Request
Removes tags from an Cloud9 development environment.