aws-sdk-cloud9 1.30.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +188 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-cloud9.rb +2 -2
- data/lib/aws-sdk-cloud9/client.rb +86 -48
- data/lib/aws-sdk-cloud9/client_api.rb +15 -11
- data/lib/aws-sdk-cloud9/errors.rb +1 -1
- data/lib/aws-sdk-cloud9/resource.rb +1 -1
- data/lib/aws-sdk-cloud9/types.rb +105 -38
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0ce10c036bbb40648dd3ad91a5ecb1c38daa33857f7a4c1521a5c5987d60145
|
4
|
+
data.tar.gz: a067c23efc1650038c0eb0ccb3fb947ffd99c438a4498864578296fe8a2a1560
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c1d93ddf253edf3d5198acfb87417c4bd54a745088222d3395a53d6ed0a0106d006dea5d227a350c2a547d8d245244c165f1862b163cce30668d25b5f5ffc44
|
7
|
+
data.tar.gz: dab04e4a19b136cf221ba9ebbc8be3b8d5c69eafa5bcd7b14d6053d1667efa4455ebff7f40163da3ff639d4bea0fecf7869b4d6ab16beb4ce44673b7e2ee3313
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.35.0 (2021-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Minor update to AWS Cloud9 documentation to allow correct parsing of outputted text
|
8
|
+
|
9
|
+
1.34.0 (2021-06-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated documentation for CreateEnvironmentEC2 to explain that because Amazon Linux AMI has ended standard support as of December 31, 2020, we recommend you choose Amazon Linux 2--which includes long term support through 2023--for new AWS Cloud9 environments.
|
13
|
+
|
14
|
+
1.33.0 (2021-04-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for Cloud9
|
18
|
+
|
19
|
+
1.32.0 (2021-03-31)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Add ImageId input parameter to CreateEnvironmentEC2 endpoint. New parameter enables creation of environments with different AMIs.
|
23
|
+
|
24
|
+
1.31.0 (2021-03-10)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.30.0 (2021-02-02)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.29.0 (2020-09-30)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.28.0 (2020-09-15)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.27.0 (2020-08-25)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.26.0 (2020-08-12)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Add ConnectionType input parameter to CreateEnvironmentEC2 endpoint. New parameter enables creation of environments with SSM connection.
|
53
|
+
|
54
|
+
1.25.0 (2020-06-23)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.24.1 (2020-06-11)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
63
|
+
|
64
|
+
1.24.0 (2020-06-10)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - This version has been yanked. (#2327).
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.23.0 (2020-05-28)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.22.0 (2020-05-07)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.21.0 (2020-03-09)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.20.0 (2020-02-17)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - AWS Cloud9 now supports the ability to tag Cloud9 development environments.
|
89
|
+
|
90
|
+
1.19.0 (2019-10-29)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Added CREATING and CREATE_FAILED environment lifecycle statuses.
|
94
|
+
|
95
|
+
1.18.0 (2019-10-23)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.17.0 (2019-07-25)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.16.0 (2019-07-01)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.15.0 (2019-06-17)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
114
|
+
|
115
|
+
1.14.0 (2019-05-21)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.13.0 (2019-05-15)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.12.0 (2019-05-14)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.11.0 (2019-03-21)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.10.0 (2019-03-18)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.9.0 (2019-03-14)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.8.0 (2019-02-22)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.7.0 (2018-11-20)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.6.0 (2018-10-24)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.5.0 (2018-10-23)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.4.0 (2018-09-06)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
169
|
+
|
170
|
+
1.3.0 (2018-09-05)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.2.0 (2018-06-26)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - API update.
|
179
|
+
|
180
|
+
1.1.0 (2018-02-05)
|
181
|
+
------------------
|
182
|
+
|
183
|
+
* Feature - API update.
|
184
|
+
|
185
|
+
1.0.0 (2017-11-30)
|
186
|
+
------------------
|
187
|
+
|
188
|
+
* Feature - Initial release of `aws-sdk-cloud9`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.35.0
|
data/lib/aws-sdk-cloud9.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloud9/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::Cloud9
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.35.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -337,20 +337,21 @@ module Aws::Cloud9
|
|
337
337
|
|
338
338
|
# @!group API Operations
|
339
339
|
|
340
|
-
# Creates an
|
341
|
-
#
|
342
|
-
#
|
340
|
+
# Creates an Cloud9 development environment, launches an Amazon Elastic
|
341
|
+
# Compute Cloud (Amazon EC2) instance, and then connects from the
|
342
|
+
# instance to the environment.
|
343
343
|
#
|
344
344
|
# @option params [required, String] :name
|
345
345
|
# The name of the environment to create.
|
346
346
|
#
|
347
|
-
# This name is visible to other
|
347
|
+
# This name is visible to other IAM users in the same Amazon Web
|
348
|
+
# Services account.
|
348
349
|
#
|
349
350
|
# @option params [String] :description
|
350
351
|
# The description of the environment to create.
|
351
352
|
#
|
352
353
|
# @option params [String] :client_request_token
|
353
|
-
# A unique, case-sensitive string that helps
|
354
|
+
# A unique, case-sensitive string that helps Cloud9 to ensure this
|
354
355
|
# operation completes no more than one time.
|
355
356
|
#
|
356
357
|
# For more information, see [Client Tokens][1] in the *Amazon EC2 API
|
@@ -358,15 +359,46 @@ module Aws::Cloud9
|
|
358
359
|
#
|
359
360
|
#
|
360
361
|
#
|
361
|
-
# [1]:
|
362
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
362
363
|
#
|
363
364
|
# @option params [required, String] :instance_type
|
364
365
|
# The type of instance to connect to the environment (for example,
|
365
366
|
# `t2.micro`).
|
366
367
|
#
|
367
368
|
# @option params [String] :subnet_id
|
368
|
-
# The ID of the subnet in Amazon VPC that
|
369
|
-
#
|
369
|
+
# The ID of the subnet in Amazon VPC that Cloud9 will use to communicate
|
370
|
+
# with the Amazon EC2 instance.
|
371
|
+
#
|
372
|
+
# @option params [String] :image_id
|
373
|
+
# The identifier for the Amazon Machine Image (AMI) that's used to
|
374
|
+
# create the EC2 instance. To choose an AMI for the instance, you must
|
375
|
+
# specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)
|
376
|
+
# path.
|
377
|
+
#
|
378
|
+
# The default AMI is used if the parameter isn't explicitly assigned a
|
379
|
+
# value in the request. Because Amazon Linux AMI has ended standard
|
380
|
+
# support as of December 31, 2020, we recommend you choose Amazon Linux
|
381
|
+
# 2, which includes long term support through 2023.
|
382
|
+
#
|
383
|
+
# <b>AMI aliases </b>
|
384
|
+
#
|
385
|
+
# * <b>Amazon Linux (default): <code>amazonlinux-1-x86_64</code> </b>
|
386
|
+
#
|
387
|
+
# * Amazon Linux 2: `amazonlinux-2-x86_64`
|
388
|
+
#
|
389
|
+
# * Ubuntu 18.04: `ubuntu-18.04-x86_64`
|
390
|
+
#
|
391
|
+
# **SSM paths**
|
392
|
+
#
|
393
|
+
# * <b>Amazon Linux (default):
|
394
|
+
# <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64</code>
|
395
|
+
# </b>
|
396
|
+
#
|
397
|
+
# * Amazon Linux 2:
|
398
|
+
# `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64`
|
399
|
+
#
|
400
|
+
# * Ubuntu 18.04:
|
401
|
+
# `resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64`
|
370
402
|
#
|
371
403
|
# @option params [Integer] :automatic_stop_time_minutes
|
372
404
|
# The number of minutes until the running instance is shut down after
|
@@ -374,15 +406,24 @@ module Aws::Cloud9
|
|
374
406
|
#
|
375
407
|
# @option params [String] :owner_arn
|
376
408
|
# The Amazon Resource Name (ARN) of the environment owner. This ARN can
|
377
|
-
# be the ARN of any
|
378
|
-
#
|
409
|
+
# be the ARN of any IAM principal. If this value is not specified, the
|
410
|
+
# ARN defaults to this environment's creator.
|
379
411
|
#
|
380
412
|
# @option params [Array<Types::Tag>] :tags
|
381
|
-
# An array of key-value pairs that will be associated with the new
|
413
|
+
# An array of key-value pairs that will be associated with the new
|
382
414
|
# Cloud9 development environment.
|
383
415
|
#
|
384
416
|
# @option params [String] :connection_type
|
385
417
|
# The connection type used for connecting to an Amazon EC2 environment.
|
418
|
+
# Valid values are `CONNECT_SSH` (default) and `CONNECT_SSM` (connected
|
419
|
+
# through Amazon EC2 Systems Manager).
|
420
|
+
#
|
421
|
+
# For more information, see [Accessing no-ingress EC2 instances with
|
422
|
+
# Amazon EC2 Systems Manager][1] in the *Cloud9 User Guide*.
|
423
|
+
#
|
424
|
+
#
|
425
|
+
#
|
426
|
+
# [1]: https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html
|
386
427
|
#
|
387
428
|
# @return [Types::CreateEnvironmentEC2Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
388
429
|
#
|
@@ -397,7 +438,7 @@ module Aws::Cloud9
|
|
397
438
|
# description: "This is my demonstration environment.",
|
398
439
|
# instance_type: "t2.micro",
|
399
440
|
# owner_arn: "arn:aws:iam::123456789012:user/MyDemoUser",
|
400
|
-
# subnet_id: "subnet-
|
441
|
+
# subnet_id: "subnet-6300cd1b",
|
401
442
|
# })
|
402
443
|
#
|
403
444
|
# resp.to_h outputs the following:
|
@@ -413,6 +454,7 @@ module Aws::Cloud9
|
|
413
454
|
# client_request_token: "ClientRequestToken",
|
414
455
|
# instance_type: "InstanceType", # required
|
415
456
|
# subnet_id: "SubnetId",
|
457
|
+
# image_id: "ImageId",
|
416
458
|
# automatic_stop_time_minutes: 1,
|
417
459
|
# owner_arn: "UserArn",
|
418
460
|
# tags: [
|
@@ -437,7 +479,7 @@ module Aws::Cloud9
|
|
437
479
|
req.send_request(options)
|
438
480
|
end
|
439
481
|
|
440
|
-
# Adds an environment member to an
|
482
|
+
# Adds an environment member to an Cloud9 development environment.
|
441
483
|
#
|
442
484
|
# @option params [required, String] :environment_id
|
443
485
|
# The ID of the environment that contains the environment member you
|
@@ -503,9 +545,8 @@ module Aws::Cloud9
|
|
503
545
|
req.send_request(options)
|
504
546
|
end
|
505
547
|
|
506
|
-
# Deletes an
|
507
|
-
#
|
508
|
-
# instance.
|
548
|
+
# Deletes an Cloud9 development environment. If an Amazon EC2 instance
|
549
|
+
# is connected to the environment, also terminates the instance.
|
509
550
|
#
|
510
551
|
# @option params [required, String] :environment_id
|
511
552
|
# The ID of the environment to delete.
|
@@ -538,8 +579,7 @@ module Aws::Cloud9
|
|
538
579
|
req.send_request(options)
|
539
580
|
end
|
540
581
|
|
541
|
-
# Deletes an environment member from an
|
542
|
-
# environment.
|
582
|
+
# Deletes an environment member from an Cloud9 development environment.
|
543
583
|
#
|
544
584
|
# @option params [required, String] :environment_id
|
545
585
|
# The ID of the environment to delete the environment member from.
|
@@ -578,8 +618,8 @@ module Aws::Cloud9
|
|
578
618
|
req.send_request(options)
|
579
619
|
end
|
580
620
|
|
581
|
-
# Gets information about environment members for an
|
582
|
-
#
|
621
|
+
# Gets information about environment members for an Cloud9 development
|
622
|
+
# environment.
|
583
623
|
#
|
584
624
|
# @option params [String] :user_arn
|
585
625
|
# The Amazon Resource Name (ARN) of an individual environment member to
|
@@ -624,8 +664,7 @@ module Aws::Cloud9
|
|
624
664
|
#
|
625
665
|
# @example Example: DescribeEnvironmentMemberships1
|
626
666
|
#
|
627
|
-
# # The following example gets information about all of the environment members for the specified
|
628
|
-
# # environment.
|
667
|
+
# # The following example gets information about all of the environment members for the specified development environment.
|
629
668
|
#
|
630
669
|
# resp = client.describe_environment_memberships({
|
631
670
|
# environment_id: "8d9967e2f0624182b74e7690ad69ebEX",
|
@@ -651,7 +690,7 @@ module Aws::Cloud9
|
|
651
690
|
#
|
652
691
|
# @example Example: DescribeEnvironmentMemberships2
|
653
692
|
#
|
654
|
-
# # The following example gets information about the owner of the specified
|
693
|
+
# # The following example gets information about the owner of the specified development environment.
|
655
694
|
#
|
656
695
|
# resp = client.describe_environment_memberships({
|
657
696
|
# environment_id: "8d9967e2f0624182b74e7690ad69ebEX",
|
@@ -674,7 +713,7 @@ module Aws::Cloud9
|
|
674
713
|
#
|
675
714
|
# @example Example: DescribeEnvironmentMemberships3
|
676
715
|
#
|
677
|
-
# # The following example gets
|
716
|
+
# # The following example gets development environment membership information for the specified user.
|
678
717
|
#
|
679
718
|
# resp = client.describe_environment_memberships({
|
680
719
|
# user_arn: "arn:aws:iam::123456789012:user/MyDemoUser",
|
@@ -729,7 +768,7 @@ module Aws::Cloud9
|
|
729
768
|
req.send_request(options)
|
730
769
|
end
|
731
770
|
|
732
|
-
# Gets status information for an
|
771
|
+
# Gets status information for an Cloud9 development environment.
|
733
772
|
#
|
734
773
|
# @option params [required, String] :environment_id
|
735
774
|
# The ID of the environment to get status information about.
|
@@ -772,7 +811,7 @@ module Aws::Cloud9
|
|
772
811
|
req.send_request(options)
|
773
812
|
end
|
774
813
|
|
775
|
-
# Gets information about
|
814
|
+
# Gets information about Cloud9 development environments.
|
776
815
|
#
|
777
816
|
# @option params [required, Array<String>] :environment_ids
|
778
817
|
# The IDs of individual environments to get information about.
|
@@ -838,6 +877,7 @@ module Aws::Cloud9
|
|
838
877
|
# resp.environments[0].lifecycle.status #=> String, one of "CREATING", "CREATED", "CREATE_FAILED", "DELETING", "DELETE_FAILED"
|
839
878
|
# resp.environments[0].lifecycle.reason #=> String
|
840
879
|
# resp.environments[0].lifecycle.failure_resource #=> String
|
880
|
+
# resp.environments[0].managed_credentials_status #=> String, one of "ENABLED_ON_CREATE", "ENABLED_BY_OWNER", "DISABLED_BY_DEFAULT", "DISABLED_BY_OWNER", "DISABLED_BY_COLLABORATOR", "PENDING_REMOVAL_BY_COLLABORATOR", "PENDING_START_REMOVAL_BY_COLLABORATOR", "PENDING_REMOVAL_BY_OWNER", "PENDING_START_REMOVAL_BY_OWNER", "FAILED_REMOVAL_BY_COLLABORATOR", "FAILED_REMOVAL_BY_OWNER"
|
841
881
|
#
|
842
882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironments AWS API Documentation
|
843
883
|
#
|
@@ -848,7 +888,7 @@ module Aws::Cloud9
|
|
848
888
|
req.send_request(options)
|
849
889
|
end
|
850
890
|
|
851
|
-
# Gets a list of
|
891
|
+
# Gets a list of Cloud9 development environment identifiers.
|
852
892
|
#
|
853
893
|
# @option params [String] :next_token
|
854
894
|
# During a previous call, if there are more than 25 items in the list,
|
@@ -905,12 +945,12 @@ module Aws::Cloud9
|
|
905
945
|
req.send_request(options)
|
906
946
|
end
|
907
947
|
|
908
|
-
# Gets a list of the tags associated with an
|
948
|
+
# Gets a list of the tags associated with an Cloud9 development
|
909
949
|
# environment.
|
910
950
|
#
|
911
951
|
# @option params [required, String] :resource_arn
|
912
|
-
# The Amazon Resource Name (ARN) of the
|
913
|
-
#
|
952
|
+
# The Amazon Resource Name (ARN) of the Cloud9 development environment
|
953
|
+
# to get the tags for.
|
914
954
|
#
|
915
955
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
916
956
|
#
|
@@ -937,18 +977,17 @@ module Aws::Cloud9
|
|
937
977
|
req.send_request(options)
|
938
978
|
end
|
939
979
|
|
940
|
-
# Adds tags to an
|
980
|
+
# Adds tags to an Cloud9 development environment.
|
941
981
|
#
|
942
|
-
# Tags that you add to an
|
943
|
-
#
|
982
|
+
# Tags that you add to an Cloud9 environment by using this method will
|
983
|
+
# NOT be automatically propagated to underlying resources.
|
944
984
|
#
|
945
985
|
# @option params [required, String] :resource_arn
|
946
|
-
# The Amazon Resource Name (ARN) of the
|
947
|
-
#
|
986
|
+
# The Amazon Resource Name (ARN) of the Cloud9 development environment
|
987
|
+
# to add tags to.
|
948
988
|
#
|
949
989
|
# @option params [required, Array<Types::Tag>] :tags
|
950
|
-
# The list of tags to add to the given
|
951
|
-
# environment.
|
990
|
+
# The list of tags to add to the given Cloud9 development environment.
|
952
991
|
#
|
953
992
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
954
993
|
#
|
@@ -973,15 +1012,15 @@ module Aws::Cloud9
|
|
973
1012
|
req.send_request(options)
|
974
1013
|
end
|
975
1014
|
|
976
|
-
# Removes tags from an
|
1015
|
+
# Removes tags from an Cloud9 development environment.
|
977
1016
|
#
|
978
1017
|
# @option params [required, String] :resource_arn
|
979
|
-
# The Amazon Resource Name (ARN) of the
|
980
|
-
#
|
1018
|
+
# The Amazon Resource Name (ARN) of the Cloud9 development environment
|
1019
|
+
# to remove tags from.
|
981
1020
|
#
|
982
1021
|
# @option params [required, Array<String>] :tag_keys
|
983
|
-
# The tag names of the tags to remove from the given
|
984
|
-
#
|
1022
|
+
# The tag names of the tags to remove from the given Cloud9 development
|
1023
|
+
# environment.
|
985
1024
|
#
|
986
1025
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
987
1026
|
#
|
@@ -1001,8 +1040,7 @@ module Aws::Cloud9
|
|
1001
1040
|
req.send_request(options)
|
1002
1041
|
end
|
1003
1042
|
|
1004
|
-
# Changes the settings of an existing
|
1005
|
-
# environment.
|
1043
|
+
# Changes the settings of an existing Cloud9 development environment.
|
1006
1044
|
#
|
1007
1045
|
# @option params [required, String] :environment_id
|
1008
1046
|
# The ID of the environment to change settings.
|
@@ -1045,8 +1083,8 @@ module Aws::Cloud9
|
|
1045
1083
|
req.send_request(options)
|
1046
1084
|
end
|
1047
1085
|
|
1048
|
-
# Changes the settings of an existing environment member for an
|
1049
|
-
#
|
1086
|
+
# Changes the settings of an existing environment member for an Cloud9
|
1087
|
+
# development environment.
|
1050
1088
|
#
|
1051
1089
|
# @option params [required, String] :environment_id
|
1052
1090
|
# The ID of the environment for the environment member whose settings
|
@@ -1125,7 +1163,7 @@ module Aws::Cloud9
|
|
1125
1163
|
params: params,
|
1126
1164
|
config: config)
|
1127
1165
|
context[:gem_name] = 'aws-sdk-cloud9'
|
1128
|
-
context[:gem_version] = '1.
|
1166
|
+
context[:gem_version] = '1.35.0'
|
1129
1167
|
Seahorse::Client::Request.new(handlers, context)
|
1130
1168
|
end
|
1131
1169
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,7 @@ module Aws::Cloud9
|
|
48
48
|
EnvironmentStatus = Shapes::StringShape.new(name: 'EnvironmentStatus')
|
49
49
|
EnvironmentType = Shapes::StringShape.new(name: 'EnvironmentType')
|
50
50
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
51
|
+
ImageId = Shapes::StringShape.new(name: 'ImageId')
|
51
52
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
52
53
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
53
54
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -55,6 +56,7 @@ module Aws::Cloud9
|
|
55
56
|
ListEnvironmentsResult = Shapes::StructureShape.new(name: 'ListEnvironmentsResult')
|
56
57
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
57
58
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
59
|
+
ManagedCredentialsStatus = Shapes::StringShape.new(name: 'ManagedCredentialsStatus')
|
58
60
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
59
61
|
MemberPermissions = Shapes::StringShape.new(name: 'MemberPermissions')
|
60
62
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
@@ -92,6 +94,7 @@ module Aws::Cloud9
|
|
92
94
|
CreateEnvironmentEC2Request.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
|
93
95
|
CreateEnvironmentEC2Request.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
|
94
96
|
CreateEnvironmentEC2Request.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
|
97
|
+
CreateEnvironmentEC2Request.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
|
95
98
|
CreateEnvironmentEC2Request.add_member(:automatic_stop_time_minutes, Shapes::ShapeRef.new(shape: AutomaticStopTimeMinutes, location_name: "automaticStopTimeMinutes"))
|
96
99
|
CreateEnvironmentEC2Request.add_member(:owner_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "ownerArn"))
|
97
100
|
CreateEnvironmentEC2Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
@@ -106,7 +109,7 @@ module Aws::Cloud9
|
|
106
109
|
CreateEnvironmentMembershipRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: MemberPermissions, required: true, location_name: "permissions"))
|
107
110
|
CreateEnvironmentMembershipRequest.struct_class = Types::CreateEnvironmentMembershipRequest
|
108
111
|
|
109
|
-
CreateEnvironmentMembershipResult.add_member(:membership, Shapes::ShapeRef.new(shape: EnvironmentMember, location_name: "membership"))
|
112
|
+
CreateEnvironmentMembershipResult.add_member(:membership, Shapes::ShapeRef.new(shape: EnvironmentMember, required: true, location_name: "membership"))
|
110
113
|
CreateEnvironmentMembershipResult.struct_class = Types::CreateEnvironmentMembershipResult
|
111
114
|
|
112
115
|
DeleteEnvironmentMembershipRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
|
@@ -134,8 +137,8 @@ module Aws::Cloud9
|
|
134
137
|
DescribeEnvironmentStatusRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
|
135
138
|
DescribeEnvironmentStatusRequest.struct_class = Types::DescribeEnvironmentStatusRequest
|
136
139
|
|
137
|
-
DescribeEnvironmentStatusResult.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentStatus, location_name: "status"))
|
138
|
-
DescribeEnvironmentStatusResult.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
140
|
+
DescribeEnvironmentStatusResult.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentStatus, required: true, location_name: "status"))
|
141
|
+
DescribeEnvironmentStatusResult.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
139
142
|
DescribeEnvironmentStatusResult.struct_class = Types::DescribeEnvironmentStatusResult
|
140
143
|
|
141
144
|
DescribeEnvironmentsRequest.add_member(:environment_ids, Shapes::ShapeRef.new(shape: BoundedEnvironmentIdList, required: true, location_name: "environmentIds"))
|
@@ -147,11 +150,12 @@ module Aws::Cloud9
|
|
147
150
|
Environment.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "id"))
|
148
151
|
Environment.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
|
149
152
|
Environment.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description"))
|
150
|
-
Environment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "type"))
|
153
|
+
Environment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "type"))
|
151
154
|
Environment.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "connectionType"))
|
152
|
-
Environment.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
153
|
-
Environment.add_member(:owner_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownerArn"))
|
155
|
+
Environment.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
156
|
+
Environment.add_member(:owner_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ownerArn"))
|
154
157
|
Environment.add_member(:lifecycle, Shapes::ShapeRef.new(shape: EnvironmentLifecycle, location_name: "lifecycle"))
|
158
|
+
Environment.add_member(:managed_credentials_status, Shapes::ShapeRef.new(shape: ManagedCredentialsStatus, location_name: "managedCredentialsStatus"))
|
155
159
|
Environment.struct_class = Types::Environment
|
156
160
|
|
157
161
|
EnvironmentIdList.member = Shapes::ShapeRef.new(shape: EnvironmentId)
|
@@ -163,10 +167,10 @@ module Aws::Cloud9
|
|
163
167
|
|
164
168
|
EnvironmentList.member = Shapes::ShapeRef.new(shape: Environment)
|
165
169
|
|
166
|
-
EnvironmentMember.add_member(:permissions, Shapes::ShapeRef.new(shape: Permissions, location_name: "permissions"))
|
167
|
-
EnvironmentMember.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
|
168
|
-
EnvironmentMember.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn"))
|
169
|
-
EnvironmentMember.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
|
170
|
+
EnvironmentMember.add_member(:permissions, Shapes::ShapeRef.new(shape: Permissions, required: true, location_name: "permissions"))
|
171
|
+
EnvironmentMember.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userId"))
|
172
|
+
EnvironmentMember.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn"))
|
173
|
+
EnvironmentMember.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
|
170
174
|
EnvironmentMember.add_member(:last_access, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastAccess"))
|
171
175
|
EnvironmentMember.struct_class = Types::EnvironmentMember
|
172
176
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-cloud9/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -37,6 +37,7 @@ module Aws::Cloud9
|
|
37
37
|
# client_request_token: "ClientRequestToken",
|
38
38
|
# instance_type: "InstanceType", # required
|
39
39
|
# subnet_id: "SubnetId",
|
40
|
+
# image_id: "ImageId",
|
40
41
|
# automatic_stop_time_minutes: 1,
|
41
42
|
# owner_arn: "UserArn",
|
42
43
|
# tags: [
|
@@ -51,7 +52,8 @@ module Aws::Cloud9
|
|
51
52
|
# @!attribute [rw] name
|
52
53
|
# The name of the environment to create.
|
53
54
|
#
|
54
|
-
# This name is visible to other
|
55
|
+
# This name is visible to other IAM users in the same Amazon Web
|
56
|
+
# Services account.
|
55
57
|
# @return [String]
|
56
58
|
#
|
57
59
|
# @!attribute [rw] description
|
@@ -59,7 +61,7 @@ module Aws::Cloud9
|
|
59
61
|
# @return [String]
|
60
62
|
#
|
61
63
|
# @!attribute [rw] client_request_token
|
62
|
-
# A unique, case-sensitive string that helps
|
64
|
+
# A unique, case-sensitive string that helps Cloud9 to ensure this
|
63
65
|
# operation completes no more than one time.
|
64
66
|
#
|
65
67
|
# For more information, see [Client Tokens][1] in the *Amazon EC2 API
|
@@ -67,7 +69,7 @@ module Aws::Cloud9
|
|
67
69
|
#
|
68
70
|
#
|
69
71
|
#
|
70
|
-
# [1]:
|
72
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
71
73
|
# @return [String]
|
72
74
|
#
|
73
75
|
# @!attribute [rw] instance_type
|
@@ -76,10 +78,42 @@ module Aws::Cloud9
|
|
76
78
|
# @return [String]
|
77
79
|
#
|
78
80
|
# @!attribute [rw] subnet_id
|
79
|
-
# The ID of the subnet in Amazon VPC that
|
81
|
+
# The ID of the subnet in Amazon VPC that Cloud9 will use to
|
80
82
|
# communicate with the Amazon EC2 instance.
|
81
83
|
# @return [String]
|
82
84
|
#
|
85
|
+
# @!attribute [rw] image_id
|
86
|
+
# The identifier for the Amazon Machine Image (AMI) that's used to
|
87
|
+
# create the EC2 instance. To choose an AMI for the instance, you must
|
88
|
+
# specify a valid AMI alias or a valid Amazon EC2 Systems Manager
|
89
|
+
# (SSM) path.
|
90
|
+
#
|
91
|
+
# The default AMI is used if the parameter isn't explicitly assigned
|
92
|
+
# a value in the request. Because Amazon Linux AMI has ended standard
|
93
|
+
# support as of December 31, 2020, we recommend you choose Amazon
|
94
|
+
# Linux 2, which includes long term support through 2023.
|
95
|
+
#
|
96
|
+
# <b>AMI aliases </b>
|
97
|
+
#
|
98
|
+
# * <b>Amazon Linux (default): <code>amazonlinux-1-x86_64</code> </b>
|
99
|
+
#
|
100
|
+
# * Amazon Linux 2: `amazonlinux-2-x86_64`
|
101
|
+
#
|
102
|
+
# * Ubuntu 18.04: `ubuntu-18.04-x86_64`
|
103
|
+
#
|
104
|
+
# **SSM paths**
|
105
|
+
#
|
106
|
+
# * <b>Amazon Linux (default):
|
107
|
+
# <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64</code>
|
108
|
+
# </b>
|
109
|
+
#
|
110
|
+
# * Amazon Linux 2:
|
111
|
+
# `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64`
|
112
|
+
#
|
113
|
+
# * Ubuntu 18.04:
|
114
|
+
# `resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64`
|
115
|
+
# @return [String]
|
116
|
+
#
|
83
117
|
# @!attribute [rw] automatic_stop_time_minutes
|
84
118
|
# The number of minutes until the running instance is shut down after
|
85
119
|
# the environment has last been used.
|
@@ -87,18 +121,26 @@ module Aws::Cloud9
|
|
87
121
|
#
|
88
122
|
# @!attribute [rw] owner_arn
|
89
123
|
# The Amazon Resource Name (ARN) of the environment owner. This ARN
|
90
|
-
# can be the ARN of any
|
91
|
-
#
|
124
|
+
# can be the ARN of any IAM principal. If this value is not specified,
|
125
|
+
# the ARN defaults to this environment's creator.
|
92
126
|
# @return [String]
|
93
127
|
#
|
94
128
|
# @!attribute [rw] tags
|
95
|
-
# An array of key-value pairs that will be associated with the new
|
129
|
+
# An array of key-value pairs that will be associated with the new
|
96
130
|
# Cloud9 development environment.
|
97
131
|
# @return [Array<Types::Tag>]
|
98
132
|
#
|
99
133
|
# @!attribute [rw] connection_type
|
100
134
|
# The connection type used for connecting to an Amazon EC2
|
101
|
-
# environment.
|
135
|
+
# environment. Valid values are `CONNECT_SSH` (default) and
|
136
|
+
# `CONNECT_SSM` (connected through Amazon EC2 Systems Manager).
|
137
|
+
#
|
138
|
+
# For more information, see [Accessing no-ingress EC2 instances with
|
139
|
+
# Amazon EC2 Systems Manager][1] in the *Cloud9 User Guide*.
|
140
|
+
#
|
141
|
+
#
|
142
|
+
#
|
143
|
+
# [1]: https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html
|
102
144
|
# @return [String]
|
103
145
|
#
|
104
146
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2Request AWS API Documentation
|
@@ -109,11 +151,12 @@ module Aws::Cloud9
|
|
109
151
|
:client_request_token,
|
110
152
|
:instance_type,
|
111
153
|
:subnet_id,
|
154
|
+
:image_id,
|
112
155
|
:automatic_stop_time_minutes,
|
113
156
|
:owner_arn,
|
114
157
|
:tags,
|
115
158
|
:connection_type)
|
116
|
-
SENSITIVE = [:description]
|
159
|
+
SENSITIVE = [:description, :tags]
|
117
160
|
include Aws::Structure
|
118
161
|
end
|
119
162
|
|
@@ -395,7 +438,7 @@ module Aws::Cloud9
|
|
395
438
|
include Aws::Structure
|
396
439
|
end
|
397
440
|
|
398
|
-
# Information about an
|
441
|
+
# Information about an Cloud9 development environment.
|
399
442
|
#
|
400
443
|
# @!attribute [rw] id
|
401
444
|
# The ID of the environment.
|
@@ -420,7 +463,7 @@ module Aws::Cloud9
|
|
420
463
|
#
|
421
464
|
# @!attribute [rw] connection_type
|
422
465
|
# The connection type used for connecting to an Amazon EC2
|
423
|
-
# environment.
|
466
|
+
# environment. `CONNECT_SSH` is selected by default.
|
424
467
|
# @return [String]
|
425
468
|
#
|
426
469
|
# @!attribute [rw] arn
|
@@ -435,6 +478,31 @@ module Aws::Cloud9
|
|
435
478
|
# The state of the environment in its creation or deletion lifecycle.
|
436
479
|
# @return [Types::EnvironmentLifecycle]
|
437
480
|
#
|
481
|
+
# @!attribute [rw] managed_credentials_status
|
482
|
+
# Describes the status of Amazon Web Services managed temporary
|
483
|
+
# credentials for the Cloud9 environment. Available values are:
|
484
|
+
#
|
485
|
+
# * `ENABLED_ON_CREATE`
|
486
|
+
#
|
487
|
+
# * `ENABLED_BY_OWNER`
|
488
|
+
#
|
489
|
+
# * `DISABLED_BY_DEFAULT`
|
490
|
+
#
|
491
|
+
# * `DISABLED_BY_OWNER`
|
492
|
+
#
|
493
|
+
# * `DISABLED_BY_COLLABORATOR`
|
494
|
+
#
|
495
|
+
# * `PENDING_REMOVAL_BY_COLLABORATOR`
|
496
|
+
#
|
497
|
+
# * `PENDING_REMOVAL_BY_OWNER`
|
498
|
+
#
|
499
|
+
# * `FAILED_REMOVAL_BY_COLLABORATOR`
|
500
|
+
#
|
501
|
+
# * `ENABLED_BY_OWNER`
|
502
|
+
#
|
503
|
+
# * `DISABLED_BY_DEFAULT`
|
504
|
+
# @return [String]
|
505
|
+
#
|
438
506
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/Environment AWS API Documentation
|
439
507
|
#
|
440
508
|
class Environment < Struct.new(
|
@@ -445,13 +513,14 @@ module Aws::Cloud9
|
|
445
513
|
:connection_type,
|
446
514
|
:arn,
|
447
515
|
:owner_arn,
|
448
|
-
:lifecycle
|
516
|
+
:lifecycle,
|
517
|
+
:managed_credentials_status)
|
449
518
|
SENSITIVE = [:description]
|
450
519
|
include Aws::Structure
|
451
520
|
end
|
452
521
|
|
453
522
|
# Information about the current creation or deletion lifecycle state of
|
454
|
-
# an
|
523
|
+
# an Cloud9 development environment.
|
455
524
|
#
|
456
525
|
# @!attribute [rw] status
|
457
526
|
# The current creation or deletion lifecycle state of the environment.
|
@@ -474,7 +543,7 @@ module Aws::Cloud9
|
|
474
543
|
#
|
475
544
|
# @!attribute [rw] failure_resource
|
476
545
|
# If the environment failed to delete, the Amazon Resource Name (ARN)
|
477
|
-
# of the related
|
546
|
+
# of the related Amazon Web Services resource.
|
478
547
|
# @return [String]
|
479
548
|
#
|
480
549
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/EnvironmentLifecycle AWS API Documentation
|
@@ -487,7 +556,7 @@ module Aws::Cloud9
|
|
487
556
|
include Aws::Structure
|
488
557
|
end
|
489
558
|
|
490
|
-
# Information about an environment member for an
|
559
|
+
# Information about an environment member for an Cloud9 development
|
491
560
|
# environment.
|
492
561
|
#
|
493
562
|
# @!attribute [rw] permissions
|
@@ -502,7 +571,7 @@ module Aws::Cloud9
|
|
502
571
|
# @return [String]
|
503
572
|
#
|
504
573
|
# @!attribute [rw] user_id
|
505
|
-
# The user ID in
|
574
|
+
# The user ID in Identity and Access Management (IAM) of the
|
506
575
|
# environment member.
|
507
576
|
# @return [String]
|
508
577
|
#
|
@@ -608,8 +677,8 @@ module Aws::Cloud9
|
|
608
677
|
# }
|
609
678
|
#
|
610
679
|
# @!attribute [rw] resource_arn
|
611
|
-
# The Amazon Resource Name (ARN) of the
|
612
|
-
#
|
680
|
+
# The Amazon Resource Name (ARN) of the Cloud9 development environment
|
681
|
+
# to get the tags for.
|
613
682
|
# @return [String]
|
614
683
|
#
|
615
684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListTagsForResourceRequest AWS API Documentation
|
@@ -621,15 +690,14 @@ module Aws::Cloud9
|
|
621
690
|
end
|
622
691
|
|
623
692
|
# @!attribute [rw] tags
|
624
|
-
# The list of tags associated with the
|
625
|
-
# environment.
|
693
|
+
# The list of tags associated with the Cloud9 development environment.
|
626
694
|
# @return [Array<Types::Tag>]
|
627
695
|
#
|
628
696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListTagsForResourceResponse AWS API Documentation
|
629
697
|
#
|
630
698
|
class ListTagsForResourceResponse < Struct.new(
|
631
699
|
:tags)
|
632
|
-
SENSITIVE = []
|
700
|
+
SENSITIVE = [:tags]
|
633
701
|
include Aws::Structure
|
634
702
|
end
|
635
703
|
|
@@ -639,12 +707,12 @@ module Aws::Cloud9
|
|
639
707
|
#
|
640
708
|
class NotFoundException < Aws::EmptyStructure; end
|
641
709
|
|
642
|
-
# Metadata that is associated with
|
643
|
-
# name-value pair that can be associated with an
|
644
|
-
# environment. There are two types of tags: *user tags* and
|
645
|
-
# tags*. A user tag is created by the user. A system tag is
|
646
|
-
# automatically created by
|
647
|
-
# "aws:" and cannot be modified by the user.
|
710
|
+
# Metadata that is associated with Amazon Web Services resources. In
|
711
|
+
# particular, a name-value pair that can be associated with an Cloud9
|
712
|
+
# development environment. There are two types of tags: *user tags* and
|
713
|
+
# *system tags*. A user tag is created by the user. A system tag is
|
714
|
+
# automatically created by Amazon Web Services services. A system tag is
|
715
|
+
# prefixed with `"aws:"` and cannot be modified by the user.
|
648
716
|
#
|
649
717
|
# @note When making an API call, you may pass Tag
|
650
718
|
# data as a hash:
|
@@ -667,7 +735,7 @@ module Aws::Cloud9
|
|
667
735
|
class Tag < Struct.new(
|
668
736
|
:key,
|
669
737
|
:value)
|
670
|
-
SENSITIVE = []
|
738
|
+
SENSITIVE = [:key, :value]
|
671
739
|
include Aws::Structure
|
672
740
|
end
|
673
741
|
|
@@ -685,13 +753,12 @@ module Aws::Cloud9
|
|
685
753
|
# }
|
686
754
|
#
|
687
755
|
# @!attribute [rw] resource_arn
|
688
|
-
# The Amazon Resource Name (ARN) of the
|
689
|
-
#
|
756
|
+
# The Amazon Resource Name (ARN) of the Cloud9 development environment
|
757
|
+
# to add tags to.
|
690
758
|
# @return [String]
|
691
759
|
#
|
692
760
|
# @!attribute [rw] tags
|
693
|
-
# The list of tags to add to the given
|
694
|
-
# environment.
|
761
|
+
# The list of tags to add to the given Cloud9 development environment.
|
695
762
|
# @return [Array<Types::Tag>]
|
696
763
|
#
|
697
764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/TagResourceRequest AWS API Documentation
|
@@ -699,7 +766,7 @@ module Aws::Cloud9
|
|
699
766
|
class TagResourceRequest < Struct.new(
|
700
767
|
:resource_arn,
|
701
768
|
:tags)
|
702
|
-
SENSITIVE = []
|
769
|
+
SENSITIVE = [:tags]
|
703
770
|
include Aws::Structure
|
704
771
|
end
|
705
772
|
|
@@ -722,12 +789,12 @@ module Aws::Cloud9
|
|
722
789
|
# }
|
723
790
|
#
|
724
791
|
# @!attribute [rw] resource_arn
|
725
|
-
# The Amazon Resource Name (ARN) of the
|
726
|
-
#
|
792
|
+
# The Amazon Resource Name (ARN) of the Cloud9 development environment
|
793
|
+
# to remove tags from.
|
727
794
|
# @return [String]
|
728
795
|
#
|
729
796
|
# @!attribute [rw] tag_keys
|
730
|
-
# The tag names of the tags to remove from the given
|
797
|
+
# The tag names of the tags to remove from the given Cloud9
|
731
798
|
# development environment.
|
732
799
|
# @return [Array<String>]
|
733
800
|
#
|
@@ -736,7 +803,7 @@ module Aws::Cloud9
|
|
736
803
|
class UntagResourceRequest < Struct.new(
|
737
804
|
:resource_arn,
|
738
805
|
:tag_keys)
|
739
|
-
SENSITIVE = []
|
806
|
+
SENSITIVE = [:tag_keys]
|
740
807
|
include Aws::Structure
|
741
808
|
end
|
742
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.35.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: 2021-
|
11
|
+
date: 2021-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for AWS Cloud9. This gem is part of the AWS SDK
|
48
48
|
for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-cloud9.rb
|
56
59
|
- lib/aws-sdk-cloud9/client.rb
|
57
60
|
- lib/aws-sdk-cloud9/client_api.rb
|
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
63
66
|
licenses:
|
64
67
|
- Apache-2.0
|
65
68
|
metadata:
|
66
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
67
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloud9
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloud9/CHANGELOG.md
|
68
71
|
post_install_message:
|
69
72
|
rdoc_options: []
|
70
73
|
require_paths:
|
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
83
|
- !ruby/object:Gem::Version
|
81
84
|
version: '0'
|
82
85
|
requirements: []
|
83
|
-
|
84
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
85
87
|
signing_key:
|
86
88
|
specification_version: 4
|
87
89
|
summary: AWS SDK for Ruby - AWS Cloud9
|