Class: Aws::Cloud9::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Cloud9::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb
Overview
An API client for Cloud9. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::Cloud9::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_environment_ec2(params = {}) ⇒ Types::CreateEnvironmentEC2Result
Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
-
#create_environment_membership(params = {}) ⇒ Types::CreateEnvironmentMembershipResult
Adds an environment member to an Cloud9 development environment.
-
#delete_environment(params = {}) ⇒ Struct
Deletes an Cloud9 development environment.
-
#delete_environment_membership(params = {}) ⇒ Struct
Deletes an environment member from a development environment.
-
#describe_environment_memberships(params = {}) ⇒ Types::DescribeEnvironmentMembershipsResult
Gets information about environment members for an Cloud9 development environment.
-
#describe_environment_status(params = {}) ⇒ Types::DescribeEnvironmentStatusResult
Gets status information for an Cloud9 development environment.
-
#describe_environments(params = {}) ⇒ Types::DescribeEnvironmentsResult
Gets information about Cloud9 development environments.
-
#list_environments(params = {}) ⇒ Types::ListEnvironmentsResult
Gets a list of Cloud9 development environment identifiers.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Gets a list of the tags associated with an Cloud9 development environment.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to an Cloud9 development environment.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from an Cloud9 development environment.
-
#update_environment(params = {}) ⇒ Struct
Changes the settings of an existing Cloud9 development environment.
-
#update_environment_membership(params = {}) ⇒ Types::UpdateEnvironmentMembershipResult
Changes the settings of an existing environment member for an Cloud9 development environment.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from Aws::ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
483 484 485 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 483 def initialize(*args) super end |
Instance Method Details
#create_environment_ec2(params = {}) ⇒ Types::CreateEnvironmentEC2Result
Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
653 654 655 656 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 653 def create_environment_ec2(params = {}, = {}) req = build_request(:create_environment_ec2, params) req.send_request() end |
#create_environment_membership(params = {}) ⇒ Types::CreateEnvironmentMembershipResult
Adds an environment member to an Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
726 727 728 729 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 726 def create_environment_membership(params = {}, = {}) req = build_request(:create_environment_membership, params) req.send_request() end |
#delete_environment(params = {}) ⇒ Struct
Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
767 768 769 770 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 767 def delete_environment(params = {}, = {}) req = build_request(:delete_environment, params) req.send_request() end |
#delete_environment_membership(params = {}) ⇒ Struct
Deletes an environment member from a development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
813 814 815 816 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 813 def delete_environment_membership(params = {}, = {}) req = build_request(:delete_environment_membership, params) req.send_request() end |
#describe_environment_memberships(params = {}) ⇒ Types::DescribeEnvironmentMembershipsResult
Gets information about environment members for an Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
970 971 972 973 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 970 def describe_environment_memberships(params = {}, = {}) req = build_request(:describe_environment_memberships, params) req.send_request() end |
#describe_environment_status(params = {}) ⇒ Types::DescribeEnvironmentStatusResult
Gets status information for an Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
1020 1021 1022 1023 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 1020 def describe_environment_status(params = {}, = {}) req = build_request(:describe_environment_status, params) req.send_request() end |
#describe_environments(params = {}) ⇒ Types::DescribeEnvironmentsResult
Gets information about Cloud9 development environments.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
1104 1105 1106 1107 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 1104 def describe_environments(params = {}, = {}) req = build_request(:describe_environments, params) req.send_request() end |
#list_environments(params = {}) ⇒ Types::ListEnvironmentsResult
Gets a list of Cloud9 development environment identifiers.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1171 1172 1173 1174 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 1171 def list_environments(params = {}, = {}) req = build_request(:list_environments, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Gets a list of the tags associated with an Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
1210 1211 1212 1213 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 1210 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to an Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.
1252 1253 1254 1255 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 1252 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from an Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
1287 1288 1289 1290 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 1287 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_environment(params = {}) ⇒ Struct
Changes the settings of an existing Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
1354 1355 1356 1357 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 1354 def update_environment(params = {}, = {}) req = build_request(:update_environment, params) req.send_request() end |
#update_environment_membership(params = {}) ⇒ Types::UpdateEnvironmentMembershipResult
Changes the settings of an existing environment member for an Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
1428 1429 1430 1431 |
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb', line 1428 def update_environment_membership(params = {}, = {}) req = build_request(:update_environment_membership, params) req.send_request() end |