aws-sdk-cloud9 1.25.0 → 1.30.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 +4 -4
- data/lib/aws-sdk-cloud9.rb +3 -2
- data/lib/aws-sdk-cloud9/client.rb +28 -8
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42ed54afc4a0869a6a80b9aba53280af943f9c004762badbc166b91e6bf6982e
|
4
|
+
data.tar.gz: ff08057cd78c880db732c57beadc261c41da66472e4f19f9d51b4771d4ba0749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43187405138bffc7aa81b79d456de9d9bfe3242292d606f908104aee698f72db22572d9d626871d4b908eb7651eb783a1789ea87ded7e48a0a180b437763888f
|
7
|
+
data.tar.gz: 72682d818231ef5ab1a5d28048a48cb86cf4842a1635d7423a119034681dd0eccee4d92a4698faad86924f35ebfa213af8d8a22903a008c7197a97e4eab1dab3
|
data/lib/aws-sdk-cloud9.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-cloud9/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Cloud9
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.30.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::Cloud9
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Cloud9
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -366,6 +381,9 @@ module Aws::Cloud9
|
|
366
381
|
# An array of key-value pairs that will be associated with the new AWS
|
367
382
|
# Cloud9 development environment.
|
368
383
|
#
|
384
|
+
# @option params [String] :connection_type
|
385
|
+
# The connection type used for connecting to an Amazon EC2 environment.
|
386
|
+
#
|
369
387
|
# @return [Types::CreateEnvironmentEC2Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
370
388
|
#
|
371
389
|
# * {Types::CreateEnvironmentEC2Result#environment_id #environment_id} => String
|
@@ -403,6 +421,7 @@ module Aws::Cloud9
|
|
403
421
|
# value: "TagValue", # required
|
404
422
|
# },
|
405
423
|
# ],
|
424
|
+
# connection_type: "CONNECT_SSH", # accepts CONNECT_SSH, CONNECT_SSM
|
406
425
|
# })
|
407
426
|
#
|
408
427
|
# @example Response structure
|
@@ -813,6 +832,7 @@ module Aws::Cloud9
|
|
813
832
|
# resp.environments[0].name #=> String
|
814
833
|
# resp.environments[0].description #=> String
|
815
834
|
# resp.environments[0].type #=> String, one of "ssh", "ec2"
|
835
|
+
# resp.environments[0].connection_type #=> String, one of "CONNECT_SSH", "CONNECT_SSM"
|
816
836
|
# resp.environments[0].arn #=> String
|
817
837
|
# resp.environments[0].owner_arn #=> String
|
818
838
|
# resp.environments[0].lifecycle.status #=> String, one of "CREATING", "CREATED", "CREATE_FAILED", "DELETING", "DELETE_FAILED"
|
@@ -1105,7 +1125,7 @@ module Aws::Cloud9
|
|
1105
1125
|
params: params,
|
1106
1126
|
config: config)
|
1107
1127
|
context[:gem_name] = 'aws-sdk-cloud9'
|
1108
|
-
context[:gem_version] = '1.
|
1128
|
+
context[:gem_version] = '1.30.0'
|
1109
1129
|
Seahorse::Client::Request.new(handlers, context)
|
1110
1130
|
end
|
1111
1131
|
|
@@ -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.30.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:
|
11
|
+
date: 2021-02-02 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.112.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.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|