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
AWS 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 AWS Cloud9, see the AWS Cloud9 User Guide.
AWS Cloud9 supports these operations:
-
CreateEnvironmentEC2
: Creates an AWS 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. -
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
-
new AWS.Cloud9(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
createEnvironmentEC2(params = {}, callback) ⇒ AWS.Request
Creates an AWS 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 AWS Cloud9 development environment.
-
deleteEnvironment(params = {}, callback) ⇒ AWS.Request
Deletes an AWS Cloud9 development environment.
-
deleteEnvironmentMembership(params = {}, callback) ⇒ AWS.Request
Deletes an environment member from an AWS Cloud9 development environment.
-
describeEnvironmentMemberships(params = {}, callback) ⇒ AWS.Request
Gets information about environment members for an AWS Cloud9 development environment.
-
describeEnvironments(params = {}, callback) ⇒ AWS.Request
Gets information about AWS Cloud9 development environments.
-
describeEnvironmentStatus(params = {}, callback) ⇒ AWS.Request
Gets status information for an AWS Cloud9 development environment.
-
listEnvironments(params = {}, callback) ⇒ AWS.Request
Gets a list of AWS Cloud9 development environment identifiers.
-
updateEnvironment(params = {}, callback) ⇒ AWS.Request
Changes the settings of an existing AWS Cloud9 development environment.
-
updateEnvironmentMembership(params = {}, callback) ⇒ AWS.Request
Changes the settings of an existing environment member for an AWS Cloud9 development environment.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
createEnvironmentEC2(params = {}, callback) ⇒ AWS.Request
Creates an AWS 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 AWS Cloud9 development environment.
deleteEnvironment(params = {}, callback) ⇒ AWS.Request
Deletes an AWS 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 AWS Cloud9 development environment.
describeEnvironmentMemberships(params = {}, callback) ⇒ AWS.Request
Gets information about environment members for an AWS Cloud9 development environment.
describeEnvironments(params = {}, callback) ⇒ AWS.Request
Gets information about AWS Cloud9 development environments.
describeEnvironmentStatus(params = {}, callback) ⇒ AWS.Request
Gets status information for an AWS Cloud9 development environment.
listEnvironments(params = {}, callback) ⇒ AWS.Request
Gets a list of AWS Cloud9 development environment identifiers.