@aws-sdk/client-cloud9 3.35.0 → 3.38.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.
Files changed (171) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Cloud9.js +0 -70
  3. package/dist-cjs/Cloud9Client.js +0 -75
  4. package/dist-cjs/commands/CreateEnvironmentEC2Command.js +0 -26
  5. package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js +0 -25
  6. package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -26
  7. package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js +0 -25
  8. package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js +0 -25
  9. package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js +0 -25
  10. package/dist-cjs/commands/DescribeEnvironmentsCommand.js +0 -25
  11. package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -25
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  13. package/dist-cjs/commands/TagResourceCommand.js +0 -29
  14. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  15. package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -25
  16. package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js +0 -26
  17. package/dist-cjs/commands/index.js +16 -0
  18. package/dist-cjs/endpoints.js +1 -2
  19. package/dist-cjs/index.js +4 -19
  20. package/dist-cjs/models/index.js +0 -1
  21. package/dist-cjs/models/models_0.js +0 -115
  22. package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -11
  23. package/dist-cjs/pagination/Interfaces.js +0 -1
  24. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +0 -11
  25. package/dist-cjs/pagination/index.js +6 -0
  26. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  27. package/dist-cjs/runtimeConfig.browser.js +1 -6
  28. package/dist-cjs/runtimeConfig.js +2 -7
  29. package/dist-cjs/runtimeConfig.native.js +0 -4
  30. package/dist-cjs/runtimeConfig.shared.js +0 -4
  31. package/dist-es/Cloud9.js +0 -1
  32. package/dist-es/Cloud9Client.js +0 -1
  33. package/dist-es/commands/CreateEnvironmentEC2Command.js +0 -1
  34. package/dist-es/commands/CreateEnvironmentMembershipCommand.js +0 -1
  35. package/dist-es/commands/DeleteEnvironmentCommand.js +0 -1
  36. package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +0 -1
  37. package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +0 -1
  38. package/dist-es/commands/DescribeEnvironmentStatusCommand.js +0 -1
  39. package/dist-es/commands/DescribeEnvironmentsCommand.js +0 -1
  40. package/dist-es/commands/ListEnvironmentsCommand.js +0 -1
  41. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  42. package/dist-es/commands/TagResourceCommand.js +0 -1
  43. package/dist-es/commands/UntagResourceCommand.js +0 -1
  44. package/dist-es/commands/UpdateEnvironmentCommand.js +0 -1
  45. package/dist-es/commands/UpdateEnvironmentMembershipCommand.js +0 -1
  46. package/dist-es/commands/index.js +13 -0
  47. package/dist-es/endpoints.js +1 -2
  48. package/dist-es/index.js +4 -19
  49. package/dist-es/models/index.js +0 -1
  50. package/dist-es/models/models_0.js +0 -1
  51. package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -1
  52. package/dist-es/pagination/Interfaces.js +0 -1
  53. package/dist-es/pagination/ListEnvironmentsPaginator.js +0 -1
  54. package/dist-es/pagination/index.js +3 -0
  55. package/dist-es/protocols/Aws_json1_1.js +0 -1
  56. package/dist-es/runtimeConfig.browser.js +1 -2
  57. package/dist-es/runtimeConfig.js +2 -3
  58. package/dist-es/runtimeConfig.native.js +0 -1
  59. package/dist-es/runtimeConfig.shared.js +0 -1
  60. package/dist-types/commands/index.d.ts +13 -0
  61. package/dist-types/index.d.ts +4 -18
  62. package/dist-types/pagination/index.d.ts +3 -0
  63. package/dist-types/ts3.4/Cloud9.d.ts +14 -115
  64. package/dist-types/ts3.4/Cloud9Client.d.ts +24 -155
  65. package/dist-types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +2 -21
  66. package/dist-types/ts3.4/commands/CreateEnvironmentMembershipCommand.d.ts +2 -20
  67. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -21
  68. package/dist-types/ts3.4/commands/DeleteEnvironmentMembershipCommand.d.ts +2 -20
  69. package/dist-types/ts3.4/commands/DescribeEnvironmentMembershipsCommand.d.ts +2 -20
  70. package/dist-types/ts3.4/commands/DescribeEnvironmentStatusCommand.d.ts +2 -20
  71. package/dist-types/ts3.4/commands/DescribeEnvironmentsCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  74. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
  75. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/UpdateEnvironmentMembershipCommand.d.ts +2 -21
  78. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  79. package/dist-types/ts3.4/index.d.ts +4 -18
  80. package/dist-types/ts3.4/models/models_0.d.ts +118 -629
  81. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  86. package/package.json +33 -30
  87. package/dist-cjs/Cloud9.js.map +0 -1
  88. package/dist-cjs/Cloud9Client.js.map +0 -1
  89. package/dist-cjs/commands/CreateEnvironmentEC2Command.js.map +0 -1
  90. package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
  91. package/dist-cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
  92. package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
  93. package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
  94. package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
  95. package/dist-cjs/commands/DescribeEnvironmentsCommand.js.map +0 -1
  96. package/dist-cjs/commands/ListEnvironmentsCommand.js.map +0 -1
  97. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  98. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  99. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  100. package/dist-cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
  101. package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
  102. package/dist-cjs/endpoints.js.map +0 -1
  103. package/dist-cjs/index.js.map +0 -1
  104. package/dist-cjs/models/index.js.map +0 -1
  105. package/dist-cjs/models/models_0.js.map +0 -1
  106. package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
  107. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  108. package/dist-cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
  109. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  110. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  111. package/dist-cjs/runtimeConfig.js.map +0 -1
  112. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  113. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  114. package/dist-es/Cloud9.js.map +0 -1
  115. package/dist-es/Cloud9Client.js.map +0 -1
  116. package/dist-es/commands/CreateEnvironmentEC2Command.js.map +0 -1
  117. package/dist-es/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
  118. package/dist-es/commands/DeleteEnvironmentCommand.js.map +0 -1
  119. package/dist-es/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
  120. package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
  121. package/dist-es/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
  122. package/dist-es/commands/DescribeEnvironmentsCommand.js.map +0 -1
  123. package/dist-es/commands/ListEnvironmentsCommand.js.map +0 -1
  124. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  125. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  126. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  127. package/dist-es/commands/UpdateEnvironmentCommand.js.map +0 -1
  128. package/dist-es/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
  129. package/dist-es/endpoints.js.map +0 -1
  130. package/dist-es/index.js.map +0 -1
  131. package/dist-es/models/index.js.map +0 -1
  132. package/dist-es/models/models_0.js.map +0 -1
  133. package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
  134. package/dist-es/pagination/Interfaces.js.map +0 -1
  135. package/dist-es/pagination/ListEnvironmentsPaginator.js.map +0 -1
  136. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  137. package/dist-es/runtimeConfig.browser.js.map +0 -1
  138. package/dist-es/runtimeConfig.js.map +0 -1
  139. package/dist-es/runtimeConfig.native.js.map +0 -1
  140. package/dist-es/runtimeConfig.shared.js.map +0 -1
  141. package/jest.config.js +0 -4
  142. package/src/Cloud9.ts +0 -552
  143. package/src/Cloud9Client.ts +0 -365
  144. package/src/commands/CreateEnvironmentEC2Command.ts +0 -96
  145. package/src/commands/CreateEnvironmentMembershipCommand.ts +0 -98
  146. package/src/commands/DeleteEnvironmentCommand.ts +0 -96
  147. package/src/commands/DeleteEnvironmentMembershipCommand.ts +0 -98
  148. package/src/commands/DescribeEnvironmentMembershipsCommand.ts +0 -103
  149. package/src/commands/DescribeEnvironmentStatusCommand.ts +0 -98
  150. package/src/commands/DescribeEnvironmentsCommand.ts +0 -95
  151. package/src/commands/ListEnvironmentsCommand.ts +0 -95
  152. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  153. package/src/commands/TagResourceCommand.ts +0 -99
  154. package/src/commands/UntagResourceCommand.ts +0 -95
  155. package/src/commands/UpdateEnvironmentCommand.ts +0 -95
  156. package/src/commands/UpdateEnvironmentMembershipCommand.ts +0 -99
  157. package/src/endpoints.ts +0 -57
  158. package/src/index.ts +0 -19
  159. package/src/models/index.ts +0 -1
  160. package/src/models/models_0.ts +0 -1187
  161. package/src/pagination/DescribeEnvironmentMembershipsPaginator.ts +0 -59
  162. package/src/pagination/Interfaces.ts +0 -8
  163. package/src/pagination/ListEnvironmentsPaginator.ts +0 -59
  164. package/src/protocols/Aws_json1_1.ts +0 -2189
  165. package/src/runtimeConfig.browser.ts +0 -41
  166. package/src/runtimeConfig.native.ts +0 -17
  167. package/src/runtimeConfig.shared.ts +0 -17
  168. package/src/runtimeConfig.ts +0 -46
  169. package/tsconfig.es.json +0 -10
  170. package/tsconfig.json +0 -33
  171. package/tsconfig.types.json +0 -9
@@ -1,7 +1,5 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- /**
3
- * <p>The target request is invalid.</p>
4
- */
2
+
5
3
  export interface BadRequestException extends __SmithyException, $MetadataBearer {
6
4
  name: "BadRequestException";
7
5
  $fault: "client";
@@ -10,14 +8,10 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
10
8
  code?: number;
11
9
  }
12
10
  export declare namespace BadRequestException {
13
- /**
14
- * @internal
15
- */
11
+
16
12
  const filterSensitiveLog: (obj: BadRequestException) => any;
17
13
  }
18
- /**
19
- * <p>A conflict occurred.</p>
20
- */
14
+
21
15
  export interface ConflictException extends __SmithyException, $MetadataBearer {
22
16
  name: "ConflictException";
23
17
  $fault: "client";
@@ -26,166 +20,61 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
26
20
  code?: number;
27
21
  }
28
22
  export declare namespace ConflictException {
29
- /**
30
- * @internal
31
- */
23
+
32
24
  const filterSensitiveLog: (obj: ConflictException) => any;
33
25
  }
34
26
  export declare enum ConnectionType {
35
27
  CONNECT_SSH = "CONNECT_SSH",
36
28
  CONNECT_SSM = "CONNECT_SSM"
37
29
  }
38
- /**
39
- * <p>Metadata that is associated with Amazon Web Services resources. In particular, a name-value pair that
40
- * can be associated with an Cloud9 development environment. There are two types of tags:
41
- * <i>user tags</i> and <i>system tags</i>. A user tag is created
42
- * by the user. A system tag is automatically created by Amazon Web Services services. A system tag is prefixed
43
- * with <code>"aws:"</code> and cannot be modified by the user.</p>
44
- */
30
+
45
31
  export interface Tag {
46
- /**
47
- * <p>The <b>name</b> part of a tag.</p>
48
- */
32
+
49
33
  Key: string | undefined;
50
- /**
51
- * <p>The <b>value</b> part of a tag.</p>
52
- */
34
+
53
35
  Value: string | undefined;
54
36
  }
55
37
  export declare namespace Tag {
56
- /**
57
- * @internal
58
- */
38
+
59
39
  const filterSensitiveLog: (obj: Tag) => any;
60
40
  }
61
41
  export interface CreateEnvironmentEC2Request {
62
- /**
63
- * <p>The name of the environment to create.</p>
64
- * <p>This name is visible to other IAM users in the same Amazon Web Services account.</p>
65
- */
42
+
66
43
  name: string | undefined;
67
- /**
68
- * <p>The description of the environment to create.</p>
69
- */
44
+
70
45
  description?: string;
71
- /**
72
- * <p>A unique, case-sensitive string that helps Cloud9 to ensure this operation completes no
73
- * more than one time.</p>
74
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Client Tokens</a> in the
75
- * <i>Amazon EC2 API Reference</i>.</p>
76
- */
46
+
77
47
  clientRequestToken?: string;
78
- /**
79
- * <p>The type of instance to connect to the environment (for example,
80
- * <code>t2.micro</code>).</p>
81
- */
48
+
82
49
  instanceType: string | undefined;
83
- /**
84
- * <p>The ID of the subnet in Amazon VPC that Cloud9 will use to communicate with the Amazon EC2
85
- * instance.</p>
86
- */
50
+
87
51
  subnetId?: string;
88
- /**
89
- * <p>The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.
90
- * To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)
91
- * path.</p>
92
- * <p>The default AMI is used if the parameter isn't explicitly assigned a value in the request.
93
- * Because Amazon Linux AMI has ended standard support as of December 31, 2020, we recommend you
94
- * choose Amazon Linux 2, which includes long term support through 2023.</p>
95
- * <p>
96
- * <b>AMI aliases </b>
97
- * </p>
98
- * <ul>
99
- * <li>
100
- * <p>
101
- * <b>Amazon Linux (default):
102
- * <code>amazonlinux-1-x86_64</code>
103
- * </b>
104
- * </p>
105
- * </li>
106
- * <li>
107
- * <p>Amazon Linux 2: <code>amazonlinux-2-x86_64</code>
108
- * </p>
109
- * </li>
110
- * <li>
111
- * <p>Ubuntu 18.04: <code>ubuntu-18.04-x86_64</code>
112
- * </p>
113
- * </li>
114
- * </ul>
115
- * <p>
116
- * <b>SSM paths</b>
117
- * </p>
118
- * <ul>
119
- * <li>
120
- * <p>
121
- * <b>Amazon Linux (default):
122
- * <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64</code>
123
- * </b>
124
- * </p>
125
- * </li>
126
- * <li>
127
- * <p>Amazon Linux 2:
128
- * <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64</code>
129
- * </p>
130
- * </li>
131
- * <li>
132
- * <p>Ubuntu 18.04:
133
- * <code>resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64</code>
134
- * </p>
135
- * </li>
136
- * </ul>
137
- */
52
+
138
53
  imageId?: string;
139
- /**
140
- * <p>The number of minutes until the running instance is shut down after the environment has
141
- * last been used.</p>
142
- */
54
+
143
55
  automaticStopTimeMinutes?: number;
144
- /**
145
- * <p>The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any
146
- * IAM principal. If this value is not specified, the ARN defaults to this environment's
147
- * creator.</p>
148
- */
56
+
149
57
  ownerArn?: string;
150
- /**
151
- * <p>An array of key-value pairs that will be associated with the new Cloud9 development
152
- * environment.</p>
153
- */
58
+
154
59
  tags?: Tag[];
155
- /**
156
- * <p>The connection type used for connecting to an Amazon EC2 environment. Valid values are
157
- * <code>CONNECT_SSH</code> (default) and <code>CONNECT_SSM</code> (connected through
158
- * Amazon EC2 Systems Manager).</p>
159
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html">Accessing no-ingress EC2 instances with
160
- * Amazon EC2 Systems Manager</a> in the <i>Cloud9 User Guide</i>.</p>
161
- */
60
+
162
61
  connectionType?: ConnectionType | string;
163
- /**
164
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
165
- */
62
+
166
63
  dryRun?: boolean;
167
64
  }
168
65
  export declare namespace CreateEnvironmentEC2Request {
169
- /**
170
- * @internal
171
- */
66
+
172
67
  const filterSensitiveLog: (obj: CreateEnvironmentEC2Request) => any;
173
68
  }
174
69
  export interface CreateEnvironmentEC2Result {
175
- /**
176
- * <p>The ID of the environment that was created.</p>
177
- */
70
+
178
71
  environmentId?: string;
179
72
  }
180
73
  export declare namespace CreateEnvironmentEC2Result {
181
- /**
182
- * @internal
183
- */
74
+
184
75
  const filterSensitiveLog: (obj: CreateEnvironmentEC2Result) => any;
185
76
  }
186
- /**
187
- * <p>An access permissions issue occurred.</p>
188
- */
77
+
189
78
  export interface ForbiddenException extends __SmithyException, $MetadataBearer {
190
79
  name: "ForbiddenException";
191
80
  $fault: "client";
@@ -194,14 +83,10 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
194
83
  code?: number;
195
84
  }
196
85
  export declare namespace ForbiddenException {
197
- /**
198
- * @internal
199
- */
86
+
200
87
  const filterSensitiveLog: (obj: ForbiddenException) => any;
201
88
  }
202
- /**
203
- * <p>An internal server error occurred.</p>
204
- */
89
+
205
90
  export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
206
91
  name: "InternalServerErrorException";
207
92
  $fault: "server";
@@ -210,14 +95,10 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
210
95
  code?: number;
211
96
  }
212
97
  export declare namespace InternalServerErrorException {
213
- /**
214
- * @internal
215
- */
98
+
216
99
  const filterSensitiveLog: (obj: InternalServerErrorException) => any;
217
100
  }
218
- /**
219
- * <p>A service limit was exceeded.</p>
220
- */
101
+
221
102
  export interface LimitExceededException extends __SmithyException, $MetadataBearer {
222
103
  name: "LimitExceededException";
223
104
  $fault: "client";
@@ -226,14 +107,10 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
226
107
  code?: number;
227
108
  }
228
109
  export declare namespace LimitExceededException {
229
- /**
230
- * @internal
231
- */
110
+
232
111
  const filterSensitiveLog: (obj: LimitExceededException) => any;
233
112
  }
234
- /**
235
- * <p>The target resource cannot be found.</p>
236
- */
113
+
237
114
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
238
115
  name: "NotFoundException";
239
116
  $fault: "client";
@@ -242,14 +119,10 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
242
119
  code?: number;
243
120
  }
244
121
  export declare namespace NotFoundException {
245
- /**
246
- * @internal
247
- */
122
+
248
123
  const filterSensitiveLog: (obj: NotFoundException) => any;
249
124
  }
250
- /**
251
- * <p>Too many service requests were made over the given time period.</p>
252
- */
125
+
253
126
  export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
254
127
  name: "TooManyRequestsException";
255
128
  $fault: "client";
@@ -258,9 +131,7 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
258
131
  code?: number;
259
132
  }
260
133
  export declare namespace TooManyRequestsException {
261
- /**
262
- * @internal
263
- */
134
+
264
135
  const filterSensitiveLog: (obj: TooManyRequestsException) => any;
265
136
  }
266
137
  export declare enum MemberPermissions {
@@ -268,34 +139,15 @@ export declare enum MemberPermissions {
268
139
  READ_WRITE = "read-write"
269
140
  }
270
141
  export interface CreateEnvironmentMembershipRequest {
271
- /**
272
- * <p>The ID of the environment that contains the environment member you want to add.</p>
273
- */
142
+
274
143
  environmentId: string | undefined;
275
- /**
276
- * <p>The Amazon Resource Name (ARN) of the environment member you want to add.</p>
277
- */
144
+
278
145
  userArn: string | undefined;
279
- /**
280
- * <p>The type of environment member permissions you want to associate with this environment
281
- * member. Available values include:</p>
282
- * <ul>
283
- * <li>
284
- * <p>
285
- * <code>read-only</code>: Has read-only access to the environment.</p>
286
- * </li>
287
- * <li>
288
- * <p>
289
- * <code>read-write</code>: Has read-write access to the environment.</p>
290
- * </li>
291
- * </ul>
292
- */
146
+
293
147
  permissions: MemberPermissions | string | undefined;
294
148
  }
295
149
  export declare namespace CreateEnvironmentMembershipRequest {
296
- /**
297
- * @internal
298
- */
150
+
299
151
  const filterSensitiveLog: (obj: CreateEnvironmentMembershipRequest) => any;
300
152
  }
301
153
  export declare enum Permissions {
@@ -303,188 +155,93 @@ export declare enum Permissions {
303
155
  READ_ONLY = "read-only",
304
156
  READ_WRITE = "read-write"
305
157
  }
306
- /**
307
- * <p>Information about an environment member for an Cloud9 development environment.</p>
308
- */
158
+
309
159
  export interface EnvironmentMember {
310
- /**
311
- * <p>The type of environment member permissions associated with this environment member.
312
- * Available values include:</p>
313
- * <ul>
314
- * <li>
315
- * <p>
316
- * <code>owner</code>: Owns the environment.</p>
317
- * </li>
318
- * <li>
319
- * <p>
320
- * <code>read-only</code>: Has read-only access to the environment.</p>
321
- * </li>
322
- * <li>
323
- * <p>
324
- * <code>read-write</code>: Has read-write access to the environment.</p>
325
- * </li>
326
- * </ul>
327
- */
160
+
328
161
  permissions: Permissions | string | undefined;
329
- /**
330
- * <p>The user ID in Identity and Access Management (IAM) of the environment member.</p>
331
- */
162
+
332
163
  userId: string | undefined;
333
- /**
334
- * <p>The Amazon Resource Name (ARN) of the environment member.</p>
335
- */
164
+
336
165
  userArn: string | undefined;
337
- /**
338
- * <p>The ID of the environment for the environment member.</p>
339
- */
166
+
340
167
  environmentId: string | undefined;
341
- /**
342
- * <p>The time, expressed in epoch time format, when the environment member last opened the
343
- * environment.</p>
344
- */
168
+
345
169
  lastAccess?: Date;
346
170
  }
347
171
  export declare namespace EnvironmentMember {
348
- /**
349
- * @internal
350
- */
172
+
351
173
  const filterSensitiveLog: (obj: EnvironmentMember) => any;
352
174
  }
353
175
  export interface CreateEnvironmentMembershipResult {
354
- /**
355
- * <p>Information about the environment member that was added.</p>
356
- */
176
+
357
177
  membership: EnvironmentMember | undefined;
358
178
  }
359
179
  export declare namespace CreateEnvironmentMembershipResult {
360
- /**
361
- * @internal
362
- */
180
+
363
181
  const filterSensitiveLog: (obj: CreateEnvironmentMembershipResult) => any;
364
182
  }
365
183
  export interface DeleteEnvironmentRequest {
366
- /**
367
- * <p>The ID of the environment to delete.</p>
368
- */
184
+
369
185
  environmentId: string | undefined;
370
186
  }
371
187
  export declare namespace DeleteEnvironmentRequest {
372
- /**
373
- * @internal
374
- */
188
+
375
189
  const filterSensitiveLog: (obj: DeleteEnvironmentRequest) => any;
376
190
  }
377
191
  export interface DeleteEnvironmentResult {
378
192
  }
379
193
  export declare namespace DeleteEnvironmentResult {
380
- /**
381
- * @internal
382
- */
194
+
383
195
  const filterSensitiveLog: (obj: DeleteEnvironmentResult) => any;
384
196
  }
385
197
  export interface DeleteEnvironmentMembershipRequest {
386
- /**
387
- * <p>The ID of the environment to delete the environment member from.</p>
388
- */
198
+
389
199
  environmentId: string | undefined;
390
- /**
391
- * <p>The Amazon Resource Name (ARN) of the environment member to delete from the
392
- * environment.</p>
393
- */
200
+
394
201
  userArn: string | undefined;
395
202
  }
396
203
  export declare namespace DeleteEnvironmentMembershipRequest {
397
- /**
398
- * @internal
399
- */
204
+
400
205
  const filterSensitiveLog: (obj: DeleteEnvironmentMembershipRequest) => any;
401
206
  }
402
207
  export interface DeleteEnvironmentMembershipResult {
403
208
  }
404
209
  export declare namespace DeleteEnvironmentMembershipResult {
405
- /**
406
- * @internal
407
- */
210
+
408
211
  const filterSensitiveLog: (obj: DeleteEnvironmentMembershipResult) => any;
409
212
  }
410
213
  export interface DescribeEnvironmentMembershipsRequest {
411
- /**
412
- * <p>The Amazon Resource Name (ARN) of an individual environment member to get information
413
- * about. If no value is specified, information about all environment members are
414
- * returned.</p>
415
- */
214
+
416
215
  userArn?: string;
417
- /**
418
- * <p>The ID of the environment to get environment member information about.</p>
419
- */
216
+
420
217
  environmentId?: string;
421
- /**
422
- * <p>The type of environment member permissions to get information about. Available values
423
- * include:</p>
424
- * <ul>
425
- * <li>
426
- * <p>
427
- * <code>owner</code>: Owns the environment.</p>
428
- * </li>
429
- * <li>
430
- * <p>
431
- * <code>read-only</code>: Has read-only access to the environment.</p>
432
- * </li>
433
- * <li>
434
- * <p>
435
- * <code>read-write</code>: Has read-write access to the environment.</p>
436
- * </li>
437
- * </ul>
438
- * <p>If no value is specified, information about all environment members are returned.</p>
439
- */
218
+
440
219
  permissions?: (Permissions | string)[];
441
- /**
442
- * <p>During a previous call, if there are more than 25 items in the list, only the first 25
443
- * items are returned, along with a unique string called a <i>next token</i>. To
444
- * get the next batch of items in the list, call this operation again, adding the next token to
445
- * the call. To get all of the items in the list, keep calling this operation with each
446
- * subsequent next token that is returned, until no more next tokens are returned.</p>
447
- */
220
+
448
221
  nextToken?: string;
449
- /**
450
- * <p>The maximum number of environment members to get information about.</p>
451
- */
222
+
452
223
  maxResults?: number;
453
224
  }
454
225
  export declare namespace DescribeEnvironmentMembershipsRequest {
455
- /**
456
- * @internal
457
- */
226
+
458
227
  const filterSensitiveLog: (obj: DescribeEnvironmentMembershipsRequest) => any;
459
228
  }
460
229
  export interface DescribeEnvironmentMembershipsResult {
461
- /**
462
- * <p>Information about the environment members for the environment.</p>
463
- */
230
+
464
231
  memberships?: EnvironmentMember[];
465
- /**
466
- * <p>If there are more than 25 items in the list, only the first 25 items are returned, along
467
- * with a unique string called a <i>next token</i>. To get the next batch of items
468
- * in the list, call this operation again, adding the next token to the call.</p>
469
- */
232
+
470
233
  nextToken?: string;
471
234
  }
472
235
  export declare namespace DescribeEnvironmentMembershipsResult {
473
- /**
474
- * @internal
475
- */
236
+
476
237
  const filterSensitiveLog: (obj: DescribeEnvironmentMembershipsResult) => any;
477
238
  }
478
239
  export interface DescribeEnvironmentsRequest {
479
- /**
480
- * <p>The IDs of individual environments to get information about.</p>
481
- */
240
+
482
241
  environmentIds: string[] | undefined;
483
242
  }
484
243
  export declare namespace DescribeEnvironmentsRequest {
485
- /**
486
- * @internal
487
- */
244
+
488
245
  const filterSensitiveLog: (obj: DescribeEnvironmentsRequest) => any;
489
246
  }
490
247
  export declare enum EnvironmentLifecycleStatus {
@@ -494,51 +251,17 @@ export declare enum EnvironmentLifecycleStatus {
494
251
  DELETE_FAILED = "DELETE_FAILED",
495
252
  DELETING = "DELETING"
496
253
  }
497
- /**
498
- * <p>Information about the current creation or deletion lifecycle state of an Cloud9 development
499
- * environment.</p>
500
- */
254
+
501
255
  export interface EnvironmentLifecycle {
502
- /**
503
- * <p>The current creation or deletion lifecycle state of the environment.</p>
504
- * <ul>
505
- * <li>
506
- * <p>
507
- * <code>CREATING</code>: The environment is in the process of being created.</p>
508
- * </li>
509
- * <li>
510
- * <p>
511
- * <code>CREATED</code>: The environment was successfully created.</p>
512
- * </li>
513
- * <li>
514
- * <p>
515
- * <code>CREATE_FAILED</code>: The environment failed to be created.</p>
516
- * </li>
517
- * <li>
518
- * <p>
519
- * <code>DELETING</code>: The environment is in the process of being deleted.</p>
520
- * </li>
521
- * <li>
522
- * <p>
523
- * <code>DELETE_FAILED</code>: The environment failed to delete.</p>
524
- * </li>
525
- * </ul>
526
- */
256
+
527
257
  status?: EnvironmentLifecycleStatus | string;
528
- /**
529
- * <p>Any informational message about the lifecycle state of the environment.</p>
530
- */
258
+
531
259
  reason?: string;
532
- /**
533
- * <p>If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services
534
- * resource.</p>
535
- */
260
+
536
261
  failureResource?: string;
537
262
  }
538
263
  export declare namespace EnvironmentLifecycle {
539
- /**
540
- * @internal
541
- */
264
+
542
265
  const filterSensitiveLog: (obj: EnvironmentLifecycle) => any;
543
266
  }
544
267
  export declare enum ManagedCredentialsStatus {
@@ -558,139 +281,45 @@ export declare enum EnvironmentType {
558
281
  EC2 = "ec2",
559
282
  SSH = "ssh"
560
283
  }
561
- /**
562
- * <p>Information about an Cloud9 development environment.</p>
563
- */
284
+
564
285
  export interface Environment {
565
- /**
566
- * <p>The ID of the environment.</p>
567
- */
286
+
568
287
  id?: string;
569
- /**
570
- * <p>The name of the environment.</p>
571
- */
288
+
572
289
  name?: string;
573
- /**
574
- * <p>The description for the environment.</p>
575
- */
290
+
576
291
  description?: string;
577
- /**
578
- * <p>The type of environment. Valid values include the following:</p>
579
- * <ul>
580
- * <li>
581
- * <p>
582
- * <code>ec2</code>: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.</p>
583
- * </li>
584
- * <li>
585
- * <p>
586
- * <code>ssh</code>: Your own server connects to the environment.</p>
587
- * </li>
588
- * </ul>
589
- */
292
+
590
293
  type: EnvironmentType | string | undefined;
591
- /**
592
- * <p>The connection type used for connecting to an Amazon EC2 environment. <code>CONNECT_SSH</code>
593
- * is selected by default.</p>
594
- */
294
+
595
295
  connectionType?: ConnectionType | string;
596
- /**
597
- * <p>The Amazon Resource Name (ARN) of the environment.</p>
598
- */
296
+
599
297
  arn: string | undefined;
600
- /**
601
- * <p>The Amazon Resource Name (ARN) of the environment owner.</p>
602
- */
298
+
603
299
  ownerArn: string | undefined;
604
- /**
605
- * <p>The state of the environment in its creation or deletion lifecycle.</p>
606
- */
300
+
607
301
  lifecycle?: EnvironmentLifecycle;
608
- /**
609
- * <p>Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
610
- * Available values are:</p>
611
- * <ul>
612
- * <li>
613
- * <p>
614
- * <code>ENABLED_ON_CREATE</code>
615
- * </p>
616
- * </li>
617
- * <li>
618
- * <p>
619
- * <code>ENABLED_BY_OWNER</code>
620
- * </p>
621
- * </li>
622
- * <li>
623
- * <p>
624
- * <code>DISABLED_BY_DEFAULT</code>
625
- * </p>
626
- * </li>
627
- * <li>
628
- * <p>
629
- * <code>DISABLED_BY_OWNER</code>
630
- * </p>
631
- * </li>
632
- * <li>
633
- * <p>
634
- * <code>DISABLED_BY_COLLABORATOR</code>
635
- * </p>
636
- * </li>
637
- * <li>
638
- * <p>
639
- * <code>PENDING_REMOVAL_BY_COLLABORATOR</code>
640
- * </p>
641
- * </li>
642
- * <li>
643
- * <p>
644
- * <code>PENDING_REMOVAL_BY_OWNER</code>
645
- * </p>
646
- * </li>
647
- * <li>
648
- * <p>
649
- * <code>FAILED_REMOVAL_BY_COLLABORATOR</code>
650
- * </p>
651
- * </li>
652
- * <li>
653
- * <p>
654
- * <code>ENABLED_BY_OWNER</code>
655
- * </p>
656
- * </li>
657
- * <li>
658
- * <p>
659
- * <code>DISABLED_BY_DEFAULT</code>
660
- * </p>
661
- * </li>
662
- * </ul>
663
- */
302
+
664
303
  managedCredentialsStatus?: ManagedCredentialsStatus | string;
665
304
  }
666
305
  export declare namespace Environment {
667
- /**
668
- * @internal
669
- */
306
+
670
307
  const filterSensitiveLog: (obj: Environment) => any;
671
308
  }
672
309
  export interface DescribeEnvironmentsResult {
673
- /**
674
- * <p>Information about the environments that are returned.</p>
675
- */
310
+
676
311
  environments?: Environment[];
677
312
  }
678
313
  export declare namespace DescribeEnvironmentsResult {
679
- /**
680
- * @internal
681
- */
314
+
682
315
  const filterSensitiveLog: (obj: DescribeEnvironmentsResult) => any;
683
316
  }
684
317
  export interface DescribeEnvironmentStatusRequest {
685
- /**
686
- * <p>The ID of the environment to get status information about.</p>
687
- */
318
+
688
319
  environmentId: string | undefined;
689
320
  }
690
321
  export declare namespace DescribeEnvironmentStatusRequest {
691
- /**
692
- * @internal
693
- */
322
+
694
323
  const filterSensitiveLog: (obj: DescribeEnvironmentStatusRequest) => any;
695
324
  }
696
325
  export declare enum EnvironmentStatus {
@@ -703,117 +332,52 @@ export declare enum EnvironmentStatus {
703
332
  STOPPING = "stopping"
704
333
  }
705
334
  export interface DescribeEnvironmentStatusResult {
706
- /**
707
- * <p>The status of the environment. Available values include:</p>
708
- * <ul>
709
- * <li>
710
- * <p>
711
- * <code>connecting</code>: The environment is connecting.</p>
712
- * </li>
713
- * <li>
714
- * <p>
715
- * <code>creating</code>: The environment is being created.</p>
716
- * </li>
717
- * <li>
718
- * <p>
719
- * <code>deleting</code>: The environment is being deleted.</p>
720
- * </li>
721
- * <li>
722
- * <p>
723
- * <code>error</code>: The environment is in an error state.</p>
724
- * </li>
725
- * <li>
726
- * <p>
727
- * <code>ready</code>: The environment is ready.</p>
728
- * </li>
729
- * <li>
730
- * <p>
731
- * <code>stopped</code>: The environment is stopped.</p>
732
- * </li>
733
- * <li>
734
- * <p>
735
- * <code>stopping</code>: The environment is stopping.</p>
736
- * </li>
737
- * </ul>
738
- */
335
+
739
336
  status: EnvironmentStatus | string | undefined;
740
- /**
741
- * <p>Any informational message about the status of the environment.</p>
742
- */
337
+
743
338
  message: string | undefined;
744
339
  }
745
340
  export declare namespace DescribeEnvironmentStatusResult {
746
- /**
747
- * @internal
748
- */
341
+
749
342
  const filterSensitiveLog: (obj: DescribeEnvironmentStatusResult) => any;
750
343
  }
751
344
  export interface ListEnvironmentsRequest {
752
- /**
753
- * <p>During a previous call, if there are more than 25 items in the list, only the first 25
754
- * items are returned, along with a unique string called a <i>next token</i>. To
755
- * get the next batch of items in the list, call this operation again, adding the next token to
756
- * the call. To get all of the items in the list, keep calling this operation with each
757
- * subsequent next token that is returned, until no more next tokens are returned.</p>
758
- */
345
+
759
346
  nextToken?: string;
760
- /**
761
- * <p>The maximum number of environments to get identifiers for.</p>
762
- */
347
+
763
348
  maxResults?: number;
764
349
  }
765
350
  export declare namespace ListEnvironmentsRequest {
766
- /**
767
- * @internal
768
- */
351
+
769
352
  const filterSensitiveLog: (obj: ListEnvironmentsRequest) => any;
770
353
  }
771
354
  export interface ListEnvironmentsResult {
772
- /**
773
- * <p>If there are more than 25 items in the list, only the first 25 items are returned, along
774
- * with a unique string called a <i>next token</i>. To get the next batch of items
775
- * in the list, call this operation again, adding the next token to the call.</p>
776
- */
355
+
777
356
  nextToken?: string;
778
- /**
779
- * <p>The list of environment identifiers.</p>
780
- */
357
+
781
358
  environmentIds?: string[];
782
359
  }
783
360
  export declare namespace ListEnvironmentsResult {
784
- /**
785
- * @internal
786
- */
361
+
787
362
  const filterSensitiveLog: (obj: ListEnvironmentsResult) => any;
788
363
  }
789
364
  export interface ListTagsForResourceRequest {
790
- /**
791
- * <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to get the tags
792
- * for.</p>
793
- */
365
+
794
366
  ResourceARN: string | undefined;
795
367
  }
796
368
  export declare namespace ListTagsForResourceRequest {
797
- /**
798
- * @internal
799
- */
369
+
800
370
  const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
801
371
  }
802
372
  export interface ListTagsForResourceResponse {
803
- /**
804
- * <p>The list of tags associated with the Cloud9 development environment.</p>
805
- */
373
+
806
374
  Tags?: Tag[];
807
375
  }
808
376
  export declare namespace ListTagsForResourceResponse {
809
- /**
810
- * @internal
811
- */
377
+
812
378
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
813
379
  }
814
- /**
815
- * <p>A concurrent access issue occurred.</p>
816
- */
380
+
817
381
  export interface ConcurrentAccessException extends __SmithyException, $MetadataBearer {
818
382
  name: "ConcurrentAccessException";
819
383
  $fault: "client";
@@ -822,60 +386,39 @@ export interface ConcurrentAccessException extends __SmithyException, $MetadataB
822
386
  code?: number;
823
387
  }
824
388
  export declare namespace ConcurrentAccessException {
825
- /**
826
- * @internal
827
- */
389
+
828
390
  const filterSensitiveLog: (obj: ConcurrentAccessException) => any;
829
391
  }
830
392
  export interface TagResourceRequest {
831
- /**
832
- * <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to add tags
833
- * to.</p>
834
- */
393
+
835
394
  ResourceARN: string | undefined;
836
- /**
837
- * <p>The list of tags to add to the given Cloud9 development environment.</p>
838
- */
395
+
839
396
  Tags: Tag[] | undefined;
840
397
  }
841
398
  export declare namespace TagResourceRequest {
842
- /**
843
- * @internal
844
- */
399
+
845
400
  const filterSensitiveLog: (obj: TagResourceRequest) => any;
846
401
  }
847
402
  export interface TagResourceResponse {
848
403
  }
849
404
  export declare namespace TagResourceResponse {
850
- /**
851
- * @internal
852
- */
405
+
853
406
  const filterSensitiveLog: (obj: TagResourceResponse) => any;
854
407
  }
855
408
  export interface UntagResourceRequest {
856
- /**
857
- * <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to remove tags
858
- * from.</p>
859
- */
409
+
860
410
  ResourceARN: string | undefined;
861
- /**
862
- * <p>The tag names of the tags to remove from the given Cloud9 development
863
- * environment.</p>
864
- */
411
+
865
412
  TagKeys: string[] | undefined;
866
413
  }
867
414
  export declare namespace UntagResourceRequest {
868
- /**
869
- * @internal
870
- */
415
+
871
416
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
872
417
  }
873
418
  export interface UntagResourceResponse {
874
419
  }
875
420
  export declare namespace UntagResourceResponse {
876
- /**
877
- * @internal
878
- */
421
+
879
422
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
880
423
  }
881
424
  export declare enum ManagedCredentialsAction {
@@ -883,96 +426,42 @@ export declare enum ManagedCredentialsAction {
883
426
  ENABLE = "ENABLE"
884
427
  }
885
428
  export interface UpdateEnvironmentRequest {
886
- /**
887
- * <p>The ID of the environment to change settings.</p>
888
- */
429
+
889
430
  environmentId: string | undefined;
890
- /**
891
- * <p>A replacement name for the environment.</p>
892
- */
431
+
893
432
  name?: string;
894
- /**
895
- * <p>Any new or replacement description for the environment.</p>
896
- */
433
+
897
434
  description?: string;
898
- /**
899
- * <p>Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary
900
- * credentials for an Cloud9 environment by using one of the following values:</p>
901
- * <ul>
902
- * <li>
903
- * <p>
904
- * <code>ENABLE</code>
905
- * </p>
906
- * </li>
907
- * <li>
908
- * <p>
909
- * <code>DISABLE</code>
910
- * </p>
911
- * </li>
912
- * </ul>
913
- * <note>
914
- * <p>Only the environment owner can change the status of managed temporary credentials. An <code>AccessDeniedException</code> is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment
915
- * owner.</p>
916
- * </note>
917
- */
435
+
918
436
  managedCredentialsAction?: ManagedCredentialsAction | string;
919
437
  }
920
438
  export declare namespace UpdateEnvironmentRequest {
921
- /**
922
- * @internal
923
- */
439
+
924
440
  const filterSensitiveLog: (obj: UpdateEnvironmentRequest) => any;
925
441
  }
926
442
  export interface UpdateEnvironmentResult {
927
443
  }
928
444
  export declare namespace UpdateEnvironmentResult {
929
- /**
930
- * @internal
931
- */
445
+
932
446
  const filterSensitiveLog: (obj: UpdateEnvironmentResult) => any;
933
447
  }
934
448
  export interface UpdateEnvironmentMembershipRequest {
935
- /**
936
- * <p>The ID of the environment for the environment member whose settings you want to
937
- * change.</p>
938
- */
449
+
939
450
  environmentId: string | undefined;
940
- /**
941
- * <p>The Amazon Resource Name (ARN) of the environment member whose settings you want to
942
- * change.</p>
943
- */
451
+
944
452
  userArn: string | undefined;
945
- /**
946
- * <p>The replacement type of environment member permissions you want to associate with this
947
- * environment member. Available values include:</p>
948
- * <ul>
949
- * <li>
950
- * <p>
951
- * <code>read-only</code>: Has read-only access to the environment.</p>
952
- * </li>
953
- * <li>
954
- * <p>
955
- * <code>read-write</code>: Has read-write access to the environment.</p>
956
- * </li>
957
- * </ul>
958
- */
453
+
959
454
  permissions: MemberPermissions | string | undefined;
960
455
  }
961
456
  export declare namespace UpdateEnvironmentMembershipRequest {
962
- /**
963
- * @internal
964
- */
457
+
965
458
  const filterSensitiveLog: (obj: UpdateEnvironmentMembershipRequest) => any;
966
459
  }
967
460
  export interface UpdateEnvironmentMembershipResult {
968
- /**
969
- * <p>Information about the environment member whose settings were changed.</p>
970
- */
461
+
971
462
  membership?: EnvironmentMember;
972
463
  }
973
464
  export declare namespace UpdateEnvironmentMembershipResult {
974
- /**
975
- * @internal
976
- */
465
+
977
466
  const filterSensitiveLog: (obj: UpdateEnvironmentMembershipResult) => any;
978
467
  }