@aws-sdk/client-cloud9 3.533.0 → 3.535.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.
- package/dist-types/Cloud9.d.ts +3 -1
- package/dist-types/Cloud9Client.d.ts +1 -1
- package/dist-types/commands/CreateEnvironmentEC2Command.d.ts +2 -1
- package/dist-types/commands/CreateEnvironmentMembershipCommand.d.ts +2 -1
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +2 -1
- package/dist-types/commands/DeleteEnvironmentMembershipCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEnvironmentMembershipsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEnvironmentStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +2 -1
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEnvironmentMembershipCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +80 -80
- package/dist-types/ts3.4/Cloud9.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentMembershipCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentMembershipCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeEnvironmentMembershipsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeEnvironmentStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeEnvironmentsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentMembershipCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { Cloud9ServiceException as __BaseException } from "./Cloud9ServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>The target request is invalid.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class BadRequestException extends __BaseException {
|
|
8
8
|
readonly name: "BadRequestException";
|
|
@@ -15,8 +15,8 @@ export declare class BadRequestException extends __BaseException {
|
|
|
15
15
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* @public
|
|
19
18
|
* <p>A conflict occurred.</p>
|
|
19
|
+
* @public
|
|
20
20
|
*/
|
|
21
21
|
export declare class ConflictException extends __BaseException {
|
|
22
22
|
readonly name: "ConflictException";
|
|
@@ -41,22 +41,22 @@ export declare const ConnectionType: {
|
|
|
41
41
|
*/
|
|
42
42
|
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
|
|
43
43
|
/**
|
|
44
|
-
* @public
|
|
45
44
|
* <p>Metadata that is associated with Amazon Web Services resources. In particular, a name-value pair that
|
|
46
45
|
* can be associated with an Cloud9 development environment. There are two types of tags:
|
|
47
46
|
* <i>user tags</i> and <i>system tags</i>. A user tag is created
|
|
48
47
|
* by the user. A system tag is automatically created by Amazon Web Services services. A system tag is prefixed
|
|
49
48
|
* with <code>"aws:"</code> and cannot be modified by the user.</p>
|
|
49
|
+
* @public
|
|
50
50
|
*/
|
|
51
51
|
export interface Tag {
|
|
52
52
|
/**
|
|
53
|
-
* @public
|
|
54
53
|
* <p>The <b>name</b> part of a tag.</p>
|
|
54
|
+
* @public
|
|
55
55
|
*/
|
|
56
56
|
Key: string | undefined;
|
|
57
57
|
/**
|
|
58
|
-
* @public
|
|
59
58
|
* <p>The <b>value</b> part of a tag.</p>
|
|
59
|
+
* @public
|
|
60
60
|
*/
|
|
61
61
|
Value: string | undefined;
|
|
62
62
|
}
|
|
@@ -65,38 +65,37 @@ export interface Tag {
|
|
|
65
65
|
*/
|
|
66
66
|
export interface CreateEnvironmentEC2Request {
|
|
67
67
|
/**
|
|
68
|
-
* @public
|
|
69
68
|
* <p>The name of the environment to create.</p>
|
|
70
69
|
* <p>This name is visible to other IAM users in the same Amazon Web Services account.</p>
|
|
70
|
+
* @public
|
|
71
71
|
*/
|
|
72
72
|
name: string | undefined;
|
|
73
73
|
/**
|
|
74
|
-
* @public
|
|
75
74
|
* <p>The description of the environment to create.</p>
|
|
75
|
+
* @public
|
|
76
76
|
*/
|
|
77
77
|
description?: string;
|
|
78
78
|
/**
|
|
79
|
-
* @public
|
|
80
79
|
* <p>A unique, case-sensitive string that helps Cloud9 to ensure this operation completes no
|
|
81
80
|
* more than one time.</p>
|
|
82
81
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Client Tokens</a> in the
|
|
83
82
|
* <i>Amazon EC2 API Reference</i>.</p>
|
|
83
|
+
* @public
|
|
84
84
|
*/
|
|
85
85
|
clientRequestToken?: string;
|
|
86
86
|
/**
|
|
87
|
-
* @public
|
|
88
87
|
* <p>The type of instance to connect to the environment (for example,
|
|
89
88
|
* <code>t2.micro</code>).</p>
|
|
89
|
+
* @public
|
|
90
90
|
*/
|
|
91
91
|
instanceType: string | undefined;
|
|
92
92
|
/**
|
|
93
|
-
* @public
|
|
94
93
|
* <p>The ID of the subnet in Amazon VPC that Cloud9 will use to communicate with the Amazon EC2
|
|
95
94
|
* instance.</p>
|
|
95
|
+
* @public
|
|
96
96
|
*/
|
|
97
97
|
subnetId?: string;
|
|
98
98
|
/**
|
|
99
|
-
* @public
|
|
100
99
|
* <p>The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.
|
|
101
100
|
* To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)
|
|
102
101
|
* path.</p>
|
|
@@ -153,39 +152,40 @@ export interface CreateEnvironmentEC2Request {
|
|
|
153
152
|
* </p>
|
|
154
153
|
* </li>
|
|
155
154
|
* </ul>
|
|
155
|
+
* @public
|
|
156
156
|
*/
|
|
157
157
|
imageId: string | undefined;
|
|
158
158
|
/**
|
|
159
|
-
* @public
|
|
160
159
|
* <p>The number of minutes until the running instance is shut down after the environment has
|
|
161
160
|
* last been used.</p>
|
|
161
|
+
* @public
|
|
162
162
|
*/
|
|
163
163
|
automaticStopTimeMinutes?: number;
|
|
164
164
|
/**
|
|
165
|
-
* @public
|
|
166
165
|
* <p>The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any
|
|
167
166
|
* IAM principal. If this value is not specified, the ARN defaults to this environment's
|
|
168
167
|
* creator.</p>
|
|
168
|
+
* @public
|
|
169
169
|
*/
|
|
170
170
|
ownerArn?: string;
|
|
171
171
|
/**
|
|
172
|
-
* @public
|
|
173
172
|
* <p>An array of key-value pairs that will be associated with the new Cloud9 development
|
|
174
173
|
* environment.</p>
|
|
174
|
+
* @public
|
|
175
175
|
*/
|
|
176
176
|
tags?: Tag[];
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>The connection type used for connecting to an Amazon EC2 environment. Valid values are
|
|
180
179
|
* <code>CONNECT_SSH</code> (default) and <code>CONNECT_SSM</code> (connected through
|
|
181
180
|
* Amazon EC2 Systems Manager).</p>
|
|
182
181
|
* <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
|
|
183
182
|
* Amazon EC2 Systems Manager</a> in the <i>Cloud9 User Guide</i>.</p>
|
|
183
|
+
* @public
|
|
184
184
|
*/
|
|
185
185
|
connectionType?: ConnectionType;
|
|
186
186
|
/**
|
|
187
|
-
* @public
|
|
188
187
|
* <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>
|
|
188
|
+
* @public
|
|
189
189
|
*/
|
|
190
190
|
dryRun?: boolean;
|
|
191
191
|
}
|
|
@@ -194,14 +194,14 @@ export interface CreateEnvironmentEC2Request {
|
|
|
194
194
|
*/
|
|
195
195
|
export interface CreateEnvironmentEC2Result {
|
|
196
196
|
/**
|
|
197
|
-
* @public
|
|
198
197
|
* <p>The ID of the environment that was created.</p>
|
|
198
|
+
* @public
|
|
199
199
|
*/
|
|
200
200
|
environmentId?: string;
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
|
-
* @public
|
|
204
203
|
* <p>An access permissions issue occurred.</p>
|
|
204
|
+
* @public
|
|
205
205
|
*/
|
|
206
206
|
export declare class ForbiddenException extends __BaseException {
|
|
207
207
|
readonly name: "ForbiddenException";
|
|
@@ -214,8 +214,8 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
214
214
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
|
-
* @public
|
|
218
217
|
* <p>An internal server error occurred.</p>
|
|
218
|
+
* @public
|
|
219
219
|
*/
|
|
220
220
|
export declare class InternalServerErrorException extends __BaseException {
|
|
221
221
|
readonly name: "InternalServerErrorException";
|
|
@@ -228,8 +228,8 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
228
228
|
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
229
229
|
}
|
|
230
230
|
/**
|
|
231
|
-
* @public
|
|
232
231
|
* <p>A service limit was exceeded.</p>
|
|
232
|
+
* @public
|
|
233
233
|
*/
|
|
234
234
|
export declare class LimitExceededException extends __BaseException {
|
|
235
235
|
readonly name: "LimitExceededException";
|
|
@@ -242,8 +242,8 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
242
242
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
245
|
-
* @public
|
|
246
245
|
* <p>The target resource cannot be found.</p>
|
|
246
|
+
* @public
|
|
247
247
|
*/
|
|
248
248
|
export declare class NotFoundException extends __BaseException {
|
|
249
249
|
readonly name: "NotFoundException";
|
|
@@ -256,8 +256,8 @@ export declare class NotFoundException extends __BaseException {
|
|
|
256
256
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
|
-
* @public
|
|
260
259
|
* <p>Too many service requests were made over the given time period.</p>
|
|
260
|
+
* @public
|
|
261
261
|
*/
|
|
262
262
|
export declare class TooManyRequestsException extends __BaseException {
|
|
263
263
|
readonly name: "TooManyRequestsException";
|
|
@@ -286,17 +286,16 @@ export type MemberPermissions = (typeof MemberPermissions)[keyof typeof MemberPe
|
|
|
286
286
|
*/
|
|
287
287
|
export interface CreateEnvironmentMembershipRequest {
|
|
288
288
|
/**
|
|
289
|
-
* @public
|
|
290
289
|
* <p>The ID of the environment that contains the environment member you want to add.</p>
|
|
290
|
+
* @public
|
|
291
291
|
*/
|
|
292
292
|
environmentId: string | undefined;
|
|
293
293
|
/**
|
|
294
|
-
* @public
|
|
295
294
|
* <p>The Amazon Resource Name (ARN) of the environment member you want to add.</p>
|
|
295
|
+
* @public
|
|
296
296
|
*/
|
|
297
297
|
userArn: string | undefined;
|
|
298
298
|
/**
|
|
299
|
-
* @public
|
|
300
299
|
* <p>The type of environment member permissions you want to associate with this environment
|
|
301
300
|
* member. Available values include:</p>
|
|
302
301
|
* <ul>
|
|
@@ -309,6 +308,7 @@ export interface CreateEnvironmentMembershipRequest {
|
|
|
309
308
|
* <code>read-write</code>: Has read-write access to the environment.</p>
|
|
310
309
|
* </li>
|
|
311
310
|
* </ul>
|
|
311
|
+
* @public
|
|
312
312
|
*/
|
|
313
313
|
permissions: MemberPermissions | undefined;
|
|
314
314
|
}
|
|
@@ -326,12 +326,11 @@ export declare const Permissions: {
|
|
|
326
326
|
*/
|
|
327
327
|
export type Permissions = (typeof Permissions)[keyof typeof Permissions];
|
|
328
328
|
/**
|
|
329
|
-
* @public
|
|
330
329
|
* <p>Information about an environment member for an Cloud9 development environment.</p>
|
|
330
|
+
* @public
|
|
331
331
|
*/
|
|
332
332
|
export interface EnvironmentMember {
|
|
333
333
|
/**
|
|
334
|
-
* @public
|
|
335
334
|
* <p>The type of environment member permissions associated with this environment member.
|
|
336
335
|
* Available values include:</p>
|
|
337
336
|
* <ul>
|
|
@@ -348,27 +347,28 @@ export interface EnvironmentMember {
|
|
|
348
347
|
* <code>read-write</code>: Has read-write access to the environment.</p>
|
|
349
348
|
* </li>
|
|
350
349
|
* </ul>
|
|
350
|
+
* @public
|
|
351
351
|
*/
|
|
352
352
|
permissions: Permissions | undefined;
|
|
353
353
|
/**
|
|
354
|
-
* @public
|
|
355
354
|
* <p>The user ID in Identity and Access Management (IAM) of the environment member.</p>
|
|
355
|
+
* @public
|
|
356
356
|
*/
|
|
357
357
|
userId: string | undefined;
|
|
358
358
|
/**
|
|
359
|
-
* @public
|
|
360
359
|
* <p>The Amazon Resource Name (ARN) of the environment member.</p>
|
|
360
|
+
* @public
|
|
361
361
|
*/
|
|
362
362
|
userArn: string | undefined;
|
|
363
363
|
/**
|
|
364
|
-
* @public
|
|
365
364
|
* <p>The ID of the environment for the environment member.</p>
|
|
365
|
+
* @public
|
|
366
366
|
*/
|
|
367
367
|
environmentId: string | undefined;
|
|
368
368
|
/**
|
|
369
|
-
* @public
|
|
370
369
|
* <p>The time, expressed in epoch time format, when the environment member last opened the
|
|
371
370
|
* environment.</p>
|
|
371
|
+
* @public
|
|
372
372
|
*/
|
|
373
373
|
lastAccess?: Date;
|
|
374
374
|
}
|
|
@@ -377,8 +377,8 @@ export interface EnvironmentMember {
|
|
|
377
377
|
*/
|
|
378
378
|
export interface CreateEnvironmentMembershipResult {
|
|
379
379
|
/**
|
|
380
|
-
* @public
|
|
381
380
|
* <p>Information about the environment member that was added.</p>
|
|
381
|
+
* @public
|
|
382
382
|
*/
|
|
383
383
|
membership: EnvironmentMember | undefined;
|
|
384
384
|
}
|
|
@@ -387,8 +387,8 @@ export interface CreateEnvironmentMembershipResult {
|
|
|
387
387
|
*/
|
|
388
388
|
export interface DeleteEnvironmentRequest {
|
|
389
389
|
/**
|
|
390
|
-
* @public
|
|
391
390
|
* <p>The ID of the environment to delete.</p>
|
|
391
|
+
* @public
|
|
392
392
|
*/
|
|
393
393
|
environmentId: string | undefined;
|
|
394
394
|
}
|
|
@@ -402,14 +402,14 @@ export interface DeleteEnvironmentResult {
|
|
|
402
402
|
*/
|
|
403
403
|
export interface DeleteEnvironmentMembershipRequest {
|
|
404
404
|
/**
|
|
405
|
-
* @public
|
|
406
405
|
* <p>The ID of the environment to delete the environment member from.</p>
|
|
406
|
+
* @public
|
|
407
407
|
*/
|
|
408
408
|
environmentId: string | undefined;
|
|
409
409
|
/**
|
|
410
|
-
* @public
|
|
411
410
|
* <p>The Amazon Resource Name (ARN) of the environment member to delete from the
|
|
412
411
|
* environment.</p>
|
|
412
|
+
* @public
|
|
413
413
|
*/
|
|
414
414
|
userArn: string | undefined;
|
|
415
415
|
}
|
|
@@ -423,19 +423,18 @@ export interface DeleteEnvironmentMembershipResult {
|
|
|
423
423
|
*/
|
|
424
424
|
export interface DescribeEnvironmentMembershipsRequest {
|
|
425
425
|
/**
|
|
426
|
-
* @public
|
|
427
426
|
* <p>The Amazon Resource Name (ARN) of an individual environment member to get information
|
|
428
427
|
* about. If no value is specified, information about all environment members are
|
|
429
428
|
* returned.</p>
|
|
429
|
+
* @public
|
|
430
430
|
*/
|
|
431
431
|
userArn?: string;
|
|
432
432
|
/**
|
|
433
|
-
* @public
|
|
434
433
|
* <p>The ID of the environment to get environment member information about.</p>
|
|
434
|
+
* @public
|
|
435
435
|
*/
|
|
436
436
|
environmentId?: string;
|
|
437
437
|
/**
|
|
438
|
-
* @public
|
|
439
438
|
* <p>The type of environment member permissions to get information about. Available values
|
|
440
439
|
* include:</p>
|
|
441
440
|
* <ul>
|
|
@@ -453,20 +452,21 @@ export interface DescribeEnvironmentMembershipsRequest {
|
|
|
453
452
|
* </li>
|
|
454
453
|
* </ul>
|
|
455
454
|
* <p>If no value is specified, information about all environment members are returned.</p>
|
|
455
|
+
* @public
|
|
456
456
|
*/
|
|
457
457
|
permissions?: Permissions[];
|
|
458
458
|
/**
|
|
459
|
-
* @public
|
|
460
459
|
* <p>During a previous call, if there are more than 25 items in the list, only the first 25
|
|
461
460
|
* items are returned, along with a unique string called a <i>next token</i>. To
|
|
462
461
|
* get the next batch of items in the list, call this operation again, adding the next token to
|
|
463
462
|
* the call. To get all of the items in the list, keep calling this operation with each
|
|
464
463
|
* subsequent next token that is returned, until no more next tokens are returned.</p>
|
|
464
|
+
* @public
|
|
465
465
|
*/
|
|
466
466
|
nextToken?: string;
|
|
467
467
|
/**
|
|
468
|
-
* @public
|
|
469
468
|
* <p>The maximum number of environment members to get information about.</p>
|
|
469
|
+
* @public
|
|
470
470
|
*/
|
|
471
471
|
maxResults?: number;
|
|
472
472
|
}
|
|
@@ -475,15 +475,15 @@ export interface DescribeEnvironmentMembershipsRequest {
|
|
|
475
475
|
*/
|
|
476
476
|
export interface DescribeEnvironmentMembershipsResult {
|
|
477
477
|
/**
|
|
478
|
-
* @public
|
|
479
478
|
* <p>Information about the environment members for the environment.</p>
|
|
479
|
+
* @public
|
|
480
480
|
*/
|
|
481
481
|
memberships?: EnvironmentMember[];
|
|
482
482
|
/**
|
|
483
|
-
* @public
|
|
484
483
|
* <p>If there are more than 25 items in the list, only the first 25 items are returned, along
|
|
485
484
|
* with a unique string called a <i>next token</i>. To get the next batch of items
|
|
486
485
|
* in the list, call this operation again, adding the next token to the call.</p>
|
|
486
|
+
* @public
|
|
487
487
|
*/
|
|
488
488
|
nextToken?: string;
|
|
489
489
|
}
|
|
@@ -492,8 +492,8 @@ export interface DescribeEnvironmentMembershipsResult {
|
|
|
492
492
|
*/
|
|
493
493
|
export interface DescribeEnvironmentsRequest {
|
|
494
494
|
/**
|
|
495
|
-
* @public
|
|
496
495
|
* <p>The IDs of individual environments to get information about.</p>
|
|
496
|
+
* @public
|
|
497
497
|
*/
|
|
498
498
|
environmentIds: string[] | undefined;
|
|
499
499
|
}
|
|
@@ -513,13 +513,12 @@ export declare const EnvironmentLifecycleStatus: {
|
|
|
513
513
|
*/
|
|
514
514
|
export type EnvironmentLifecycleStatus = (typeof EnvironmentLifecycleStatus)[keyof typeof EnvironmentLifecycleStatus];
|
|
515
515
|
/**
|
|
516
|
-
* @public
|
|
517
516
|
* <p>Information about the current creation or deletion lifecycle state of an Cloud9 development
|
|
518
517
|
* environment.</p>
|
|
518
|
+
* @public
|
|
519
519
|
*/
|
|
520
520
|
export interface EnvironmentLifecycle {
|
|
521
521
|
/**
|
|
522
|
-
* @public
|
|
523
522
|
* <p>The current creation or deletion lifecycle state of the environment.</p>
|
|
524
523
|
* <ul>
|
|
525
524
|
* <li>
|
|
@@ -543,17 +542,18 @@ export interface EnvironmentLifecycle {
|
|
|
543
542
|
* <code>DELETE_FAILED</code>: The environment failed to delete.</p>
|
|
544
543
|
* </li>
|
|
545
544
|
* </ul>
|
|
545
|
+
* @public
|
|
546
546
|
*/
|
|
547
547
|
status?: EnvironmentLifecycleStatus;
|
|
548
548
|
/**
|
|
549
|
-
* @public
|
|
550
549
|
* <p>Any informational message about the lifecycle state of the environment.</p>
|
|
550
|
+
* @public
|
|
551
551
|
*/
|
|
552
552
|
reason?: string;
|
|
553
553
|
/**
|
|
554
|
-
* @public
|
|
555
554
|
* <p>If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services
|
|
556
555
|
* resource.</p>
|
|
556
|
+
* @public
|
|
557
557
|
*/
|
|
558
558
|
failureResource?: string;
|
|
559
559
|
}
|
|
@@ -591,27 +591,26 @@ export declare const EnvironmentType: {
|
|
|
591
591
|
*/
|
|
592
592
|
export type EnvironmentType = (typeof EnvironmentType)[keyof typeof EnvironmentType];
|
|
593
593
|
/**
|
|
594
|
-
* @public
|
|
595
594
|
* <p>Information about an Cloud9 development environment.</p>
|
|
595
|
+
* @public
|
|
596
596
|
*/
|
|
597
597
|
export interface Environment {
|
|
598
598
|
/**
|
|
599
|
-
* @public
|
|
600
599
|
* <p>The ID of the environment.</p>
|
|
600
|
+
* @public
|
|
601
601
|
*/
|
|
602
602
|
id?: string;
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>The name of the environment.</p>
|
|
605
|
+
* @public
|
|
606
606
|
*/
|
|
607
607
|
name?: string;
|
|
608
608
|
/**
|
|
609
|
-
* @public
|
|
610
609
|
* <p>The description for the environment.</p>
|
|
610
|
+
* @public
|
|
611
611
|
*/
|
|
612
612
|
description?: string;
|
|
613
613
|
/**
|
|
614
|
-
* @public
|
|
615
614
|
* <p>The type of environment. Valid values include the following:</p>
|
|
616
615
|
* <ul>
|
|
617
616
|
* <li>
|
|
@@ -623,31 +622,31 @@ export interface Environment {
|
|
|
623
622
|
* <code>ssh</code>: Your own server connects to the environment.</p>
|
|
624
623
|
* </li>
|
|
625
624
|
* </ul>
|
|
625
|
+
* @public
|
|
626
626
|
*/
|
|
627
627
|
type: EnvironmentType | undefined;
|
|
628
628
|
/**
|
|
629
|
-
* @public
|
|
630
629
|
* <p>The connection type used for connecting to an Amazon EC2 environment. <code>CONNECT_SSH</code>
|
|
631
630
|
* is selected by default.</p>
|
|
631
|
+
* @public
|
|
632
632
|
*/
|
|
633
633
|
connectionType?: ConnectionType;
|
|
634
634
|
/**
|
|
635
|
-
* @public
|
|
636
635
|
* <p>The Amazon Resource Name (ARN) of the environment.</p>
|
|
636
|
+
* @public
|
|
637
637
|
*/
|
|
638
638
|
arn: string | undefined;
|
|
639
639
|
/**
|
|
640
|
-
* @public
|
|
641
640
|
* <p>The Amazon Resource Name (ARN) of the environment owner.</p>
|
|
641
|
+
* @public
|
|
642
642
|
*/
|
|
643
643
|
ownerArn: string | undefined;
|
|
644
644
|
/**
|
|
645
|
-
* @public
|
|
646
645
|
* <p>The state of the environment in its creation or deletion lifecycle.</p>
|
|
646
|
+
* @public
|
|
647
647
|
*/
|
|
648
648
|
lifecycle?: EnvironmentLifecycle;
|
|
649
649
|
/**
|
|
650
|
-
* @public
|
|
651
650
|
* <p>Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
|
|
652
651
|
* Available values are:</p>
|
|
653
652
|
* <ul>
|
|
@@ -702,6 +701,7 @@ export interface Environment {
|
|
|
702
701
|
* </p>
|
|
703
702
|
* </li>
|
|
704
703
|
* </ul>
|
|
704
|
+
* @public
|
|
705
705
|
*/
|
|
706
706
|
managedCredentialsStatus?: ManagedCredentialsStatus;
|
|
707
707
|
}
|
|
@@ -710,8 +710,8 @@ export interface Environment {
|
|
|
710
710
|
*/
|
|
711
711
|
export interface DescribeEnvironmentsResult {
|
|
712
712
|
/**
|
|
713
|
-
* @public
|
|
714
713
|
* <p>Information about the environments that are returned.</p>
|
|
714
|
+
* @public
|
|
715
715
|
*/
|
|
716
716
|
environments?: Environment[];
|
|
717
717
|
}
|
|
@@ -720,8 +720,8 @@ export interface DescribeEnvironmentsResult {
|
|
|
720
720
|
*/
|
|
721
721
|
export interface DescribeEnvironmentStatusRequest {
|
|
722
722
|
/**
|
|
723
|
-
* @public
|
|
724
723
|
* <p>The ID of the environment to get status information about.</p>
|
|
724
|
+
* @public
|
|
725
725
|
*/
|
|
726
726
|
environmentId: string | undefined;
|
|
727
727
|
}
|
|
@@ -747,7 +747,6 @@ export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof Environm
|
|
|
747
747
|
*/
|
|
748
748
|
export interface DescribeEnvironmentStatusResult {
|
|
749
749
|
/**
|
|
750
|
-
* @public
|
|
751
750
|
* <p>The status of the environment. Available values include:</p>
|
|
752
751
|
* <ul>
|
|
753
752
|
* <li>
|
|
@@ -779,11 +778,12 @@ export interface DescribeEnvironmentStatusResult {
|
|
|
779
778
|
* <code>stopping</code>: The environment is stopping.</p>
|
|
780
779
|
* </li>
|
|
781
780
|
* </ul>
|
|
781
|
+
* @public
|
|
782
782
|
*/
|
|
783
783
|
status: EnvironmentStatus | undefined;
|
|
784
784
|
/**
|
|
785
|
-
* @public
|
|
786
785
|
* <p>Any informational message about the status of the environment.</p>
|
|
786
|
+
* @public
|
|
787
787
|
*/
|
|
788
788
|
message: string | undefined;
|
|
789
789
|
}
|
|
@@ -792,17 +792,17 @@ export interface DescribeEnvironmentStatusResult {
|
|
|
792
792
|
*/
|
|
793
793
|
export interface ListEnvironmentsRequest {
|
|
794
794
|
/**
|
|
795
|
-
* @public
|
|
796
795
|
* <p>During a previous call, if there are more than 25 items in the list, only the first 25
|
|
797
796
|
* items are returned, along with a unique string called a <i>next token</i>. To
|
|
798
797
|
* get the next batch of items in the list, call this operation again, adding the next token to
|
|
799
798
|
* the call. To get all of the items in the list, keep calling this operation with each
|
|
800
799
|
* subsequent next token that is returned, until no more next tokens are returned.</p>
|
|
800
|
+
* @public
|
|
801
801
|
*/
|
|
802
802
|
nextToken?: string;
|
|
803
803
|
/**
|
|
804
|
-
* @public
|
|
805
804
|
* <p>The maximum number of environments to get identifiers for.</p>
|
|
805
|
+
* @public
|
|
806
806
|
*/
|
|
807
807
|
maxResults?: number;
|
|
808
808
|
}
|
|
@@ -811,15 +811,15 @@ export interface ListEnvironmentsRequest {
|
|
|
811
811
|
*/
|
|
812
812
|
export interface ListEnvironmentsResult {
|
|
813
813
|
/**
|
|
814
|
-
* @public
|
|
815
814
|
* <p>If there are more than 25 items in the list, only the first 25 items are returned, along
|
|
816
815
|
* with a unique string called a <i>next token</i>. To get the next batch of items
|
|
817
816
|
* in the list, call this operation again, adding the next token to the call.</p>
|
|
817
|
+
* @public
|
|
818
818
|
*/
|
|
819
819
|
nextToken?: string;
|
|
820
820
|
/**
|
|
821
|
-
* @public
|
|
822
821
|
* <p>The list of environment identifiers.</p>
|
|
822
|
+
* @public
|
|
823
823
|
*/
|
|
824
824
|
environmentIds?: string[];
|
|
825
825
|
}
|
|
@@ -828,9 +828,9 @@ export interface ListEnvironmentsResult {
|
|
|
828
828
|
*/
|
|
829
829
|
export interface ListTagsForResourceRequest {
|
|
830
830
|
/**
|
|
831
|
-
* @public
|
|
832
831
|
* <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to get the tags
|
|
833
832
|
* for.</p>
|
|
833
|
+
* @public
|
|
834
834
|
*/
|
|
835
835
|
ResourceARN: string | undefined;
|
|
836
836
|
}
|
|
@@ -839,14 +839,14 @@ export interface ListTagsForResourceRequest {
|
|
|
839
839
|
*/
|
|
840
840
|
export interface ListTagsForResourceResponse {
|
|
841
841
|
/**
|
|
842
|
-
* @public
|
|
843
842
|
* <p>The list of tags associated with the Cloud9 development environment.</p>
|
|
843
|
+
* @public
|
|
844
844
|
*/
|
|
845
845
|
Tags?: Tag[];
|
|
846
846
|
}
|
|
847
847
|
/**
|
|
848
|
-
* @public
|
|
849
848
|
* <p>A concurrent access issue occurred.</p>
|
|
849
|
+
* @public
|
|
850
850
|
*/
|
|
851
851
|
export declare class ConcurrentAccessException extends __BaseException {
|
|
852
852
|
readonly name: "ConcurrentAccessException";
|
|
@@ -863,14 +863,14 @@ export declare class ConcurrentAccessException extends __BaseException {
|
|
|
863
863
|
*/
|
|
864
864
|
export interface TagResourceRequest {
|
|
865
865
|
/**
|
|
866
|
-
* @public
|
|
867
866
|
* <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to add tags
|
|
868
867
|
* to.</p>
|
|
868
|
+
* @public
|
|
869
869
|
*/
|
|
870
870
|
ResourceARN: string | undefined;
|
|
871
871
|
/**
|
|
872
|
-
* @public
|
|
873
872
|
* <p>The list of tags to add to the given Cloud9 development environment.</p>
|
|
873
|
+
* @public
|
|
874
874
|
*/
|
|
875
875
|
Tags: Tag[] | undefined;
|
|
876
876
|
}
|
|
@@ -884,15 +884,15 @@ export interface TagResourceResponse {
|
|
|
884
884
|
*/
|
|
885
885
|
export interface UntagResourceRequest {
|
|
886
886
|
/**
|
|
887
|
-
* @public
|
|
888
887
|
* <p>The Amazon Resource Name (ARN) of the Cloud9 development environment to remove tags
|
|
889
888
|
* from.</p>
|
|
889
|
+
* @public
|
|
890
890
|
*/
|
|
891
891
|
ResourceARN: string | undefined;
|
|
892
892
|
/**
|
|
893
|
-
* @public
|
|
894
893
|
* <p>The tag names of the tags to remove from the given Cloud9 development
|
|
895
894
|
* environment.</p>
|
|
895
|
+
* @public
|
|
896
896
|
*/
|
|
897
897
|
TagKeys: string[] | undefined;
|
|
898
898
|
}
|
|
@@ -918,22 +918,21 @@ export type ManagedCredentialsAction = (typeof ManagedCredentialsAction)[keyof t
|
|
|
918
918
|
*/
|
|
919
919
|
export interface UpdateEnvironmentRequest {
|
|
920
920
|
/**
|
|
921
|
-
* @public
|
|
922
921
|
* <p>The ID of the environment to change settings.</p>
|
|
922
|
+
* @public
|
|
923
923
|
*/
|
|
924
924
|
environmentId: string | undefined;
|
|
925
925
|
/**
|
|
926
|
-
* @public
|
|
927
926
|
* <p>A replacement name for the environment.</p>
|
|
927
|
+
* @public
|
|
928
928
|
*/
|
|
929
929
|
name?: string;
|
|
930
930
|
/**
|
|
931
|
-
* @public
|
|
932
931
|
* <p>Any new or replacement description for the environment.</p>
|
|
932
|
+
* @public
|
|
933
933
|
*/
|
|
934
934
|
description?: string;
|
|
935
935
|
/**
|
|
936
|
-
* @public
|
|
937
936
|
* <p>Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary
|
|
938
937
|
* credentials for an Cloud9 environment by using one of the following values:</p>
|
|
939
938
|
* <ul>
|
|
@@ -952,6 +951,7 @@ export interface UpdateEnvironmentRequest {
|
|
|
952
951
|
* <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
|
|
953
952
|
* owner.</p>
|
|
954
953
|
* </note>
|
|
954
|
+
* @public
|
|
955
955
|
*/
|
|
956
956
|
managedCredentialsAction?: ManagedCredentialsAction;
|
|
957
957
|
}
|
|
@@ -965,19 +965,18 @@ export interface UpdateEnvironmentResult {
|
|
|
965
965
|
*/
|
|
966
966
|
export interface UpdateEnvironmentMembershipRequest {
|
|
967
967
|
/**
|
|
968
|
-
* @public
|
|
969
968
|
* <p>The ID of the environment for the environment member whose settings you want to
|
|
970
969
|
* change.</p>
|
|
970
|
+
* @public
|
|
971
971
|
*/
|
|
972
972
|
environmentId: string | undefined;
|
|
973
973
|
/**
|
|
974
|
-
* @public
|
|
975
974
|
* <p>The Amazon Resource Name (ARN) of the environment member whose settings you want to
|
|
976
975
|
* change.</p>
|
|
976
|
+
* @public
|
|
977
977
|
*/
|
|
978
978
|
userArn: string | undefined;
|
|
979
979
|
/**
|
|
980
|
-
* @public
|
|
981
980
|
* <p>The replacement type of environment member permissions you want to associate with this
|
|
982
981
|
* environment member. Available values include:</p>
|
|
983
982
|
* <ul>
|
|
@@ -990,6 +989,7 @@ export interface UpdateEnvironmentMembershipRequest {
|
|
|
990
989
|
* <code>read-write</code>: Has read-write access to the environment.</p>
|
|
991
990
|
* </li>
|
|
992
991
|
* </ul>
|
|
992
|
+
* @public
|
|
993
993
|
*/
|
|
994
994
|
permissions: MemberPermissions | undefined;
|
|
995
995
|
}
|
|
@@ -998,8 +998,8 @@ export interface UpdateEnvironmentMembershipRequest {
|
|
|
998
998
|
*/
|
|
999
999
|
export interface UpdateEnvironmentMembershipResult {
|
|
1000
1000
|
/**
|
|
1001
|
-
* @public
|
|
1002
1001
|
* <p>Information about the environment member whose settings were changed.</p>
|
|
1002
|
+
* @public
|
|
1003
1003
|
*/
|
|
1004
1004
|
membership?: EnvironmentMember;
|
|
1005
1005
|
}
|