@aws-sdk/client-cloud9 3.926.0 → 3.928.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 (37) hide show
  1. package/dist-cjs/index.js +440 -582
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/Cloud9Client.js +2 -0
  4. package/dist-es/commands/CreateEnvironmentEC2Command.js +3 -10
  5. package/dist-es/commands/CreateEnvironmentMembershipCommand.js +3 -9
  6. package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
  7. package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +3 -9
  8. package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +3 -9
  9. package/dist-es/commands/DescribeEnvironmentStatusCommand.js +3 -9
  10. package/dist-es/commands/DescribeEnvironmentsCommand.js +3 -10
  11. package/dist-es/commands/ListEnvironmentsCommand.js +3 -9
  12. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  13. package/dist-es/commands/TagResourceCommand.js +3 -10
  14. package/dist-es/commands/UntagResourceCommand.js +3 -10
  15. package/dist-es/commands/UpdateEnvironmentCommand.js +3 -10
  16. package/dist-es/commands/UpdateEnvironmentMembershipCommand.js +3 -9
  17. package/dist-es/models/models_0.js +0 -35
  18. package/dist-es/runtimeConfig.shared.js +7 -0
  19. package/dist-es/schemas/schemas_0.js +392 -0
  20. package/dist-types/Cloud9Client.d.ts +10 -1
  21. package/dist-types/models/models_0.d.ts +0 -32
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  23. package/dist-types/runtimeConfig.d.ts +1 -0
  24. package/dist-types/runtimeConfig.native.d.ts +1 -0
  25. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +64 -0
  27. package/dist-types/ts3.4/Cloud9Client.d.ts +4 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +0 -20
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +70 -0
  34. package/package.json +5 -5
  35. package/dist-es/protocols/Aws_json1_1.js +0 -429
  36. package/dist-types/protocols/Aws_json1_1.d.ts +0 -119
  37. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -161
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class Cloud9Client extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class Cloud9Client extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class Cloud9ServiceException extends smithyClient.ServiceException {
113
+ let Cloud9ServiceException$1 = class Cloud9ServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, Cloud9ServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class BadRequestException extends Cloud9ServiceException {
120
+ let BadRequestException$1 = class BadRequestException extends Cloud9ServiceException$1 {
121
121
  name = "BadRequestException";
122
122
  $fault = "client";
123
123
  className;
@@ -132,8 +132,8 @@ class BadRequestException extends Cloud9ServiceException {
132
132
  this.className = opts.className;
133
133
  this.code = opts.code;
134
134
  }
135
- }
136
- class ConflictException extends Cloud9ServiceException {
135
+ };
136
+ let ConflictException$1 = class ConflictException extends Cloud9ServiceException$1 {
137
137
  name = "ConflictException";
138
138
  $fault = "client";
139
139
  className;
@@ -148,12 +148,12 @@ class ConflictException extends Cloud9ServiceException {
148
148
  this.className = opts.className;
149
149
  this.code = opts.code;
150
150
  }
151
- }
151
+ };
152
152
  const ConnectionType = {
153
153
  CONNECT_SSH: "CONNECT_SSH",
154
154
  CONNECT_SSM: "CONNECT_SSM",
155
155
  };
156
- class ForbiddenException extends Cloud9ServiceException {
156
+ let ForbiddenException$1 = class ForbiddenException extends Cloud9ServiceException$1 {
157
157
  name = "ForbiddenException";
158
158
  $fault = "client";
159
159
  className;
@@ -168,8 +168,8 @@ class ForbiddenException extends Cloud9ServiceException {
168
168
  this.className = opts.className;
169
169
  this.code = opts.code;
170
170
  }
171
- }
172
- class InternalServerErrorException extends Cloud9ServiceException {
171
+ };
172
+ let InternalServerErrorException$1 = class InternalServerErrorException extends Cloud9ServiceException$1 {
173
173
  name = "InternalServerErrorException";
174
174
  $fault = "server";
175
175
  className;
@@ -184,8 +184,8 @@ class InternalServerErrorException extends Cloud9ServiceException {
184
184
  this.className = opts.className;
185
185
  this.code = opts.code;
186
186
  }
187
- }
188
- class LimitExceededException extends Cloud9ServiceException {
187
+ };
188
+ let LimitExceededException$1 = class LimitExceededException extends Cloud9ServiceException$1 {
189
189
  name = "LimitExceededException";
190
190
  $fault = "client";
191
191
  className;
@@ -200,8 +200,8 @@ class LimitExceededException extends Cloud9ServiceException {
200
200
  this.className = opts.className;
201
201
  this.code = opts.code;
202
202
  }
203
- }
204
- class NotFoundException extends Cloud9ServiceException {
203
+ };
204
+ let NotFoundException$1 = class NotFoundException extends Cloud9ServiceException$1 {
205
205
  name = "NotFoundException";
206
206
  $fault = "client";
207
207
  className;
@@ -216,8 +216,8 @@ class NotFoundException extends Cloud9ServiceException {
216
216
  this.className = opts.className;
217
217
  this.code = opts.code;
218
218
  }
219
- }
220
- class TooManyRequestsException extends Cloud9ServiceException {
219
+ };
220
+ let TooManyRequestsException$1 = class TooManyRequestsException extends Cloud9ServiceException$1 {
221
221
  name = "TooManyRequestsException";
222
222
  $fault = "client";
223
223
  className;
@@ -232,7 +232,7 @@ class TooManyRequestsException extends Cloud9ServiceException {
232
232
  this.className = opts.className;
233
233
  this.code = opts.code;
234
234
  }
235
- }
235
+ };
236
236
  const MemberPermissions = {
237
237
  READ_ONLY: "read-only",
238
238
  READ_WRITE: "read-write",
@@ -275,7 +275,7 @@ const EnvironmentStatus = {
275
275
  STOPPED: "stopped",
276
276
  STOPPING: "stopping",
277
277
  };
278
- class ConcurrentAccessException extends Cloud9ServiceException {
278
+ let ConcurrentAccessException$1 = class ConcurrentAccessException extends Cloud9ServiceException$1 {
279
279
  name = "ConcurrentAccessException";
280
280
  $fault = "client";
281
281
  className;
@@ -290,481 +290,407 @@ class ConcurrentAccessException extends Cloud9ServiceException {
290
290
  this.className = opts.className;
291
291
  this.code = opts.code;
292
292
  }
293
- }
293
+ };
294
294
  const ManagedCredentialsAction = {
295
295
  DISABLE: "DISABLE",
296
296
  ENABLE: "ENABLE",
297
297
  };
298
- const TagFilterSensitiveLog = (obj) => ({
299
- ...obj,
300
- ...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
301
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
302
- });
303
- const CreateEnvironmentEC2RequestFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
306
- ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
307
- });
308
- const EnvironmentFilterSensitiveLog = (obj) => ({
309
- ...obj,
310
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
311
- });
312
- const DescribeEnvironmentsResultFilterSensitiveLog = (obj) => ({
313
- ...obj,
314
- ...(obj.environments && { environments: obj.environments.map((item) => EnvironmentFilterSensitiveLog(item)) }),
315
- });
316
- const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
317
- ...obj,
318
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
319
- });
320
- const TagResourceRequestFilterSensitiveLog = (obj) => ({
321
- ...obj,
322
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
323
- });
324
- const UntagResourceRequestFilterSensitiveLog = (obj) => ({
325
- ...obj,
326
- ...(obj.TagKeys && { TagKeys: smithyClient.SENSITIVE_STRING }),
327
- });
328
- const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
329
- ...obj,
330
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
331
- });
332
298
 
333
- const se_CreateEnvironmentEC2Command = async (input, context) => {
334
- const headers = sharedHeaders("CreateEnvironmentEC2");
335
- let body;
336
- body = JSON.stringify(smithyClient._json(input));
337
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
338
- };
339
- const se_CreateEnvironmentMembershipCommand = async (input, context) => {
340
- const headers = sharedHeaders("CreateEnvironmentMembership");
341
- let body;
342
- body = JSON.stringify(smithyClient._json(input));
343
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
344
- };
345
- const se_DeleteEnvironmentCommand = async (input, context) => {
346
- const headers = sharedHeaders("DeleteEnvironment");
347
- let body;
348
- body = JSON.stringify(smithyClient._json(input));
349
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
350
- };
351
- const se_DeleteEnvironmentMembershipCommand = async (input, context) => {
352
- const headers = sharedHeaders("DeleteEnvironmentMembership");
353
- let body;
354
- body = JSON.stringify(smithyClient._json(input));
355
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
356
- };
357
- const se_DescribeEnvironmentMembershipsCommand = async (input, context) => {
358
- const headers = sharedHeaders("DescribeEnvironmentMemberships");
359
- let body;
360
- body = JSON.stringify(smithyClient._json(input));
361
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
362
- };
363
- const se_DescribeEnvironmentsCommand = async (input, context) => {
364
- const headers = sharedHeaders("DescribeEnvironments");
365
- let body;
366
- body = JSON.stringify(smithyClient._json(input));
367
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
368
- };
369
- const se_DescribeEnvironmentStatusCommand = async (input, context) => {
370
- const headers = sharedHeaders("DescribeEnvironmentStatus");
371
- let body;
372
- body = JSON.stringify(smithyClient._json(input));
373
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
374
- };
375
- const se_ListEnvironmentsCommand = async (input, context) => {
376
- const headers = sharedHeaders("ListEnvironments");
377
- let body;
378
- body = JSON.stringify(smithyClient._json(input));
379
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
380
- };
381
- const se_ListTagsForResourceCommand = async (input, context) => {
382
- const headers = sharedHeaders("ListTagsForResource");
383
- let body;
384
- body = JSON.stringify(smithyClient._json(input));
385
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
386
- };
387
- const se_TagResourceCommand = async (input, context) => {
388
- const headers = sharedHeaders("TagResource");
389
- let body;
390
- body = JSON.stringify(smithyClient._json(input));
391
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
392
- };
393
- const se_UntagResourceCommand = async (input, context) => {
394
- const headers = sharedHeaders("UntagResource");
395
- let body;
396
- body = JSON.stringify(smithyClient._json(input));
397
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
398
- };
399
- const se_UpdateEnvironmentCommand = async (input, context) => {
400
- const headers = sharedHeaders("UpdateEnvironment");
401
- let body;
402
- body = JSON.stringify(smithyClient._json(input));
403
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
404
- };
405
- const se_UpdateEnvironmentMembershipCommand = async (input, context) => {
406
- const headers = sharedHeaders("UpdateEnvironmentMembership");
407
- let body;
408
- body = JSON.stringify(smithyClient._json(input));
409
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
410
- };
411
- const de_CreateEnvironmentEC2Command = async (output, context) => {
412
- if (output.statusCode >= 300) {
413
- return de_CommandError(output, context);
414
- }
415
- const data = await core$1.parseJsonBody(output.body, context);
416
- let contents = {};
417
- contents = smithyClient._json(data);
418
- const response = {
419
- $metadata: deserializeMetadata(output),
420
- ...contents,
421
- };
422
- return response;
423
- };
424
- const de_CreateEnvironmentMembershipCommand = async (output, context) => {
425
- if (output.statusCode >= 300) {
426
- return de_CommandError(output, context);
427
- }
428
- const data = await core$1.parseJsonBody(output.body, context);
429
- let contents = {};
430
- contents = de_CreateEnvironmentMembershipResult(data);
431
- const response = {
432
- $metadata: deserializeMetadata(output),
433
- ...contents,
434
- };
435
- return response;
436
- };
437
- const de_DeleteEnvironmentCommand = async (output, context) => {
438
- if (output.statusCode >= 300) {
439
- return de_CommandError(output, context);
440
- }
441
- const data = await core$1.parseJsonBody(output.body, context);
442
- let contents = {};
443
- contents = smithyClient._json(data);
444
- const response = {
445
- $metadata: deserializeMetadata(output),
446
- ...contents,
447
- };
448
- return response;
449
- };
450
- const de_DeleteEnvironmentMembershipCommand = async (output, context) => {
451
- if (output.statusCode >= 300) {
452
- return de_CommandError(output, context);
453
- }
454
- const data = await core$1.parseJsonBody(output.body, context);
455
- let contents = {};
456
- contents = smithyClient._json(data);
457
- const response = {
458
- $metadata: deserializeMetadata(output),
459
- ...contents,
460
- };
461
- return response;
462
- };
463
- const de_DescribeEnvironmentMembershipsCommand = async (output, context) => {
464
- if (output.statusCode >= 300) {
465
- return de_CommandError(output, context);
466
- }
467
- const data = await core$1.parseJsonBody(output.body, context);
468
- let contents = {};
469
- contents = de_DescribeEnvironmentMembershipsResult(data);
470
- const response = {
471
- $metadata: deserializeMetadata(output),
472
- ...contents,
473
- };
474
- return response;
475
- };
476
- const de_DescribeEnvironmentsCommand = async (output, context) => {
477
- if (output.statusCode >= 300) {
478
- return de_CommandError(output, context);
479
- }
480
- const data = await core$1.parseJsonBody(output.body, context);
481
- let contents = {};
482
- contents = smithyClient._json(data);
483
- const response = {
484
- $metadata: deserializeMetadata(output),
485
- ...contents,
486
- };
487
- return response;
488
- };
489
- const de_DescribeEnvironmentStatusCommand = async (output, context) => {
490
- if (output.statusCode >= 300) {
491
- return de_CommandError(output, context);
492
- }
493
- const data = await core$1.parseJsonBody(output.body, context);
494
- let contents = {};
495
- contents = smithyClient._json(data);
496
- const response = {
497
- $metadata: deserializeMetadata(output),
498
- ...contents,
499
- };
500
- return response;
501
- };
502
- const de_ListEnvironmentsCommand = async (output, context) => {
503
- if (output.statusCode >= 300) {
504
- return de_CommandError(output, context);
505
- }
506
- const data = await core$1.parseJsonBody(output.body, context);
507
- let contents = {};
508
- contents = smithyClient._json(data);
509
- const response = {
510
- $metadata: deserializeMetadata(output),
511
- ...contents,
512
- };
513
- return response;
514
- };
515
- const de_ListTagsForResourceCommand = async (output, context) => {
516
- if (output.statusCode >= 300) {
517
- return de_CommandError(output, context);
518
- }
519
- const data = await core$1.parseJsonBody(output.body, context);
520
- let contents = {};
521
- contents = smithyClient._json(data);
522
- const response = {
523
- $metadata: deserializeMetadata(output),
524
- ...contents,
525
- };
526
- return response;
527
- };
528
- const de_TagResourceCommand = async (output, context) => {
529
- if (output.statusCode >= 300) {
530
- return de_CommandError(output, context);
531
- }
532
- const data = await core$1.parseJsonBody(output.body, context);
533
- let contents = {};
534
- contents = smithyClient._json(data);
535
- const response = {
536
- $metadata: deserializeMetadata(output),
537
- ...contents,
538
- };
539
- return response;
540
- };
541
- const de_UntagResourceCommand = async (output, context) => {
542
- if (output.statusCode >= 300) {
543
- return de_CommandError(output, context);
544
- }
545
- const data = await core$1.parseJsonBody(output.body, context);
546
- let contents = {};
547
- contents = smithyClient._json(data);
548
- const response = {
549
- $metadata: deserializeMetadata(output),
550
- ...contents,
551
- };
552
- return response;
553
- };
554
- const de_UpdateEnvironmentCommand = async (output, context) => {
555
- if (output.statusCode >= 300) {
556
- return de_CommandError(output, context);
557
- }
558
- const data = await core$1.parseJsonBody(output.body, context);
559
- let contents = {};
560
- contents = smithyClient._json(data);
561
- const response = {
562
- $metadata: deserializeMetadata(output),
563
- ...contents,
564
- };
565
- return response;
566
- };
567
- const de_UpdateEnvironmentMembershipCommand = async (output, context) => {
568
- if (output.statusCode >= 300) {
569
- return de_CommandError(output, context);
570
- }
571
- const data = await core$1.parseJsonBody(output.body, context);
572
- let contents = {};
573
- contents = de_UpdateEnvironmentMembershipResult(data);
574
- const response = {
575
- $metadata: deserializeMetadata(output),
576
- ...contents,
577
- };
578
- return response;
579
- };
580
- const de_CommandError = async (output, context) => {
581
- const parsedOutput = {
582
- ...output,
583
- body: await core$1.parseJsonErrorBody(output.body, context),
584
- };
585
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
586
- switch (errorCode) {
587
- case "BadRequestException":
588
- case "com.amazonaws.cloud9#BadRequestException":
589
- throw await de_BadRequestExceptionRes(parsedOutput);
590
- case "ConflictException":
591
- case "com.amazonaws.cloud9#ConflictException":
592
- throw await de_ConflictExceptionRes(parsedOutput);
593
- case "ForbiddenException":
594
- case "com.amazonaws.cloud9#ForbiddenException":
595
- throw await de_ForbiddenExceptionRes(parsedOutput);
596
- case "InternalServerErrorException":
597
- case "com.amazonaws.cloud9#InternalServerErrorException":
598
- throw await de_InternalServerErrorExceptionRes(parsedOutput);
599
- case "LimitExceededException":
600
- case "com.amazonaws.cloud9#LimitExceededException":
601
- throw await de_LimitExceededExceptionRes(parsedOutput);
602
- case "NotFoundException":
603
- case "com.amazonaws.cloud9#NotFoundException":
604
- throw await de_NotFoundExceptionRes(parsedOutput);
605
- case "TooManyRequestsException":
606
- case "com.amazonaws.cloud9#TooManyRequestsException":
607
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
608
- case "ConcurrentAccessException":
609
- case "com.amazonaws.cloud9#ConcurrentAccessException":
610
- throw await de_ConcurrentAccessExceptionRes(parsedOutput);
611
- default:
612
- const parsedBody = parsedOutput.body;
613
- return throwDefaultError({
614
- output,
615
- parsedBody,
616
- errorCode,
617
- });
618
- }
619
- };
620
- const de_BadRequestExceptionRes = async (parsedOutput, context) => {
621
- const body = parsedOutput.body;
622
- const deserialized = smithyClient._json(body);
623
- const exception = new BadRequestException({
624
- $metadata: deserializeMetadata(parsedOutput),
625
- ...deserialized,
626
- });
627
- return smithyClient.decorateServiceException(exception, body);
628
- };
629
- const de_ConcurrentAccessExceptionRes = async (parsedOutput, context) => {
630
- const body = parsedOutput.body;
631
- const deserialized = smithyClient._json(body);
632
- const exception = new ConcurrentAccessException({
633
- $metadata: deserializeMetadata(parsedOutput),
634
- ...deserialized,
635
- });
636
- return smithyClient.decorateServiceException(exception, body);
637
- };
638
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
639
- const body = parsedOutput.body;
640
- const deserialized = smithyClient._json(body);
641
- const exception = new ConflictException({
642
- $metadata: deserializeMetadata(parsedOutput),
643
- ...deserialized,
644
- });
645
- return smithyClient.decorateServiceException(exception, body);
646
- };
647
- const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
648
- const body = parsedOutput.body;
649
- const deserialized = smithyClient._json(body);
650
- const exception = new ForbiddenException({
651
- $metadata: deserializeMetadata(parsedOutput),
652
- ...deserialized,
653
- });
654
- return smithyClient.decorateServiceException(exception, body);
655
- };
656
- const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
657
- const body = parsedOutput.body;
658
- const deserialized = smithyClient._json(body);
659
- const exception = new InternalServerErrorException({
660
- $metadata: deserializeMetadata(parsedOutput),
661
- ...deserialized,
662
- });
663
- return smithyClient.decorateServiceException(exception, body);
664
- };
665
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
666
- const body = parsedOutput.body;
667
- const deserialized = smithyClient._json(body);
668
- const exception = new LimitExceededException({
669
- $metadata: deserializeMetadata(parsedOutput),
670
- ...deserialized,
671
- });
672
- return smithyClient.decorateServiceException(exception, body);
673
- };
674
- const de_NotFoundExceptionRes = async (parsedOutput, context) => {
675
- const body = parsedOutput.body;
676
- const deserialized = smithyClient._json(body);
677
- const exception = new NotFoundException({
678
- $metadata: deserializeMetadata(parsedOutput),
679
- ...deserialized,
680
- });
681
- return smithyClient.decorateServiceException(exception, body);
682
- };
683
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
684
- const body = parsedOutput.body;
685
- const deserialized = smithyClient._json(body);
686
- const exception = new TooManyRequestsException({
687
- $metadata: deserializeMetadata(parsedOutput),
688
- ...deserialized,
689
- });
690
- return smithyClient.decorateServiceException(exception, body);
691
- };
692
- const de_CreateEnvironmentMembershipResult = (output, context) => {
693
- return smithyClient.take(output, {
694
- membership: (_) => de_EnvironmentMember(_),
695
- });
696
- };
697
- const de_DescribeEnvironmentMembershipsResult = (output, context) => {
698
- return smithyClient.take(output, {
699
- memberships: (_) => de_EnvironmentMembersList(_),
700
- nextToken: smithyClient.expectString,
701
- });
702
- };
703
- const de_EnvironmentMember = (output, context) => {
704
- return smithyClient.take(output, {
705
- environmentId: smithyClient.expectString,
706
- lastAccess: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
707
- permissions: smithyClient.expectString,
708
- userArn: smithyClient.expectString,
709
- userId: smithyClient.expectString,
710
- });
711
- };
712
- const de_EnvironmentMembersList = (output, context) => {
713
- const retVal = (output || [])
714
- .filter((e) => e != null)
715
- .map((entry) => {
716
- return de_EnvironmentMember(entry);
717
- });
718
- return retVal;
719
- };
720
- const de_UpdateEnvironmentMembershipResult = (output, context) => {
721
- return smithyClient.take(output, {
722
- membership: (_) => de_EnvironmentMember(_),
723
- });
724
- };
725
- const deserializeMetadata = (output) => ({
726
- httpStatusCode: output.statusCode,
727
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
728
- extendedRequestId: output.headers["x-amz-id-2"],
729
- cfId: output.headers["x-amz-cf-id"],
730
- });
731
- const throwDefaultError = smithyClient.withBaseException(Cloud9ServiceException);
732
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
733
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
734
- const contents = {
735
- protocol,
736
- hostname,
737
- port,
738
- method: "POST",
739
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
740
- headers,
741
- };
742
- if (body !== undefined) {
743
- contents.body = body;
744
- }
745
- return new protocolHttp.HttpRequest(contents);
746
- };
747
- function sharedHeaders(operation) {
748
- return {
749
- "content-type": "application/x-amz-json-1.1",
750
- "x-amz-target": `AWSCloud9WorkspaceManagementService.${operation}`,
751
- };
752
- }
299
+ const _BRE = "BadRequestException";
300
+ const _CAE = "ConcurrentAccessException";
301
+ const _CE = "ConflictException";
302
+ const _CEEC = "CreateEnvironmentEC2";
303
+ const _CEECR = "CreateEnvironmentEC2Request";
304
+ const _CEECRr = "CreateEnvironmentEC2Result";
305
+ const _CEM = "CreateEnvironmentMembership";
306
+ const _CEMR = "CreateEnvironmentMembershipRequest";
307
+ const _CEMRr = "CreateEnvironmentMembershipResult";
308
+ const _DE = "DeleteEnvironment";
309
+ const _DEM = "DeleteEnvironmentMembership";
310
+ const _DEMR = "DeleteEnvironmentMembershipRequest";
311
+ const _DEMRe = "DeleteEnvironmentMembershipResult";
312
+ const _DEMRes = "DescribeEnvironmentMembershipsRequest";
313
+ const _DEMResc = "DescribeEnvironmentMembershipsResult";
314
+ const _DEMe = "DescribeEnvironmentMemberships";
315
+ const _DER = "DeleteEnvironmentRequest";
316
+ const _DERe = "DeleteEnvironmentResult";
317
+ const _DERes = "DescribeEnvironmentsRequest";
318
+ const _DEResc = "DescribeEnvironmentsResult";
319
+ const _DES = "DescribeEnvironmentStatus";
320
+ const _DESR = "DescribeEnvironmentStatusRequest";
321
+ const _DESRe = "DescribeEnvironmentStatusResult";
322
+ const _DEe = "DescribeEnvironments";
323
+ const _E = "Environment";
324
+ const _ED = "EnvironmentDescription";
325
+ const _EL = "EnvironmentLifecycle";
326
+ const _ELn = "EnvironmentList";
327
+ const _EM = "EnvironmentMember";
328
+ const _EML = "EnvironmentMembersList";
329
+ const _FE = "ForbiddenException";
330
+ const _ISEE = "InternalServerErrorException";
331
+ const _K = "Key";
332
+ const _LE = "ListEnvironments";
333
+ const _LEE = "LimitExceededException";
334
+ const _LER = "ListEnvironmentsRequest";
335
+ const _LERi = "ListEnvironmentsResult";
336
+ const _LTFR = "ListTagsForResource";
337
+ const _LTFRR = "ListTagsForResourceRequest";
338
+ const _LTFRRi = "ListTagsForResourceResponse";
339
+ const _NFE = "NotFoundException";
340
+ const _RARN = "ResourceARN";
341
+ const _T = "Tags";
342
+ const _TK = "TagKey";
343
+ const _TKL = "TagKeyList";
344
+ const _TKa = "TagKeys";
345
+ const _TL = "TagList";
346
+ const _TMRE = "TooManyRequestsException";
347
+ const _TR = "TagResource";
348
+ const _TRR = "TagResourceRequest";
349
+ const _TRRa = "TagResourceResponse";
350
+ const _TV = "TagValue";
351
+ const _Ta = "Tag";
352
+ const _UE = "UpdateEnvironment";
353
+ const _UEM = "UpdateEnvironmentMembership";
354
+ const _UEMR = "UpdateEnvironmentMembershipRequest";
355
+ const _UEMRp = "UpdateEnvironmentMembershipResult";
356
+ const _UER = "UpdateEnvironmentRequest";
357
+ const _UERp = "UpdateEnvironmentResult";
358
+ const _UR = "UntagResource";
359
+ const _URR = "UntagResourceRequest";
360
+ const _URRn = "UntagResourceResponse";
361
+ const _V = "Value";
362
+ const _a = "arn";
363
+ const _aSTM = "automaticStopTimeMinutes";
364
+ const _c = "client";
365
+ const _cN = "className";
366
+ const _cRT = "clientRequestToken";
367
+ const _cT = "connectionType";
368
+ const _co = "code";
369
+ const _d = "description";
370
+ const _dR = "dryRun";
371
+ const _e = "error";
372
+ const _eI = "environmentId";
373
+ const _eIn = "environmentIds";
374
+ const _en = "environments";
375
+ const _fR = "failureResource";
376
+ const _i = "id";
377
+ const _iI = "imageId";
378
+ const _iT = "instanceType";
379
+ const _l = "lifecycle";
380
+ const _lA = "lastAccess";
381
+ const _m = "message";
382
+ const _mCA = "managedCredentialsAction";
383
+ const _mCS = "managedCredentialsStatus";
384
+ const _mR = "maxResults";
385
+ const _me = "membership";
386
+ const _mem = "memberships";
387
+ const _n = "name";
388
+ const _nT = "nextToken";
389
+ const _oA = "ownerArn";
390
+ const _p = "permissions";
391
+ const _r = "reason";
392
+ const _s = "status";
393
+ const _sI = "subnetId";
394
+ const _se = "server";
395
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloud9";
396
+ const _t = "tags";
397
+ const _ty = "type";
398
+ const _uA = "userArn";
399
+ const _uI = "userId";
400
+ const n0 = "com.amazonaws.cloud9";
401
+ var EnvironmentDescription = [0, n0, _ED, 8, 0];
402
+ var TagKey = [0, n0, _TK, 8, 0];
403
+ var TagValue = [0, n0, _TV, 8, 0];
404
+ var BadRequestException = [
405
+ -3,
406
+ n0,
407
+ _BRE,
408
+ {
409
+ [_e]: _c,
410
+ },
411
+ [_m, _cN, _co],
412
+ [0, 0, 1],
413
+ ];
414
+ schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
415
+ var ConcurrentAccessException = [
416
+ -3,
417
+ n0,
418
+ _CAE,
419
+ {
420
+ [_e]: _c,
421
+ },
422
+ [_m, _cN, _co],
423
+ [0, 0, 1],
424
+ ];
425
+ schema.TypeRegistry.for(n0).registerError(ConcurrentAccessException, ConcurrentAccessException$1);
426
+ var ConflictException = [
427
+ -3,
428
+ n0,
429
+ _CE,
430
+ {
431
+ [_e]: _c,
432
+ },
433
+ [_m, _cN, _co],
434
+ [0, 0, 1],
435
+ ];
436
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
437
+ var CreateEnvironmentEC2Request = [
438
+ 3,
439
+ n0,
440
+ _CEECR,
441
+ 0,
442
+ [_n, _d, _cRT, _iT, _sI, _iI, _aSTM, _oA, _t, _cT, _dR],
443
+ [0, [() => EnvironmentDescription, 0], 0, 0, 0, 0, 1, 0, [() => TagList, 0], 0, 2],
444
+ ];
445
+ var CreateEnvironmentEC2Result = [3, n0, _CEECRr, 0, [_eI], [0]];
446
+ var CreateEnvironmentMembershipRequest = [3, n0, _CEMR, 0, [_eI, _uA, _p], [0, 0, 0]];
447
+ var CreateEnvironmentMembershipResult = [
448
+ 3,
449
+ n0,
450
+ _CEMRr,
451
+ 0,
452
+ [_me],
453
+ [() => EnvironmentMember],
454
+ ];
455
+ var DeleteEnvironmentMembershipRequest = [3, n0, _DEMR, 0, [_eI, _uA], [0, 0]];
456
+ var DeleteEnvironmentMembershipResult = [3, n0, _DEMRe, 0, [], []];
457
+ var DeleteEnvironmentRequest = [3, n0, _DER, 0, [_eI], [0]];
458
+ var DeleteEnvironmentResult = [3, n0, _DERe, 0, [], []];
459
+ var DescribeEnvironmentMembershipsRequest = [
460
+ 3,
461
+ n0,
462
+ _DEMRes,
463
+ 0,
464
+ [_uA, _eI, _p, _nT, _mR],
465
+ [0, 0, 64 | 0, 0, 1],
466
+ ];
467
+ var DescribeEnvironmentMembershipsResult = [
468
+ 3,
469
+ n0,
470
+ _DEMResc,
471
+ 0,
472
+ [_mem, _nT],
473
+ [() => EnvironmentMembersList, 0],
474
+ ];
475
+ var DescribeEnvironmentsRequest = [3, n0, _DERes, 0, [_eIn], [64 | 0]];
476
+ var DescribeEnvironmentsResult = [3, n0, _DEResc, 0, [_en], [[() => EnvironmentList, 0]]];
477
+ var DescribeEnvironmentStatusRequest = [3, n0, _DESR, 0, [_eI], [0]];
478
+ var DescribeEnvironmentStatusResult = [3, n0, _DESRe, 0, [_s, _m], [0, 0]];
479
+ var Environment = [
480
+ 3,
481
+ n0,
482
+ _E,
483
+ 0,
484
+ [_i, _n, _d, _ty, _cT, _a, _oA, _l, _mCS],
485
+ [0, 0, [() => EnvironmentDescription, 0], 0, 0, 0, 0, () => EnvironmentLifecycle, 0],
486
+ ];
487
+ var EnvironmentLifecycle = [3, n0, _EL, 0, [_s, _r, _fR], [0, 0, 0]];
488
+ var EnvironmentMember = [3, n0, _EM, 0, [_p, _uI, _uA, _eI, _lA], [0, 0, 0, 0, 4]];
489
+ var ForbiddenException = [
490
+ -3,
491
+ n0,
492
+ _FE,
493
+ {
494
+ [_e]: _c,
495
+ },
496
+ [_m, _cN, _co],
497
+ [0, 0, 1],
498
+ ];
499
+ schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
500
+ var InternalServerErrorException = [
501
+ -3,
502
+ n0,
503
+ _ISEE,
504
+ {
505
+ [_e]: _se,
506
+ },
507
+ [_m, _cN, _co],
508
+ [0, 0, 1],
509
+ ];
510
+ schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
511
+ var LimitExceededException = [
512
+ -3,
513
+ n0,
514
+ _LEE,
515
+ {
516
+ [_e]: _c,
517
+ },
518
+ [_m, _cN, _co],
519
+ [0, 0, 1],
520
+ ];
521
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
522
+ var ListEnvironmentsRequest = [3, n0, _LER, 0, [_nT, _mR], [0, 1]];
523
+ var ListEnvironmentsResult = [3, n0, _LERi, 0, [_nT, _eIn], [0, 64 | 0]];
524
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
525
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [[() => TagList, 0]]];
526
+ var NotFoundException = [
527
+ -3,
528
+ n0,
529
+ _NFE,
530
+ {
531
+ [_e]: _c,
532
+ },
533
+ [_m, _cN, _co],
534
+ [0, 0, 1],
535
+ ];
536
+ schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
537
+ var Tag = [
538
+ 3,
539
+ n0,
540
+ _Ta,
541
+ 8,
542
+ [_K, _V],
543
+ [
544
+ [() => TagKey, 0],
545
+ [() => TagValue, 0],
546
+ ],
547
+ ];
548
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _T], [0, [() => TagList, 0]]];
549
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
550
+ var TooManyRequestsException = [
551
+ -3,
552
+ n0,
553
+ _TMRE,
554
+ {
555
+ [_e]: _c,
556
+ },
557
+ [_m, _cN, _co],
558
+ [0, 0, 1],
559
+ ];
560
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
561
+ var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TKa], [0, [() => TagKeyList, 0]]];
562
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
563
+ var UpdateEnvironmentMembershipRequest = [3, n0, _UEMR, 0, [_eI, _uA, _p], [0, 0, 0]];
564
+ var UpdateEnvironmentMembershipResult = [
565
+ 3,
566
+ n0,
567
+ _UEMRp,
568
+ 0,
569
+ [_me],
570
+ [() => EnvironmentMember],
571
+ ];
572
+ var UpdateEnvironmentRequest = [
573
+ 3,
574
+ n0,
575
+ _UER,
576
+ 0,
577
+ [_eI, _n, _d, _mCA],
578
+ [0, 0, [() => EnvironmentDescription, 0], 0],
579
+ ];
580
+ var UpdateEnvironmentResult = [3, n0, _UERp, 0, [], []];
581
+ var Cloud9ServiceException = [-3, _sm, "Cloud9ServiceException", 0, [], []];
582
+ schema.TypeRegistry.for(_sm).registerError(Cloud9ServiceException, Cloud9ServiceException$1);
583
+ var EnvironmentList = [1, n0, _ELn, 0, [() => Environment, 0]];
584
+ var EnvironmentMembersList = [1, n0, _EML, 0, () => EnvironmentMember];
585
+ var TagKeyList = [1, n0, _TKL, 8, [() => TagKey, 0]];
586
+ var TagList = [1, n0, _TL, 8, [() => Tag, 0]];
587
+ var CreateEnvironmentEC2 = [
588
+ 9,
589
+ n0,
590
+ _CEEC,
591
+ 2,
592
+ () => CreateEnvironmentEC2Request,
593
+ () => CreateEnvironmentEC2Result,
594
+ ];
595
+ var CreateEnvironmentMembership = [
596
+ 9,
597
+ n0,
598
+ _CEM,
599
+ 2,
600
+ () => CreateEnvironmentMembershipRequest,
601
+ () => CreateEnvironmentMembershipResult,
602
+ ];
603
+ var DeleteEnvironment = [
604
+ 9,
605
+ n0,
606
+ _DE,
607
+ 2,
608
+ () => DeleteEnvironmentRequest,
609
+ () => DeleteEnvironmentResult,
610
+ ];
611
+ var DeleteEnvironmentMembership = [
612
+ 9,
613
+ n0,
614
+ _DEM,
615
+ 2,
616
+ () => DeleteEnvironmentMembershipRequest,
617
+ () => DeleteEnvironmentMembershipResult,
618
+ ];
619
+ var DescribeEnvironmentMemberships = [
620
+ 9,
621
+ n0,
622
+ _DEMe,
623
+ 0,
624
+ () => DescribeEnvironmentMembershipsRequest,
625
+ () => DescribeEnvironmentMembershipsResult,
626
+ ];
627
+ var DescribeEnvironments = [
628
+ 9,
629
+ n0,
630
+ _DEe,
631
+ 0,
632
+ () => DescribeEnvironmentsRequest,
633
+ () => DescribeEnvironmentsResult,
634
+ ];
635
+ var DescribeEnvironmentStatus = [
636
+ 9,
637
+ n0,
638
+ _DES,
639
+ 0,
640
+ () => DescribeEnvironmentStatusRequest,
641
+ () => DescribeEnvironmentStatusResult,
642
+ ];
643
+ var ListEnvironments = [
644
+ 9,
645
+ n0,
646
+ _LE,
647
+ 0,
648
+ () => ListEnvironmentsRequest,
649
+ () => ListEnvironmentsResult,
650
+ ];
651
+ var ListTagsForResource = [
652
+ 9,
653
+ n0,
654
+ _LTFR,
655
+ 0,
656
+ () => ListTagsForResourceRequest,
657
+ () => ListTagsForResourceResponse,
658
+ ];
659
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
660
+ var UntagResource = [
661
+ 9,
662
+ n0,
663
+ _UR,
664
+ 0,
665
+ () => UntagResourceRequest,
666
+ () => UntagResourceResponse,
667
+ ];
668
+ var UpdateEnvironment = [
669
+ 9,
670
+ n0,
671
+ _UE,
672
+ 2,
673
+ () => UpdateEnvironmentRequest,
674
+ () => UpdateEnvironmentResult,
675
+ ];
676
+ var UpdateEnvironmentMembership = [
677
+ 9,
678
+ n0,
679
+ _UEM,
680
+ 2,
681
+ () => UpdateEnvironmentMembershipRequest,
682
+ () => UpdateEnvironmentMembershipResult,
683
+ ];
753
684
 
754
685
  class CreateEnvironmentEC2Command extends smithyClient.Command
755
686
  .classBuilder()
756
687
  .ep(commonParams)
757
688
  .m(function (Command, cs, config, o) {
758
- return [
759
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
760
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
761
- ];
689
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
762
690
  })
763
691
  .s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentEC2", {})
764
692
  .n("Cloud9Client", "CreateEnvironmentEC2Command")
765
- .f(CreateEnvironmentEC2RequestFilterSensitiveLog, void 0)
766
- .ser(se_CreateEnvironmentEC2Command)
767
- .de(de_CreateEnvironmentEC2Command)
693
+ .sc(CreateEnvironmentEC2)
768
694
  .build() {
769
695
  }
770
696
 
@@ -772,16 +698,11 @@ class CreateEnvironmentMembershipCommand extends smithyClient.Command
772
698
  .classBuilder()
773
699
  .ep(commonParams)
774
700
  .m(function (Command, cs, config, o) {
775
- return [
776
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
777
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
778
- ];
701
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
779
702
  })
780
703
  .s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentMembership", {})
781
704
  .n("Cloud9Client", "CreateEnvironmentMembershipCommand")
782
- .f(void 0, void 0)
783
- .ser(se_CreateEnvironmentMembershipCommand)
784
- .de(de_CreateEnvironmentMembershipCommand)
705
+ .sc(CreateEnvironmentMembership)
785
706
  .build() {
786
707
  }
787
708
 
@@ -789,16 +710,11 @@ class DeleteEnvironmentCommand extends smithyClient.Command
789
710
  .classBuilder()
790
711
  .ep(commonParams)
791
712
  .m(function (Command, cs, config, o) {
792
- return [
793
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
794
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
795
- ];
713
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
796
714
  })
797
715
  .s("AWSCloud9WorkspaceManagementService", "DeleteEnvironment", {})
798
716
  .n("Cloud9Client", "DeleteEnvironmentCommand")
799
- .f(void 0, void 0)
800
- .ser(se_DeleteEnvironmentCommand)
801
- .de(de_DeleteEnvironmentCommand)
717
+ .sc(DeleteEnvironment)
802
718
  .build() {
803
719
  }
804
720
 
@@ -806,16 +722,11 @@ class DeleteEnvironmentMembershipCommand extends smithyClient.Command
806
722
  .classBuilder()
807
723
  .ep(commonParams)
808
724
  .m(function (Command, cs, config, o) {
809
- return [
810
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
811
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
812
- ];
725
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
813
726
  })
814
727
  .s("AWSCloud9WorkspaceManagementService", "DeleteEnvironmentMembership", {})
815
728
  .n("Cloud9Client", "DeleteEnvironmentMembershipCommand")
816
- .f(void 0, void 0)
817
- .ser(se_DeleteEnvironmentMembershipCommand)
818
- .de(de_DeleteEnvironmentMembershipCommand)
729
+ .sc(DeleteEnvironmentMembership)
819
730
  .build() {
820
731
  }
821
732
 
@@ -823,16 +734,11 @@ class DescribeEnvironmentMembershipsCommand extends smithyClient.Command
823
734
  .classBuilder()
824
735
  .ep(commonParams)
825
736
  .m(function (Command, cs, config, o) {
826
- return [
827
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
828
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
829
- ];
737
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
830
738
  })
831
739
  .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentMemberships", {})
832
740
  .n("Cloud9Client", "DescribeEnvironmentMembershipsCommand")
833
- .f(void 0, void 0)
834
- .ser(se_DescribeEnvironmentMembershipsCommand)
835
- .de(de_DescribeEnvironmentMembershipsCommand)
741
+ .sc(DescribeEnvironmentMemberships)
836
742
  .build() {
837
743
  }
838
744
 
@@ -840,16 +746,11 @@ class DescribeEnvironmentsCommand extends smithyClient.Command
840
746
  .classBuilder()
841
747
  .ep(commonParams)
842
748
  .m(function (Command, cs, config, o) {
843
- return [
844
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
845
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
846
- ];
749
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
847
750
  })
848
751
  .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironments", {})
849
752
  .n("Cloud9Client", "DescribeEnvironmentsCommand")
850
- .f(void 0, DescribeEnvironmentsResultFilterSensitiveLog)
851
- .ser(se_DescribeEnvironmentsCommand)
852
- .de(de_DescribeEnvironmentsCommand)
753
+ .sc(DescribeEnvironments)
853
754
  .build() {
854
755
  }
855
756
 
@@ -857,16 +758,11 @@ class DescribeEnvironmentStatusCommand extends smithyClient.Command
857
758
  .classBuilder()
858
759
  .ep(commonParams)
859
760
  .m(function (Command, cs, config, o) {
860
- return [
861
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
862
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
863
- ];
761
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
864
762
  })
865
763
  .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentStatus", {})
866
764
  .n("Cloud9Client", "DescribeEnvironmentStatusCommand")
867
- .f(void 0, void 0)
868
- .ser(se_DescribeEnvironmentStatusCommand)
869
- .de(de_DescribeEnvironmentStatusCommand)
765
+ .sc(DescribeEnvironmentStatus)
870
766
  .build() {
871
767
  }
872
768
 
@@ -874,16 +770,11 @@ class ListEnvironmentsCommand extends smithyClient.Command
874
770
  .classBuilder()
875
771
  .ep(commonParams)
876
772
  .m(function (Command, cs, config, o) {
877
- return [
878
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
879
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
880
- ];
773
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
881
774
  })
882
775
  .s("AWSCloud9WorkspaceManagementService", "ListEnvironments", {})
883
776
  .n("Cloud9Client", "ListEnvironmentsCommand")
884
- .f(void 0, void 0)
885
- .ser(se_ListEnvironmentsCommand)
886
- .de(de_ListEnvironmentsCommand)
777
+ .sc(ListEnvironments)
887
778
  .build() {
888
779
  }
889
780
 
@@ -891,16 +782,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
891
782
  .classBuilder()
892
783
  .ep(commonParams)
893
784
  .m(function (Command, cs, config, o) {
894
- return [
895
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
896
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
897
- ];
785
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
898
786
  })
899
787
  .s("AWSCloud9WorkspaceManagementService", "ListTagsForResource", {})
900
788
  .n("Cloud9Client", "ListTagsForResourceCommand")
901
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
902
- .ser(se_ListTagsForResourceCommand)
903
- .de(de_ListTagsForResourceCommand)
789
+ .sc(ListTagsForResource)
904
790
  .build() {
905
791
  }
906
792
 
@@ -908,16 +794,11 @@ class TagResourceCommand extends smithyClient.Command
908
794
  .classBuilder()
909
795
  .ep(commonParams)
910
796
  .m(function (Command, cs, config, o) {
911
- return [
912
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
913
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
914
- ];
797
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
915
798
  })
916
799
  .s("AWSCloud9WorkspaceManagementService", "TagResource", {})
917
800
  .n("Cloud9Client", "TagResourceCommand")
918
- .f(TagResourceRequestFilterSensitiveLog, void 0)
919
- .ser(se_TagResourceCommand)
920
- .de(de_TagResourceCommand)
801
+ .sc(TagResource)
921
802
  .build() {
922
803
  }
923
804
 
@@ -925,16 +806,11 @@ class UntagResourceCommand extends smithyClient.Command
925
806
  .classBuilder()
926
807
  .ep(commonParams)
927
808
  .m(function (Command, cs, config, o) {
928
- return [
929
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
930
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
931
- ];
809
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
932
810
  })
933
811
  .s("AWSCloud9WorkspaceManagementService", "UntagResource", {})
934
812
  .n("Cloud9Client", "UntagResourceCommand")
935
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
936
- .ser(se_UntagResourceCommand)
937
- .de(de_UntagResourceCommand)
813
+ .sc(UntagResource)
938
814
  .build() {
939
815
  }
940
816
 
@@ -942,16 +818,11 @@ class UpdateEnvironmentCommand extends smithyClient.Command
942
818
  .classBuilder()
943
819
  .ep(commonParams)
944
820
  .m(function (Command, cs, config, o) {
945
- return [
946
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
947
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
948
- ];
821
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
949
822
  })
950
823
  .s("AWSCloud9WorkspaceManagementService", "UpdateEnvironment", {})
951
824
  .n("Cloud9Client", "UpdateEnvironmentCommand")
952
- .f(UpdateEnvironmentRequestFilterSensitiveLog, void 0)
953
- .ser(se_UpdateEnvironmentCommand)
954
- .de(de_UpdateEnvironmentCommand)
825
+ .sc(UpdateEnvironment)
955
826
  .build() {
956
827
  }
957
828
 
@@ -959,16 +830,11 @@ class UpdateEnvironmentMembershipCommand extends smithyClient.Command
959
830
  .classBuilder()
960
831
  .ep(commonParams)
961
832
  .m(function (Command, cs, config, o) {
962
- return [
963
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
964
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
965
- ];
833
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
966
834
  })
967
835
  .s("AWSCloud9WorkspaceManagementService", "UpdateEnvironmentMembership", {})
968
836
  .n("Cloud9Client", "UpdateEnvironmentMembershipCommand")
969
- .f(void 0, void 0)
970
- .ser(se_UpdateEnvironmentMembershipCommand)
971
- .de(de_UpdateEnvironmentMembershipCommand)
837
+ .sc(UpdateEnvironmentMembership)
972
838
  .build() {
973
839
  }
974
840
 
@@ -1003,45 +869,37 @@ Object.defineProperty(exports, "__Client", {
1003
869
  enumerable: true,
1004
870
  get: function () { return smithyClient.Client; }
1005
871
  });
1006
- exports.BadRequestException = BadRequestException;
872
+ exports.BadRequestException = BadRequestException$1;
1007
873
  exports.Cloud9 = Cloud9;
1008
874
  exports.Cloud9Client = Cloud9Client;
1009
- exports.Cloud9ServiceException = Cloud9ServiceException;
1010
- exports.ConcurrentAccessException = ConcurrentAccessException;
1011
- exports.ConflictException = ConflictException;
875
+ exports.Cloud9ServiceException = Cloud9ServiceException$1;
876
+ exports.ConcurrentAccessException = ConcurrentAccessException$1;
877
+ exports.ConflictException = ConflictException$1;
1012
878
  exports.ConnectionType = ConnectionType;
1013
879
  exports.CreateEnvironmentEC2Command = CreateEnvironmentEC2Command;
1014
- exports.CreateEnvironmentEC2RequestFilterSensitiveLog = CreateEnvironmentEC2RequestFilterSensitiveLog;
1015
880
  exports.CreateEnvironmentMembershipCommand = CreateEnvironmentMembershipCommand;
1016
881
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1017
882
  exports.DeleteEnvironmentMembershipCommand = DeleteEnvironmentMembershipCommand;
1018
883
  exports.DescribeEnvironmentMembershipsCommand = DescribeEnvironmentMembershipsCommand;
1019
884
  exports.DescribeEnvironmentStatusCommand = DescribeEnvironmentStatusCommand;
1020
885
  exports.DescribeEnvironmentsCommand = DescribeEnvironmentsCommand;
1021
- exports.DescribeEnvironmentsResultFilterSensitiveLog = DescribeEnvironmentsResultFilterSensitiveLog;
1022
- exports.EnvironmentFilterSensitiveLog = EnvironmentFilterSensitiveLog;
1023
886
  exports.EnvironmentLifecycleStatus = EnvironmentLifecycleStatus;
1024
887
  exports.EnvironmentStatus = EnvironmentStatus;
1025
888
  exports.EnvironmentType = EnvironmentType;
1026
- exports.ForbiddenException = ForbiddenException;
1027
- exports.InternalServerErrorException = InternalServerErrorException;
1028
- exports.LimitExceededException = LimitExceededException;
889
+ exports.ForbiddenException = ForbiddenException$1;
890
+ exports.InternalServerErrorException = InternalServerErrorException$1;
891
+ exports.LimitExceededException = LimitExceededException$1;
1029
892
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
1030
893
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1031
- exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
1032
894
  exports.ManagedCredentialsAction = ManagedCredentialsAction;
1033
895
  exports.ManagedCredentialsStatus = ManagedCredentialsStatus;
1034
896
  exports.MemberPermissions = MemberPermissions;
1035
- exports.NotFoundException = NotFoundException;
897
+ exports.NotFoundException = NotFoundException$1;
1036
898
  exports.Permissions = Permissions;
1037
- exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
1038
899
  exports.TagResourceCommand = TagResourceCommand;
1039
- exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
1040
- exports.TooManyRequestsException = TooManyRequestsException;
900
+ exports.TooManyRequestsException = TooManyRequestsException$1;
1041
901
  exports.UntagResourceCommand = UntagResourceCommand;
1042
- exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
1043
902
  exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
1044
903
  exports.UpdateEnvironmentMembershipCommand = UpdateEnvironmentMembershipCommand;
1045
- exports.UpdateEnvironmentRequestFilterSensitiveLog = UpdateEnvironmentRequestFilterSensitiveLog;
1046
904
  exports.paginateDescribeEnvironmentMemberships = paginateDescribeEnvironmentMemberships;
1047
905
  exports.paginateListEnvironments = paginateListEnvironments;