aws-sdk-cloud9 1.20.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-cloud9.rb +9 -4
- data/lib/aws-sdk-cloud9/client.rb +76 -14
- data/lib/aws-sdk-cloud9/client_api.rb +16 -0
- data/lib/aws-sdk-cloud9/errors.rb +101 -0
- data/lib/aws-sdk-cloud9/resource.rb +3 -0
- data/lib/aws-sdk-cloud9/types.rb +69 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cb129bc5a414854e84982c1f982f1e2e37e11f31da0e7f26aa58d602ab0ebee9
|
4
|
+
data.tar.gz: f95fdd11b8f47b9ba4dcb1fbcda46a1fe1f7f28a8df6534bed055e82fa2b6488
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e1c9d2e0a7a86fe0bf2ea04823b3a282ee1e27269a1d52069f43b82c003d7ea3f4176ac0fcd2dcef68222276832129d07bc9b07e5f2367321fe842f5317b55
|
7
|
+
data.tar.gz: f726dc728b12b14a1fa51c8a1bfe19370f6caf72fb5865d2f65b6c21627f0ba7c417eb89d93b5abcc9877fc5c15cc2c62f32721ebcf7653eac6a971b56977211
|
data/lib/aws-sdk-cloud9.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-cloud9/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# cloud_9 = Aws::Cloud9::Client.new
|
30
|
+
# resp = cloud_9.create_environment_ec2(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from AWS Cloud9
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from AWS Cloud9 are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::Cloud9::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all AWS Cloud9 API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-cloud9/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::Cloud9
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.25.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:cloud9)
|
31
34
|
|
32
35
|
module Aws::Cloud9
|
36
|
+
# An API client for Cloud9. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::Cloud9::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::Cloud9
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::Cloud9
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::Cloud9
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::Cloud9
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::Cloud9
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::Cloud9
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::Cloud9
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::Cloud9
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::Cloud9
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::Cloud9
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -542,6 +600,8 @@ module Aws::Cloud9
|
|
542
600
|
# * {Types::DescribeEnvironmentMembershipsResult#memberships #memberships} => Array<Types::EnvironmentMember>
|
543
601
|
# * {Types::DescribeEnvironmentMembershipsResult#next_token #next_token} => String
|
544
602
|
#
|
603
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
604
|
+
#
|
545
605
|
#
|
546
606
|
# @example Example: DescribeEnvironmentMemberships1
|
547
607
|
#
|
@@ -787,6 +847,8 @@ module Aws::Cloud9
|
|
787
847
|
# * {Types::ListEnvironmentsResult#next_token #next_token} => String
|
788
848
|
# * {Types::ListEnvironmentsResult#environment_ids #environment_ids} => Array<String>
|
789
849
|
#
|
850
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
851
|
+
#
|
790
852
|
#
|
791
853
|
# @example Example: ListEnvironments
|
792
854
|
#
|
@@ -1043,7 +1105,7 @@ module Aws::Cloud9
|
|
1043
1105
|
params: params,
|
1044
1106
|
config: config)
|
1045
1107
|
context[:gem_name] = 'aws-sdk-cloud9'
|
1046
|
-
context[:gem_version] = '1.
|
1108
|
+
context[:gem_version] = '1.25.0'
|
1047
1109
|
Seahorse::Client::Request.new(handlers, context)
|
1048
1110
|
end
|
1049
1111
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -75,8 +77,12 @@ module Aws::Cloud9
|
|
75
77
|
UpdateEnvironmentResult = Shapes::StructureShape.new(name: 'UpdateEnvironmentResult')
|
76
78
|
UserArn = Shapes::StringShape.new(name: 'UserArn')
|
77
79
|
|
80
|
+
BadRequestException.struct_class = Types::BadRequestException
|
81
|
+
|
78
82
|
BoundedEnvironmentIdList.member = Shapes::ShapeRef.new(shape: EnvironmentId)
|
79
83
|
|
84
|
+
ConflictException.struct_class = Types::ConflictException
|
85
|
+
|
80
86
|
CreateEnvironmentEC2Request.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "name"))
|
81
87
|
CreateEnvironmentEC2Request.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description"))
|
82
88
|
CreateEnvironmentEC2Request.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
|
@@ -160,6 +166,12 @@ module Aws::Cloud9
|
|
160
166
|
|
161
167
|
EnvironmentMembersList.member = Shapes::ShapeRef.new(shape: EnvironmentMember)
|
162
168
|
|
169
|
+
ForbiddenException.struct_class = Types::ForbiddenException
|
170
|
+
|
171
|
+
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
172
|
+
|
173
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
174
|
+
|
163
175
|
ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
164
176
|
ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
165
177
|
ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
|
@@ -174,6 +186,8 @@ module Aws::Cloud9
|
|
174
186
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
175
187
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
176
188
|
|
189
|
+
NotFoundException.struct_class = Types::NotFoundException
|
190
|
+
|
177
191
|
PermissionsList.member = Shapes::ShapeRef.new(shape: Permissions)
|
178
192
|
|
179
193
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
@@ -190,6 +204,8 @@ module Aws::Cloud9
|
|
190
204
|
|
191
205
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
192
206
|
|
207
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
208
|
+
|
193
209
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location_name: "ResourceARN"))
|
194
210
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
195
211
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,9 +8,108 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Cloud9
|
11
|
+
|
12
|
+
# When Cloud9 returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::Cloud9::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all Cloud9 errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::Cloud9::Errors::ServiceError
|
20
|
+
# # rescues all Cloud9 API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {BadRequestException}
|
31
|
+
# * {ConflictException}
|
32
|
+
# * {ForbiddenException}
|
33
|
+
# * {InternalServerErrorException}
|
34
|
+
# * {LimitExceededException}
|
35
|
+
# * {NotFoundException}
|
36
|
+
# * {TooManyRequestsException}
|
37
|
+
#
|
38
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
39
|
+
# if they are not defined above.
|
9
40
|
module Errors
|
10
41
|
|
11
42
|
extend Aws::Errors::DynamicErrors
|
12
43
|
|
44
|
+
class BadRequestException < ServiceError
|
45
|
+
|
46
|
+
# @param [Seahorse::Client::RequestContext] context
|
47
|
+
# @param [String] message
|
48
|
+
# @param [Aws::Cloud9::Types::BadRequestException] data
|
49
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
50
|
+
super(context, message, data)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
class ConflictException < ServiceError
|
55
|
+
|
56
|
+
# @param [Seahorse::Client::RequestContext] context
|
57
|
+
# @param [String] message
|
58
|
+
# @param [Aws::Cloud9::Types::ConflictException] data
|
59
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
60
|
+
super(context, message, data)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
class ForbiddenException < ServiceError
|
65
|
+
|
66
|
+
# @param [Seahorse::Client::RequestContext] context
|
67
|
+
# @param [String] message
|
68
|
+
# @param [Aws::Cloud9::Types::ForbiddenException] data
|
69
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
70
|
+
super(context, message, data)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
class InternalServerErrorException < ServiceError
|
75
|
+
|
76
|
+
# @param [Seahorse::Client::RequestContext] context
|
77
|
+
# @param [String] message
|
78
|
+
# @param [Aws::Cloud9::Types::InternalServerErrorException] data
|
79
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
80
|
+
super(context, message, data)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class LimitExceededException < ServiceError
|
85
|
+
|
86
|
+
# @param [Seahorse::Client::RequestContext] context
|
87
|
+
# @param [String] message
|
88
|
+
# @param [Aws::Cloud9::Types::LimitExceededException] data
|
89
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
90
|
+
super(context, message, data)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
class NotFoundException < ServiceError
|
95
|
+
|
96
|
+
# @param [Seahorse::Client::RequestContext] context
|
97
|
+
# @param [String] message
|
98
|
+
# @param [Aws::Cloud9::Types::NotFoundException] data
|
99
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
100
|
+
super(context, message, data)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
class TooManyRequestsException < ServiceError
|
105
|
+
|
106
|
+
# @param [Seahorse::Client::RequestContext] context
|
107
|
+
# @param [String] message
|
108
|
+
# @param [Aws::Cloud9::Types::TooManyRequestsException] data
|
109
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
110
|
+
super(context, message, data)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
13
114
|
end
|
14
115
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Cloud9
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
data/lib/aws-sdk-cloud9/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -8,6 +10,18 @@
|
|
8
10
|
module Aws::Cloud9
|
9
11
|
module Types
|
10
12
|
|
13
|
+
# The target request is invalid.
|
14
|
+
#
|
15
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/BadRequestException AWS API Documentation
|
16
|
+
#
|
17
|
+
class BadRequestException < Aws::EmptyStructure; end
|
18
|
+
|
19
|
+
# A conflict occurred.
|
20
|
+
#
|
21
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ConflictException AWS API Documentation
|
22
|
+
#
|
23
|
+
class ConflictException < Aws::EmptyStructure; end
|
24
|
+
|
11
25
|
# @note When making an API call, you may pass CreateEnvironmentEC2Request
|
12
26
|
# data as a hash:
|
13
27
|
#
|
@@ -86,6 +100,7 @@ module Aws::Cloud9
|
|
86
100
|
:automatic_stop_time_minutes,
|
87
101
|
:owner_arn,
|
88
102
|
:tags)
|
103
|
+
SENSITIVE = [:description]
|
89
104
|
include Aws::Structure
|
90
105
|
end
|
91
106
|
|
@@ -97,6 +112,7 @@ module Aws::Cloud9
|
|
97
112
|
#
|
98
113
|
class CreateEnvironmentEC2Result < Struct.new(
|
99
114
|
:environment_id)
|
115
|
+
SENSITIVE = []
|
100
116
|
include Aws::Structure
|
101
117
|
end
|
102
118
|
|
@@ -134,6 +150,7 @@ module Aws::Cloud9
|
|
134
150
|
:environment_id,
|
135
151
|
:user_arn,
|
136
152
|
:permissions)
|
153
|
+
SENSITIVE = []
|
137
154
|
include Aws::Structure
|
138
155
|
end
|
139
156
|
|
@@ -145,6 +162,7 @@ module Aws::Cloud9
|
|
145
162
|
#
|
146
163
|
class CreateEnvironmentMembershipResult < Struct.new(
|
147
164
|
:membership)
|
165
|
+
SENSITIVE = []
|
148
166
|
include Aws::Structure
|
149
167
|
end
|
150
168
|
|
@@ -170,6 +188,7 @@ module Aws::Cloud9
|
|
170
188
|
class DeleteEnvironmentMembershipRequest < Struct.new(
|
171
189
|
:environment_id,
|
172
190
|
:user_arn)
|
191
|
+
SENSITIVE = []
|
173
192
|
include Aws::Structure
|
174
193
|
end
|
175
194
|
|
@@ -192,6 +211,7 @@ module Aws::Cloud9
|
|
192
211
|
#
|
193
212
|
class DeleteEnvironmentRequest < Struct.new(
|
194
213
|
:environment_id)
|
214
|
+
SENSITIVE = []
|
195
215
|
include Aws::Structure
|
196
216
|
end
|
197
217
|
|
@@ -257,6 +277,7 @@ module Aws::Cloud9
|
|
257
277
|
:permissions,
|
258
278
|
:next_token,
|
259
279
|
:max_results)
|
280
|
+
SENSITIVE = []
|
260
281
|
include Aws::Structure
|
261
282
|
end
|
262
283
|
|
@@ -276,6 +297,7 @@ module Aws::Cloud9
|
|
276
297
|
class DescribeEnvironmentMembershipsResult < Struct.new(
|
277
298
|
:memberships,
|
278
299
|
:next_token)
|
300
|
+
SENSITIVE = []
|
279
301
|
include Aws::Structure
|
280
302
|
end
|
281
303
|
|
@@ -294,6 +316,7 @@ module Aws::Cloud9
|
|
294
316
|
#
|
295
317
|
class DescribeEnvironmentStatusRequest < Struct.new(
|
296
318
|
:environment_id)
|
319
|
+
SENSITIVE = []
|
297
320
|
include Aws::Structure
|
298
321
|
end
|
299
322
|
|
@@ -324,6 +347,7 @@ module Aws::Cloud9
|
|
324
347
|
class DescribeEnvironmentStatusResult < Struct.new(
|
325
348
|
:status,
|
326
349
|
:message)
|
350
|
+
SENSITIVE = []
|
327
351
|
include Aws::Structure
|
328
352
|
end
|
329
353
|
|
@@ -342,6 +366,7 @@ module Aws::Cloud9
|
|
342
366
|
#
|
343
367
|
class DescribeEnvironmentsRequest < Struct.new(
|
344
368
|
:environment_ids)
|
369
|
+
SENSITIVE = []
|
345
370
|
include Aws::Structure
|
346
371
|
end
|
347
372
|
|
@@ -353,6 +378,7 @@ module Aws::Cloud9
|
|
353
378
|
#
|
354
379
|
class DescribeEnvironmentsResult < Struct.new(
|
355
380
|
:environments)
|
381
|
+
SENSITIVE = []
|
356
382
|
include Aws::Structure
|
357
383
|
end
|
358
384
|
|
@@ -401,6 +427,7 @@ module Aws::Cloud9
|
|
401
427
|
:arn,
|
402
428
|
:owner_arn,
|
403
429
|
:lifecycle)
|
430
|
+
SENSITIVE = [:description]
|
404
431
|
include Aws::Structure
|
405
432
|
end
|
406
433
|
|
@@ -437,6 +464,7 @@ module Aws::Cloud9
|
|
437
464
|
:status,
|
438
465
|
:reason,
|
439
466
|
:failure_resource)
|
467
|
+
SENSITIVE = []
|
440
468
|
include Aws::Structure
|
441
469
|
end
|
442
470
|
|
@@ -480,9 +508,28 @@ module Aws::Cloud9
|
|
480
508
|
:user_arn,
|
481
509
|
:environment_id,
|
482
510
|
:last_access)
|
511
|
+
SENSITIVE = []
|
483
512
|
include Aws::Structure
|
484
513
|
end
|
485
514
|
|
515
|
+
# An access permissions issue occurred.
|
516
|
+
#
|
517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ForbiddenException AWS API Documentation
|
518
|
+
#
|
519
|
+
class ForbiddenException < Aws::EmptyStructure; end
|
520
|
+
|
521
|
+
# An internal server error occurred.
|
522
|
+
#
|
523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/InternalServerErrorException AWS API Documentation
|
524
|
+
#
|
525
|
+
class InternalServerErrorException < Aws::EmptyStructure; end
|
526
|
+
|
527
|
+
# A service limit was exceeded.
|
528
|
+
#
|
529
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/LimitExceededException AWS API Documentation
|
530
|
+
#
|
531
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
532
|
+
|
486
533
|
# @note When making an API call, you may pass ListEnvironmentsRequest
|
487
534
|
# data as a hash:
|
488
535
|
#
|
@@ -510,6 +557,7 @@ module Aws::Cloud9
|
|
510
557
|
class ListEnvironmentsRequest < Struct.new(
|
511
558
|
:next_token,
|
512
559
|
:max_results)
|
560
|
+
SENSITIVE = []
|
513
561
|
include Aws::Structure
|
514
562
|
end
|
515
563
|
|
@@ -529,6 +577,7 @@ module Aws::Cloud9
|
|
529
577
|
class ListEnvironmentsResult < Struct.new(
|
530
578
|
:next_token,
|
531
579
|
:environment_ids)
|
580
|
+
SENSITIVE = []
|
532
581
|
include Aws::Structure
|
533
582
|
end
|
534
583
|
|
@@ -548,6 +597,7 @@ module Aws::Cloud9
|
|
548
597
|
#
|
549
598
|
class ListTagsForResourceRequest < Struct.new(
|
550
599
|
:resource_arn)
|
600
|
+
SENSITIVE = []
|
551
601
|
include Aws::Structure
|
552
602
|
end
|
553
603
|
|
@@ -560,9 +610,16 @@ module Aws::Cloud9
|
|
560
610
|
#
|
561
611
|
class ListTagsForResourceResponse < Struct.new(
|
562
612
|
:tags)
|
613
|
+
SENSITIVE = []
|
563
614
|
include Aws::Structure
|
564
615
|
end
|
565
616
|
|
617
|
+
# The target resource cannot be found.
|
618
|
+
#
|
619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/NotFoundException AWS API Documentation
|
620
|
+
#
|
621
|
+
class NotFoundException < Aws::EmptyStructure; end
|
622
|
+
|
566
623
|
# Metadata that is associated with AWS resources. In particular, a
|
567
624
|
# name-value pair that can be associated with an AWS Cloud9 development
|
568
625
|
# environment. There are two types of tags: *user tags* and *system
|
@@ -591,6 +648,7 @@ module Aws::Cloud9
|
|
591
648
|
class Tag < Struct.new(
|
592
649
|
:key,
|
593
650
|
:value)
|
651
|
+
SENSITIVE = []
|
594
652
|
include Aws::Structure
|
595
653
|
end
|
596
654
|
|
@@ -622,6 +680,7 @@ module Aws::Cloud9
|
|
622
680
|
class TagResourceRequest < Struct.new(
|
623
681
|
:resource_arn,
|
624
682
|
:tags)
|
683
|
+
SENSITIVE = []
|
625
684
|
include Aws::Structure
|
626
685
|
end
|
627
686
|
|
@@ -629,6 +688,12 @@ module Aws::Cloud9
|
|
629
688
|
#
|
630
689
|
class TagResourceResponse < Aws::EmptyStructure; end
|
631
690
|
|
691
|
+
# Too many service requests were made over the given time period.
|
692
|
+
#
|
693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/TooManyRequestsException AWS API Documentation
|
694
|
+
#
|
695
|
+
class TooManyRequestsException < Aws::EmptyStructure; end
|
696
|
+
|
632
697
|
# @note When making an API call, you may pass UntagResourceRequest
|
633
698
|
# data as a hash:
|
634
699
|
#
|
@@ -652,6 +717,7 @@ module Aws::Cloud9
|
|
652
717
|
class UntagResourceRequest < Struct.new(
|
653
718
|
:resource_arn,
|
654
719
|
:tag_keys)
|
720
|
+
SENSITIVE = []
|
655
721
|
include Aws::Structure
|
656
722
|
end
|
657
723
|
|
@@ -693,6 +759,7 @@ module Aws::Cloud9
|
|
693
759
|
:environment_id,
|
694
760
|
:user_arn,
|
695
761
|
:permissions)
|
762
|
+
SENSITIVE = []
|
696
763
|
include Aws::Structure
|
697
764
|
end
|
698
765
|
|
@@ -705,6 +772,7 @@ module Aws::Cloud9
|
|
705
772
|
#
|
706
773
|
class UpdateEnvironmentMembershipResult < Struct.new(
|
707
774
|
:membership)
|
775
|
+
SENSITIVE = []
|
708
776
|
include Aws::Structure
|
709
777
|
end
|
710
778
|
|
@@ -735,6 +803,7 @@ module Aws::Cloud9
|
|
735
803
|
:environment_id,
|
736
804
|
:name,
|
737
805
|
:description)
|
806
|
+
SENSITIVE = [:description]
|
738
807
|
include Aws::Structure
|
739
808
|
end
|
740
809
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloud9
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - AWS Cloud9
|