aws-sdk-cloud9 1.25.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloud9.rb +1 -1
- data/lib/aws-sdk-cloud9/client.rb +6 -1
- data/lib/aws-sdk-cloud9/client_api.rb +8 -0
- data/lib/aws-sdk-cloud9/errors.rb +11 -0
- data/lib/aws-sdk-cloud9/types.rb +20 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e164f2487dd3e36b5e6bbcc27825463d456f8c0d2a73b1cfa08e095e634273d9
|
4
|
+
data.tar.gz: 497fd85f97f236e4f9d11f3ba559840ba2f1c1e64f84cf618407c23d9781e2fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eec9ff14662b0e3075e7579ab6577b7acdda3eff87c01eae7b5d2e7a63f4abbafc660faa1c5ba1645f86bcf384f598adaa37ac144aa2f8bf1f4bdee52e29c1b
|
7
|
+
data.tar.gz: d9e8a84b656fbb9a0a8899cb3548cc9f324629205bad2c0025258b97a35de21ef909eb99b93e529724334eab38aa74d303f459ce0294a45ea4c670dd5060b3c0
|
data/lib/aws-sdk-cloud9.rb
CHANGED
@@ -366,6 +366,9 @@ module Aws::Cloud9
|
|
366
366
|
# An array of key-value pairs that will be associated with the new AWS
|
367
367
|
# Cloud9 development environment.
|
368
368
|
#
|
369
|
+
# @option params [String] :connection_type
|
370
|
+
# The connection type used for connecting to an Amazon EC2 environment.
|
371
|
+
#
|
369
372
|
# @return [Types::CreateEnvironmentEC2Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
370
373
|
#
|
371
374
|
# * {Types::CreateEnvironmentEC2Result#environment_id #environment_id} => String
|
@@ -403,6 +406,7 @@ module Aws::Cloud9
|
|
403
406
|
# value: "TagValue", # required
|
404
407
|
# },
|
405
408
|
# ],
|
409
|
+
# connection_type: "CONNECT_SSH", # accepts CONNECT_SSH, CONNECT_SSM
|
406
410
|
# })
|
407
411
|
#
|
408
412
|
# @example Response structure
|
@@ -813,6 +817,7 @@ module Aws::Cloud9
|
|
813
817
|
# resp.environments[0].name #=> String
|
814
818
|
# resp.environments[0].description #=> String
|
815
819
|
# resp.environments[0].type #=> String, one of "ssh", "ec2"
|
820
|
+
# resp.environments[0].connection_type #=> String, one of "CONNECT_SSH", "CONNECT_SSM"
|
816
821
|
# resp.environments[0].arn #=> String
|
817
822
|
# resp.environments[0].owner_arn #=> String
|
818
823
|
# resp.environments[0].lifecycle.status #=> String, one of "CREATING", "CREATED", "CREATE_FAILED", "DELETING", "DELETE_FAILED"
|
@@ -1105,7 +1110,7 @@ module Aws::Cloud9
|
|
1105
1110
|
params: params,
|
1106
1111
|
config: config)
|
1107
1112
|
context[:gem_name] = 'aws-sdk-cloud9'
|
1108
|
-
context[:gem_version] = '1.
|
1113
|
+
context[:gem_version] = '1.26.0'
|
1109
1114
|
Seahorse::Client::Request.new(handlers, context)
|
1110
1115
|
end
|
1111
1116
|
|
@@ -17,7 +17,9 @@ module Aws::Cloud9
|
|
17
17
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
18
18
|
BoundedEnvironmentIdList = Shapes::ListShape.new(name: 'BoundedEnvironmentIdList')
|
19
19
|
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
20
|
+
ConcurrentAccessException = Shapes::StructureShape.new(name: 'ConcurrentAccessException')
|
20
21
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
22
|
+
ConnectionType = Shapes::StringShape.new(name: 'ConnectionType')
|
21
23
|
CreateEnvironmentEC2Request = Shapes::StructureShape.new(name: 'CreateEnvironmentEC2Request')
|
22
24
|
CreateEnvironmentEC2Result = Shapes::StructureShape.new(name: 'CreateEnvironmentEC2Result')
|
23
25
|
CreateEnvironmentMembershipRequest = Shapes::StructureShape.new(name: 'CreateEnvironmentMembershipRequest')
|
@@ -81,6 +83,8 @@ module Aws::Cloud9
|
|
81
83
|
|
82
84
|
BoundedEnvironmentIdList.member = Shapes::ShapeRef.new(shape: EnvironmentId)
|
83
85
|
|
86
|
+
ConcurrentAccessException.struct_class = Types::ConcurrentAccessException
|
87
|
+
|
84
88
|
ConflictException.struct_class = Types::ConflictException
|
85
89
|
|
86
90
|
CreateEnvironmentEC2Request.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "name"))
|
@@ -91,6 +95,7 @@ module Aws::Cloud9
|
|
91
95
|
CreateEnvironmentEC2Request.add_member(:automatic_stop_time_minutes, Shapes::ShapeRef.new(shape: AutomaticStopTimeMinutes, location_name: "automaticStopTimeMinutes"))
|
92
96
|
CreateEnvironmentEC2Request.add_member(:owner_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "ownerArn"))
|
93
97
|
CreateEnvironmentEC2Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
98
|
+
CreateEnvironmentEC2Request.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "connectionType"))
|
94
99
|
CreateEnvironmentEC2Request.struct_class = Types::CreateEnvironmentEC2Request
|
95
100
|
|
96
101
|
CreateEnvironmentEC2Result.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
|
@@ -143,6 +148,7 @@ module Aws::Cloud9
|
|
143
148
|
Environment.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
|
144
149
|
Environment.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description"))
|
145
150
|
Environment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "type"))
|
151
|
+
Environment.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "connectionType"))
|
146
152
|
Environment.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
147
153
|
Environment.add_member(:owner_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownerArn"))
|
148
154
|
Environment.add_member(:lifecycle, Shapes::ShapeRef.new(shape: EnvironmentLifecycle, location_name: "lifecycle"))
|
@@ -397,6 +403,7 @@ module Aws::Cloud9
|
|
397
403
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
398
404
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
399
405
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentAccessException)
|
400
407
|
end)
|
401
408
|
|
402
409
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -408,6 +415,7 @@ module Aws::Cloud9
|
|
408
415
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
409
416
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
410
417
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentAccessException)
|
411
419
|
end)
|
412
420
|
|
413
421
|
api.add_operation(:update_environment, Seahorse::Model::Operation.new.tap do |o|
|
@@ -28,6 +28,7 @@ module Aws::Cloud9
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {BadRequestException}
|
31
|
+
# * {ConcurrentAccessException}
|
31
32
|
# * {ConflictException}
|
32
33
|
# * {ForbiddenException}
|
33
34
|
# * {InternalServerErrorException}
|
@@ -51,6 +52,16 @@ module Aws::Cloud9
|
|
51
52
|
end
|
52
53
|
end
|
53
54
|
|
55
|
+
class ConcurrentAccessException < ServiceError
|
56
|
+
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
58
|
+
# @param [String] message
|
59
|
+
# @param [Aws::Cloud9::Types::ConcurrentAccessException] data
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
61
|
+
super(context, message, data)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
54
65
|
class ConflictException < ServiceError
|
55
66
|
|
56
67
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-cloud9/types.rb
CHANGED
@@ -16,6 +16,12 @@ module Aws::Cloud9
|
|
16
16
|
#
|
17
17
|
class BadRequestException < Aws::EmptyStructure; end
|
18
18
|
|
19
|
+
# A concurrent access issue occurred.
|
20
|
+
#
|
21
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ConcurrentAccessException AWS API Documentation
|
22
|
+
#
|
23
|
+
class ConcurrentAccessException < Aws::EmptyStructure; end
|
24
|
+
|
19
25
|
# A conflict occurred.
|
20
26
|
#
|
21
27
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ConflictException AWS API Documentation
|
@@ -39,6 +45,7 @@ module Aws::Cloud9
|
|
39
45
|
# value: "TagValue", # required
|
40
46
|
# },
|
41
47
|
# ],
|
48
|
+
# connection_type: "CONNECT_SSH", # accepts CONNECT_SSH, CONNECT_SSM
|
42
49
|
# }
|
43
50
|
#
|
44
51
|
# @!attribute [rw] name
|
@@ -89,6 +96,11 @@ module Aws::Cloud9
|
|
89
96
|
# Cloud9 development environment.
|
90
97
|
# @return [Array<Types::Tag>]
|
91
98
|
#
|
99
|
+
# @!attribute [rw] connection_type
|
100
|
+
# The connection type used for connecting to an Amazon EC2
|
101
|
+
# environment.
|
102
|
+
# @return [String]
|
103
|
+
#
|
92
104
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2Request AWS API Documentation
|
93
105
|
#
|
94
106
|
class CreateEnvironmentEC2Request < Struct.new(
|
@@ -99,7 +111,8 @@ module Aws::Cloud9
|
|
99
111
|
:subnet_id,
|
100
112
|
:automatic_stop_time_minutes,
|
101
113
|
:owner_arn,
|
102
|
-
:tags
|
114
|
+
:tags,
|
115
|
+
:connection_type)
|
103
116
|
SENSITIVE = [:description]
|
104
117
|
include Aws::Structure
|
105
118
|
end
|
@@ -405,6 +418,11 @@ module Aws::Cloud9
|
|
405
418
|
# * `ssh`\: Your own server connects to the environment.
|
406
419
|
# @return [String]
|
407
420
|
#
|
421
|
+
# @!attribute [rw] connection_type
|
422
|
+
# The connection type used for connecting to an Amazon EC2
|
423
|
+
# environment.
|
424
|
+
# @return [String]
|
425
|
+
#
|
408
426
|
# @!attribute [rw] arn
|
409
427
|
# The Amazon Resource Name (ARN) of the environment.
|
410
428
|
# @return [String]
|
@@ -424,6 +442,7 @@ module Aws::Cloud9
|
|
424
442
|
:name,
|
425
443
|
:description,
|
426
444
|
:type,
|
445
|
+
:connection_type,
|
427
446
|
:arn,
|
428
447
|
:owner_arn,
|
429
448
|
:lifecycle)
|
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.26.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-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|