@aws-sdk/client-mwaa 3.928.0 → 3.930.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 (36) hide show
  1. package/dist-cjs/index.js +722 -789
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MWAAClient.js +2 -0
  4. package/dist-es/commands/CreateCliTokenCommand.js +3 -10
  5. package/dist-es/commands/CreateEnvironmentCommand.js +3 -10
  6. package/dist-es/commands/CreateWebLoginTokenCommand.js +3 -10
  7. package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
  8. package/dist-es/commands/GetEnvironmentCommand.js +3 -10
  9. package/dist-es/commands/InvokeRestApiCommand.js +3 -10
  10. package/dist-es/commands/ListEnvironmentsCommand.js +3 -9
  11. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  12. package/dist-es/commands/PublishMetricsCommand.js +3 -9
  13. package/dist-es/commands/TagResourceCommand.js +3 -9
  14. package/dist-es/commands/UntagResourceCommand.js +3 -9
  15. package/dist-es/commands/UpdateEnvironmentCommand.js +3 -10
  16. package/dist-es/models/models_0.js +0 -33
  17. package/dist-es/runtimeConfig.shared.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +686 -0
  19. package/dist-types/MWAAClient.d.ts +10 -1
  20. package/dist-types/models/models_0.d.ts +0 -32
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  22. package/dist-types/runtimeConfig.d.ts +1 -0
  23. package/dist-types/runtimeConfig.native.d.ts +1 -0
  24. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +68 -0
  26. package/dist-types/ts3.4/MWAAClient.d.ts +4 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +0 -22
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +75 -0
  33. package/package.json +33 -33
  34. package/dist-es/protocols/Aws_restJson1.js +0 -652
  35. package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
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 MWAAClient 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 MWAAClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class MWAAServiceException extends smithyClient.ServiceException {
113
+ let MWAAServiceException$1 = class MWAAServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, MWAAServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends MWAAServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends MWAAServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,8 +130,8 @@ class AccessDeniedException extends MWAAServiceException {
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- }
134
- class ResourceNotFoundException extends MWAAServiceException {
133
+ };
134
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends MWAAServiceException$1 {
135
135
  name = "ResourceNotFoundException";
136
136
  $fault = "client";
137
137
  constructor(opts) {
@@ -142,7 +142,7 @@ class ResourceNotFoundException extends MWAAServiceException {
142
142
  });
143
143
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
144
144
  }
145
- }
145
+ };
146
146
  const EndpointManagement = {
147
147
  CUSTOMER: "CUSTOMER",
148
148
  SERVICE: "SERVICE",
@@ -158,7 +158,7 @@ const WebserverAccessMode = {
158
158
  PRIVATE_ONLY: "PRIVATE_ONLY",
159
159
  PUBLIC_ONLY: "PUBLIC_ONLY",
160
160
  };
161
- class InternalServerException extends MWAAServiceException {
161
+ let InternalServerException$1 = class InternalServerException extends MWAAServiceException$1 {
162
162
  name = "InternalServerException";
163
163
  $fault = "server";
164
164
  constructor(opts) {
@@ -169,8 +169,8 @@ class InternalServerException extends MWAAServiceException {
169
169
  });
170
170
  Object.setPrototypeOf(this, InternalServerException.prototype);
171
171
  }
172
- }
173
- class ValidationException extends MWAAServiceException {
172
+ };
173
+ let ValidationException$1 = class ValidationException extends MWAAServiceException$1 {
174
174
  name = "ValidationException";
175
175
  $fault = "client";
176
176
  constructor(opts) {
@@ -181,7 +181,7 @@ class ValidationException extends MWAAServiceException {
181
181
  });
182
182
  Object.setPrototypeOf(this, ValidationException.prototype);
183
183
  }
184
- }
184
+ };
185
185
  const UpdateStatus = {
186
186
  FAILED: "FAILED",
187
187
  PENDING: "PENDING",
@@ -212,7 +212,7 @@ const RestApiMethod = {
212
212
  POST: "POST",
213
213
  PUT: "PUT",
214
214
  };
215
- class RestApiClientException extends MWAAServiceException {
215
+ let RestApiClientException$1 = class RestApiClientException extends MWAAServiceException$1 {
216
216
  name = "RestApiClientException";
217
217
  $fault = "client";
218
218
  RestApiStatusCode;
@@ -227,8 +227,8 @@ class RestApiClientException extends MWAAServiceException {
227
227
  this.RestApiStatusCode = opts.RestApiStatusCode;
228
228
  this.RestApiResponse = opts.RestApiResponse;
229
229
  }
230
- }
231
- class RestApiServerException extends MWAAServiceException {
230
+ };
231
+ let RestApiServerException$1 = class RestApiServerException extends MWAAServiceException$1 {
232
232
  name = "RestApiServerException";
233
233
  $fault = "client";
234
234
  RestApiStatusCode;
@@ -243,7 +243,7 @@ class RestApiServerException extends MWAAServiceException {
243
243
  this.RestApiStatusCode = opts.RestApiStatusCode;
244
244
  this.RestApiResponse = opts.RestApiResponse;
245
245
  }
246
- }
246
+ };
247
247
  const Unit = {
248
248
  BITS: "Bits",
249
249
  BITS_PER_SECOND: "Bits/Second",
@@ -273,699 +273,695 @@ const Unit = {
273
273
  TERABYTES: "Terabytes",
274
274
  TERABYTES_PER_SECOND: "Terabytes/Second",
275
275
  };
276
- const CreateCliTokenResponseFilterSensitiveLog = (obj) => ({
277
- ...obj,
278
- ...(obj.CliToken && { CliToken: smithyClient.SENSITIVE_STRING }),
279
- });
280
- const CreateEnvironmentInputFilterSensitiveLog = (obj) => ({
281
- ...obj,
282
- ...(obj.AirflowConfigurationOptions && { AirflowConfigurationOptions: smithyClient.SENSITIVE_STRING }),
283
- });
284
- const CreateWebLoginTokenResponseFilterSensitiveLog = (obj) => ({
285
- ...obj,
286
- ...(obj.WebToken && { WebToken: smithyClient.SENSITIVE_STRING }),
287
- });
288
- const EnvironmentFilterSensitiveLog = (obj) => ({
289
- ...obj,
290
- ...(obj.AirflowConfigurationOptions && { AirflowConfigurationOptions: smithyClient.SENSITIVE_STRING }),
291
- });
292
- const GetEnvironmentOutputFilterSensitiveLog = (obj) => ({
293
- ...obj,
294
- ...(obj.Environment && { Environment: EnvironmentFilterSensitiveLog(obj.Environment) }),
295
- });
296
- const InvokeRestApiRequestFilterSensitiveLog = (obj) => ({
297
- ...obj,
298
- ...(obj.Body && { Body: smithyClient.SENSITIVE_STRING }),
299
- });
300
- const InvokeRestApiResponseFilterSensitiveLog = (obj) => ({
301
- ...obj,
302
- ...(obj.RestApiResponse && { RestApiResponse: smithyClient.SENSITIVE_STRING }),
303
- });
304
- const UpdateEnvironmentInputFilterSensitiveLog = (obj) => ({
305
- ...obj,
306
- ...(obj.AirflowConfigurationOptions && { AirflowConfigurationOptions: smithyClient.SENSITIVE_STRING }),
307
- });
308
276
 
309
- const se_CreateCliTokenCommand = async (input, context) => {
310
- const b = core.requestBuilder(input, context);
311
- const headers = {};
312
- b.bp("/clitoken/{Name}");
313
- b.p("Name", () => input.Name, "{Name}", false);
314
- let body;
315
- let { hostname: resolvedHostname } = await context.endpoint();
316
- if (context.disableHostPrefix !== true) {
317
- resolvedHostname = "env." + resolvedHostname;
318
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
319
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
320
- }
321
- }
322
- b.hn(resolvedHostname);
323
- b.m("POST").h(headers).b(body);
324
- return b.build();
325
- };
326
- const se_CreateEnvironmentCommand = async (input, context) => {
327
- const b = core.requestBuilder(input, context);
328
- const headers = {
329
- "content-type": "application/json",
330
- };
331
- b.bp("/environments/{Name}");
332
- b.p("Name", () => input.Name, "{Name}", false);
333
- let body;
334
- body = JSON.stringify(smithyClient.take(input, {
335
- AirflowConfigurationOptions: (_) => smithyClient._json(_),
336
- AirflowVersion: [],
337
- DagS3Path: [],
338
- EndpointManagement: [],
339
- EnvironmentClass: [],
340
- ExecutionRoleArn: [],
341
- KmsKey: [],
342
- LoggingConfiguration: (_) => smithyClient._json(_),
343
- MaxWebservers: [],
344
- MaxWorkers: [],
345
- MinWebservers: [],
346
- MinWorkers: [],
347
- NetworkConfiguration: (_) => smithyClient._json(_),
348
- PluginsS3ObjectVersion: [],
349
- PluginsS3Path: [],
350
- RequirementsS3ObjectVersion: [],
351
- RequirementsS3Path: [],
352
- Schedulers: [],
353
- SourceBucketArn: [],
354
- StartupScriptS3ObjectVersion: [],
355
- StartupScriptS3Path: [],
356
- Tags: (_) => smithyClient._json(_),
357
- WebserverAccessMode: [],
358
- WeeklyMaintenanceWindowStart: [],
359
- }));
360
- let { hostname: resolvedHostname } = await context.endpoint();
361
- if (context.disableHostPrefix !== true) {
362
- resolvedHostname = "api." + resolvedHostname;
363
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
364
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
365
- }
366
- }
367
- b.hn(resolvedHostname);
368
- b.m("PUT").h(headers).b(body);
369
- return b.build();
370
- };
371
- const se_CreateWebLoginTokenCommand = async (input, context) => {
372
- const b = core.requestBuilder(input, context);
373
- const headers = {};
374
- b.bp("/webtoken/{Name}");
375
- b.p("Name", () => input.Name, "{Name}", false);
376
- let body;
377
- let { hostname: resolvedHostname } = await context.endpoint();
378
- if (context.disableHostPrefix !== true) {
379
- resolvedHostname = "env." + resolvedHostname;
380
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
381
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
382
- }
383
- }
384
- b.hn(resolvedHostname);
385
- b.m("POST").h(headers).b(body);
386
- return b.build();
387
- };
388
- const se_DeleteEnvironmentCommand = async (input, context) => {
389
- const b = core.requestBuilder(input, context);
390
- const headers = {};
391
- b.bp("/environments/{Name}");
392
- b.p("Name", () => input.Name, "{Name}", false);
393
- let body;
394
- let { hostname: resolvedHostname } = await context.endpoint();
395
- if (context.disableHostPrefix !== true) {
396
- resolvedHostname = "api." + resolvedHostname;
397
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
398
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
399
- }
400
- }
401
- b.hn(resolvedHostname);
402
- b.m("DELETE").h(headers).b(body);
403
- return b.build();
404
- };
405
- const se_GetEnvironmentCommand = async (input, context) => {
406
- const b = core.requestBuilder(input, context);
407
- const headers = {};
408
- b.bp("/environments/{Name}");
409
- b.p("Name", () => input.Name, "{Name}", false);
410
- let body;
411
- let { hostname: resolvedHostname } = await context.endpoint();
412
- if (context.disableHostPrefix !== true) {
413
- resolvedHostname = "api." + resolvedHostname;
414
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
415
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
416
- }
417
- }
418
- b.hn(resolvedHostname);
419
- b.m("GET").h(headers).b(body);
420
- return b.build();
421
- };
422
- const se_InvokeRestApiCommand = async (input, context) => {
423
- const b = core.requestBuilder(input, context);
424
- const headers = {
425
- "content-type": "application/json",
426
- };
427
- b.bp("/restapi/{Name}");
428
- b.p("Name", () => input.Name, "{Name}", false);
429
- let body;
430
- body = JSON.stringify(smithyClient.take(input, {
431
- Body: (_) => se_RestApiRequestBody(_),
432
- Method: [],
433
- Path: [],
434
- QueryParameters: (_) => se_Document(_),
435
- }));
436
- let { hostname: resolvedHostname } = await context.endpoint();
437
- if (context.disableHostPrefix !== true) {
438
- resolvedHostname = "env." + resolvedHostname;
439
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
440
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
441
- }
442
- }
443
- b.hn(resolvedHostname);
444
- b.m("POST").h(headers).b(body);
445
- return b.build();
446
- };
447
- const se_ListEnvironmentsCommand = async (input, context) => {
448
- const b = core.requestBuilder(input, context);
449
- const headers = {};
450
- b.bp("/environments");
451
- const query = smithyClient.map({
452
- [_NT]: [, input[_NT]],
453
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
454
- });
455
- let body;
456
- let { hostname: resolvedHostname } = await context.endpoint();
457
- if (context.disableHostPrefix !== true) {
458
- resolvedHostname = "api." + resolvedHostname;
459
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
460
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
461
- }
462
- }
463
- b.hn(resolvedHostname);
464
- b.m("GET").h(headers).q(query).b(body);
465
- return b.build();
466
- };
467
- const se_ListTagsForResourceCommand = async (input, context) => {
468
- const b = core.requestBuilder(input, context);
469
- const headers = {};
470
- b.bp("/tags/{ResourceArn}");
471
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
472
- let body;
473
- let { hostname: resolvedHostname } = await context.endpoint();
474
- if (context.disableHostPrefix !== true) {
475
- resolvedHostname = "api." + resolvedHostname;
476
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
477
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
478
- }
479
- }
480
- b.hn(resolvedHostname);
481
- b.m("GET").h(headers).b(body);
482
- return b.build();
483
- };
484
- const se_PublishMetricsCommand = async (input, context) => {
485
- const b = core.requestBuilder(input, context);
486
- const headers = {
487
- "content-type": "application/json",
488
- };
489
- b.bp("/metrics/environments/{EnvironmentName}");
490
- b.p("EnvironmentName", () => input.EnvironmentName, "{EnvironmentName}", false);
491
- let body;
492
- body = JSON.stringify(smithyClient.take(input, {
493
- MetricData: (_) => se_MetricData(_),
494
- }));
495
- let { hostname: resolvedHostname } = await context.endpoint();
496
- if (context.disableHostPrefix !== true) {
497
- resolvedHostname = "ops." + resolvedHostname;
498
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
499
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
500
- }
501
- }
502
- b.hn(resolvedHostname);
503
- b.m("POST").h(headers).b(body);
504
- return b.build();
505
- };
506
- const se_TagResourceCommand = async (input, context) => {
507
- const b = core.requestBuilder(input, context);
508
- const headers = {
509
- "content-type": "application/json",
510
- };
511
- b.bp("/tags/{ResourceArn}");
512
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
513
- let body;
514
- body = JSON.stringify(smithyClient.take(input, {
515
- Tags: (_) => smithyClient._json(_),
516
- }));
517
- let { hostname: resolvedHostname } = await context.endpoint();
518
- if (context.disableHostPrefix !== true) {
519
- resolvedHostname = "api." + resolvedHostname;
520
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
521
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
522
- }
523
- }
524
- b.hn(resolvedHostname);
525
- b.m("POST").h(headers).b(body);
526
- return b.build();
527
- };
528
- const se_UntagResourceCommand = async (input, context) => {
529
- const b = core.requestBuilder(input, context);
530
- const headers = {};
531
- b.bp("/tags/{ResourceArn}");
532
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
533
- const query = smithyClient.map({
534
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
535
- });
536
- let body;
537
- let { hostname: resolvedHostname } = await context.endpoint();
538
- if (context.disableHostPrefix !== true) {
539
- resolvedHostname = "api." + resolvedHostname;
540
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
541
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
542
- }
543
- }
544
- b.hn(resolvedHostname);
545
- b.m("DELETE").h(headers).q(query).b(body);
546
- return b.build();
547
- };
548
- const se_UpdateEnvironmentCommand = async (input, context) => {
549
- const b = core.requestBuilder(input, context);
550
- const headers = {
551
- "content-type": "application/json",
552
- };
553
- b.bp("/environments/{Name}");
554
- b.p("Name", () => input.Name, "{Name}", false);
555
- let body;
556
- body = JSON.stringify(smithyClient.take(input, {
557
- AirflowConfigurationOptions: (_) => smithyClient._json(_),
558
- AirflowVersion: [],
559
- DagS3Path: [],
560
- EnvironmentClass: [],
561
- ExecutionRoleArn: [],
562
- LoggingConfiguration: (_) => smithyClient._json(_),
563
- MaxWebservers: [],
564
- MaxWorkers: [],
565
- MinWebservers: [],
566
- MinWorkers: [],
567
- NetworkConfiguration: (_) => smithyClient._json(_),
568
- PluginsS3ObjectVersion: [],
569
- PluginsS3Path: [],
570
- RequirementsS3ObjectVersion: [],
571
- RequirementsS3Path: [],
572
- Schedulers: [],
573
- SourceBucketArn: [],
574
- StartupScriptS3ObjectVersion: [],
575
- StartupScriptS3Path: [],
576
- WebserverAccessMode: [],
577
- WeeklyMaintenanceWindowStart: [],
578
- WorkerReplacementStrategy: [],
579
- }));
580
- let { hostname: resolvedHostname } = await context.endpoint();
581
- if (context.disableHostPrefix !== true) {
582
- resolvedHostname = "api." + resolvedHostname;
583
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
584
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
585
- }
586
- }
587
- b.hn(resolvedHostname);
588
- b.m("PATCH").h(headers).b(body);
589
- return b.build();
590
- };
591
- const de_CreateCliTokenCommand = async (output, context) => {
592
- if (output.statusCode !== 200 && output.statusCode >= 300) {
593
- return de_CommandError(output, context);
594
- }
595
- const contents = smithyClient.map({
596
- $metadata: deserializeMetadata(output),
597
- });
598
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
599
- const doc = smithyClient.take(data, {
600
- CliToken: smithyClient.expectString,
601
- WebServerHostname: smithyClient.expectString,
602
- });
603
- Object.assign(contents, doc);
604
- return contents;
605
- };
606
- const de_CreateEnvironmentCommand = async (output, context) => {
607
- if (output.statusCode !== 200 && output.statusCode >= 300) {
608
- return de_CommandError(output, context);
609
- }
610
- const contents = smithyClient.map({
611
- $metadata: deserializeMetadata(output),
612
- });
613
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
614
- const doc = smithyClient.take(data, {
615
- Arn: smithyClient.expectString,
616
- });
617
- Object.assign(contents, doc);
618
- return contents;
619
- };
620
- const de_CreateWebLoginTokenCommand = async (output, context) => {
621
- if (output.statusCode !== 200 && output.statusCode >= 300) {
622
- return de_CommandError(output, context);
623
- }
624
- const contents = smithyClient.map({
625
- $metadata: deserializeMetadata(output),
626
- });
627
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
628
- const doc = smithyClient.take(data, {
629
- AirflowIdentity: smithyClient.expectString,
630
- IamIdentity: smithyClient.expectString,
631
- WebServerHostname: smithyClient.expectString,
632
- WebToken: smithyClient.expectString,
633
- });
634
- Object.assign(contents, doc);
635
- return contents;
636
- };
637
- const de_DeleteEnvironmentCommand = async (output, context) => {
638
- if (output.statusCode !== 200 && output.statusCode >= 300) {
639
- return de_CommandError(output, context);
640
- }
641
- const contents = smithyClient.map({
642
- $metadata: deserializeMetadata(output),
643
- });
644
- await smithyClient.collectBody(output.body, context);
645
- return contents;
646
- };
647
- const de_GetEnvironmentCommand = async (output, context) => {
648
- if (output.statusCode !== 200 && output.statusCode >= 300) {
649
- return de_CommandError(output, context);
650
- }
651
- const contents = smithyClient.map({
652
- $metadata: deserializeMetadata(output),
653
- });
654
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
655
- const doc = smithyClient.take(data, {
656
- Environment: (_) => de_Environment(_),
657
- });
658
- Object.assign(contents, doc);
659
- return contents;
660
- };
661
- const de_InvokeRestApiCommand = async (output, context) => {
662
- if (output.statusCode !== 200 && output.statusCode >= 300) {
663
- return de_CommandError(output, context);
664
- }
665
- const contents = smithyClient.map({
666
- $metadata: deserializeMetadata(output),
667
- });
668
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
669
- const doc = smithyClient.take(data, {
670
- RestApiResponse: (_) => de_RestApiResponse(_),
671
- RestApiStatusCode: smithyClient.expectInt32,
672
- });
673
- Object.assign(contents, doc);
674
- return contents;
675
- };
676
- const de_ListEnvironmentsCommand = async (output, context) => {
677
- if (output.statusCode !== 200 && output.statusCode >= 300) {
678
- return de_CommandError(output, context);
679
- }
680
- const contents = smithyClient.map({
681
- $metadata: deserializeMetadata(output),
682
- });
683
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
684
- const doc = smithyClient.take(data, {
685
- Environments: smithyClient._json,
686
- NextToken: smithyClient.expectString,
687
- });
688
- Object.assign(contents, doc);
689
- return contents;
690
- };
691
- const de_ListTagsForResourceCommand = async (output, context) => {
692
- if (output.statusCode !== 200 && output.statusCode >= 300) {
693
- return de_CommandError(output, context);
694
- }
695
- const contents = smithyClient.map({
696
- $metadata: deserializeMetadata(output),
697
- });
698
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
699
- const doc = smithyClient.take(data, {
700
- Tags: smithyClient._json,
701
- });
702
- Object.assign(contents, doc);
703
- return contents;
704
- };
705
- const de_PublishMetricsCommand = async (output, context) => {
706
- if (output.statusCode !== 200 && output.statusCode >= 300) {
707
- return de_CommandError(output, context);
708
- }
709
- const contents = smithyClient.map({
710
- $metadata: deserializeMetadata(output),
711
- });
712
- await smithyClient.collectBody(output.body, context);
713
- return contents;
714
- };
715
- const de_TagResourceCommand = async (output, context) => {
716
- if (output.statusCode !== 200 && output.statusCode >= 300) {
717
- return de_CommandError(output, context);
718
- }
719
- const contents = smithyClient.map({
720
- $metadata: deserializeMetadata(output),
721
- });
722
- await smithyClient.collectBody(output.body, context);
723
- return contents;
724
- };
725
- const de_UntagResourceCommand = async (output, context) => {
726
- if (output.statusCode !== 200 && output.statusCode >= 300) {
727
- return de_CommandError(output, context);
728
- }
729
- const contents = smithyClient.map({
730
- $metadata: deserializeMetadata(output),
731
- });
732
- await smithyClient.collectBody(output.body, context);
733
- return contents;
734
- };
735
- const de_UpdateEnvironmentCommand = async (output, context) => {
736
- if (output.statusCode !== 200 && output.statusCode >= 300) {
737
- return de_CommandError(output, context);
738
- }
739
- const contents = smithyClient.map({
740
- $metadata: deserializeMetadata(output),
741
- });
742
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
743
- const doc = smithyClient.take(data, {
744
- Arn: smithyClient.expectString,
745
- });
746
- Object.assign(contents, doc);
747
- return contents;
748
- };
749
- const de_CommandError = async (output, context) => {
750
- const parsedOutput = {
751
- ...output,
752
- body: await core$1.parseJsonErrorBody(output.body, context),
753
- };
754
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
755
- switch (errorCode) {
756
- case "ResourceNotFoundException":
757
- case "com.amazonaws.mwaa#ResourceNotFoundException":
758
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
759
- case "InternalServerException":
760
- case "com.amazonaws.mwaa#InternalServerException":
761
- throw await de_InternalServerExceptionRes(parsedOutput);
762
- case "ValidationException":
763
- case "com.amazonaws.mwaa#ValidationException":
764
- throw await de_ValidationExceptionRes(parsedOutput);
765
- case "AccessDeniedException":
766
- case "com.amazonaws.mwaa#AccessDeniedException":
767
- throw await de_AccessDeniedExceptionRes(parsedOutput);
768
- case "RestApiClientException":
769
- case "com.amazonaws.mwaa#RestApiClientException":
770
- throw await de_RestApiClientExceptionRes(parsedOutput);
771
- case "RestApiServerException":
772
- case "com.amazonaws.mwaa#RestApiServerException":
773
- throw await de_RestApiServerExceptionRes(parsedOutput);
774
- default:
775
- const parsedBody = parsedOutput.body;
776
- return throwDefaultError({
777
- output,
778
- parsedBody,
779
- errorCode,
780
- });
781
- }
782
- };
783
- const throwDefaultError = smithyClient.withBaseException(MWAAServiceException);
784
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
785
- const contents = smithyClient.map({});
786
- const data = parsedOutput.body;
787
- const doc = smithyClient.take(data, {
788
- Message: smithyClient.expectString,
789
- });
790
- Object.assign(contents, doc);
791
- const exception = new AccessDeniedException({
792
- $metadata: deserializeMetadata(parsedOutput),
793
- ...contents,
794
- });
795
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
796
- };
797
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
798
- const contents = smithyClient.map({});
799
- const data = parsedOutput.body;
800
- const doc = smithyClient.take(data, {
801
- message: smithyClient.expectString,
802
- });
803
- Object.assign(contents, doc);
804
- const exception = new InternalServerException({
805
- $metadata: deserializeMetadata(parsedOutput),
806
- ...contents,
807
- });
808
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
809
- };
810
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
811
- const contents = smithyClient.map({});
812
- const data = parsedOutput.body;
813
- const doc = smithyClient.take(data, {
814
- message: smithyClient.expectString,
815
- });
816
- Object.assign(contents, doc);
817
- const exception = new ResourceNotFoundException({
818
- $metadata: deserializeMetadata(parsedOutput),
819
- ...contents,
820
- });
821
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
822
- };
823
- const de_RestApiClientExceptionRes = async (parsedOutput, context) => {
824
- const contents = smithyClient.map({});
825
- const data = parsedOutput.body;
826
- const doc = smithyClient.take(data, {
827
- RestApiResponse: (_) => de_RestApiResponse(_),
828
- RestApiStatusCode: smithyClient.expectInt32,
829
- });
830
- Object.assign(contents, doc);
831
- const exception = new RestApiClientException({
832
- $metadata: deserializeMetadata(parsedOutput),
833
- ...contents,
834
- });
835
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
836
- };
837
- const de_RestApiServerExceptionRes = async (parsedOutput, context) => {
838
- const contents = smithyClient.map({});
839
- const data = parsedOutput.body;
840
- const doc = smithyClient.take(data, {
841
- RestApiResponse: (_) => de_RestApiResponse(_),
842
- RestApiStatusCode: smithyClient.expectInt32,
843
- });
844
- Object.assign(contents, doc);
845
- const exception = new RestApiServerException({
846
- $metadata: deserializeMetadata(parsedOutput),
847
- ...contents,
848
- });
849
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
850
- };
851
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
852
- const contents = smithyClient.map({});
853
- const data = parsedOutput.body;
854
- const doc = smithyClient.take(data, {
855
- message: smithyClient.expectString,
856
- });
857
- Object.assign(contents, doc);
858
- const exception = new ValidationException({
859
- $metadata: deserializeMetadata(parsedOutput),
860
- ...contents,
861
- });
862
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
863
- };
864
- const se_MetricData = (input, context) => {
865
- return input
866
- .filter((e) => e != null)
867
- .map((entry) => {
868
- return se_MetricDatum(entry);
869
- });
870
- };
871
- const se_MetricDatum = (input, context) => {
872
- return smithyClient.take(input, {
873
- Dimensions: smithyClient._json,
874
- MetricName: [],
875
- StatisticValues: (_) => se_StatisticSet(_),
876
- Timestamp: (_) => _.getTime() / 1_000,
877
- Unit: [],
878
- Value: smithyClient.serializeFloat,
879
- });
880
- };
881
- const se_RestApiRequestBody = (input, context) => {
882
- return input;
883
- };
884
- const se_StatisticSet = (input, context) => {
885
- return smithyClient.take(input, {
886
- Maximum: smithyClient.serializeFloat,
887
- Minimum: smithyClient.serializeFloat,
888
- SampleCount: [],
889
- Sum: smithyClient.serializeFloat,
890
- });
891
- };
892
- const se_Document = (input, context) => {
893
- return input;
894
- };
895
- const de_Environment = (output, context) => {
896
- return smithyClient.take(output, {
897
- AirflowConfigurationOptions: smithyClient._json,
898
- AirflowVersion: smithyClient.expectString,
899
- Arn: smithyClient.expectString,
900
- CeleryExecutorQueue: smithyClient.expectString,
901
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
902
- DagS3Path: smithyClient.expectString,
903
- DatabaseVpcEndpointService: smithyClient.expectString,
904
- EndpointManagement: smithyClient.expectString,
905
- EnvironmentClass: smithyClient.expectString,
906
- ExecutionRoleArn: smithyClient.expectString,
907
- KmsKey: smithyClient.expectString,
908
- LastUpdate: (_) => de_LastUpdate(_),
909
- LoggingConfiguration: smithyClient._json,
910
- MaxWebservers: smithyClient.expectInt32,
911
- MaxWorkers: smithyClient.expectInt32,
912
- MinWebservers: smithyClient.expectInt32,
913
- MinWorkers: smithyClient.expectInt32,
914
- Name: smithyClient.expectString,
915
- NetworkConfiguration: smithyClient._json,
916
- PluginsS3ObjectVersion: smithyClient.expectString,
917
- PluginsS3Path: smithyClient.expectString,
918
- RequirementsS3ObjectVersion: smithyClient.expectString,
919
- RequirementsS3Path: smithyClient.expectString,
920
- Schedulers: smithyClient.expectInt32,
921
- ServiceRoleArn: smithyClient.expectString,
922
- SourceBucketArn: smithyClient.expectString,
923
- StartupScriptS3ObjectVersion: smithyClient.expectString,
924
- StartupScriptS3Path: smithyClient.expectString,
925
- Status: smithyClient.expectString,
926
- Tags: smithyClient._json,
927
- WebserverAccessMode: smithyClient.expectString,
928
- WebserverUrl: smithyClient.expectString,
929
- WebserverVpcEndpointService: smithyClient.expectString,
930
- WeeklyMaintenanceWindowStart: smithyClient.expectString,
931
- });
932
- };
933
- const de_LastUpdate = (output, context) => {
934
- return smithyClient.take(output, {
935
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
936
- Error: smithyClient._json,
937
- Source: smithyClient.expectString,
938
- Status: smithyClient.expectString,
939
- WorkerReplacementStrategy: smithyClient.expectString,
940
- });
941
- };
942
- const de_RestApiResponse = (output, context) => {
943
- return output;
944
- };
945
- const deserializeMetadata = (output) => ({
946
- httpStatusCode: output.statusCode,
947
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
948
- extendedRequestId: output.headers["x-amz-id-2"],
949
- cfId: output.headers["x-amz-cf-id"],
950
- });
277
+ const _A = "Arn";
278
+ const _ACO = "AirflowConfigurationOptions";
279
+ const _ADE = "AccessDeniedException";
280
+ const _AI = "AirflowIdentity";
281
+ const _AV = "AirflowVersion";
282
+ const _B = "Body";
283
+ const _CA = "CreatedAt";
284
+ const _CCT = "CreateCliToken";
285
+ const _CCTR = "CreateCliTokenRequest";
286
+ const _CCTRr = "CreateCliTokenResponse";
287
+ const _CE = "CreateEnvironment";
288
+ const _CEI = "CreateEnvironmentInput";
289
+ const _CEO = "CreateEnvironmentOutput";
290
+ const _CEQ = "CeleryExecutorQueue";
291
+ const _CT = "CliToken";
292
+ const _CV = "ConfigValue";
293
+ const _CWLGA = "CloudWatchLogGroupArn";
294
+ const _CWLT = "CreateWebLoginToken";
295
+ const _CWLTR = "CreateWebLoginTokenRequest";
296
+ const _CWLTRr = "CreateWebLoginTokenResponse";
297
+ const _D = "Dimension";
298
+ const _DE = "DeleteEnvironment";
299
+ const _DEI = "DeleteEnvironmentInput";
300
+ const _DEO = "DeleteEnvironmentOutput";
301
+ const _DPL = "DagProcessingLogs";
302
+ const _DSP = "DagS3Path";
303
+ const _DVES = "DatabaseVpcEndpointService";
304
+ const _Di = "Dimensions";
305
+ const _E = "Environment";
306
+ const _EC = "EnvironmentClass";
307
+ const _ECr = "ErrorCode";
308
+ const _EM = "EndpointManagement";
309
+ const _EMr = "ErrorMessage";
310
+ const _EN = "EnvironmentName";
311
+ const _ERA = "ExecutionRoleArn";
312
+ const _En = "Environments";
313
+ const _Ena = "Enabled";
314
+ const _Er = "Error";
315
+ const _GE = "GetEnvironment";
316
+ const _GEI = "GetEnvironmentInput";
317
+ const _GEO = "GetEnvironmentOutput";
318
+ const _II = "IamIdentity";
319
+ const _IRA = "InvokeRestApi";
320
+ const _IRAR = "InvokeRestApiRequest";
321
+ const _IRARn = "InvokeRestApiResponse";
322
+ const _ISE = "InternalServerException";
323
+ const _KK = "KmsKey";
324
+ const _LC = "LoggingConfiguration";
325
+ const _LCI = "LoggingConfigurationInput";
326
+ const _LE = "ListEnvironments";
327
+ const _LEI = "ListEnvironmentsInput";
328
+ const _LEO = "ListEnvironmentsOutput";
329
+ const _LL = "LogLevel";
330
+ const _LTFR = "ListTagsForResource";
331
+ const _LTFRI = "ListTagsForResourceInput";
332
+ const _LTFRO = "ListTagsForResourceOutput";
333
+ const _LU = "LastUpdate";
334
+ const _M = "Message";
335
+ const _MD = "MetricDatum";
336
+ const _MDe = "MetricData";
337
+ const _MLC = "ModuleLoggingConfiguration";
338
+ const _MLCI = "ModuleLoggingConfigurationInput";
339
+ const _MN = "MetricName";
951
340
  const _MR = "MaxResults";
341
+ const _MW = "MaxWorkers";
342
+ const _MWa = "MaxWebservers";
343
+ const _MWi = "MinWorkers";
344
+ const _MWin = "MinWebservers";
345
+ const _Ma = "Maximum";
346
+ const _Me = "Method";
347
+ const _Mi = "Minimum";
348
+ const _N = "Name";
349
+ const _NC = "NetworkConfiguration";
952
350
  const _NT = "NextToken";
351
+ const _P = "Path";
352
+ const _PM = "PublishMetrics";
353
+ const _PMI = "PublishMetricsInput";
354
+ const _PMO = "PublishMetricsOutput";
355
+ const _PSOV = "PluginsS3ObjectVersion";
356
+ const _PSP = "PluginsS3Path";
357
+ const _QP = "QueryParameters";
358
+ const _RA = "ResourceArn";
359
+ const _RACE = "RestApiClientException";
360
+ const _RAR = "RestApiResponse";
361
+ const _RARB = "RestApiRequestBody";
362
+ const _RASC = "RestApiStatusCode";
363
+ const _RASE = "RestApiServerException";
364
+ const _RNFE = "ResourceNotFoundException";
365
+ const _RSOV = "RequirementsS3ObjectVersion";
366
+ const _RSP = "RequirementsS3Path";
367
+ const _S = "Schedulers";
368
+ const _SBA = "SourceBucketArn";
369
+ const _SC = "SampleCount";
370
+ const _SGI = "SecurityGroupIds";
371
+ const _SI = "SubnetIds";
372
+ const _SL = "SchedulerLogs";
373
+ const _SRA = "ServiceRoleArn";
374
+ const _SS = "StatisticSet";
375
+ const _SSSOV = "StartupScriptS3ObjectVersion";
376
+ const _SSSP = "StartupScriptS3Path";
377
+ const _SV = "StatisticValues";
378
+ const _So = "Source";
379
+ const _St = "Status";
380
+ const _Su = "Sum";
381
+ const _T = "Token";
382
+ const _TL = "TaskLogs";
383
+ const _TR = "TagResource";
384
+ const _TRI = "TagResourceInput";
385
+ const _TRO = "TagResourceOutput";
386
+ const _Ta = "Tags";
387
+ const _Ti = "Timestamp";
388
+ const _U = "Unit";
389
+ const _UE = "UpdateError";
390
+ const _UEI = "UpdateEnvironmentInput";
391
+ const _UEO = "UpdateEnvironmentOutput";
392
+ const _UEp = "UpdateEnvironment";
393
+ const _UNCI = "UpdateNetworkConfigurationInput";
394
+ const _UR = "UntagResource";
395
+ const _URI = "UntagResourceInput";
396
+ const _URO = "UntagResourceOutput";
397
+ const _V = "Value";
398
+ const _VE = "ValidationException";
399
+ const _WAM = "WebserverAccessMode";
400
+ const _WL = "WebserverLogs";
401
+ const _WLo = "WorkerLogs";
402
+ const _WMWS = "WeeklyMaintenanceWindowStart";
403
+ const _WRS = "WorkerReplacementStrategy";
404
+ const _WSH = "WebServerHostname";
405
+ const _WT = "WebToken";
406
+ const _WU = "WebserverUrl";
407
+ const _WVES = "WebserverVpcEndpointService";
408
+ const _c = "client";
409
+ const _e = "error";
410
+ const _en = "endpoint";
411
+ const _h = "http";
412
+ const _hE = "httpError";
413
+ const _hQ = "httpQuery";
414
+ const _m = "message";
415
+ const _s = "server";
416
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mwaa";
953
417
  const _tK = "tagKeys";
418
+ const n0 = "com.amazonaws.mwaa";
419
+ var ConfigValue = [0, n0, _CV, 8, 0];
420
+ var RestApiRequestBody = [0, n0, _RARB, 8, 15];
421
+ var RestApiResponse = [0, n0, _RAR, 8, 15];
422
+ var Token = [0, n0, _T, 8, 0];
423
+ var AccessDeniedException = [
424
+ -3,
425
+ n0,
426
+ _ADE,
427
+ {
428
+ [_e]: _c,
429
+ [_hE]: 403,
430
+ },
431
+ [_M],
432
+ [0],
433
+ ];
434
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
435
+ var CreateCliTokenRequest = [3, n0, _CCTR, 0, [_N], [[0, 1]]];
436
+ var CreateCliTokenResponse = [3, n0, _CCTRr, 0, [_CT, _WSH], [[() => Token, 0], 0]];
437
+ var CreateEnvironmentInput = [
438
+ 3,
439
+ n0,
440
+ _CEI,
441
+ 0,
442
+ [
443
+ _N,
444
+ _ERA,
445
+ _SBA,
446
+ _DSP,
447
+ _NC,
448
+ _PSP,
449
+ _PSOV,
450
+ _RSP,
451
+ _RSOV,
452
+ _SSSP,
453
+ _SSSOV,
454
+ _ACO,
455
+ _EC,
456
+ _MW,
457
+ _KK,
458
+ _AV,
459
+ _LC,
460
+ _WMWS,
461
+ _Ta,
462
+ _WAM,
463
+ _MWi,
464
+ _S,
465
+ _EM,
466
+ _MWin,
467
+ _MWa,
468
+ ],
469
+ [
470
+ [0, 1],
471
+ 0,
472
+ 0,
473
+ 0,
474
+ () => NetworkConfiguration,
475
+ 0,
476
+ 0,
477
+ 0,
478
+ 0,
479
+ 0,
480
+ 0,
481
+ [() => AirflowConfigurationOptions, 0],
482
+ 0,
483
+ 1,
484
+ 0,
485
+ 0,
486
+ () => LoggingConfigurationInput,
487
+ 0,
488
+ 128 | 0,
489
+ 0,
490
+ 1,
491
+ 1,
492
+ 0,
493
+ 1,
494
+ 1,
495
+ ],
496
+ ];
497
+ var CreateEnvironmentOutput = [3, n0, _CEO, 0, [_A], [0]];
498
+ var CreateWebLoginTokenRequest = [3, n0, _CWLTR, 0, [_N], [[0, 1]]];
499
+ var CreateWebLoginTokenResponse = [
500
+ 3,
501
+ n0,
502
+ _CWLTRr,
503
+ 0,
504
+ [_WT, _WSH, _II, _AI],
505
+ [[() => Token, 0], 0, 0, 0],
506
+ ];
507
+ var DeleteEnvironmentInput = [3, n0, _DEI, 0, [_N], [[0, 1]]];
508
+ var DeleteEnvironmentOutput = [3, n0, _DEO, 0, [], []];
509
+ var Dimension = [3, n0, _D, 0, [_N, _V], [0, 0]];
510
+ var Environment = [
511
+ 3,
512
+ n0,
513
+ _E,
514
+ 0,
515
+ [
516
+ _N,
517
+ _St,
518
+ _A,
519
+ _CA,
520
+ _WU,
521
+ _ERA,
522
+ _SRA,
523
+ _KK,
524
+ _AV,
525
+ _SBA,
526
+ _DSP,
527
+ _PSP,
528
+ _PSOV,
529
+ _RSP,
530
+ _RSOV,
531
+ _SSSP,
532
+ _SSSOV,
533
+ _ACO,
534
+ _EC,
535
+ _MW,
536
+ _NC,
537
+ _LC,
538
+ _LU,
539
+ _WMWS,
540
+ _Ta,
541
+ _WAM,
542
+ _MWi,
543
+ _S,
544
+ _WVES,
545
+ _DVES,
546
+ _CEQ,
547
+ _EM,
548
+ _MWin,
549
+ _MWa,
550
+ ],
551
+ [
552
+ 0,
553
+ 0,
554
+ 0,
555
+ 4,
556
+ 0,
557
+ 0,
558
+ 0,
559
+ 0,
560
+ 0,
561
+ 0,
562
+ 0,
563
+ 0,
564
+ 0,
565
+ 0,
566
+ 0,
567
+ 0,
568
+ 0,
569
+ [() => AirflowConfigurationOptions, 0],
570
+ 0,
571
+ 1,
572
+ () => NetworkConfiguration,
573
+ () => LoggingConfiguration,
574
+ () => LastUpdate,
575
+ 0,
576
+ 128 | 0,
577
+ 0,
578
+ 1,
579
+ 1,
580
+ 0,
581
+ 0,
582
+ 0,
583
+ 0,
584
+ 1,
585
+ 1,
586
+ ],
587
+ ];
588
+ var GetEnvironmentInput = [3, n0, _GEI, 0, [_N], [[0, 1]]];
589
+ var GetEnvironmentOutput = [3, n0, _GEO, 0, [_E], [[() => Environment, 0]]];
590
+ var InternalServerException = [
591
+ -3,
592
+ n0,
593
+ _ISE,
594
+ {
595
+ [_e]: _s,
596
+ [_hE]: 500,
597
+ },
598
+ [_m],
599
+ [0],
600
+ ];
601
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
602
+ var InvokeRestApiRequest = [
603
+ 3,
604
+ n0,
605
+ _IRAR,
606
+ 0,
607
+ [_N, _P, _Me, _QP, _B],
608
+ [[0, 1], 0, 0, 15, [() => RestApiRequestBody, 0]],
609
+ ];
610
+ var InvokeRestApiResponse = [
611
+ 3,
612
+ n0,
613
+ _IRARn,
614
+ 0,
615
+ [_RASC, _RAR],
616
+ [1, [() => RestApiResponse, 0]],
617
+ ];
618
+ var LastUpdate = [
619
+ 3,
620
+ n0,
621
+ _LU,
622
+ 0,
623
+ [_St, _CA, _Er, _So, _WRS],
624
+ [0, 4, () => UpdateError, 0, 0],
625
+ ];
626
+ var ListEnvironmentsInput = [
627
+ 3,
628
+ n0,
629
+ _LEI,
630
+ 0,
631
+ [_NT, _MR],
632
+ [
633
+ [
634
+ 0,
635
+ {
636
+ [_hQ]: _NT,
637
+ },
638
+ ],
639
+ [
640
+ 1,
641
+ {
642
+ [_hQ]: _MR,
643
+ },
644
+ ],
645
+ ],
646
+ ];
647
+ var ListEnvironmentsOutput = [3, n0, _LEO, 0, [_En, _NT], [64 | 0, 0]];
648
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_RA], [[0, 1]]];
649
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_Ta], [128 | 0]];
650
+ var LoggingConfiguration = [
651
+ 3,
652
+ n0,
653
+ _LC,
654
+ 0,
655
+ [_DPL, _SL, _WL, _WLo, _TL],
656
+ [
657
+ () => ModuleLoggingConfiguration,
658
+ () => ModuleLoggingConfiguration,
659
+ () => ModuleLoggingConfiguration,
660
+ () => ModuleLoggingConfiguration,
661
+ () => ModuleLoggingConfiguration,
662
+ ],
663
+ ];
664
+ var LoggingConfigurationInput = [
665
+ 3,
666
+ n0,
667
+ _LCI,
668
+ 0,
669
+ [_DPL, _SL, _WL, _WLo, _TL],
670
+ [
671
+ () => ModuleLoggingConfigurationInput,
672
+ () => ModuleLoggingConfigurationInput,
673
+ () => ModuleLoggingConfigurationInput,
674
+ () => ModuleLoggingConfigurationInput,
675
+ () => ModuleLoggingConfigurationInput,
676
+ ],
677
+ ];
678
+ var MetricDatum = [
679
+ 3,
680
+ n0,
681
+ _MD,
682
+ 0,
683
+ [_MN, _Ti, _Di, _V, _U, _SV],
684
+ [0, 4, () => Dimensions, 1, 0, () => StatisticSet],
685
+ ];
686
+ var ModuleLoggingConfiguration = [3, n0, _MLC, 0, [_Ena, _LL, _CWLGA], [2, 0, 0]];
687
+ var ModuleLoggingConfigurationInput = [3, n0, _MLCI, 0, [_Ena, _LL], [2, 0]];
688
+ var NetworkConfiguration = [3, n0, _NC, 0, [_SI, _SGI], [64 | 0, 64 | 0]];
689
+ var PublishMetricsInput = [3, n0, _PMI, 0, [_EN, _MDe], [[0, 1], () => MetricData]];
690
+ var PublishMetricsOutput = [3, n0, _PMO, 0, [], []];
691
+ var ResourceNotFoundException = [
692
+ -3,
693
+ n0,
694
+ _RNFE,
695
+ {
696
+ [_e]: _c,
697
+ [_hE]: 404,
698
+ },
699
+ [_m],
700
+ [0],
701
+ ];
702
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
703
+ var RestApiClientException = [
704
+ -3,
705
+ n0,
706
+ _RACE,
707
+ {
708
+ [_e]: _c,
709
+ [_hE]: 400,
710
+ },
711
+ [_RASC, _RAR],
712
+ [1, [() => RestApiResponse, 0]],
713
+ ];
714
+ schema.TypeRegistry.for(n0).registerError(RestApiClientException, RestApiClientException$1);
715
+ var RestApiServerException = [
716
+ -3,
717
+ n0,
718
+ _RASE,
719
+ {
720
+ [_e]: _c,
721
+ [_hE]: 400,
722
+ },
723
+ [_RASC, _RAR],
724
+ [1, [() => RestApiResponse, 0]],
725
+ ];
726
+ schema.TypeRegistry.for(n0).registerError(RestApiServerException, RestApiServerException$1);
727
+ var StatisticSet = [3, n0, _SS, 0, [_SC, _Su, _Mi, _Ma], [1, 1, 1, 1]];
728
+ var TagResourceInput = [3, n0, _TRI, 0, [_RA, _Ta], [[0, 1], 128 | 0]];
729
+ var TagResourceOutput = [3, n0, _TRO, 0, [], []];
730
+ var UntagResourceInput = [
731
+ 3,
732
+ n0,
733
+ _URI,
734
+ 0,
735
+ [_RA, _tK],
736
+ [
737
+ [0, 1],
738
+ [
739
+ 64 | 0,
740
+ {
741
+ [_hQ]: _tK,
742
+ },
743
+ ],
744
+ ],
745
+ ];
746
+ var UntagResourceOutput = [3, n0, _URO, 0, [], []];
747
+ var UpdateEnvironmentInput = [
748
+ 3,
749
+ n0,
750
+ _UEI,
751
+ 0,
752
+ [
753
+ _N,
754
+ _ERA,
755
+ _ACO,
756
+ _AV,
757
+ _DSP,
758
+ _EC,
759
+ _LC,
760
+ _MW,
761
+ _MWi,
762
+ _MWa,
763
+ _MWin,
764
+ _WRS,
765
+ _NC,
766
+ _PSP,
767
+ _PSOV,
768
+ _RSP,
769
+ _RSOV,
770
+ _S,
771
+ _SBA,
772
+ _SSSP,
773
+ _SSSOV,
774
+ _WAM,
775
+ _WMWS,
776
+ ],
777
+ [
778
+ [0, 1],
779
+ 0,
780
+ [() => AirflowConfigurationOptions, 0],
781
+ 0,
782
+ 0,
783
+ 0,
784
+ () => LoggingConfigurationInput,
785
+ 1,
786
+ 1,
787
+ 1,
788
+ 1,
789
+ 0,
790
+ () => UpdateNetworkConfigurationInput,
791
+ 0,
792
+ 0,
793
+ 0,
794
+ 0,
795
+ 1,
796
+ 0,
797
+ 0,
798
+ 0,
799
+ 0,
800
+ 0,
801
+ ],
802
+ ];
803
+ var UpdateEnvironmentOutput = [3, n0, _UEO, 0, [_A], [0]];
804
+ var UpdateError = [3, n0, _UE, 0, [_ECr, _EMr], [0, 0]];
805
+ var UpdateNetworkConfigurationInput = [3, n0, _UNCI, 0, [_SGI], [64 | 0]];
806
+ var ValidationException = [
807
+ -3,
808
+ n0,
809
+ _VE,
810
+ {
811
+ [_e]: _c,
812
+ [_hE]: 400,
813
+ },
814
+ [_m],
815
+ [0],
816
+ ];
817
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
818
+ var MWAAServiceException = [-3, _sm, "MWAAServiceException", 0, [], []];
819
+ schema.TypeRegistry.for(_sm).registerError(MWAAServiceException, MWAAServiceException$1);
820
+ var Dimensions = [1, n0, _Di, 0, () => Dimension];
821
+ var MetricData = [1, n0, _MDe, 0, () => MetricDatum];
822
+ var AirflowConfigurationOptions = [2, n0, _ACO, 8, [0, 0], [() => ConfigValue, 0]];
823
+ var CreateCliToken = [
824
+ 9,
825
+ n0,
826
+ _CCT,
827
+ {
828
+ [_h]: ["POST", "/clitoken/{Name}", 200],
829
+ [_en]: ["env."],
830
+ },
831
+ () => CreateCliTokenRequest,
832
+ () => CreateCliTokenResponse,
833
+ ];
834
+ var CreateEnvironment = [
835
+ 9,
836
+ n0,
837
+ _CE,
838
+ {
839
+ [_h]: ["PUT", "/environments/{Name}", 200],
840
+ [_en]: ["api."],
841
+ },
842
+ () => CreateEnvironmentInput,
843
+ () => CreateEnvironmentOutput,
844
+ ];
845
+ var CreateWebLoginToken = [
846
+ 9,
847
+ n0,
848
+ _CWLT,
849
+ {
850
+ [_h]: ["POST", "/webtoken/{Name}", 200],
851
+ [_en]: ["env."],
852
+ },
853
+ () => CreateWebLoginTokenRequest,
854
+ () => CreateWebLoginTokenResponse,
855
+ ];
856
+ var DeleteEnvironment = [
857
+ 9,
858
+ n0,
859
+ _DE,
860
+ {
861
+ [_h]: ["DELETE", "/environments/{Name}", 200],
862
+ [_en]: ["api."],
863
+ },
864
+ () => DeleteEnvironmentInput,
865
+ () => DeleteEnvironmentOutput,
866
+ ];
867
+ var GetEnvironment = [
868
+ 9,
869
+ n0,
870
+ _GE,
871
+ {
872
+ [_h]: ["GET", "/environments/{Name}", 200],
873
+ [_en]: ["api."],
874
+ },
875
+ () => GetEnvironmentInput,
876
+ () => GetEnvironmentOutput,
877
+ ];
878
+ var InvokeRestApi = [
879
+ 9,
880
+ n0,
881
+ _IRA,
882
+ {
883
+ [_h]: ["POST", "/restapi/{Name}", 200],
884
+ [_en]: ["env."],
885
+ },
886
+ () => InvokeRestApiRequest,
887
+ () => InvokeRestApiResponse,
888
+ ];
889
+ var ListEnvironments = [
890
+ 9,
891
+ n0,
892
+ _LE,
893
+ {
894
+ [_h]: ["GET", "/environments", 200],
895
+ [_en]: ["api."],
896
+ },
897
+ () => ListEnvironmentsInput,
898
+ () => ListEnvironmentsOutput,
899
+ ];
900
+ var ListTagsForResource = [
901
+ 9,
902
+ n0,
903
+ _LTFR,
904
+ {
905
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
906
+ [_en]: ["api."],
907
+ },
908
+ () => ListTagsForResourceInput,
909
+ () => ListTagsForResourceOutput,
910
+ ];
911
+ var PublishMetrics = [
912
+ 9,
913
+ n0,
914
+ _PM,
915
+ {
916
+ [_h]: ["POST", "/metrics/environments/{EnvironmentName}", 200],
917
+ [_en]: ["ops."],
918
+ },
919
+ () => PublishMetricsInput,
920
+ () => PublishMetricsOutput,
921
+ ];
922
+ var TagResource = [
923
+ 9,
924
+ n0,
925
+ _TR,
926
+ {
927
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
928
+ [_en]: ["api."],
929
+ },
930
+ () => TagResourceInput,
931
+ () => TagResourceOutput,
932
+ ];
933
+ var UntagResource = [
934
+ 9,
935
+ n0,
936
+ _UR,
937
+ {
938
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
939
+ [_en]: ["api."],
940
+ },
941
+ () => UntagResourceInput,
942
+ () => UntagResourceOutput,
943
+ ];
944
+ var UpdateEnvironment = [
945
+ 9,
946
+ n0,
947
+ _UEp,
948
+ {
949
+ [_h]: ["PATCH", "/environments/{Name}", 200],
950
+ [_en]: ["api."],
951
+ },
952
+ () => UpdateEnvironmentInput,
953
+ () => UpdateEnvironmentOutput,
954
+ ];
954
955
 
955
956
  class CreateCliTokenCommand extends smithyClient.Command
956
957
  .classBuilder()
957
958
  .ep(commonParams)
958
959
  .m(function (Command, cs, config, o) {
959
- return [
960
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
961
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
962
- ];
960
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
963
961
  })
964
962
  .s("AmazonMWAA", "CreateCliToken", {})
965
963
  .n("MWAAClient", "CreateCliTokenCommand")
966
- .f(void 0, CreateCliTokenResponseFilterSensitiveLog)
967
- .ser(se_CreateCliTokenCommand)
968
- .de(de_CreateCliTokenCommand)
964
+ .sc(CreateCliToken)
969
965
  .build() {
970
966
  }
971
967
 
@@ -973,16 +969,11 @@ class CreateEnvironmentCommand extends smithyClient.Command
973
969
  .classBuilder()
974
970
  .ep(commonParams)
975
971
  .m(function (Command, cs, config, o) {
976
- return [
977
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
978
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
979
- ];
972
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
980
973
  })
981
974
  .s("AmazonMWAA", "CreateEnvironment", {})
982
975
  .n("MWAAClient", "CreateEnvironmentCommand")
983
- .f(CreateEnvironmentInputFilterSensitiveLog, void 0)
984
- .ser(se_CreateEnvironmentCommand)
985
- .de(de_CreateEnvironmentCommand)
976
+ .sc(CreateEnvironment)
986
977
  .build() {
987
978
  }
988
979
 
@@ -990,16 +981,11 @@ class CreateWebLoginTokenCommand extends smithyClient.Command
990
981
  .classBuilder()
991
982
  .ep(commonParams)
992
983
  .m(function (Command, cs, config, o) {
993
- return [
994
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
995
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
996
- ];
984
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
997
985
  })
998
986
  .s("AmazonMWAA", "CreateWebLoginToken", {})
999
987
  .n("MWAAClient", "CreateWebLoginTokenCommand")
1000
- .f(void 0, CreateWebLoginTokenResponseFilterSensitiveLog)
1001
- .ser(se_CreateWebLoginTokenCommand)
1002
- .de(de_CreateWebLoginTokenCommand)
988
+ .sc(CreateWebLoginToken)
1003
989
  .build() {
1004
990
  }
1005
991
 
@@ -1007,16 +993,11 @@ class DeleteEnvironmentCommand extends smithyClient.Command
1007
993
  .classBuilder()
1008
994
  .ep(commonParams)
1009
995
  .m(function (Command, cs, config, o) {
1010
- return [
1011
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1012
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1013
- ];
996
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1014
997
  })
1015
998
  .s("AmazonMWAA", "DeleteEnvironment", {})
1016
999
  .n("MWAAClient", "DeleteEnvironmentCommand")
1017
- .f(void 0, void 0)
1018
- .ser(se_DeleteEnvironmentCommand)
1019
- .de(de_DeleteEnvironmentCommand)
1000
+ .sc(DeleteEnvironment)
1020
1001
  .build() {
1021
1002
  }
1022
1003
 
@@ -1024,16 +1005,11 @@ class GetEnvironmentCommand extends smithyClient.Command
1024
1005
  .classBuilder()
1025
1006
  .ep(commonParams)
1026
1007
  .m(function (Command, cs, config, o) {
1027
- return [
1028
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1029
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1030
- ];
1008
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1031
1009
  })
1032
1010
  .s("AmazonMWAA", "GetEnvironment", {})
1033
1011
  .n("MWAAClient", "GetEnvironmentCommand")
1034
- .f(void 0, GetEnvironmentOutputFilterSensitiveLog)
1035
- .ser(se_GetEnvironmentCommand)
1036
- .de(de_GetEnvironmentCommand)
1012
+ .sc(GetEnvironment)
1037
1013
  .build() {
1038
1014
  }
1039
1015
 
@@ -1041,16 +1017,11 @@ class InvokeRestApiCommand extends smithyClient.Command
1041
1017
  .classBuilder()
1042
1018
  .ep(commonParams)
1043
1019
  .m(function (Command, cs, config, o) {
1044
- return [
1045
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1046
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1047
- ];
1020
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1048
1021
  })
1049
1022
  .s("AmazonMWAA", "InvokeRestApi", {})
1050
1023
  .n("MWAAClient", "InvokeRestApiCommand")
1051
- .f(InvokeRestApiRequestFilterSensitiveLog, InvokeRestApiResponseFilterSensitiveLog)
1052
- .ser(se_InvokeRestApiCommand)
1053
- .de(de_InvokeRestApiCommand)
1024
+ .sc(InvokeRestApi)
1054
1025
  .build() {
1055
1026
  }
1056
1027
 
@@ -1058,16 +1029,11 @@ class ListEnvironmentsCommand extends smithyClient.Command
1058
1029
  .classBuilder()
1059
1030
  .ep(commonParams)
1060
1031
  .m(function (Command, cs, config, o) {
1061
- return [
1062
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1063
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1064
- ];
1032
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1065
1033
  })
1066
1034
  .s("AmazonMWAA", "ListEnvironments", {})
1067
1035
  .n("MWAAClient", "ListEnvironmentsCommand")
1068
- .f(void 0, void 0)
1069
- .ser(se_ListEnvironmentsCommand)
1070
- .de(de_ListEnvironmentsCommand)
1036
+ .sc(ListEnvironments)
1071
1037
  .build() {
1072
1038
  }
1073
1039
 
@@ -1075,16 +1041,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1075
1041
  .classBuilder()
1076
1042
  .ep(commonParams)
1077
1043
  .m(function (Command, cs, config, o) {
1078
- return [
1079
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1080
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1081
- ];
1044
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1082
1045
  })
1083
1046
  .s("AmazonMWAA", "ListTagsForResource", {})
1084
1047
  .n("MWAAClient", "ListTagsForResourceCommand")
1085
- .f(void 0, void 0)
1086
- .ser(se_ListTagsForResourceCommand)
1087
- .de(de_ListTagsForResourceCommand)
1048
+ .sc(ListTagsForResource)
1088
1049
  .build() {
1089
1050
  }
1090
1051
 
@@ -1092,16 +1053,11 @@ class PublishMetricsCommand extends smithyClient.Command
1092
1053
  .classBuilder()
1093
1054
  .ep(commonParams)
1094
1055
  .m(function (Command, cs, config, o) {
1095
- return [
1096
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1097
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1098
- ];
1056
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1099
1057
  })
1100
1058
  .s("AmazonMWAA", "PublishMetrics", {})
1101
1059
  .n("MWAAClient", "PublishMetricsCommand")
1102
- .f(void 0, void 0)
1103
- .ser(se_PublishMetricsCommand)
1104
- .de(de_PublishMetricsCommand)
1060
+ .sc(PublishMetrics)
1105
1061
  .build() {
1106
1062
  }
1107
1063
 
@@ -1109,16 +1065,11 @@ class TagResourceCommand extends smithyClient.Command
1109
1065
  .classBuilder()
1110
1066
  .ep(commonParams)
1111
1067
  .m(function (Command, cs, config, o) {
1112
- return [
1113
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1114
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1115
- ];
1068
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1116
1069
  })
1117
1070
  .s("AmazonMWAA", "TagResource", {})
1118
1071
  .n("MWAAClient", "TagResourceCommand")
1119
- .f(void 0, void 0)
1120
- .ser(se_TagResourceCommand)
1121
- .de(de_TagResourceCommand)
1072
+ .sc(TagResource)
1122
1073
  .build() {
1123
1074
  }
1124
1075
 
@@ -1126,16 +1077,11 @@ class UntagResourceCommand extends smithyClient.Command
1126
1077
  .classBuilder()
1127
1078
  .ep(commonParams)
1128
1079
  .m(function (Command, cs, config, o) {
1129
- return [
1130
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1131
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1132
- ];
1080
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1133
1081
  })
1134
1082
  .s("AmazonMWAA", "UntagResource", {})
1135
1083
  .n("MWAAClient", "UntagResourceCommand")
1136
- .f(void 0, void 0)
1137
- .ser(se_UntagResourceCommand)
1138
- .de(de_UntagResourceCommand)
1084
+ .sc(UntagResource)
1139
1085
  .build() {
1140
1086
  }
1141
1087
 
@@ -1143,16 +1089,11 @@ class UpdateEnvironmentCommand extends smithyClient.Command
1143
1089
  .classBuilder()
1144
1090
  .ep(commonParams)
1145
1091
  .m(function (Command, cs, config, o) {
1146
- return [
1147
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1148
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1149
- ];
1092
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1150
1093
  })
1151
1094
  .s("AmazonMWAA", "UpdateEnvironment", {})
1152
1095
  .n("MWAAClient", "UpdateEnvironmentCommand")
1153
- .f(UpdateEnvironmentInputFilterSensitiveLog, void 0)
1154
- .ser(se_UpdateEnvironmentCommand)
1155
- .de(de_UpdateEnvironmentCommand)
1096
+ .sc(UpdateEnvironment)
1156
1097
  .build() {
1157
1098
  }
1158
1099
 
@@ -1184,41 +1125,33 @@ Object.defineProperty(exports, "__Client", {
1184
1125
  enumerable: true,
1185
1126
  get: function () { return smithyClient.Client; }
1186
1127
  });
1187
- exports.AccessDeniedException = AccessDeniedException;
1128
+ exports.AccessDeniedException = AccessDeniedException$1;
1188
1129
  exports.CreateCliTokenCommand = CreateCliTokenCommand;
1189
- exports.CreateCliTokenResponseFilterSensitiveLog = CreateCliTokenResponseFilterSensitiveLog;
1190
1130
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
1191
- exports.CreateEnvironmentInputFilterSensitiveLog = CreateEnvironmentInputFilterSensitiveLog;
1192
1131
  exports.CreateWebLoginTokenCommand = CreateWebLoginTokenCommand;
1193
- exports.CreateWebLoginTokenResponseFilterSensitiveLog = CreateWebLoginTokenResponseFilterSensitiveLog;
1194
1132
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1195
1133
  exports.EndpointManagement = EndpointManagement;
1196
- exports.EnvironmentFilterSensitiveLog = EnvironmentFilterSensitiveLog;
1197
1134
  exports.EnvironmentStatus = EnvironmentStatus;
1198
1135
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
1199
- exports.GetEnvironmentOutputFilterSensitiveLog = GetEnvironmentOutputFilterSensitiveLog;
1200
- exports.InternalServerException = InternalServerException;
1136
+ exports.InternalServerException = InternalServerException$1;
1201
1137
  exports.InvokeRestApiCommand = InvokeRestApiCommand;
1202
- exports.InvokeRestApiRequestFilterSensitiveLog = InvokeRestApiRequestFilterSensitiveLog;
1203
- exports.InvokeRestApiResponseFilterSensitiveLog = InvokeRestApiResponseFilterSensitiveLog;
1204
1138
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
1205
1139
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1206
1140
  exports.LoggingLevel = LoggingLevel;
1207
1141
  exports.MWAA = MWAA;
1208
1142
  exports.MWAAClient = MWAAClient;
1209
- exports.MWAAServiceException = MWAAServiceException;
1143
+ exports.MWAAServiceException = MWAAServiceException$1;
1210
1144
  exports.PublishMetricsCommand = PublishMetricsCommand;
1211
- exports.ResourceNotFoundException = ResourceNotFoundException;
1212
- exports.RestApiClientException = RestApiClientException;
1145
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1146
+ exports.RestApiClientException = RestApiClientException$1;
1213
1147
  exports.RestApiMethod = RestApiMethod;
1214
- exports.RestApiServerException = RestApiServerException;
1148
+ exports.RestApiServerException = RestApiServerException$1;
1215
1149
  exports.TagResourceCommand = TagResourceCommand;
1216
1150
  exports.Unit = Unit;
1217
1151
  exports.UntagResourceCommand = UntagResourceCommand;
1218
1152
  exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
1219
- exports.UpdateEnvironmentInputFilterSensitiveLog = UpdateEnvironmentInputFilterSensitiveLog;
1220
1153
  exports.UpdateStatus = UpdateStatus;
1221
- exports.ValidationException = ValidationException;
1154
+ exports.ValidationException = ValidationException$1;
1222
1155
  exports.WebserverAccessMode = WebserverAccessMode;
1223
1156
  exports.WorkerReplacementStrategy = WorkerReplacementStrategy;
1224
1157
  exports.paginateListEnvironments = paginateListEnvironments;