Class: Aws::Cloud9::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Cloud9::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- 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](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
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.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
441 442 443 |
# File 'lib/aws-sdk-cloud9/client.rb', line 441 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1328 1329 1330 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1328 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1331 1332 1333 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1331 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1301 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::Cloud9') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-cloud9' context[:gem_version] = '1.75.0' Seahorse::Client::Request.new(handlers, context) end |
#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.
604 605 606 607 |
# File 'lib/aws-sdk-cloud9/client.rb', line 604 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.
670 671 672 673 |
# File 'lib/aws-sdk-cloud9/client.rb', line 670 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.
704 705 706 707 |
# File 'lib/aws-sdk-cloud9/client.rb', line 704 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.
743 744 745 746 |
# File 'lib/aws-sdk-cloud9/client.rb', line 743 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
893 894 895 896 |
# File 'lib/aws-sdk-cloud9/client.rb', line 893 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.
936 937 938 939 |
# File 'lib/aws-sdk-cloud9/client.rb', line 936 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.
1013 1014 1015 1016 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1013 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1070 1071 1072 1073 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1070 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.
1102 1103 1104 1105 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1102 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.
Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.
1137 1138 1139 1140 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1137 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.
1165 1166 1167 1168 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1165 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.
1225 1226 1227 1228 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1225 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.
1292 1293 1294 1295 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1292 def update_environment_membership(params = {}, = {}) req = build_request(:update_environment_membership, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1321 1322 1323 |
# File 'lib/aws-sdk-cloud9/client.rb', line 1321 def waiter_names [] end |