@aws-sdk/client-cloud9 3.934.0 → 3.935.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.
@@ -0,0 +1,114 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { Cloud9ServiceException as __BaseException } from "./Cloud9ServiceException";
3
+ /**
4
+ * <p>The target request is invalid.</p>
5
+ * @public
6
+ */
7
+ export declare class BadRequestException extends __BaseException {
8
+ readonly name: "BadRequestException";
9
+ readonly $fault: "client";
10
+ className?: string | undefined;
11
+ code?: number | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>A conflict occurred.</p>
19
+ * @public
20
+ */
21
+ export declare class ConflictException extends __BaseException {
22
+ readonly name: "ConflictException";
23
+ readonly $fault: "client";
24
+ className?: string | undefined;
25
+ code?: number | undefined;
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
30
+ }
31
+ /**
32
+ * <p>An access permissions issue occurred.</p>
33
+ * @public
34
+ */
35
+ export declare class ForbiddenException extends __BaseException {
36
+ readonly name: "ForbiddenException";
37
+ readonly $fault: "client";
38
+ className?: string | undefined;
39
+ code?: number | undefined;
40
+ /**
41
+ * @internal
42
+ */
43
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
44
+ }
45
+ /**
46
+ * <p>An internal server error occurred.</p>
47
+ * @public
48
+ */
49
+ export declare class InternalServerErrorException extends __BaseException {
50
+ readonly name: "InternalServerErrorException";
51
+ readonly $fault: "server";
52
+ className?: string | undefined;
53
+ code?: number | undefined;
54
+ /**
55
+ * @internal
56
+ */
57
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
58
+ }
59
+ /**
60
+ * <p>A service limit was exceeded.</p>
61
+ * @public
62
+ */
63
+ export declare class LimitExceededException extends __BaseException {
64
+ readonly name: "LimitExceededException";
65
+ readonly $fault: "client";
66
+ className?: string | undefined;
67
+ code?: number | undefined;
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p>The target resource cannot be found.</p>
75
+ * @public
76
+ */
77
+ export declare class NotFoundException extends __BaseException {
78
+ readonly name: "NotFoundException";
79
+ readonly $fault: "client";
80
+ className?: string | undefined;
81
+ code?: number | undefined;
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>Too many service requests were made over the given time period.</p>
89
+ * @public
90
+ */
91
+ export declare class TooManyRequestsException extends __BaseException {
92
+ readonly name: "TooManyRequestsException";
93
+ readonly $fault: "client";
94
+ className?: string | undefined;
95
+ code?: number | undefined;
96
+ /**
97
+ * @internal
98
+ */
99
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
100
+ }
101
+ /**
102
+ * <p>A concurrent access issue occurred.</p>
103
+ * @public
104
+ */
105
+ export declare class ConcurrentAccessException extends __BaseException {
106
+ readonly name: "ConcurrentAccessException";
107
+ readonly $fault: "client";
108
+ className?: string | undefined;
109
+ code?: number | undefined;
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>);
114
+ }
@@ -1,45 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { Cloud9ServiceException as __BaseException } from "./Cloud9ServiceException";
3
- /**
4
- * <p>The target request is invalid.</p>
5
- * @public
6
- */
7
- export declare class BadRequestException extends __BaseException {
8
- readonly name: "BadRequestException";
9
- readonly $fault: "client";
10
- className?: string | undefined;
11
- code?: number | undefined;
12
- /**
13
- * @internal
14
- */
15
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
16
- }
17
- /**
18
- * <p>A conflict occurred.</p>
19
- * @public
20
- */
21
- export declare class ConflictException extends __BaseException {
22
- readonly name: "ConflictException";
23
- readonly $fault: "client";
24
- className?: string | undefined;
25
- code?: number | undefined;
26
- /**
27
- * @internal
28
- */
29
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
30
- }
31
- /**
32
- * @public
33
- * @enum
34
- */
35
- export declare const ConnectionType: {
36
- readonly CONNECT_SSH: "CONNECT_SSH";
37
- readonly CONNECT_SSM: "CONNECT_SSM";
38
- };
39
- /**
40
- * @public
41
- */
42
- export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
1
+ import { ConnectionType, EnvironmentLifecycleStatus, EnvironmentStatus, EnvironmentType, ManagedCredentialsAction, ManagedCredentialsStatus, MemberPermissions, Permissions } from "./enums";
43
2
  /**
44
3
  * <p>Metadata that is associated with Amazon Web Services resources. In particular, a name-value pair that
45
4
  * can be associated with an Cloud9 development environment. There are two types of tags:
@@ -201,88 +160,6 @@ export interface CreateEnvironmentEC2Result {
201
160
  */
202
161
  environmentId?: string | undefined;
203
162
  }
204
- /**
205
- * <p>An access permissions issue occurred.</p>
206
- * @public
207
- */
208
- export declare class ForbiddenException extends __BaseException {
209
- readonly name: "ForbiddenException";
210
- readonly $fault: "client";
211
- className?: string | undefined;
212
- code?: number | undefined;
213
- /**
214
- * @internal
215
- */
216
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
217
- }
218
- /**
219
- * <p>An internal server error occurred.</p>
220
- * @public
221
- */
222
- export declare class InternalServerErrorException extends __BaseException {
223
- readonly name: "InternalServerErrorException";
224
- readonly $fault: "server";
225
- className?: string | undefined;
226
- code?: number | undefined;
227
- /**
228
- * @internal
229
- */
230
- constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
231
- }
232
- /**
233
- * <p>A service limit was exceeded.</p>
234
- * @public
235
- */
236
- export declare class LimitExceededException extends __BaseException {
237
- readonly name: "LimitExceededException";
238
- readonly $fault: "client";
239
- className?: string | undefined;
240
- code?: number | undefined;
241
- /**
242
- * @internal
243
- */
244
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
245
- }
246
- /**
247
- * <p>The target resource cannot be found.</p>
248
- * @public
249
- */
250
- export declare class NotFoundException extends __BaseException {
251
- readonly name: "NotFoundException";
252
- readonly $fault: "client";
253
- className?: string | undefined;
254
- code?: number | undefined;
255
- /**
256
- * @internal
257
- */
258
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
259
- }
260
- /**
261
- * <p>Too many service requests were made over the given time period.</p>
262
- * @public
263
- */
264
- export declare class TooManyRequestsException extends __BaseException {
265
- readonly name: "TooManyRequestsException";
266
- readonly $fault: "client";
267
- className?: string | undefined;
268
- code?: number | undefined;
269
- /**
270
- * @internal
271
- */
272
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
273
- }
274
- /**
275
- * @public
276
- * @enum
277
- */
278
- export declare const MemberPermissions: {
279
- readonly READ_ONLY: "read-only";
280
- readonly READ_WRITE: "read-write";
281
- };
282
- /**
283
- * @public
284
- */
285
- export type MemberPermissions = (typeof MemberPermissions)[keyof typeof MemberPermissions];
286
163
  /**
287
164
  * @public
288
165
  */
@@ -314,19 +191,6 @@ export interface CreateEnvironmentMembershipRequest {
314
191
  */
315
192
  permissions: MemberPermissions | undefined;
316
193
  }
317
- /**
318
- * @public
319
- * @enum
320
- */
321
- export declare const Permissions: {
322
- readonly OWNER: "owner";
323
- readonly READ_ONLY: "read-only";
324
- readonly READ_WRITE: "read-write";
325
- };
326
- /**
327
- * @public
328
- */
329
- export type Permissions = (typeof Permissions)[keyof typeof Permissions];
330
194
  /**
331
195
  * <p>Information about an environment member for an Cloud9 development environment.</p>
332
196
  * @public
@@ -499,21 +363,6 @@ export interface DescribeEnvironmentsRequest {
499
363
  */
500
364
  environmentIds: string[] | undefined;
501
365
  }
502
- /**
503
- * @public
504
- * @enum
505
- */
506
- export declare const EnvironmentLifecycleStatus: {
507
- readonly CREATED: "CREATED";
508
- readonly CREATE_FAILED: "CREATE_FAILED";
509
- readonly CREATING: "CREATING";
510
- readonly DELETE_FAILED: "DELETE_FAILED";
511
- readonly DELETING: "DELETING";
512
- };
513
- /**
514
- * @public
515
- */
516
- export type EnvironmentLifecycleStatus = (typeof EnvironmentLifecycleStatus)[keyof typeof EnvironmentLifecycleStatus];
517
366
  /**
518
367
  * <p>Information about the current creation or deletion lifecycle state of an Cloud9 development
519
368
  * environment.</p>
@@ -559,39 +408,6 @@ export interface EnvironmentLifecycle {
559
408
  */
560
409
  failureResource?: string | undefined;
561
410
  }
562
- /**
563
- * @public
564
- * @enum
565
- */
566
- export declare const ManagedCredentialsStatus: {
567
- readonly DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR";
568
- readonly DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT";
569
- readonly DISABLED_BY_OWNER: "DISABLED_BY_OWNER";
570
- readonly ENABLED_BY_OWNER: "ENABLED_BY_OWNER";
571
- readonly ENABLED_ON_CREATE: "ENABLED_ON_CREATE";
572
- readonly FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR";
573
- readonly FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER";
574
- readonly PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR";
575
- readonly PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER";
576
- readonly PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR";
577
- readonly PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER";
578
- };
579
- /**
580
- * @public
581
- */
582
- export type ManagedCredentialsStatus = (typeof ManagedCredentialsStatus)[keyof typeof ManagedCredentialsStatus];
583
- /**
584
- * @public
585
- * @enum
586
- */
587
- export declare const EnvironmentType: {
588
- readonly EC2: "ec2";
589
- readonly SSH: "ssh";
590
- };
591
- /**
592
- * @public
593
- */
594
- export type EnvironmentType = (typeof EnvironmentType)[keyof typeof EnvironmentType];
595
411
  /**
596
412
  * <p>Information about an Cloud9 development environment.</p>
597
413
  * @public
@@ -727,23 +543,6 @@ export interface DescribeEnvironmentStatusRequest {
727
543
  */
728
544
  environmentId: string | undefined;
729
545
  }
730
- /**
731
- * @public
732
- * @enum
733
- */
734
- export declare const EnvironmentStatus: {
735
- readonly CONNECTING: "connecting";
736
- readonly CREATING: "creating";
737
- readonly DELETING: "deleting";
738
- readonly ERROR: "error";
739
- readonly READY: "ready";
740
- readonly STOPPED: "stopped";
741
- readonly STOPPING: "stopping";
742
- };
743
- /**
744
- * @public
745
- */
746
- export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
747
546
  /**
748
547
  * @public
749
548
  */
@@ -846,20 +645,6 @@ export interface ListTagsForResourceResponse {
846
645
  */
847
646
  Tags?: Tag[] | undefined;
848
647
  }
849
- /**
850
- * <p>A concurrent access issue occurred.</p>
851
- * @public
852
- */
853
- export declare class ConcurrentAccessException extends __BaseException {
854
- readonly name: "ConcurrentAccessException";
855
- readonly $fault: "client";
856
- className?: string | undefined;
857
- code?: number | undefined;
858
- /**
859
- * @internal
860
- */
861
- constructor(opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>);
862
- }
863
648
  /**
864
649
  * @public
865
650
  */
@@ -903,18 +688,6 @@ export interface UntagResourceRequest {
903
688
  */
904
689
  export interface UntagResourceResponse {
905
690
  }
906
- /**
907
- * @public
908
- * @enum
909
- */
910
- export declare const ManagedCredentialsAction: {
911
- readonly DISABLE: "DISABLE";
912
- readonly ENABLE: "ENABLE";
913
- };
914
- /**
915
- * @public
916
- */
917
- export type ManagedCredentialsAction = (typeof ManagedCredentialsAction)[keyof typeof ManagedCredentialsAction];
918
691
  /**
919
692
  * @public
920
693
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { Cloud9ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { Cloud9ServiceException } from "./models/Cloud9ServiceException";
@@ -0,0 +1,65 @@
1
+ export declare const ConnectionType: {
2
+ readonly CONNECT_SSH: "CONNECT_SSH";
3
+ readonly CONNECT_SSM: "CONNECT_SSM";
4
+ };
5
+ export type ConnectionType =
6
+ (typeof ConnectionType)[keyof typeof ConnectionType];
7
+ export declare const MemberPermissions: {
8
+ readonly READ_ONLY: "read-only";
9
+ readonly READ_WRITE: "read-write";
10
+ };
11
+ export type MemberPermissions =
12
+ (typeof MemberPermissions)[keyof typeof MemberPermissions];
13
+ export declare const Permissions: {
14
+ readonly OWNER: "owner";
15
+ readonly READ_ONLY: "read-only";
16
+ readonly READ_WRITE: "read-write";
17
+ };
18
+ export type Permissions = (typeof Permissions)[keyof typeof Permissions];
19
+ export declare const EnvironmentLifecycleStatus: {
20
+ readonly CREATED: "CREATED";
21
+ readonly CREATE_FAILED: "CREATE_FAILED";
22
+ readonly CREATING: "CREATING";
23
+ readonly DELETE_FAILED: "DELETE_FAILED";
24
+ readonly DELETING: "DELETING";
25
+ };
26
+ export type EnvironmentLifecycleStatus =
27
+ (typeof EnvironmentLifecycleStatus)[keyof typeof EnvironmentLifecycleStatus];
28
+ export declare const ManagedCredentialsStatus: {
29
+ readonly DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR";
30
+ readonly DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT";
31
+ readonly DISABLED_BY_OWNER: "DISABLED_BY_OWNER";
32
+ readonly ENABLED_BY_OWNER: "ENABLED_BY_OWNER";
33
+ readonly ENABLED_ON_CREATE: "ENABLED_ON_CREATE";
34
+ readonly FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR";
35
+ readonly FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER";
36
+ readonly PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR";
37
+ readonly PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER";
38
+ readonly PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR";
39
+ readonly PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER";
40
+ };
41
+ export type ManagedCredentialsStatus =
42
+ (typeof ManagedCredentialsStatus)[keyof typeof ManagedCredentialsStatus];
43
+ export declare const EnvironmentType: {
44
+ readonly EC2: "ec2";
45
+ readonly SSH: "ssh";
46
+ };
47
+ export type EnvironmentType =
48
+ (typeof EnvironmentType)[keyof typeof EnvironmentType];
49
+ export declare const EnvironmentStatus: {
50
+ readonly CONNECTING: "connecting";
51
+ readonly CREATING: "creating";
52
+ readonly DELETING: "deleting";
53
+ readonly ERROR: "error";
54
+ readonly READY: "ready";
55
+ readonly STOPPED: "stopped";
56
+ readonly STOPPING: "stopping";
57
+ };
58
+ export type EnvironmentStatus =
59
+ (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
60
+ export declare const ManagedCredentialsAction: {
61
+ readonly DISABLE: "DISABLE";
62
+ readonly ENABLE: "ENABLE";
63
+ };
64
+ export type ManagedCredentialsAction =
65
+ (typeof ManagedCredentialsAction)[keyof typeof ManagedCredentialsAction];
@@ -0,0 +1,68 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { Cloud9ServiceException as __BaseException } from "./Cloud9ServiceException";
3
+ export declare class BadRequestException extends __BaseException {
4
+ readonly name: "BadRequestException";
5
+ readonly $fault: "client";
6
+ className?: string | undefined;
7
+ code?: number | undefined;
8
+ constructor(
9
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
10
+ );
11
+ }
12
+ export declare class ConflictException extends __BaseException {
13
+ readonly name: "ConflictException";
14
+ readonly $fault: "client";
15
+ className?: string | undefined;
16
+ code?: number | undefined;
17
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
+ }
19
+ export declare class ForbiddenException extends __BaseException {
20
+ readonly name: "ForbiddenException";
21
+ readonly $fault: "client";
22
+ className?: string | undefined;
23
+ code?: number | undefined;
24
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
25
+ }
26
+ export declare class InternalServerErrorException extends __BaseException {
27
+ readonly name: "InternalServerErrorException";
28
+ readonly $fault: "server";
29
+ className?: string | undefined;
30
+ code?: number | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
33
+ );
34
+ }
35
+ export declare class LimitExceededException extends __BaseException {
36
+ readonly name: "LimitExceededException";
37
+ readonly $fault: "client";
38
+ className?: string | undefined;
39
+ code?: number | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
42
+ );
43
+ }
44
+ export declare class NotFoundException extends __BaseException {
45
+ readonly name: "NotFoundException";
46
+ readonly $fault: "client";
47
+ className?: string | undefined;
48
+ code?: number | undefined;
49
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
50
+ }
51
+ export declare class TooManyRequestsException extends __BaseException {
52
+ readonly name: "TooManyRequestsException";
53
+ readonly $fault: "client";
54
+ className?: string | undefined;
55
+ code?: number | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
58
+ );
59
+ }
60
+ export declare class ConcurrentAccessException extends __BaseException {
61
+ readonly name: "ConcurrentAccessException";
62
+ readonly $fault: "client";
63
+ className?: string | undefined;
64
+ code?: number | undefined;
65
+ constructor(
66
+ opts: __ExceptionOptionType<ConcurrentAccessException, __BaseException>
67
+ );
68
+ }