@aws-sdk/client-cloud9 3.300.0 → 3.303.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.
@@ -33,11 +33,10 @@ class ConflictException extends Cloud9ServiceException_1.Cloud9ServiceException
33
33
  }
34
34
  }
35
35
  exports.ConflictException = ConflictException;
36
- var ConnectionType;
37
- (function (ConnectionType) {
38
- ConnectionType["CONNECT_SSH"] = "CONNECT_SSH";
39
- ConnectionType["CONNECT_SSM"] = "CONNECT_SSM";
40
- })(ConnectionType = exports.ConnectionType || (exports.ConnectionType = {}));
36
+ exports.ConnectionType = {
37
+ CONNECT_SSH: "CONNECT_SSH",
38
+ CONNECT_SSM: "CONNECT_SSM",
39
+ };
41
40
  class ForbiddenException extends Cloud9ServiceException_1.Cloud9ServiceException {
42
41
  constructor(opts) {
43
42
  super({
@@ -113,54 +112,48 @@ class TooManyRequestsException extends Cloud9ServiceException_1.Cloud9ServiceExc
113
112
  }
114
113
  }
115
114
  exports.TooManyRequestsException = TooManyRequestsException;
116
- var MemberPermissions;
117
- (function (MemberPermissions) {
118
- MemberPermissions["READ_ONLY"] = "read-only";
119
- MemberPermissions["READ_WRITE"] = "read-write";
120
- })(MemberPermissions = exports.MemberPermissions || (exports.MemberPermissions = {}));
121
- var Permissions;
122
- (function (Permissions) {
123
- Permissions["OWNER"] = "owner";
124
- Permissions["READ_ONLY"] = "read-only";
125
- Permissions["READ_WRITE"] = "read-write";
126
- })(Permissions = exports.Permissions || (exports.Permissions = {}));
127
- var EnvironmentLifecycleStatus;
128
- (function (EnvironmentLifecycleStatus) {
129
- EnvironmentLifecycleStatus["CREATED"] = "CREATED";
130
- EnvironmentLifecycleStatus["CREATE_FAILED"] = "CREATE_FAILED";
131
- EnvironmentLifecycleStatus["CREATING"] = "CREATING";
132
- EnvironmentLifecycleStatus["DELETE_FAILED"] = "DELETE_FAILED";
133
- EnvironmentLifecycleStatus["DELETING"] = "DELETING";
134
- })(EnvironmentLifecycleStatus = exports.EnvironmentLifecycleStatus || (exports.EnvironmentLifecycleStatus = {}));
135
- var ManagedCredentialsStatus;
136
- (function (ManagedCredentialsStatus) {
137
- ManagedCredentialsStatus["DISABLED_BY_COLLABORATOR"] = "DISABLED_BY_COLLABORATOR";
138
- ManagedCredentialsStatus["DISABLED_BY_DEFAULT"] = "DISABLED_BY_DEFAULT";
139
- ManagedCredentialsStatus["DISABLED_BY_OWNER"] = "DISABLED_BY_OWNER";
140
- ManagedCredentialsStatus["ENABLED_BY_OWNER"] = "ENABLED_BY_OWNER";
141
- ManagedCredentialsStatus["ENABLED_ON_CREATE"] = "ENABLED_ON_CREATE";
142
- ManagedCredentialsStatus["FAILED_REMOVAL_BY_COLLABORATOR"] = "FAILED_REMOVAL_BY_COLLABORATOR";
143
- ManagedCredentialsStatus["FAILED_REMOVAL_BY_OWNER"] = "FAILED_REMOVAL_BY_OWNER";
144
- ManagedCredentialsStatus["PENDING_REMOVAL_BY_COLLABORATOR"] = "PENDING_REMOVAL_BY_COLLABORATOR";
145
- ManagedCredentialsStatus["PENDING_REMOVAL_BY_OWNER"] = "PENDING_REMOVAL_BY_OWNER";
146
- ManagedCredentialsStatus["PENDING_START_REMOVAL_BY_COLLABORATOR"] = "PENDING_START_REMOVAL_BY_COLLABORATOR";
147
- ManagedCredentialsStatus["PENDING_START_REMOVAL_BY_OWNER"] = "PENDING_START_REMOVAL_BY_OWNER";
148
- })(ManagedCredentialsStatus = exports.ManagedCredentialsStatus || (exports.ManagedCredentialsStatus = {}));
149
- var EnvironmentType;
150
- (function (EnvironmentType) {
151
- EnvironmentType["EC2"] = "ec2";
152
- EnvironmentType["SSH"] = "ssh";
153
- })(EnvironmentType = exports.EnvironmentType || (exports.EnvironmentType = {}));
154
- var EnvironmentStatus;
155
- (function (EnvironmentStatus) {
156
- EnvironmentStatus["CONNECTING"] = "connecting";
157
- EnvironmentStatus["CREATING"] = "creating";
158
- EnvironmentStatus["DELETING"] = "deleting";
159
- EnvironmentStatus["ERROR"] = "error";
160
- EnvironmentStatus["READY"] = "ready";
161
- EnvironmentStatus["STOPPED"] = "stopped";
162
- EnvironmentStatus["STOPPING"] = "stopping";
163
- })(EnvironmentStatus = exports.EnvironmentStatus || (exports.EnvironmentStatus = {}));
115
+ exports.MemberPermissions = {
116
+ READ_ONLY: "read-only",
117
+ READ_WRITE: "read-write",
118
+ };
119
+ exports.Permissions = {
120
+ OWNER: "owner",
121
+ READ_ONLY: "read-only",
122
+ READ_WRITE: "read-write",
123
+ };
124
+ exports.EnvironmentLifecycleStatus = {
125
+ CREATED: "CREATED",
126
+ CREATE_FAILED: "CREATE_FAILED",
127
+ CREATING: "CREATING",
128
+ DELETE_FAILED: "DELETE_FAILED",
129
+ DELETING: "DELETING",
130
+ };
131
+ exports.ManagedCredentialsStatus = {
132
+ DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR",
133
+ DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT",
134
+ DISABLED_BY_OWNER: "DISABLED_BY_OWNER",
135
+ ENABLED_BY_OWNER: "ENABLED_BY_OWNER",
136
+ ENABLED_ON_CREATE: "ENABLED_ON_CREATE",
137
+ FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR",
138
+ FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER",
139
+ PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR",
140
+ PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER",
141
+ PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR",
142
+ PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER",
143
+ };
144
+ exports.EnvironmentType = {
145
+ EC2: "ec2",
146
+ SSH: "ssh",
147
+ };
148
+ exports.EnvironmentStatus = {
149
+ CONNECTING: "connecting",
150
+ CREATING: "creating",
151
+ DELETING: "deleting",
152
+ ERROR: "error",
153
+ READY: "ready",
154
+ STOPPED: "stopped",
155
+ STOPPING: "stopping",
156
+ };
164
157
  class ConcurrentAccessException extends Cloud9ServiceException_1.Cloud9ServiceException {
165
158
  constructor(opts) {
166
159
  super({
@@ -176,11 +169,10 @@ class ConcurrentAccessException extends Cloud9ServiceException_1.Cloud9ServiceEx
176
169
  }
177
170
  }
178
171
  exports.ConcurrentAccessException = ConcurrentAccessException;
179
- var ManagedCredentialsAction;
180
- (function (ManagedCredentialsAction) {
181
- ManagedCredentialsAction["DISABLE"] = "DISABLE";
182
- ManagedCredentialsAction["ENABLE"] = "ENABLE";
183
- })(ManagedCredentialsAction = exports.ManagedCredentialsAction || (exports.ManagedCredentialsAction = {}));
172
+ exports.ManagedCredentialsAction = {
173
+ DISABLE: "DISABLE",
174
+ ENABLE: "ENABLE",
175
+ };
184
176
  const TagFilterSensitiveLog = (obj) => ({
185
177
  ...obj,
186
178
  ...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
@@ -28,11 +28,10 @@ export class ConflictException extends __BaseException {
28
28
  this.code = opts.code;
29
29
  }
30
30
  }
31
- export var ConnectionType;
32
- (function (ConnectionType) {
33
- ConnectionType["CONNECT_SSH"] = "CONNECT_SSH";
34
- ConnectionType["CONNECT_SSM"] = "CONNECT_SSM";
35
- })(ConnectionType || (ConnectionType = {}));
31
+ export const ConnectionType = {
32
+ CONNECT_SSH: "CONNECT_SSH",
33
+ CONNECT_SSM: "CONNECT_SSM",
34
+ };
36
35
  export class ForbiddenException extends __BaseException {
37
36
  constructor(opts) {
38
37
  super({
@@ -103,54 +102,48 @@ export class TooManyRequestsException extends __BaseException {
103
102
  this.code = opts.code;
104
103
  }
105
104
  }
106
- export var MemberPermissions;
107
- (function (MemberPermissions) {
108
- MemberPermissions["READ_ONLY"] = "read-only";
109
- MemberPermissions["READ_WRITE"] = "read-write";
110
- })(MemberPermissions || (MemberPermissions = {}));
111
- export var Permissions;
112
- (function (Permissions) {
113
- Permissions["OWNER"] = "owner";
114
- Permissions["READ_ONLY"] = "read-only";
115
- Permissions["READ_WRITE"] = "read-write";
116
- })(Permissions || (Permissions = {}));
117
- export var EnvironmentLifecycleStatus;
118
- (function (EnvironmentLifecycleStatus) {
119
- EnvironmentLifecycleStatus["CREATED"] = "CREATED";
120
- EnvironmentLifecycleStatus["CREATE_FAILED"] = "CREATE_FAILED";
121
- EnvironmentLifecycleStatus["CREATING"] = "CREATING";
122
- EnvironmentLifecycleStatus["DELETE_FAILED"] = "DELETE_FAILED";
123
- EnvironmentLifecycleStatus["DELETING"] = "DELETING";
124
- })(EnvironmentLifecycleStatus || (EnvironmentLifecycleStatus = {}));
125
- export var ManagedCredentialsStatus;
126
- (function (ManagedCredentialsStatus) {
127
- ManagedCredentialsStatus["DISABLED_BY_COLLABORATOR"] = "DISABLED_BY_COLLABORATOR";
128
- ManagedCredentialsStatus["DISABLED_BY_DEFAULT"] = "DISABLED_BY_DEFAULT";
129
- ManagedCredentialsStatus["DISABLED_BY_OWNER"] = "DISABLED_BY_OWNER";
130
- ManagedCredentialsStatus["ENABLED_BY_OWNER"] = "ENABLED_BY_OWNER";
131
- ManagedCredentialsStatus["ENABLED_ON_CREATE"] = "ENABLED_ON_CREATE";
132
- ManagedCredentialsStatus["FAILED_REMOVAL_BY_COLLABORATOR"] = "FAILED_REMOVAL_BY_COLLABORATOR";
133
- ManagedCredentialsStatus["FAILED_REMOVAL_BY_OWNER"] = "FAILED_REMOVAL_BY_OWNER";
134
- ManagedCredentialsStatus["PENDING_REMOVAL_BY_COLLABORATOR"] = "PENDING_REMOVAL_BY_COLLABORATOR";
135
- ManagedCredentialsStatus["PENDING_REMOVAL_BY_OWNER"] = "PENDING_REMOVAL_BY_OWNER";
136
- ManagedCredentialsStatus["PENDING_START_REMOVAL_BY_COLLABORATOR"] = "PENDING_START_REMOVAL_BY_COLLABORATOR";
137
- ManagedCredentialsStatus["PENDING_START_REMOVAL_BY_OWNER"] = "PENDING_START_REMOVAL_BY_OWNER";
138
- })(ManagedCredentialsStatus || (ManagedCredentialsStatus = {}));
139
- export var EnvironmentType;
140
- (function (EnvironmentType) {
141
- EnvironmentType["EC2"] = "ec2";
142
- EnvironmentType["SSH"] = "ssh";
143
- })(EnvironmentType || (EnvironmentType = {}));
144
- export var EnvironmentStatus;
145
- (function (EnvironmentStatus) {
146
- EnvironmentStatus["CONNECTING"] = "connecting";
147
- EnvironmentStatus["CREATING"] = "creating";
148
- EnvironmentStatus["DELETING"] = "deleting";
149
- EnvironmentStatus["ERROR"] = "error";
150
- EnvironmentStatus["READY"] = "ready";
151
- EnvironmentStatus["STOPPED"] = "stopped";
152
- EnvironmentStatus["STOPPING"] = "stopping";
153
- })(EnvironmentStatus || (EnvironmentStatus = {}));
105
+ export const MemberPermissions = {
106
+ READ_ONLY: "read-only",
107
+ READ_WRITE: "read-write",
108
+ };
109
+ export const Permissions = {
110
+ OWNER: "owner",
111
+ READ_ONLY: "read-only",
112
+ READ_WRITE: "read-write",
113
+ };
114
+ export const EnvironmentLifecycleStatus = {
115
+ CREATED: "CREATED",
116
+ CREATE_FAILED: "CREATE_FAILED",
117
+ CREATING: "CREATING",
118
+ DELETE_FAILED: "DELETE_FAILED",
119
+ DELETING: "DELETING",
120
+ };
121
+ export const ManagedCredentialsStatus = {
122
+ DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR",
123
+ DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT",
124
+ DISABLED_BY_OWNER: "DISABLED_BY_OWNER",
125
+ ENABLED_BY_OWNER: "ENABLED_BY_OWNER",
126
+ ENABLED_ON_CREATE: "ENABLED_ON_CREATE",
127
+ FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR",
128
+ FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER",
129
+ PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR",
130
+ PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER",
131
+ PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR",
132
+ PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER",
133
+ };
134
+ export const EnvironmentType = {
135
+ EC2: "ec2",
136
+ SSH: "ssh",
137
+ };
138
+ export const EnvironmentStatus = {
139
+ CONNECTING: "connecting",
140
+ CREATING: "creating",
141
+ DELETING: "deleting",
142
+ ERROR: "error",
143
+ READY: "ready",
144
+ STOPPED: "stopped",
145
+ STOPPING: "stopping",
146
+ };
154
147
  export class ConcurrentAccessException extends __BaseException {
155
148
  constructor(opts) {
156
149
  super({
@@ -165,11 +158,10 @@ export class ConcurrentAccessException extends __BaseException {
165
158
  this.code = opts.code;
166
159
  }
167
160
  }
168
- export var ManagedCredentialsAction;
169
- (function (ManagedCredentialsAction) {
170
- ManagedCredentialsAction["DISABLE"] = "DISABLE";
171
- ManagedCredentialsAction["ENABLE"] = "ENABLE";
172
- })(ManagedCredentialsAction || (ManagedCredentialsAction = {}));
161
+ export const ManagedCredentialsAction = {
162
+ DISABLE: "DISABLE",
163
+ ENABLE: "ENABLE",
164
+ };
173
165
  export const TagFilterSensitiveLog = (obj) => ({
174
166
  ...obj,
175
167
  ...(obj.Key && { Key: SENSITIVE_STRING }),
@@ -27,7 +27,7 @@ export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2R
27
27
  * import { Cloud9Client, CreateEnvironmentEC2Command } from "@aws-sdk/client-cloud9"; // ES Modules import
28
28
  * // const { Cloud9Client, CreateEnvironmentEC2Command } = require("@aws-sdk/client-cloud9"); // CommonJS import
29
29
  * const client = new Cloud9Client(config);
30
- * const input = {
30
+ * const input = { // CreateEnvironmentEC2Request
31
31
  * name: "STRING_VALUE", // required
32
32
  * description: "STRING_VALUE",
33
33
  * clientRequestToken: "STRING_VALUE",
@@ -36,8 +36,8 @@ export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2R
36
36
  * imageId: "STRING_VALUE",
37
37
  * automaticStopTimeMinutes: Number("int"),
38
38
  * ownerArn: "STRING_VALUE",
39
- * tags: [
40
- * {
39
+ * tags: [ // TagList
40
+ * { // Tag
41
41
  * Key: "STRING_VALUE", // required
42
42
  * Value: "STRING_VALUE", // required
43
43
  * },
@@ -26,7 +26,7 @@ export interface CreateEnvironmentMembershipCommandOutput extends CreateEnvironm
26
26
  * import { Cloud9Client, CreateEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, CreateEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
29
+ * const input = { // CreateEnvironmentMembershipRequest
30
30
  * environmentId: "STRING_VALUE", // required
31
31
  * userArn: "STRING_VALUE", // required
32
32
  * permissions: "read-write" || "read-only", // required
@@ -27,7 +27,7 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult,
27
27
  * import { Cloud9Client, DeleteEnvironmentCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
28
28
  * // const { Cloud9Client, DeleteEnvironmentCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
29
29
  * const client = new Cloud9Client(config);
30
- * const input = {
30
+ * const input = { // DeleteEnvironmentRequest
31
31
  * environmentId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeleteEnvironmentCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteEnvironmentMembershipCommandOutput extends DeleteEnvironm
26
26
  * import { Cloud9Client, DeleteEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, DeleteEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
29
+ * const input = { // DeleteEnvironmentMembershipRequest
30
30
  * environmentId: "STRING_VALUE", // required
31
31
  * userArn: "STRING_VALUE", // required
32
32
  * };
@@ -26,10 +26,10 @@ export interface DescribeEnvironmentMembershipsCommandOutput extends DescribeEnv
26
26
  * import { Cloud9Client, DescribeEnvironmentMembershipsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, DescribeEnvironmentMembershipsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
29
+ * const input = { // DescribeEnvironmentMembershipsRequest
30
30
  * userArn: "STRING_VALUE",
31
31
  * environmentId: "STRING_VALUE",
32
- * permissions: [
32
+ * permissions: [ // PermissionsList
33
33
  * "owner" || "read-write" || "read-only",
34
34
  * ],
35
35
  * nextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeEnvironmentStatusCommandOutput extends DescribeEnvironm
26
26
  * import { Cloud9Client, DescribeEnvironmentStatusCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, DescribeEnvironmentStatusCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
29
+ * const input = { // DescribeEnvironmentStatusRequest
30
30
  * environmentId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeEnvironmentStatusCommand(input);
@@ -26,8 +26,8 @@ export interface DescribeEnvironmentsCommandOutput extends DescribeEnvironmentsR
26
26
  * import { Cloud9Client, DescribeEnvironmentsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, DescribeEnvironmentsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
30
- * environmentIds: [ // required
29
+ * const input = { // DescribeEnvironmentsRequest
30
+ * environmentIds: [ // BoundedEnvironmentIdList // required
31
31
  * "STRING_VALUE",
32
32
  * ],
33
33
  * };
@@ -26,7 +26,7 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResult, _
26
26
  * import { Cloud9Client, ListEnvironmentsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, ListEnvironmentsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
29
+ * const input = { // ListEnvironmentsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { Cloud9Client, ListTagsForResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, ListTagsForResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -30,10 +30,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
30
30
  * import { Cloud9Client, TagResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
31
31
  * // const { Cloud9Client, TagResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
32
32
  * const client = new Cloud9Client(config);
33
- * const input = {
33
+ * const input = { // TagResourceRequest
34
34
  * ResourceARN: "STRING_VALUE", // required
35
- * Tags: [ // required
36
- * {
35
+ * Tags: [ // TagList // required
36
+ * { // Tag
37
37
  * Key: "STRING_VALUE", // required
38
38
  * Value: "STRING_VALUE", // required
39
39
  * },
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { Cloud9Client, UntagResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, UntagResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,7 +26,7 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentResult,
26
26
  * import { Cloud9Client, UpdateEnvironmentCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
27
27
  * // const { Cloud9Client, UpdateEnvironmentCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
28
28
  * const client = new Cloud9Client(config);
29
- * const input = {
29
+ * const input = { // UpdateEnvironmentRequest
30
30
  * environmentId: "STRING_VALUE", // required
31
31
  * name: "STRING_VALUE",
32
32
  * description: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface UpdateEnvironmentMembershipCommandOutput extends UpdateEnvironm
27
27
  * import { Cloud9Client, UpdateEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
28
28
  * // const { Cloud9Client, UpdateEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
29
29
  * const client = new Cloud9Client(config);
30
- * const input = {
30
+ * const input = { // UpdateEnvironmentMembershipRequest
31
31
  * environmentId: "STRING_VALUE", // required
32
32
  * userArn: "STRING_VALUE", // required
33
33
  * permissions: "read-write" || "read-only", // required
@@ -30,11 +30,16 @@ export declare class ConflictException extends __BaseException {
30
30
  }
31
31
  /**
32
32
  * @public
33
+ * @enum
33
34
  */
34
- export declare enum ConnectionType {
35
- CONNECT_SSH = "CONNECT_SSH",
36
- CONNECT_SSM = "CONNECT_SSM"
37
- }
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];
38
43
  /**
39
44
  * @public
40
45
  * <p>Metadata that is associated with Amazon Web Services resources. In particular, a name-value pair that
@@ -246,11 +251,16 @@ export declare class TooManyRequestsException extends __BaseException {
246
251
  }
247
252
  /**
248
253
  * @public
254
+ * @enum
249
255
  */
250
- export declare enum MemberPermissions {
251
- READ_ONLY = "read-only",
252
- READ_WRITE = "read-write"
253
- }
256
+ export declare const MemberPermissions: {
257
+ readonly READ_ONLY: "read-only";
258
+ readonly READ_WRITE: "read-write";
259
+ };
260
+ /**
261
+ * @public
262
+ */
263
+ export type MemberPermissions = (typeof MemberPermissions)[keyof typeof MemberPermissions];
254
264
  /**
255
265
  * @public
256
266
  */
@@ -281,12 +291,17 @@ export interface CreateEnvironmentMembershipRequest {
281
291
  }
282
292
  /**
283
293
  * @public
294
+ * @enum
284
295
  */
285
- export declare enum Permissions {
286
- OWNER = "owner",
287
- READ_ONLY = "read-only",
288
- READ_WRITE = "read-write"
289
- }
296
+ export declare const Permissions: {
297
+ readonly OWNER: "owner";
298
+ readonly READ_ONLY: "read-only";
299
+ readonly READ_WRITE: "read-write";
300
+ };
301
+ /**
302
+ * @public
303
+ */
304
+ export type Permissions = (typeof Permissions)[keyof typeof Permissions];
290
305
  /**
291
306
  * @public
292
307
  * <p>Information about an environment member for an Cloud9 development environment.</p>
@@ -444,14 +459,19 @@ export interface DescribeEnvironmentsRequest {
444
459
  }
445
460
  /**
446
461
  * @public
462
+ * @enum
447
463
  */
448
- export declare enum EnvironmentLifecycleStatus {
449
- CREATED = "CREATED",
450
- CREATE_FAILED = "CREATE_FAILED",
451
- CREATING = "CREATING",
452
- DELETE_FAILED = "DELETE_FAILED",
453
- DELETING = "DELETING"
454
- }
464
+ export declare const EnvironmentLifecycleStatus: {
465
+ readonly CREATED: "CREATED";
466
+ readonly CREATE_FAILED: "CREATE_FAILED";
467
+ readonly CREATING: "CREATING";
468
+ readonly DELETE_FAILED: "DELETE_FAILED";
469
+ readonly DELETING: "DELETING";
470
+ };
471
+ /**
472
+ * @public
473
+ */
474
+ export type EnvironmentLifecycleStatus = (typeof EnvironmentLifecycleStatus)[keyof typeof EnvironmentLifecycleStatus];
455
475
  /**
456
476
  * @public
457
477
  * <p>Information about the current creation or deletion lifecycle state of an Cloud9 development
@@ -496,27 +516,37 @@ export interface EnvironmentLifecycle {
496
516
  }
497
517
  /**
498
518
  * @public
519
+ * @enum
499
520
  */
500
- export declare enum ManagedCredentialsStatus {
501
- DISABLED_BY_COLLABORATOR = "DISABLED_BY_COLLABORATOR",
502
- DISABLED_BY_DEFAULT = "DISABLED_BY_DEFAULT",
503
- DISABLED_BY_OWNER = "DISABLED_BY_OWNER",
504
- ENABLED_BY_OWNER = "ENABLED_BY_OWNER",
505
- ENABLED_ON_CREATE = "ENABLED_ON_CREATE",
506
- FAILED_REMOVAL_BY_COLLABORATOR = "FAILED_REMOVAL_BY_COLLABORATOR",
507
- FAILED_REMOVAL_BY_OWNER = "FAILED_REMOVAL_BY_OWNER",
508
- PENDING_REMOVAL_BY_COLLABORATOR = "PENDING_REMOVAL_BY_COLLABORATOR",
509
- PENDING_REMOVAL_BY_OWNER = "PENDING_REMOVAL_BY_OWNER",
510
- PENDING_START_REMOVAL_BY_COLLABORATOR = "PENDING_START_REMOVAL_BY_COLLABORATOR",
511
- PENDING_START_REMOVAL_BY_OWNER = "PENDING_START_REMOVAL_BY_OWNER"
512
- }
521
+ export declare const ManagedCredentialsStatus: {
522
+ readonly DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR";
523
+ readonly DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT";
524
+ readonly DISABLED_BY_OWNER: "DISABLED_BY_OWNER";
525
+ readonly ENABLED_BY_OWNER: "ENABLED_BY_OWNER";
526
+ readonly ENABLED_ON_CREATE: "ENABLED_ON_CREATE";
527
+ readonly FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR";
528
+ readonly FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER";
529
+ readonly PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR";
530
+ readonly PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER";
531
+ readonly PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR";
532
+ readonly PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER";
533
+ };
513
534
  /**
514
535
  * @public
515
536
  */
516
- export declare enum EnvironmentType {
517
- EC2 = "ec2",
518
- SSH = "ssh"
519
- }
537
+ export type ManagedCredentialsStatus = (typeof ManagedCredentialsStatus)[keyof typeof ManagedCredentialsStatus];
538
+ /**
539
+ * @public
540
+ * @enum
541
+ */
542
+ export declare const EnvironmentType: {
543
+ readonly EC2: "ec2";
544
+ readonly SSH: "ssh";
545
+ };
546
+ /**
547
+ * @public
548
+ */
549
+ export type EnvironmentType = (typeof EnvironmentType)[keyof typeof EnvironmentType];
520
550
  /**
521
551
  * @public
522
552
  * <p>Information about an Cloud9 development environment.</p>
@@ -643,16 +673,21 @@ export interface DescribeEnvironmentStatusRequest {
643
673
  }
644
674
  /**
645
675
  * @public
676
+ * @enum
646
677
  */
647
- export declare enum EnvironmentStatus {
648
- CONNECTING = "connecting",
649
- CREATING = "creating",
650
- DELETING = "deleting",
651
- ERROR = "error",
652
- READY = "ready",
653
- STOPPED = "stopped",
654
- STOPPING = "stopping"
655
- }
678
+ export declare const EnvironmentStatus: {
679
+ readonly CONNECTING: "connecting";
680
+ readonly CREATING: "creating";
681
+ readonly DELETING: "deleting";
682
+ readonly ERROR: "error";
683
+ readonly READY: "ready";
684
+ readonly STOPPED: "stopped";
685
+ readonly STOPPING: "stopping";
686
+ };
687
+ /**
688
+ * @public
689
+ */
690
+ export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
656
691
  /**
657
692
  * @public
658
693
  */
@@ -802,11 +837,16 @@ export interface UntagResourceResponse {
802
837
  }
803
838
  /**
804
839
  * @public
840
+ * @enum
805
841
  */
806
- export declare enum ManagedCredentialsAction {
807
- DISABLE = "DISABLE",
808
- ENABLE = "ENABLE"
809
- }
842
+ export declare const ManagedCredentialsAction: {
843
+ readonly DISABLE: "DISABLE";
844
+ readonly ENABLE: "ENABLE";
845
+ };
846
+ /**
847
+ * @public
848
+ */
849
+ export type ManagedCredentialsAction = (typeof ManagedCredentialsAction)[keyof typeof ManagedCredentialsAction];
810
850
  /**
811
851
  * @public
812
852
  */
@@ -16,10 +16,12 @@ export declare class ConflictException extends __BaseException {
16
16
  code?: number;
17
17
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
18
  }
19
- export declare enum ConnectionType {
20
- CONNECT_SSH = "CONNECT_SSH",
21
- CONNECT_SSM = "CONNECT_SSM",
22
- }
19
+ export declare const ConnectionType: {
20
+ readonly CONNECT_SSH: "CONNECT_SSH";
21
+ readonly CONNECT_SSM: "CONNECT_SSM";
22
+ };
23
+ export type ConnectionType =
24
+ (typeof ConnectionType)[keyof typeof ConnectionType];
23
25
  export interface Tag {
24
26
  Key: string | undefined;
25
27
  Value: string | undefined;
@@ -81,20 +83,23 @@ export declare class TooManyRequestsException extends __BaseException {
81
83
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
82
84
  );
83
85
  }
84
- export declare enum MemberPermissions {
85
- READ_ONLY = "read-only",
86
- READ_WRITE = "read-write",
87
- }
86
+ export declare const MemberPermissions: {
87
+ readonly READ_ONLY: "read-only";
88
+ readonly READ_WRITE: "read-write";
89
+ };
90
+ export type MemberPermissions =
91
+ (typeof MemberPermissions)[keyof typeof MemberPermissions];
88
92
  export interface CreateEnvironmentMembershipRequest {
89
93
  environmentId: string | undefined;
90
94
  userArn: string | undefined;
91
95
  permissions: MemberPermissions | string | undefined;
92
96
  }
93
- export declare enum Permissions {
94
- OWNER = "owner",
95
- READ_ONLY = "read-only",
96
- READ_WRITE = "read-write",
97
- }
97
+ export declare const Permissions: {
98
+ readonly OWNER: "owner";
99
+ readonly READ_ONLY: "read-only";
100
+ readonly READ_WRITE: "read-write";
101
+ };
102
+ export type Permissions = (typeof Permissions)[keyof typeof Permissions];
98
103
  export interface EnvironmentMember {
99
104
  permissions: Permissions | string | undefined;
100
105
  userId: string | undefined;
@@ -128,35 +133,41 @@ export interface DescribeEnvironmentMembershipsResult {
128
133
  export interface DescribeEnvironmentsRequest {
129
134
  environmentIds: string[] | undefined;
130
135
  }
131
- export declare enum EnvironmentLifecycleStatus {
132
- CREATED = "CREATED",
133
- CREATE_FAILED = "CREATE_FAILED",
134
- CREATING = "CREATING",
135
- DELETE_FAILED = "DELETE_FAILED",
136
- DELETING = "DELETING",
137
- }
136
+ export declare const EnvironmentLifecycleStatus: {
137
+ readonly CREATED: "CREATED";
138
+ readonly CREATE_FAILED: "CREATE_FAILED";
139
+ readonly CREATING: "CREATING";
140
+ readonly DELETE_FAILED: "DELETE_FAILED";
141
+ readonly DELETING: "DELETING";
142
+ };
143
+ export type EnvironmentLifecycleStatus =
144
+ (typeof EnvironmentLifecycleStatus)[keyof typeof EnvironmentLifecycleStatus];
138
145
  export interface EnvironmentLifecycle {
139
146
  status?: EnvironmentLifecycleStatus | string;
140
147
  reason?: string;
141
148
  failureResource?: string;
142
149
  }
143
- export declare enum ManagedCredentialsStatus {
144
- DISABLED_BY_COLLABORATOR = "DISABLED_BY_COLLABORATOR",
145
- DISABLED_BY_DEFAULT = "DISABLED_BY_DEFAULT",
146
- DISABLED_BY_OWNER = "DISABLED_BY_OWNER",
147
- ENABLED_BY_OWNER = "ENABLED_BY_OWNER",
148
- ENABLED_ON_CREATE = "ENABLED_ON_CREATE",
149
- FAILED_REMOVAL_BY_COLLABORATOR = "FAILED_REMOVAL_BY_COLLABORATOR",
150
- FAILED_REMOVAL_BY_OWNER = "FAILED_REMOVAL_BY_OWNER",
151
- PENDING_REMOVAL_BY_COLLABORATOR = "PENDING_REMOVAL_BY_COLLABORATOR",
152
- PENDING_REMOVAL_BY_OWNER = "PENDING_REMOVAL_BY_OWNER",
153
- PENDING_START_REMOVAL_BY_COLLABORATOR = "PENDING_START_REMOVAL_BY_COLLABORATOR",
154
- PENDING_START_REMOVAL_BY_OWNER = "PENDING_START_REMOVAL_BY_OWNER",
155
- }
156
- export declare enum EnvironmentType {
157
- EC2 = "ec2",
158
- SSH = "ssh",
159
- }
150
+ export declare const ManagedCredentialsStatus: {
151
+ readonly DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR";
152
+ readonly DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT";
153
+ readonly DISABLED_BY_OWNER: "DISABLED_BY_OWNER";
154
+ readonly ENABLED_BY_OWNER: "ENABLED_BY_OWNER";
155
+ readonly ENABLED_ON_CREATE: "ENABLED_ON_CREATE";
156
+ readonly FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR";
157
+ readonly FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER";
158
+ readonly PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR";
159
+ readonly PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER";
160
+ readonly PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR";
161
+ readonly PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER";
162
+ };
163
+ export type ManagedCredentialsStatus =
164
+ (typeof ManagedCredentialsStatus)[keyof typeof ManagedCredentialsStatus];
165
+ export declare const EnvironmentType: {
166
+ readonly EC2: "ec2";
167
+ readonly SSH: "ssh";
168
+ };
169
+ export type EnvironmentType =
170
+ (typeof EnvironmentType)[keyof typeof EnvironmentType];
160
171
  export interface Environment {
161
172
  id?: string;
162
173
  name?: string;
@@ -174,15 +185,17 @@ export interface DescribeEnvironmentsResult {
174
185
  export interface DescribeEnvironmentStatusRequest {
175
186
  environmentId: string | undefined;
176
187
  }
177
- export declare enum EnvironmentStatus {
178
- CONNECTING = "connecting",
179
- CREATING = "creating",
180
- DELETING = "deleting",
181
- ERROR = "error",
182
- READY = "ready",
183
- STOPPED = "stopped",
184
- STOPPING = "stopping",
185
- }
188
+ export declare const EnvironmentStatus: {
189
+ readonly CONNECTING: "connecting";
190
+ readonly CREATING: "creating";
191
+ readonly DELETING: "deleting";
192
+ readonly ERROR: "error";
193
+ readonly READY: "ready";
194
+ readonly STOPPED: "stopped";
195
+ readonly STOPPING: "stopping";
196
+ };
197
+ export type EnvironmentStatus =
198
+ (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
186
199
  export interface DescribeEnvironmentStatusResult {
187
200
  status: EnvironmentStatus | string | undefined;
188
201
  message: string | undefined;
@@ -220,10 +233,12 @@ export interface UntagResourceRequest {
220
233
  TagKeys: string[] | undefined;
221
234
  }
222
235
  export interface UntagResourceResponse {}
223
- export declare enum ManagedCredentialsAction {
224
- DISABLE = "DISABLE",
225
- ENABLE = "ENABLE",
226
- }
236
+ export declare const ManagedCredentialsAction: {
237
+ readonly DISABLE: "DISABLE";
238
+ readonly ENABLE: "ENABLE";
239
+ };
240
+ export type ManagedCredentialsAction =
241
+ (typeof ManagedCredentialsAction)[keyof typeof ManagedCredentialsAction];
227
242
  export interface UpdateEnvironmentRequest {
228
243
  environmentId: string | undefined;
229
244
  name?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloud9",
3
3
  "description": "AWS SDK for JavaScript Cloud9 Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",