@aws-sdk/client-mpa 3.928.0 → 3.929.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 (45) hide show
  1. package/dist-cjs/index.js +1068 -1188
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MPAClient.js +2 -0
  4. package/dist-es/commands/CancelSessionCommand.js +3 -9
  5. package/dist-es/commands/CreateApprovalTeamCommand.js +3 -10
  6. package/dist-es/commands/CreateIdentitySourceCommand.js +3 -10
  7. package/dist-es/commands/DeleteIdentitySourceCommand.js +3 -9
  8. package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +3 -9
  9. package/dist-es/commands/GetApprovalTeamCommand.js +3 -10
  10. package/dist-es/commands/GetIdentitySourceCommand.js +3 -9
  11. package/dist-es/commands/GetPolicyVersionCommand.js +3 -10
  12. package/dist-es/commands/GetResourcePolicyCommand.js +3 -10
  13. package/dist-es/commands/GetSessionCommand.js +3 -10
  14. package/dist-es/commands/ListApprovalTeamsCommand.js +3 -10
  15. package/dist-es/commands/ListIdentitySourcesCommand.js +3 -9
  16. package/dist-es/commands/ListPoliciesCommand.js +3 -9
  17. package/dist-es/commands/ListPolicyVersionsCommand.js +3 -9
  18. package/dist-es/commands/ListResourcePoliciesCommand.js +3 -9
  19. package/dist-es/commands/ListSessionsCommand.js +3 -10
  20. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  21. package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +3 -9
  22. package/dist-es/commands/TagResourceCommand.js +3 -10
  23. package/dist-es/commands/UntagResourceCommand.js +3 -10
  24. package/dist-es/commands/UpdateApprovalTeamCommand.js +3 -10
  25. package/dist-es/models/models_0.js +0 -72
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-es/schemas/schemas_0.js +999 -0
  28. package/dist-types/MPAClient.d.ts +10 -1
  29. package/dist-types/models/models_0.d.ts +0 -60
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +117 -0
  35. package/dist-types/ts3.4/MPAClient.d.ts +4 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +0 -45
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +124 -0
  42. package/package.json +2 -3
  43. package/dist-es/protocols/Aws_restJson1.js +0 -931
  44. package/dist-types/protocols/Aws_restJson1.d.ts +0 -191
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -257
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,9 +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
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -90,6 +88,7 @@ class MPAClient extends smithyClient.Client {
90
88
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
91
89
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
92
90
  this.config = _config_8;
91
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
93
92
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
94
93
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
95
94
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -109,14 +108,14 @@ class MPAClient extends smithyClient.Client {
109
108
  }
110
109
  }
111
110
 
112
- class MPAServiceException extends smithyClient.ServiceException {
111
+ let MPAServiceException$1 = class MPAServiceException extends smithyClient.ServiceException {
113
112
  constructor(options) {
114
113
  super(options);
115
114
  Object.setPrototypeOf(this, MPAServiceException.prototype);
116
115
  }
117
- }
116
+ };
118
117
 
119
- class AccessDeniedException extends MPAServiceException {
118
+ let AccessDeniedException$1 = class AccessDeniedException extends MPAServiceException$1 {
120
119
  name = "AccessDeniedException";
121
120
  $fault = "client";
122
121
  Message;
@@ -129,7 +128,7 @@ class AccessDeniedException extends MPAServiceException {
129
128
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
129
  this.Message = opts.Message;
131
130
  }
132
- }
131
+ };
133
132
  const ActionCompletionStrategy = {
134
133
  AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL",
135
134
  };
@@ -149,7 +148,7 @@ exports.ApprovalStrategyResponse = void 0;
149
148
  return visitor._(value.$unknown[0], value.$unknown[1]);
150
149
  };
151
150
  })(exports.ApprovalStrategyResponse || (exports.ApprovalStrategyResponse = {}));
152
- class ConflictException extends MPAServiceException {
151
+ let ConflictException$1 = class ConflictException extends MPAServiceException$1 {
153
152
  name = "ConflictException";
154
153
  $fault = "client";
155
154
  Message;
@@ -162,8 +161,8 @@ class ConflictException extends MPAServiceException {
162
161
  Object.setPrototypeOf(this, ConflictException.prototype);
163
162
  this.Message = opts.Message;
164
163
  }
165
- }
166
- class InternalServerException extends MPAServiceException {
164
+ };
165
+ let InternalServerException$1 = class InternalServerException extends MPAServiceException$1 {
167
166
  name = "InternalServerException";
168
167
  $fault = "server";
169
168
  $retryable = {};
@@ -177,8 +176,8 @@ class InternalServerException extends MPAServiceException {
177
176
  Object.setPrototypeOf(this, InternalServerException.prototype);
178
177
  this.Message = opts.Message;
179
178
  }
180
- }
181
- class ServiceQuotaExceededException extends MPAServiceException {
179
+ };
180
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends MPAServiceException$1 {
182
181
  name = "ServiceQuotaExceededException";
183
182
  $fault = "client";
184
183
  Message;
@@ -191,8 +190,8 @@ class ServiceQuotaExceededException extends MPAServiceException {
191
190
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
192
191
  this.Message = opts.Message;
193
192
  }
194
- }
195
- class ThrottlingException extends MPAServiceException {
193
+ };
194
+ let ThrottlingException$1 = class ThrottlingException extends MPAServiceException$1 {
196
195
  name = "ThrottlingException";
197
196
  $fault = "client";
198
197
  Message;
@@ -205,8 +204,8 @@ class ThrottlingException extends MPAServiceException {
205
204
  Object.setPrototypeOf(this, ThrottlingException.prototype);
206
205
  this.Message = opts.Message;
207
206
  }
208
- }
209
- class ValidationException extends MPAServiceException {
207
+ };
208
+ let ValidationException$1 = class ValidationException extends MPAServiceException$1 {
210
209
  name = "ValidationException";
211
210
  $fault = "client";
212
211
  Message;
@@ -219,8 +218,8 @@ class ValidationException extends MPAServiceException {
219
218
  Object.setPrototypeOf(this, ValidationException.prototype);
220
219
  this.Message = opts.Message;
221
220
  }
222
- }
223
- class ResourceNotFoundException extends MPAServiceException {
221
+ };
222
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends MPAServiceException$1 {
224
223
  name = "ResourceNotFoundException";
225
224
  $fault = "client";
226
225
  Message;
@@ -233,7 +232,7 @@ class ResourceNotFoundException extends MPAServiceException {
233
232
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
234
233
  this.Message = opts.Message;
235
234
  }
236
- }
235
+ };
237
236
  const IdentityStatus = {
238
237
  ACCEPTED: "ACCEPTED",
239
238
  INVALID: "INVALID",
@@ -268,7 +267,7 @@ const PolicyStatus = {
268
267
  ATTACHABLE: "ATTACHABLE",
269
268
  DEPRECATED: "DEPRECATED",
270
269
  };
271
- class InvalidParameterException extends MPAServiceException {
270
+ let InvalidParameterException$1 = class InvalidParameterException extends MPAServiceException$1 {
272
271
  name = "InvalidParameterException";
273
272
  $fault = "client";
274
273
  Message;
@@ -281,7 +280,7 @@ class InvalidParameterException extends MPAServiceException {
281
280
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
282
281
  this.Message = opts.Message;
283
282
  }
284
- }
283
+ };
285
284
  const IdentitySourceType = {
286
285
  IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER",
287
286
  };
@@ -354,7 +353,7 @@ const Operator = {
354
353
  LESS_THAN_OR_EQUAL_TO: "LTE",
355
354
  NOT_EQUALS: "NE",
356
355
  };
357
- class TooManyTagsException extends MPAServiceException {
356
+ let TooManyTagsException$1 = class TooManyTagsException extends MPAServiceException$1 {
358
357
  name = "TooManyTagsException";
359
358
  $fault = "client";
360
359
  Message;
@@ -369,1018 +368,1014 @@ class TooManyTagsException extends MPAServiceException {
369
368
  this.Message = opts.Message;
370
369
  this.ResourceName = opts.ResourceName;
371
370
  }
372
- }
373
- const CreateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
374
- ...obj,
375
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
376
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
377
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
378
- });
379
- const GetApprovalTeamResponseFilterSensitiveLog = (obj) => ({
380
- ...obj,
381
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
382
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
383
- ...(obj.PendingUpdate && { PendingUpdate: obj.PendingUpdate }),
384
- });
385
- const ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = (obj) => ({
386
- ...obj,
387
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
388
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
389
- });
390
- const ListApprovalTeamsResponseFilterSensitiveLog = (obj) => ({
391
- ...obj,
392
- ...(obj.ApprovalTeams && {
393
- ApprovalTeams: obj.ApprovalTeams.map((item) => ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog(item)),
394
- }),
395
- });
396
- const UpdateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
397
- ...obj,
398
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
399
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
400
- });
401
- const PolicyVersionFilterSensitiveLog = (obj) => ({
402
- ...obj,
403
- ...(obj.Document && { Document: smithyClient.SENSITIVE_STRING }),
404
- });
405
- const GetPolicyVersionResponseFilterSensitiveLog = (obj) => ({
406
- ...obj,
407
- ...(obj.PolicyVersion && { PolicyVersion: PolicyVersionFilterSensitiveLog(obj.PolicyVersion) }),
408
- });
409
- const GetResourcePolicyResponseFilterSensitiveLog = (obj) => ({
410
- ...obj,
411
- ...(obj.PolicyDocument && { PolicyDocument: smithyClient.SENSITIVE_STRING }),
412
- });
413
- const CreateIdentitySourceRequestFilterSensitiveLog = (obj) => ({
414
- ...obj,
415
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
416
- });
417
- const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
418
- ...obj,
419
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
420
- });
421
- const GetSessionResponseFilterSensitiveLog = (obj) => ({
422
- ...obj,
423
- ...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
424
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
425
- ...(obj.Metadata && { Metadata: smithyClient.SENSITIVE_STRING }),
426
- ...(obj.RequesterComment && { RequesterComment: smithyClient.SENSITIVE_STRING }),
427
- });
428
- const ListSessionsResponseSessionFilterSensitiveLog = (obj) => ({
429
- ...obj,
430
- ...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
431
- });
432
- const ListSessionsResponseFilterSensitiveLog = (obj) => ({
433
- ...obj,
434
- ...(obj.Sessions && { Sessions: obj.Sessions.map((item) => ListSessionsResponseSessionFilterSensitiveLog(item)) }),
435
- });
436
- const TagResourceRequestFilterSensitiveLog = (obj) => ({
437
- ...obj,
438
- ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
439
- });
440
- const UntagResourceRequestFilterSensitiveLog = (obj) => ({
441
- ...obj,
442
- ...(obj.TagKeys && { TagKeys: smithyClient.SENSITIVE_STRING }),
443
- });
444
-
445
- const se_CancelSessionCommand = async (input, context) => {
446
- const b = core.requestBuilder(input, context);
447
- const headers = {};
448
- b.bp("/sessions/{SessionArn}");
449
- b.p("SessionArn", () => input.SessionArn, "{SessionArn}", false);
450
- let body;
451
- b.m("PUT").h(headers).b(body);
452
- return b.build();
453
- };
454
- const se_CreateApprovalTeamCommand = async (input, context) => {
455
- const b = core.requestBuilder(input, context);
456
- const headers = {
457
- "content-type": "application/json",
458
- };
459
- b.bp("/approval-teams");
460
- let body;
461
- body = JSON.stringify(smithyClient.take(input, {
462
- ApprovalStrategy: (_) => smithyClient._json(_),
463
- Approvers: (_) => smithyClient._json(_),
464
- ClientToken: [true, (_) => _ ?? uuid.v4()],
465
- Description: [],
466
- Name: [],
467
- Policies: (_) => smithyClient._json(_),
468
- Tags: (_) => smithyClient._json(_),
469
- }));
470
- b.m("POST").h(headers).b(body);
471
- return b.build();
472
- };
473
- const se_CreateIdentitySourceCommand = async (input, context) => {
474
- const b = core.requestBuilder(input, context);
475
- const headers = {
476
- "content-type": "application/json",
477
- };
478
- b.bp("/identity-sources");
479
- let body;
480
- body = JSON.stringify(smithyClient.take(input, {
481
- ClientToken: [true, (_) => _ ?? uuid.v4()],
482
- IdentitySourceParameters: (_) => smithyClient._json(_),
483
- Tags: (_) => smithyClient._json(_),
484
- }));
485
- b.m("POST").h(headers).b(body);
486
- return b.build();
487
- };
488
- const se_DeleteIdentitySourceCommand = async (input, context) => {
489
- const b = core.requestBuilder(input, context);
490
- const headers = {};
491
- b.bp("/identity-sources/{IdentitySourceArn}");
492
- b.p("IdentitySourceArn", () => input.IdentitySourceArn, "{IdentitySourceArn}", false);
493
- let body;
494
- b.m("DELETE").h(headers).b(body);
495
- return b.build();
496
- };
497
- const se_DeleteInactiveApprovalTeamVersionCommand = async (input, context) => {
498
- const b = core.requestBuilder(input, context);
499
- const headers = {};
500
- b.bp("/approval-teams/{Arn}/{VersionId}");
501
- b.p("Arn", () => input.Arn, "{Arn}", false);
502
- b.p("VersionId", () => input.VersionId, "{VersionId}", false);
503
- let body;
504
- b.m("DELETE").h(headers).b(body);
505
- return b.build();
506
- };
507
- const se_GetApprovalTeamCommand = async (input, context) => {
508
- const b = core.requestBuilder(input, context);
509
- const headers = {};
510
- b.bp("/approval-teams/{Arn}");
511
- b.p("Arn", () => input.Arn, "{Arn}", false);
512
- let body;
513
- b.m("GET").h(headers).b(body);
514
- return b.build();
515
- };
516
- const se_GetIdentitySourceCommand = async (input, context) => {
517
- const b = core.requestBuilder(input, context);
518
- const headers = {};
519
- b.bp("/identity-sources/{IdentitySourceArn}");
520
- b.p("IdentitySourceArn", () => input.IdentitySourceArn, "{IdentitySourceArn}", false);
521
- let body;
522
- b.m("GET").h(headers).b(body);
523
- return b.build();
524
- };
525
- const se_GetPolicyVersionCommand = async (input, context) => {
526
- const b = core.requestBuilder(input, context);
527
- const headers = {};
528
- b.bp("/policy-versions/{PolicyVersionArn}");
529
- b.p("PolicyVersionArn", () => input.PolicyVersionArn, "{PolicyVersionArn}", false);
530
- let body;
531
- b.m("GET").h(headers).b(body);
532
- return b.build();
533
- };
534
- const se_GetResourcePolicyCommand = async (input, context) => {
535
- const b = core.requestBuilder(input, context);
536
- const headers = {
537
- "content-type": "application/json",
538
- };
539
- b.bp("/GetResourcePolicy");
540
- let body;
541
- body = JSON.stringify(smithyClient.take(input, {
542
- PolicyName: [],
543
- PolicyType: [],
544
- ResourceArn: [],
545
- }));
546
- b.m("POST").h(headers).b(body);
547
- return b.build();
548
- };
549
- const se_GetSessionCommand = async (input, context) => {
550
- const b = core.requestBuilder(input, context);
551
- const headers = {};
552
- b.bp("/sessions/{SessionArn}");
553
- b.p("SessionArn", () => input.SessionArn, "{SessionArn}", false);
554
- let body;
555
- b.m("GET").h(headers).b(body);
556
- return b.build();
557
- };
558
- const se_ListApprovalTeamsCommand = async (input, context) => {
559
- const b = core.requestBuilder(input, context);
560
- const headers = {};
561
- b.bp("/approval-teams");
562
- const query = smithyClient.map({
563
- [_L]: [, ""],
564
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
565
- [_NT]: [, input[_NT]],
566
- });
567
- let body;
568
- b.m("POST").h(headers).q(query).b(body);
569
- return b.build();
570
- };
571
- const se_ListIdentitySourcesCommand = async (input, context) => {
572
- const b = core.requestBuilder(input, context);
573
- const headers = {};
574
- b.bp("/identity-sources");
575
- const query = smithyClient.map({
576
- [_L]: [, ""],
577
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
578
- [_NT]: [, input[_NT]],
579
- });
580
- let body;
581
- b.m("POST").h(headers).q(query).b(body);
582
- return b.build();
583
- };
584
- const se_ListPoliciesCommand = async (input, context) => {
585
- const b = core.requestBuilder(input, context);
586
- const headers = {};
587
- b.bp("/policies");
588
- const query = smithyClient.map({
589
- [_L]: [, ""],
590
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
591
- [_NT]: [, input[_NT]],
592
- });
593
- let body;
594
- b.m("POST").h(headers).q(query).b(body);
595
- return b.build();
596
371
  };
597
- const se_ListPolicyVersionsCommand = async (input, context) => {
598
- const b = core.requestBuilder(input, context);
599
- const headers = {};
600
- b.bp("/policies/{PolicyArn}");
601
- b.p("PolicyArn", () => input.PolicyArn, "{PolicyArn}", false);
602
- const query = smithyClient.map({
603
- [_L]: [, ""],
604
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
605
- [_NT]: [, input[_NT]],
606
- });
607
- let body;
608
- b.m("POST").h(headers).q(query).b(body);
609
- return b.build();
610
- };
611
- const se_ListResourcePoliciesCommand = async (input, context) => {
612
- const b = core.requestBuilder(input, context);
613
- const headers = {};
614
- b.bp("/resource-policies/{ResourceArn}");
615
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
616
- const query = smithyClient.map({
617
- [_L]: [, ""],
618
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
619
- [_NT]: [, input[_NT]],
620
- });
621
- let body;
622
- b.m("POST").h(headers).q(query).b(body);
623
- return b.build();
624
- };
625
- const se_ListSessionsCommand = async (input, context) => {
626
- const b = core.requestBuilder(input, context);
627
- const headers = {
628
- "content-type": "application/json",
629
- };
630
- b.bp("/approval-teams/{ApprovalTeamArn}/sessions");
631
- b.p("ApprovalTeamArn", () => input.ApprovalTeamArn, "{ApprovalTeamArn}", false);
632
- const query = smithyClient.map({
633
- [_L]: [, ""],
634
- });
635
- let body;
636
- body = JSON.stringify(smithyClient.take(input, {
637
- Filters: (_) => smithyClient._json(_),
638
- MaxResults: [],
639
- NextToken: [],
640
- }));
641
- b.m("POST").h(headers).q(query).b(body);
642
- return b.build();
643
- };
644
- const se_ListTagsForResourceCommand = async (input, context) => {
645
- const b = core.requestBuilder(input, context);
646
- const headers = {};
647
- b.bp("/tags/{ResourceArn}");
648
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
649
- let body;
650
- b.m("GET").h(headers).b(body);
651
- return b.build();
652
- };
653
- const se_StartActiveApprovalTeamDeletionCommand = async (input, context) => {
654
- const b = core.requestBuilder(input, context);
655
- const headers = {
656
- "content-type": "application/json",
657
- };
658
- b.bp("/approval-teams/{Arn}");
659
- b.p("Arn", () => input.Arn, "{Arn}", false);
660
- const query = smithyClient.map({
661
- [_D]: [, ""],
662
- });
663
- let body;
664
- body = JSON.stringify(smithyClient.take(input, {
665
- PendingWindowDays: [],
666
- }));
667
- b.m("POST").h(headers).q(query).b(body);
668
- return b.build();
669
- };
670
- const se_TagResourceCommand = async (input, context) => {
671
- const b = core.requestBuilder(input, context);
672
- const headers = {
673
- "content-type": "application/json",
674
- };
675
- b.bp("/tags/{ResourceArn}");
676
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
677
- let body;
678
- body = JSON.stringify(smithyClient.take(input, {
679
- Tags: (_) => smithyClient._json(_),
680
- }));
681
- b.m("PUT").h(headers).b(body);
682
- return b.build();
683
- };
684
- const se_UntagResourceCommand = async (input, context) => {
685
- const b = core.requestBuilder(input, context);
686
- const headers = {
687
- "content-type": "application/json",
688
- };
689
- b.bp("/tags/{ResourceArn}");
690
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
691
- let body;
692
- body = JSON.stringify(smithyClient.take(input, {
693
- TagKeys: (_) => smithyClient._json(_),
694
- }));
695
- b.m("POST").h(headers).b(body);
696
- return b.build();
697
- };
698
- const se_UpdateApprovalTeamCommand = async (input, context) => {
699
- const b = core.requestBuilder(input, context);
700
- const headers = {
701
- "content-type": "application/json",
702
- };
703
- b.bp("/approval-teams/{Arn}");
704
- b.p("Arn", () => input.Arn, "{Arn}", false);
705
- let body;
706
- body = JSON.stringify(smithyClient.take(input, {
707
- ApprovalStrategy: (_) => smithyClient._json(_),
708
- Approvers: (_) => smithyClient._json(_),
709
- Description: [],
710
- }));
711
- b.m("PATCH").h(headers).b(body);
712
- return b.build();
713
- };
714
- const de_CancelSessionCommand = async (output, context) => {
715
- if (output.statusCode !== 200 && output.statusCode >= 300) {
716
- return de_CommandError(output, context);
717
- }
718
- const contents = smithyClient.map({
719
- $metadata: deserializeMetadata(output),
720
- });
721
- await smithyClient.collectBody(output.body, context);
722
- return contents;
723
- };
724
- const de_CreateApprovalTeamCommand = async (output, context) => {
725
- if (output.statusCode !== 200 && output.statusCode >= 300) {
726
- return de_CommandError(output, context);
727
- }
728
- const contents = smithyClient.map({
729
- $metadata: deserializeMetadata(output),
730
- });
731
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
732
- const doc = smithyClient.take(data, {
733
- Arn: smithyClient.expectString,
734
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
735
- Name: smithyClient.expectString,
736
- VersionId: smithyClient.expectString,
737
- });
738
- Object.assign(contents, doc);
739
- return contents;
740
- };
741
- const de_CreateIdentitySourceCommand = async (output, context) => {
742
- if (output.statusCode !== 200 && output.statusCode >= 300) {
743
- return de_CommandError(output, context);
744
- }
745
- const contents = smithyClient.map({
746
- $metadata: deserializeMetadata(output),
747
- });
748
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
749
- const doc = smithyClient.take(data, {
750
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
751
- IdentitySourceArn: smithyClient.expectString,
752
- IdentitySourceType: smithyClient.expectString,
753
- });
754
- Object.assign(contents, doc);
755
- return contents;
756
- };
757
- const de_DeleteIdentitySourceCommand = async (output, context) => {
758
- if (output.statusCode !== 200 && output.statusCode >= 300) {
759
- return de_CommandError(output, context);
760
- }
761
- const contents = smithyClient.map({
762
- $metadata: deserializeMetadata(output),
763
- });
764
- await smithyClient.collectBody(output.body, context);
765
- return contents;
766
- };
767
- const de_DeleteInactiveApprovalTeamVersionCommand = async (output, context) => {
768
- if (output.statusCode !== 200 && output.statusCode >= 300) {
769
- return de_CommandError(output, context);
770
- }
771
- const contents = smithyClient.map({
772
- $metadata: deserializeMetadata(output),
773
- });
774
- await smithyClient.collectBody(output.body, context);
775
- return contents;
776
- };
777
- const de_GetApprovalTeamCommand = async (output, context) => {
778
- if (output.statusCode !== 200 && output.statusCode >= 300) {
779
- return de_CommandError(output, context);
780
- }
781
- const contents = smithyClient.map({
782
- $metadata: deserializeMetadata(output),
783
- });
784
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
785
- const doc = smithyClient.take(data, {
786
- ApprovalStrategy: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
787
- Approvers: (_) => de_GetApprovalTeamResponseApprovers(_),
788
- Arn: smithyClient.expectString,
789
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
790
- Description: smithyClient.expectString,
791
- LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
792
- Name: smithyClient.expectString,
793
- NumberOfApprovers: smithyClient.expectInt32,
794
- PendingUpdate: (_) => de_PendingUpdate(_),
795
- Policies: smithyClient._json,
796
- Status: smithyClient.expectString,
797
- StatusCode: smithyClient.expectString,
798
- StatusMessage: smithyClient.expectString,
799
- UpdateSessionArn: smithyClient.expectString,
800
- VersionId: smithyClient.expectString,
801
- });
802
- Object.assign(contents, doc);
803
- return contents;
804
- };
805
- const de_GetIdentitySourceCommand = async (output, context) => {
806
- if (output.statusCode !== 200 && output.statusCode >= 300) {
807
- return de_CommandError(output, context);
808
- }
809
- const contents = smithyClient.map({
810
- $metadata: deserializeMetadata(output),
811
- });
812
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
813
- const doc = smithyClient.take(data, {
814
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
815
- IdentitySourceArn: smithyClient.expectString,
816
- IdentitySourceParameters: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
817
- IdentitySourceType: smithyClient.expectString,
818
- Status: smithyClient.expectString,
819
- StatusCode: smithyClient.expectString,
820
- StatusMessage: smithyClient.expectString,
821
- });
822
- Object.assign(contents, doc);
823
- return contents;
824
- };
825
- const de_GetPolicyVersionCommand = async (output, context) => {
826
- if (output.statusCode !== 200 && output.statusCode >= 300) {
827
- return de_CommandError(output, context);
828
- }
829
- const contents = smithyClient.map({
830
- $metadata: deserializeMetadata(output),
831
- });
832
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
833
- const doc = smithyClient.take(data, {
834
- PolicyVersion: (_) => de_PolicyVersion(_),
835
- });
836
- Object.assign(contents, doc);
837
- return contents;
838
- };
839
- const de_GetResourcePolicyCommand = async (output, context) => {
840
- if (output.statusCode !== 200 && output.statusCode >= 300) {
841
- return de_CommandError(output, context);
842
- }
843
- const contents = smithyClient.map({
844
- $metadata: deserializeMetadata(output),
845
- });
846
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
847
- const doc = smithyClient.take(data, {
848
- PolicyDocument: smithyClient.expectString,
849
- PolicyName: smithyClient.expectString,
850
- PolicyType: smithyClient.expectString,
851
- PolicyVersionArn: smithyClient.expectString,
852
- ResourceArn: smithyClient.expectString,
853
- });
854
- Object.assign(contents, doc);
855
- return contents;
856
- };
857
- const de_GetSessionCommand = async (output, context) => {
858
- if (output.statusCode !== 200 && output.statusCode >= 300) {
859
- return de_CommandError(output, context);
860
- }
861
- const contents = smithyClient.map({
862
- $metadata: deserializeMetadata(output),
863
- });
864
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
865
- const doc = smithyClient.take(data, {
866
- ActionCompletionStrategy: smithyClient.expectString,
867
- ActionName: smithyClient.expectString,
868
- ApprovalStrategy: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
869
- ApprovalTeamArn: smithyClient.expectString,
870
- ApprovalTeamName: smithyClient.expectString,
871
- ApproverResponses: (_) => de_GetSessionResponseApproverResponses(_),
872
- CompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
873
- Description: smithyClient.expectString,
874
- ExecutionStatus: smithyClient.expectString,
875
- ExpirationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
876
- InitiationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
877
- Metadata: smithyClient._json,
878
- NumberOfApprovers: smithyClient.expectInt32,
879
- ProtectedResourceArn: smithyClient.expectString,
880
- RequesterAccountId: smithyClient.expectString,
881
- RequesterComment: smithyClient.expectString,
882
- RequesterPrincipalArn: smithyClient.expectString,
883
- RequesterRegion: smithyClient.expectString,
884
- RequesterServicePrincipal: smithyClient.expectString,
885
- SessionArn: smithyClient.expectString,
886
- Status: smithyClient.expectString,
887
- StatusCode: smithyClient.expectString,
888
- StatusMessage: smithyClient.expectString,
889
- });
890
- Object.assign(contents, doc);
891
- return contents;
892
- };
893
- const de_ListApprovalTeamsCommand = async (output, context) => {
894
- if (output.statusCode !== 200 && output.statusCode >= 300) {
895
- return de_CommandError(output, context);
896
- }
897
- const contents = smithyClient.map({
898
- $metadata: deserializeMetadata(output),
899
- });
900
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
901
- const doc = smithyClient.take(data, {
902
- ApprovalTeams: (_) => de_ListApprovalTeamsResponseApprovalTeams(_),
903
- NextToken: smithyClient.expectString,
904
- });
905
- Object.assign(contents, doc);
906
- return contents;
907
- };
908
- const de_ListIdentitySourcesCommand = async (output, context) => {
909
- if (output.statusCode !== 200 && output.statusCode >= 300) {
910
- return de_CommandError(output, context);
911
- }
912
- const contents = smithyClient.map({
913
- $metadata: deserializeMetadata(output),
914
- });
915
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
916
- const doc = smithyClient.take(data, {
917
- IdentitySources: (_) => de_IdentitySources(_),
918
- NextToken: smithyClient.expectString,
919
- });
920
- Object.assign(contents, doc);
921
- return contents;
922
- };
923
- const de_ListPoliciesCommand = async (output, context) => {
924
- if (output.statusCode !== 200 && output.statusCode >= 300) {
925
- return de_CommandError(output, context);
926
- }
927
- const contents = smithyClient.map({
928
- $metadata: deserializeMetadata(output),
929
- });
930
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
931
- const doc = smithyClient.take(data, {
932
- NextToken: smithyClient.expectString,
933
- Policies: smithyClient._json,
934
- });
935
- Object.assign(contents, doc);
936
- return contents;
937
- };
938
- const de_ListPolicyVersionsCommand = async (output, context) => {
939
- if (output.statusCode !== 200 && output.statusCode >= 300) {
940
- return de_CommandError(output, context);
941
- }
942
- const contents = smithyClient.map({
943
- $metadata: deserializeMetadata(output),
944
- });
945
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
946
- const doc = smithyClient.take(data, {
947
- NextToken: smithyClient.expectString,
948
- PolicyVersions: (_) => de_PolicyVersions(_),
949
- });
950
- Object.assign(contents, doc);
951
- return contents;
952
- };
953
- const de_ListResourcePoliciesCommand = async (output, context) => {
954
- if (output.statusCode !== 200 && output.statusCode >= 300) {
955
- return de_CommandError(output, context);
956
- }
957
- const contents = smithyClient.map({
958
- $metadata: deserializeMetadata(output),
959
- });
960
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
961
- const doc = smithyClient.take(data, {
962
- NextToken: smithyClient.expectString,
963
- ResourcePolicies: smithyClient._json,
964
- });
965
- Object.assign(contents, doc);
966
- return contents;
967
- };
968
- const de_ListSessionsCommand = async (output, context) => {
969
- if (output.statusCode !== 200 && output.statusCode >= 300) {
970
- return de_CommandError(output, context);
971
- }
972
- const contents = smithyClient.map({
973
- $metadata: deserializeMetadata(output),
974
- });
975
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
976
- const doc = smithyClient.take(data, {
977
- NextToken: smithyClient.expectString,
978
- Sessions: (_) => de_ListSessionsResponseSessions(_),
979
- });
980
- Object.assign(contents, doc);
981
- return contents;
982
- };
983
- const de_ListTagsForResourceCommand = async (output, context) => {
984
- if (output.statusCode !== 200 && output.statusCode >= 300) {
985
- return de_CommandError(output, context);
986
- }
987
- const contents = smithyClient.map({
988
- $metadata: deserializeMetadata(output),
989
- });
990
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
991
- const doc = smithyClient.take(data, {
992
- Tags: smithyClient._json,
993
- });
994
- Object.assign(contents, doc);
995
- return contents;
996
- };
997
- const de_StartActiveApprovalTeamDeletionCommand = async (output, context) => {
998
- if (output.statusCode !== 200 && output.statusCode >= 300) {
999
- return de_CommandError(output, context);
1000
- }
1001
- const contents = smithyClient.map({
1002
- $metadata: deserializeMetadata(output),
1003
- });
1004
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1005
- const doc = smithyClient.take(data, {
1006
- DeletionCompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1007
- DeletionStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1008
- });
1009
- Object.assign(contents, doc);
1010
- return contents;
1011
- };
1012
- const de_TagResourceCommand = async (output, context) => {
1013
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1014
- return de_CommandError(output, context);
1015
- }
1016
- const contents = smithyClient.map({
1017
- $metadata: deserializeMetadata(output),
1018
- });
1019
- await smithyClient.collectBody(output.body, context);
1020
- return contents;
1021
- };
1022
- const de_UntagResourceCommand = async (output, context) => {
1023
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1024
- return de_CommandError(output, context);
1025
- }
1026
- const contents = smithyClient.map({
1027
- $metadata: deserializeMetadata(output),
1028
- });
1029
- await smithyClient.collectBody(output.body, context);
1030
- return contents;
1031
- };
1032
- const de_UpdateApprovalTeamCommand = async (output, context) => {
1033
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1034
- return de_CommandError(output, context);
1035
- }
1036
- const contents = smithyClient.map({
1037
- $metadata: deserializeMetadata(output),
1038
- });
1039
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1040
- const doc = smithyClient.take(data, {
1041
- VersionId: smithyClient.expectString,
1042
- });
1043
- Object.assign(contents, doc);
1044
- return contents;
1045
- };
1046
- const de_CommandError = async (output, context) => {
1047
- const parsedOutput = {
1048
- ...output,
1049
- body: await core$1.parseJsonErrorBody(output.body, context),
1050
- };
1051
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1052
- switch (errorCode) {
1053
- case "AccessDeniedException":
1054
- case "com.amazonaws.mpa#AccessDeniedException":
1055
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1056
- case "ConflictException":
1057
- case "com.amazonaws.mpa#ConflictException":
1058
- throw await de_ConflictExceptionRes(parsedOutput);
1059
- case "InternalServerException":
1060
- case "com.amazonaws.mpa#InternalServerException":
1061
- throw await de_InternalServerExceptionRes(parsedOutput);
1062
- case "ResourceNotFoundException":
1063
- case "com.amazonaws.mpa#ResourceNotFoundException":
1064
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1065
- case "ThrottlingException":
1066
- case "com.amazonaws.mpa#ThrottlingException":
1067
- throw await de_ThrottlingExceptionRes(parsedOutput);
1068
- case "ValidationException":
1069
- case "com.amazonaws.mpa#ValidationException":
1070
- throw await de_ValidationExceptionRes(parsedOutput);
1071
- case "ServiceQuotaExceededException":
1072
- case "com.amazonaws.mpa#ServiceQuotaExceededException":
1073
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1074
- case "InvalidParameterException":
1075
- case "com.amazonaws.mpa#InvalidParameterException":
1076
- throw await de_InvalidParameterExceptionRes(parsedOutput);
1077
- case "TooManyTagsException":
1078
- case "com.amazonaws.mpa#TooManyTagsException":
1079
- throw await de_TooManyTagsExceptionRes(parsedOutput);
1080
- default:
1081
- const parsedBody = parsedOutput.body;
1082
- return throwDefaultError({
1083
- output,
1084
- parsedBody,
1085
- errorCode,
1086
- });
1087
- }
1088
- };
1089
- const throwDefaultError = smithyClient.withBaseException(MPAServiceException);
1090
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1091
- const contents = smithyClient.map({});
1092
- const data = parsedOutput.body;
1093
- const doc = smithyClient.take(data, {
1094
- Message: smithyClient.expectString,
1095
- });
1096
- Object.assign(contents, doc);
1097
- const exception = new AccessDeniedException({
1098
- $metadata: deserializeMetadata(parsedOutput),
1099
- ...contents,
1100
- });
1101
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1102
- };
1103
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1104
- const contents = smithyClient.map({});
1105
- const data = parsedOutput.body;
1106
- const doc = smithyClient.take(data, {
1107
- Message: smithyClient.expectString,
1108
- });
1109
- Object.assign(contents, doc);
1110
- const exception = new ConflictException({
1111
- $metadata: deserializeMetadata(parsedOutput),
1112
- ...contents,
1113
- });
1114
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1115
- };
1116
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1117
- const contents = smithyClient.map({});
1118
- const data = parsedOutput.body;
1119
- const doc = smithyClient.take(data, {
1120
- Message: smithyClient.expectString,
1121
- });
1122
- Object.assign(contents, doc);
1123
- const exception = new InternalServerException({
1124
- $metadata: deserializeMetadata(parsedOutput),
1125
- ...contents,
1126
- });
1127
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1128
- };
1129
- const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
1130
- const contents = smithyClient.map({});
1131
- const data = parsedOutput.body;
1132
- const doc = smithyClient.take(data, {
1133
- Message: smithyClient.expectString,
1134
- });
1135
- Object.assign(contents, doc);
1136
- const exception = new InvalidParameterException({
1137
- $metadata: deserializeMetadata(parsedOutput),
1138
- ...contents,
1139
- });
1140
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1141
- };
1142
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1143
- const contents = smithyClient.map({});
1144
- const data = parsedOutput.body;
1145
- const doc = smithyClient.take(data, {
1146
- Message: smithyClient.expectString,
1147
- });
1148
- Object.assign(contents, doc);
1149
- const exception = new ResourceNotFoundException({
1150
- $metadata: deserializeMetadata(parsedOutput),
1151
- ...contents,
1152
- });
1153
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1154
- };
1155
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1156
- const contents = smithyClient.map({});
1157
- const data = parsedOutput.body;
1158
- const doc = smithyClient.take(data, {
1159
- Message: smithyClient.expectString,
1160
- });
1161
- Object.assign(contents, doc);
1162
- const exception = new ServiceQuotaExceededException({
1163
- $metadata: deserializeMetadata(parsedOutput),
1164
- ...contents,
1165
- });
1166
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1167
- };
1168
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1169
- const contents = smithyClient.map({});
1170
- const data = parsedOutput.body;
1171
- const doc = smithyClient.take(data, {
1172
- Message: smithyClient.expectString,
1173
- });
1174
- Object.assign(contents, doc);
1175
- const exception = new ThrottlingException({
1176
- $metadata: deserializeMetadata(parsedOutput),
1177
- ...contents,
1178
- });
1179
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1180
- };
1181
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1182
- const contents = smithyClient.map({});
1183
- const data = parsedOutput.body;
1184
- const doc = smithyClient.take(data, {
1185
- Message: smithyClient.expectString,
1186
- ResourceName: smithyClient.expectString,
1187
- });
1188
- Object.assign(contents, doc);
1189
- const exception = new TooManyTagsException({
1190
- $metadata: deserializeMetadata(parsedOutput),
1191
- ...contents,
1192
- });
1193
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1194
- };
1195
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1196
- const contents = smithyClient.map({});
1197
- const data = parsedOutput.body;
1198
- const doc = smithyClient.take(data, {
1199
- Message: smithyClient.expectString,
1200
- });
1201
- Object.assign(contents, doc);
1202
- const exception = new ValidationException({
1203
- $metadata: deserializeMetadata(parsedOutput),
1204
- ...contents,
1205
- });
1206
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1207
- };
1208
- const de_GetApprovalTeamResponseApprover = (output, context) => {
1209
- return smithyClient.take(output, {
1210
- ApproverId: smithyClient.expectString,
1211
- PrimaryIdentityId: smithyClient.expectString,
1212
- PrimaryIdentitySourceArn: smithyClient.expectString,
1213
- PrimaryIdentityStatus: smithyClient.expectString,
1214
- ResponseTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1215
- });
1216
- };
1217
- const de_GetApprovalTeamResponseApprovers = (output, context) => {
1218
- const retVal = (output || [])
1219
- .filter((e) => e != null)
1220
- .map((entry) => {
1221
- return de_GetApprovalTeamResponseApprover(entry);
1222
- });
1223
- return retVal;
1224
- };
1225
- const de_GetSessionResponseApproverResponse = (output, context) => {
1226
- return smithyClient.take(output, {
1227
- ApproverId: smithyClient.expectString,
1228
- IdentityId: smithyClient.expectString,
1229
- IdentitySourceArn: smithyClient.expectString,
1230
- Response: smithyClient.expectString,
1231
- ResponseTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1232
- });
1233
- };
1234
- const de_GetSessionResponseApproverResponses = (output, context) => {
1235
- const retVal = (output || [])
1236
- .filter((e) => e != null)
1237
- .map((entry) => {
1238
- return de_GetSessionResponseApproverResponse(entry);
1239
- });
1240
- return retVal;
1241
- };
1242
- const de_IdentitySourceForList = (output, context) => {
1243
- return smithyClient.take(output, {
1244
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1245
- IdentitySourceArn: smithyClient.expectString,
1246
- IdentitySourceParameters: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1247
- IdentitySourceType: smithyClient.expectString,
1248
- Status: smithyClient.expectString,
1249
- StatusCode: smithyClient.expectString,
1250
- StatusMessage: smithyClient.expectString,
1251
- });
1252
- };
1253
- const de_IdentitySources = (output, context) => {
1254
- const retVal = (output || [])
1255
- .filter((e) => e != null)
1256
- .map((entry) => {
1257
- return de_IdentitySourceForList(entry);
1258
- });
1259
- return retVal;
1260
- };
1261
- const de_ListApprovalTeamsResponseApprovalTeam = (output, context) => {
1262
- return smithyClient.take(output, {
1263
- ApprovalStrategy: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1264
- Arn: smithyClient.expectString,
1265
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1266
- Description: smithyClient.expectString,
1267
- Name: smithyClient.expectString,
1268
- NumberOfApprovers: smithyClient.expectInt32,
1269
- Status: smithyClient.expectString,
1270
- StatusCode: smithyClient.expectString,
1271
- StatusMessage: smithyClient.expectString,
1272
- });
1273
- };
1274
- const de_ListApprovalTeamsResponseApprovalTeams = (output, context) => {
1275
- const retVal = (output || [])
1276
- .filter((e) => e != null)
1277
- .map((entry) => {
1278
- return de_ListApprovalTeamsResponseApprovalTeam(entry);
1279
- });
1280
- return retVal;
1281
- };
1282
- const de_ListSessionsResponseSession = (output, context) => {
1283
- return smithyClient.take(output, {
1284
- ActionCompletionStrategy: smithyClient.expectString,
1285
- ActionName: smithyClient.expectString,
1286
- ApprovalTeamArn: smithyClient.expectString,
1287
- ApprovalTeamName: smithyClient.expectString,
1288
- CompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1289
- Description: smithyClient.expectString,
1290
- ExpirationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1291
- InitiationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1292
- ProtectedResourceArn: smithyClient.expectString,
1293
- RequesterAccountId: smithyClient.expectString,
1294
- RequesterPrincipalArn: smithyClient.expectString,
1295
- RequesterRegion: smithyClient.expectString,
1296
- RequesterServicePrincipal: smithyClient.expectString,
1297
- SessionArn: smithyClient.expectString,
1298
- Status: smithyClient.expectString,
1299
- StatusCode: smithyClient.expectString,
1300
- StatusMessage: smithyClient.expectString,
1301
- });
1302
- };
1303
- const de_ListSessionsResponseSessions = (output, context) => {
1304
- const retVal = (output || [])
1305
- .filter((e) => e != null)
1306
- .map((entry) => {
1307
- return de_ListSessionsResponseSession(entry);
1308
- });
1309
- return retVal;
1310
- };
1311
- const de_PendingUpdate = (output, context) => {
1312
- return smithyClient.take(output, {
1313
- ApprovalStrategy: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1314
- Approvers: (_) => de_GetApprovalTeamResponseApprovers(_),
1315
- Description: smithyClient.expectString,
1316
- NumberOfApprovers: smithyClient.expectInt32,
1317
- Status: smithyClient.expectString,
1318
- StatusCode: smithyClient.expectString,
1319
- StatusMessage: smithyClient.expectString,
1320
- UpdateInitiationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1321
- VersionId: smithyClient.expectString,
1322
- });
1323
- };
1324
- const de_PolicyVersion = (output, context) => {
1325
- return smithyClient.take(output, {
1326
- Arn: smithyClient.expectString,
1327
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1328
- Document: smithyClient.expectString,
1329
- IsDefault: smithyClient.expectBoolean,
1330
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1331
- Name: smithyClient.expectString,
1332
- PolicyArn: smithyClient.expectString,
1333
- PolicyType: smithyClient.expectString,
1334
- Status: smithyClient.expectString,
1335
- VersionId: smithyClient.expectInt32,
1336
- });
1337
- };
1338
- const de_PolicyVersions = (output, context) => {
1339
- const retVal = (output || [])
1340
- .filter((e) => e != null)
1341
- .map((entry) => {
1342
- return de_PolicyVersionSummary(entry);
1343
- });
1344
- return retVal;
1345
- };
1346
- const de_PolicyVersionSummary = (output, context) => {
1347
- return smithyClient.take(output, {
1348
- Arn: smithyClient.expectString,
1349
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1350
- IsDefault: smithyClient.expectBoolean,
1351
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1352
- Name: smithyClient.expectString,
1353
- PolicyArn: smithyClient.expectString,
1354
- PolicyType: smithyClient.expectString,
1355
- Status: smithyClient.expectString,
1356
- VersionId: smithyClient.expectInt32,
1357
- });
1358
- };
1359
- const deserializeMetadata = (output) => ({
1360
- httpStatusCode: output.statusCode,
1361
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1362
- extendedRequestId: output.headers["x-amz-id-2"],
1363
- cfId: output.headers["x-amz-cf-id"],
1364
- });
1365
- const _D = "Delete";
1366
- const _L = "List";
372
+
373
+ const _A = "Approvers";
374
+ const _ACS = "ActionCompletionStrategy";
375
+ const _ADE = "AccessDeniedException";
376
+ const _AI = "ApproverId";
377
+ const _AN = "ActionName";
378
+ const _APU = "ApprovalPortalUrl";
379
+ const _AR = "ApproverResponses";
380
+ const _AS = "ApprovalStrategy";
381
+ const _ASR = "ApprovalStrategyResponse";
382
+ const _AT = "ApprovalTeams";
383
+ const _ATA = "ApprovalTeamArn";
384
+ const _ATN = "ApprovalTeamName";
385
+ const _ATRA = "ApprovalTeamRequestApprover";
386
+ const _ATRAp = "ApprovalTeamRequestApprovers";
387
+ const _Ar = "Arn";
388
+ const _CAT = "CreateApprovalTeam";
389
+ const _CATR = "CreateApprovalTeamRequest";
390
+ const _CATRr = "CreateApprovalTeamResponse";
391
+ const _CE = "ConflictException";
392
+ const _CIS = "CreateIdentitySource";
393
+ const _CISR = "CreateIdentitySourceRequest";
394
+ const _CISRr = "CreateIdentitySourceResponse";
395
+ const _CS = "CancelSession";
396
+ const _CSR = "CancelSessionRequest";
397
+ const _CSRa = "CancelSessionResponse";
398
+ const _CT = "ClientToken";
399
+ const _CTo = "CompletionTime";
400
+ const _CTr = "CreationTime";
401
+ const _D = "Description";
402
+ const _DCT = "DeletionCompletionTime";
403
+ const _DIATV = "DeleteInactiveApprovalTeamVersion";
404
+ const _DIATVR = "DeleteInactiveApprovalTeamVersionRequest";
405
+ const _DIATVRe = "DeleteInactiveApprovalTeamVersionResponse";
406
+ const _DIS = "DeleteIdentitySource";
407
+ const _DISR = "DeleteIdentitySourceRequest";
408
+ const _DST = "DeletionStartTime";
409
+ const _DV = "DefaultVersion";
410
+ const _Do = "Document";
411
+ const _ES = "ExecutionStatus";
412
+ const _ET = "ExpirationTime";
413
+ const _F = "Filter";
414
+ const _FN = "FieldName";
415
+ const _Fi = "Filters";
416
+ const _GAT = "GetApprovalTeam";
417
+ const _GATR = "GetApprovalTeamRequest";
418
+ const _GATRA = "GetApprovalTeamResponseApprover";
419
+ const _GATRAe = "GetApprovalTeamResponseApprovers";
420
+ const _GATRe = "GetApprovalTeamResponse";
421
+ const _GIS = "GetIdentitySource";
422
+ const _GISR = "GetIdentitySourceRequest";
423
+ const _GISRe = "GetIdentitySourceResponse";
424
+ const _GPV = "GetPolicyVersion";
425
+ const _GPVR = "GetPolicyVersionRequest";
426
+ const _GPVRe = "GetPolicyVersionResponse";
427
+ const _GRP = "GetResourcePolicy";
428
+ const _GRPR = "GetResourcePolicyRequest";
429
+ const _GRPRe = "GetResourcePolicyResponse";
430
+ const _GS = "GetSession";
431
+ const _GSR = "GetSessionRequest";
432
+ const _GSRAR = "GetSessionResponseApproverResponse";
433
+ const _GSRARe = "GetSessionResponseApproverResponses";
434
+ const _GSRe = "GetSessionResponse";
435
+ const _IA = "InstanceArn";
436
+ const _ID = "IsDefault";
437
+ const _II = "IdentityId";
438
+ const _IIC = "IamIdentityCenter";
439
+ const _IICFG = "IamIdentityCenterForGet";
440
+ const _IICFL = "IamIdentityCenterForList";
441
+ const _IPE = "InvalidParameterException";
442
+ const _IS = "IdentitySources";
443
+ const _ISA = "IdentitySourceArn";
444
+ const _ISE = "InternalServerException";
445
+ const _ISFL = "IdentitySourceForList";
446
+ const _ISP = "IdentitySourceParameters";
447
+ const _ISPFG = "IdentitySourceParametersForGet";
448
+ const _ISPFL = "IdentitySourceParametersForList";
449
+ const _IST = "IdentitySourceType";
450
+ const _IT = "InitiationTime";
451
+ const _LAT = "ListApprovalTeams";
452
+ const _LATR = "ListApprovalTeamsRequest";
453
+ const _LATRAT = "ListApprovalTeamsResponseApprovalTeam";
454
+ const _LATRATi = "ListApprovalTeamsResponseApprovalTeams";
455
+ const _LATRi = "ListApprovalTeamsResponse";
456
+ const _LIS = "ListIdentitySources";
457
+ const _LISR = "ListIdentitySourcesRequest";
458
+ const _LISRi = "ListIdentitySourcesResponse";
459
+ const _LP = "ListPolicies";
460
+ const _LPR = "ListPoliciesRequest";
461
+ const _LPRi = "ListPoliciesResponse";
462
+ const _LPV = "ListPolicyVersions";
463
+ const _LPVR = "ListPolicyVersionsRequest";
464
+ const _LPVRi = "ListPolicyVersionsResponse";
465
+ const _LRP = "ListResourcePolicies";
466
+ const _LRPR = "ListResourcePoliciesRequest";
467
+ const _LRPRRP = "ListResourcePoliciesResponseResourcePolicy";
468
+ const _LRPRRPi = "ListResourcePoliciesResponseResourcePolicies";
469
+ const _LRPRi = "ListResourcePoliciesResponse";
470
+ const _LS = "ListSessions";
471
+ const _LSR = "ListSessionsRequest";
472
+ const _LSRS = "ListSessionsResponseSession";
473
+ const _LSRSi = "ListSessionsResponseSessions";
474
+ const _LSRi = "ListSessionsResponse";
475
+ const _LTFR = "ListTagsForResource";
476
+ const _LTFRR = "ListTagsForResourceRequest";
477
+ const _LTFRRi = "ListTagsForResourceResponse";
478
+ const _LUT = "LastUpdateTime";
479
+ const _LUTa = "LastUpdatedTime";
480
+ const _M = "Message";
481
+ const _MAR = "MinApprovalsRequired";
482
+ const _MN = "MofN";
483
+ const _MNAS = "MofNApprovalStrategy";
1367
484
  const _MR = "MaxResults";
485
+ const _Me = "Metadata";
486
+ const _N = "Name";
487
+ const _NOA = "NumberOfApprovers";
1368
488
  const _NT = "NextToken";
489
+ const _O = "Operator";
490
+ const _P = "Policies";
491
+ const _PA = "PolicyArn";
492
+ const _PD = "PolicyDocument";
493
+ const _PII = "PrimaryIdentityId";
494
+ const _PIS = "PrimaryIdentityStatus";
495
+ const _PISA = "PrimaryIdentitySourceArn";
496
+ const _PN = "PolicyName";
497
+ const _PR = "PolicyReference";
498
+ const _PRA = "ProtectedResourceArn";
499
+ const _PRo = "PoliciesReferences";
500
+ const _PT = "PolicyType";
501
+ const _PU = "PendingUpdate";
502
+ const _PV = "PolicyVersion";
503
+ const _PVA = "PolicyVersionArn";
504
+ const _PVS = "PolicyVersionSummary";
505
+ const _PVo = "PolicyVersions";
506
+ const _PWD = "PendingWindowDays";
507
+ const _Po = "Policy";
508
+ const _R = "Response";
509
+ const _RA = "ResourceArn";
510
+ const _RAI = "RequesterAccountId";
511
+ const _RC = "RequesterComment";
512
+ const _RN = "ResourceName";
513
+ const _RNFE = "ResourceNotFoundException";
514
+ const _RP = "ResourcePolicies";
515
+ const _RPA = "RequesterPrincipalArn";
516
+ const _RR = "RequesterRegion";
517
+ const _RSP = "RequesterServicePrincipal";
518
+ const _RT = "ResponseTime";
519
+ const _Re = "Region";
520
+ const _S = "Status";
521
+ const _SA = "SessionArn";
522
+ const _SAATD = "StartActiveApprovalTeamDeletion";
523
+ const _SAATDR = "StartActiveApprovalTeamDeletionRequest";
524
+ const _SAATDRt = "StartActiveApprovalTeamDeletionResponse";
525
+ const _SC = "StatusCode";
526
+ const _SK = "SessionKey";
527
+ const _SM = "StatusMessage";
528
+ const _SMe = "SessionMetadata";
529
+ const _SQEE = "ServiceQuotaExceededException";
530
+ const _SV = "SessionValue";
531
+ const _Se = "Sessions";
532
+ const _T = "Tags";
533
+ const _TE = "ThrottlingException";
534
+ const _TK = "TagKey";
535
+ const _TKL = "TagKeyList";
536
+ const _TKa = "TagKeys";
537
+ const _TMTE = "TooManyTagsException";
538
+ const _TR = "TagResource";
539
+ const _TRR = "TagResourceRequest";
540
+ const _TRRa = "TagResourceResponse";
541
+ const _TV = "TagValue";
542
+ const _UAT = "UpdateApprovalTeam";
543
+ const _UATR = "UpdateApprovalTeamRequest";
544
+ const _UATRp = "UpdateApprovalTeamResponse";
545
+ const _UIT = "UpdateInitiationTime";
546
+ const _UR = "UntagResource";
547
+ const _URR = "UntagResourceRequest";
548
+ const _URRn = "UntagResourceResponse";
549
+ const _USA = "UpdateSessionArn";
550
+ const _V = "Value";
551
+ const _VE = "ValidationException";
552
+ const _VI = "VersionId";
553
+ const _c = "client";
554
+ const _e = "error";
555
+ const _h = "http";
556
+ const _hE = "httpError";
557
+ const _hQ = "httpQuery";
558
+ const _s = "server";
559
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mpa";
560
+ const n0 = "com.amazonaws.mpa";
561
+ var Description = [0, n0, _D, 8, 0];
562
+ var PolicyDocument = [0, n0, _PD, 8, 0];
563
+ var RequesterComment = [0, n0, _RC, 8, 0];
564
+ var SessionKey = [0, n0, _SK, 8, 0];
565
+ var SessionValue = [0, n0, _SV, 8, 0];
566
+ var TagKey = [0, n0, _TK, 8, 0];
567
+ var TagValue = [0, n0, _TV, 8, 0];
568
+ var AccessDeniedException = [
569
+ -3,
570
+ n0,
571
+ _ADE,
572
+ {
573
+ [_e]: _c,
574
+ [_hE]: 403,
575
+ },
576
+ [_M],
577
+ [0],
578
+ ];
579
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
580
+ var ApprovalTeamRequestApprover = [3, n0, _ATRA, 0, [_PII, _PISA], [0, 0]];
581
+ var CancelSessionRequest = [3, n0, _CSR, 0, [_SA], [[0, 1]]];
582
+ var CancelSessionResponse = [3, n0, _CSRa, 0, [], []];
583
+ var ConflictException = [
584
+ -3,
585
+ n0,
586
+ _CE,
587
+ {
588
+ [_e]: _c,
589
+ [_hE]: 409,
590
+ },
591
+ [_M],
592
+ [0],
593
+ ];
594
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
595
+ var CreateApprovalTeamRequest = [
596
+ 3,
597
+ n0,
598
+ _CATR,
599
+ 0,
600
+ [_CT, _AS, _A, _D, _P, _N, _T],
601
+ [
602
+ [0, 4],
603
+ () => ApprovalStrategy,
604
+ () => ApprovalTeamRequestApprovers,
605
+ [() => Description, 0],
606
+ () => PoliciesReferences,
607
+ 0,
608
+ [() => Tags, 0],
609
+ ],
610
+ ];
611
+ var CreateApprovalTeamResponse = [3, n0, _CATRr, 0, [_CTr, _Ar, _N, _VI], [5, 0, 0, 0]];
612
+ var CreateIdentitySourceRequest = [
613
+ 3,
614
+ n0,
615
+ _CISR,
616
+ 0,
617
+ [_ISP, _CT, _T],
618
+ [() => IdentitySourceParameters, [0, 4], [() => Tags, 0]],
619
+ ];
620
+ var CreateIdentitySourceResponse = [3, n0, _CISRr, 0, [_IST, _ISA, _CTr], [0, 0, 5]];
621
+ var DeleteIdentitySourceRequest = [3, n0, _DISR, 0, [_ISA], [[0, 1]]];
622
+ var DeleteInactiveApprovalTeamVersionRequest = [
623
+ 3,
624
+ n0,
625
+ _DIATVR,
626
+ 0,
627
+ [_Ar, _VI],
628
+ [
629
+ [0, 1],
630
+ [0, 1],
631
+ ],
632
+ ];
633
+ var DeleteInactiveApprovalTeamVersionResponse = [3, n0, _DIATVRe, 0, [], []];
634
+ var Filter = [3, n0, _F, 0, [_FN, _O, _V], [0, 0, 0]];
635
+ var GetApprovalTeamRequest = [3, n0, _GATR, 0, [_Ar], [[0, 1]]];
636
+ var GetApprovalTeamResponse = [
637
+ 3,
638
+ n0,
639
+ _GATRe,
640
+ 0,
641
+ [_CTr, _AS, _NOA, _A, _Ar, _D, _N, _S, _SC, _SM, _USA, _VI, _P, _LUT, _PU],
642
+ [
643
+ 5,
644
+ () => ApprovalStrategyResponse,
645
+ 1,
646
+ () => GetApprovalTeamResponseApprovers,
647
+ 0,
648
+ [() => Description, 0],
649
+ 0,
650
+ 0,
651
+ 0,
652
+ 0,
653
+ 0,
654
+ 0,
655
+ () => PoliciesReferences,
656
+ 5,
657
+ () => PendingUpdate,
658
+ ],
659
+ ];
660
+ var GetApprovalTeamResponseApprover = [
661
+ 3,
662
+ n0,
663
+ _GATRA,
664
+ 0,
665
+ [_AI, _RT, _PII, _PISA, _PIS],
666
+ [0, 5, 0, 0, 0],
667
+ ];
668
+ var GetIdentitySourceRequest = [3, n0, _GISR, 0, [_ISA], [[0, 1]]];
669
+ var GetIdentitySourceResponse = [
670
+ 3,
671
+ n0,
672
+ _GISRe,
673
+ 0,
674
+ [_IST, _ISP, _ISA, _CTr, _S, _SC, _SM],
675
+ [0, () => IdentitySourceParametersForGet, 0, 5, 0, 0, 0],
676
+ ];
677
+ var GetPolicyVersionRequest = [3, n0, _GPVR, 0, [_PVA], [[0, 1]]];
678
+ var GetPolicyVersionResponse = [3, n0, _GPVRe, 0, [_PV], [[() => PolicyVersion, 0]]];
679
+ var GetResourcePolicyRequest = [3, n0, _GRPR, 0, [_RA, _PN, _PT], [0, 0, 0]];
680
+ var GetResourcePolicyResponse = [
681
+ 3,
682
+ n0,
683
+ _GRPRe,
684
+ 0,
685
+ [_RA, _PT, _PVA, _PN, _PD],
686
+ [0, 0, 0, 0, [() => PolicyDocument, 0]],
687
+ ];
688
+ var GetSessionRequest = [3, n0, _GSR, 0, [_SA], [[0, 1]]];
689
+ var GetSessionResponse = [
690
+ 3,
691
+ n0,
692
+ _GSRe,
693
+ 0,
694
+ [
695
+ _SA,
696
+ _ATA,
697
+ _ATN,
698
+ _PRA,
699
+ _AS,
700
+ _NOA,
701
+ _IT,
702
+ _ET,
703
+ _CTo,
704
+ _D,
705
+ _Me,
706
+ _S,
707
+ _SC,
708
+ _SM,
709
+ _ES,
710
+ _AN,
711
+ _RSP,
712
+ _RPA,
713
+ _RAI,
714
+ _RR,
715
+ _RC,
716
+ _ACS,
717
+ _AR,
718
+ ],
719
+ [
720
+ 0,
721
+ 0,
722
+ 0,
723
+ 0,
724
+ () => ApprovalStrategyResponse,
725
+ 1,
726
+ 5,
727
+ 5,
728
+ 5,
729
+ [() => Description, 0],
730
+ [() => SessionMetadata, 0],
731
+ 0,
732
+ 0,
733
+ 0,
734
+ 0,
735
+ 0,
736
+ 0,
737
+ 0,
738
+ 0,
739
+ 0,
740
+ [() => RequesterComment, 0],
741
+ 0,
742
+ () => GetSessionResponseApproverResponses,
743
+ ],
744
+ ];
745
+ var GetSessionResponseApproverResponse = [
746
+ 3,
747
+ n0,
748
+ _GSRAR,
749
+ 0,
750
+ [_AI, _ISA, _II, _R, _RT],
751
+ [0, 0, 0, 0, 5],
752
+ ];
753
+ var IamIdentityCenter = [3, n0, _IIC, 0, [_IA, _Re], [0, 0]];
754
+ var IamIdentityCenterForGet = [3, n0, _IICFG, 0, [_IA, _APU, _Re], [0, 0, 0]];
755
+ var IamIdentityCenterForList = [3, n0, _IICFL, 0, [_IA, _APU, _Re], [0, 0, 0]];
756
+ var IdentitySourceForList = [
757
+ 3,
758
+ n0,
759
+ _ISFL,
760
+ 0,
761
+ [_IST, _ISP, _ISA, _CTr, _S, _SC, _SM],
762
+ [0, () => IdentitySourceParametersForList, 0, 5, 0, 0, 0],
763
+ ];
764
+ var IdentitySourceParameters = [3, n0, _ISP, 0, [_IIC], [() => IamIdentityCenter]];
765
+ var InternalServerException = [
766
+ -3,
767
+ n0,
768
+ _ISE,
769
+ {
770
+ [_e]: _s,
771
+ [_hE]: 500,
772
+ },
773
+ [_M],
774
+ [0],
775
+ ];
776
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
777
+ var InvalidParameterException = [
778
+ -3,
779
+ n0,
780
+ _IPE,
781
+ {
782
+ [_e]: _c,
783
+ [_hE]: 400,
784
+ },
785
+ [_M],
786
+ [0],
787
+ ];
788
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
789
+ var ListApprovalTeamsRequest = [
790
+ 3,
791
+ n0,
792
+ _LATR,
793
+ 0,
794
+ [_MR, _NT],
795
+ [
796
+ [
797
+ 1,
798
+ {
799
+ [_hQ]: _MR,
800
+ },
801
+ ],
802
+ [
803
+ 0,
804
+ {
805
+ [_hQ]: _NT,
806
+ },
807
+ ],
808
+ ],
809
+ ];
810
+ var ListApprovalTeamsResponse = [
811
+ 3,
812
+ n0,
813
+ _LATRi,
814
+ 0,
815
+ [_NT, _AT],
816
+ [0, [() => ListApprovalTeamsResponseApprovalTeams, 0]],
817
+ ];
818
+ var ListApprovalTeamsResponseApprovalTeam = [
819
+ 3,
820
+ n0,
821
+ _LATRAT,
822
+ 0,
823
+ [_CTr, _AS, _NOA, _Ar, _N, _D, _S, _SC, _SM],
824
+ [5, () => ApprovalStrategyResponse, 1, 0, 0, [() => Description, 0], 0, 0, 0],
825
+ ];
826
+ var ListIdentitySourcesRequest = [
827
+ 3,
828
+ n0,
829
+ _LISR,
830
+ 0,
831
+ [_MR, _NT],
832
+ [
833
+ [
834
+ 1,
835
+ {
836
+ [_hQ]: _MR,
837
+ },
838
+ ],
839
+ [
840
+ 0,
841
+ {
842
+ [_hQ]: _NT,
843
+ },
844
+ ],
845
+ ],
846
+ ];
847
+ var ListIdentitySourcesResponse = [
848
+ 3,
849
+ n0,
850
+ _LISRi,
851
+ 0,
852
+ [_NT, _IS],
853
+ [0, () => IdentitySources],
854
+ ];
855
+ var ListPoliciesRequest = [
856
+ 3,
857
+ n0,
858
+ _LPR,
859
+ 0,
860
+ [_MR, _NT],
861
+ [
862
+ [
863
+ 1,
864
+ {
865
+ [_hQ]: _MR,
866
+ },
867
+ ],
868
+ [
869
+ 0,
870
+ {
871
+ [_hQ]: _NT,
872
+ },
873
+ ],
874
+ ],
875
+ ];
876
+ var ListPoliciesResponse = [3, n0, _LPRi, 0, [_NT, _P], [0, () => Policies]];
877
+ var ListPolicyVersionsRequest = [
878
+ 3,
879
+ n0,
880
+ _LPVR,
881
+ 0,
882
+ [_MR, _NT, _PA],
883
+ [
884
+ [
885
+ 1,
886
+ {
887
+ [_hQ]: _MR,
888
+ },
889
+ ],
890
+ [
891
+ 0,
892
+ {
893
+ [_hQ]: _NT,
894
+ },
895
+ ],
896
+ [0, 1],
897
+ ],
898
+ ];
899
+ var ListPolicyVersionsResponse = [
900
+ 3,
901
+ n0,
902
+ _LPVRi,
903
+ 0,
904
+ [_NT, _PVo],
905
+ [0, () => PolicyVersions],
906
+ ];
907
+ var ListResourcePoliciesRequest = [
908
+ 3,
909
+ n0,
910
+ _LRPR,
911
+ 0,
912
+ [_RA, _MR, _NT],
913
+ [
914
+ [0, 1],
915
+ [
916
+ 1,
917
+ {
918
+ [_hQ]: _MR,
919
+ },
920
+ ],
921
+ [
922
+ 0,
923
+ {
924
+ [_hQ]: _NT,
925
+ },
926
+ ],
927
+ ],
928
+ ];
929
+ var ListResourcePoliciesResponse = [
930
+ 3,
931
+ n0,
932
+ _LRPRi,
933
+ 0,
934
+ [_NT, _RP],
935
+ [0, () => ListResourcePoliciesResponseResourcePolicies],
936
+ ];
937
+ var ListResourcePoliciesResponseResourcePolicy = [
938
+ 3,
939
+ n0,
940
+ _LRPRRP,
941
+ 0,
942
+ [_PA, _PT, _PN],
943
+ [0, 0, 0],
944
+ ];
945
+ var ListSessionsRequest = [
946
+ 3,
947
+ n0,
948
+ _LSR,
949
+ 0,
950
+ [_ATA, _MR, _NT, _Fi],
951
+ [[0, 1], 1, 0, () => Filters],
952
+ ];
953
+ var ListSessionsResponse = [
954
+ 3,
955
+ n0,
956
+ _LSRi,
957
+ 0,
958
+ [_NT, _Se],
959
+ [0, [() => ListSessionsResponseSessions, 0]],
960
+ ];
961
+ var ListSessionsResponseSession = [
962
+ 3,
963
+ n0,
964
+ _LSRS,
965
+ 0,
966
+ [_SA, _ATN, _ATA, _IT, _ET, _CTo, _D, _AN, _PRA, _RSP, _RPA, _RR, _RAI, _S, _SC, _SM, _ACS],
967
+ [0, 0, 0, 5, 5, 5, [() => Description, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
968
+ ];
969
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
970
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [[() => Tags, 0]]];
971
+ var MofNApprovalStrategy = [3, n0, _MNAS, 0, [_MAR], [1]];
972
+ var PendingUpdate = [
973
+ 3,
974
+ n0,
975
+ _PU,
976
+ 0,
977
+ [_VI, _D, _AS, _NOA, _S, _SC, _SM, _A, _UIT],
978
+ [0, 0, () => ApprovalStrategyResponse, 1, 0, 0, 0, () => GetApprovalTeamResponseApprovers, 5],
979
+ ];
980
+ var Policy = [3, n0, _Po, 0, [_Ar, _DV, _PT, _N], [0, 1, 0, 0]];
981
+ var PolicyReference = [3, n0, _PR, 0, [_PA], [0]];
982
+ var PolicyVersion = [
983
+ 3,
984
+ n0,
985
+ _PV,
986
+ 0,
987
+ [_Ar, _PA, _VI, _PT, _ID, _N, _S, _CTr, _LUTa, _Do],
988
+ [0, 0, 1, 0, 2, 0, 0, 5, 5, [() => PolicyDocument, 0]],
989
+ ];
990
+ var PolicyVersionSummary = [
991
+ 3,
992
+ n0,
993
+ _PVS,
994
+ 0,
995
+ [_Ar, _PA, _VI, _PT, _ID, _N, _S, _CTr, _LUTa],
996
+ [0, 0, 1, 0, 2, 0, 0, 5, 5],
997
+ ];
998
+ var ResourceNotFoundException = [
999
+ -3,
1000
+ n0,
1001
+ _RNFE,
1002
+ {
1003
+ [_e]: _c,
1004
+ [_hE]: 404,
1005
+ },
1006
+ [_M],
1007
+ [0],
1008
+ ];
1009
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1010
+ var ServiceQuotaExceededException = [
1011
+ -3,
1012
+ n0,
1013
+ _SQEE,
1014
+ {
1015
+ [_e]: _c,
1016
+ [_hE]: 402,
1017
+ },
1018
+ [_M],
1019
+ [0],
1020
+ ];
1021
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1022
+ var StartActiveApprovalTeamDeletionRequest = [
1023
+ 3,
1024
+ n0,
1025
+ _SAATDR,
1026
+ 0,
1027
+ [_PWD, _Ar],
1028
+ [1, [0, 1]],
1029
+ ];
1030
+ var StartActiveApprovalTeamDeletionResponse = [3, n0, _SAATDRt, 0, [_DCT, _DST], [5, 5]];
1031
+ var TagResourceRequest = [
1032
+ 3,
1033
+ n0,
1034
+ _TRR,
1035
+ 0,
1036
+ [_RA, _T],
1037
+ [
1038
+ [0, 1],
1039
+ [() => Tags, 0],
1040
+ ],
1041
+ ];
1042
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1043
+ var ThrottlingException = [
1044
+ -3,
1045
+ n0,
1046
+ _TE,
1047
+ {
1048
+ [_e]: _c,
1049
+ [_hE]: 429,
1050
+ },
1051
+ [_M],
1052
+ [0],
1053
+ ];
1054
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1055
+ var TooManyTagsException = [
1056
+ -3,
1057
+ n0,
1058
+ _TMTE,
1059
+ {
1060
+ [_e]: _c,
1061
+ [_hE]: 400,
1062
+ },
1063
+ [_M, _RN],
1064
+ [0, 0],
1065
+ ];
1066
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
1067
+ var UntagResourceRequest = [
1068
+ 3,
1069
+ n0,
1070
+ _URR,
1071
+ 0,
1072
+ [_RA, _TKa],
1073
+ [
1074
+ [0, 1],
1075
+ [() => TagKeyList, 0],
1076
+ ],
1077
+ ];
1078
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1079
+ var UpdateApprovalTeamRequest = [
1080
+ 3,
1081
+ n0,
1082
+ _UATR,
1083
+ 0,
1084
+ [_AS, _A, _D, _Ar],
1085
+ [() => ApprovalStrategy, () => ApprovalTeamRequestApprovers, [() => Description, 0], [0, 1]],
1086
+ ];
1087
+ var UpdateApprovalTeamResponse = [3, n0, _UATRp, 0, [_VI], [0]];
1088
+ var ValidationException = [
1089
+ -3,
1090
+ n0,
1091
+ _VE,
1092
+ {
1093
+ [_e]: _c,
1094
+ [_hE]: 400,
1095
+ },
1096
+ [_M],
1097
+ [0],
1098
+ ];
1099
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1100
+ var __Unit = "unit";
1101
+ var MPAServiceException = [-3, _sm, "MPAServiceException", 0, [], []];
1102
+ schema.TypeRegistry.for(_sm).registerError(MPAServiceException, MPAServiceException$1);
1103
+ var ApprovalTeamRequestApprovers = [1, n0, _ATRAp, 0, () => ApprovalTeamRequestApprover];
1104
+ var Filters = [1, n0, _Fi, 0, () => Filter];
1105
+ var GetApprovalTeamResponseApprovers = [
1106
+ 1,
1107
+ n0,
1108
+ _GATRAe,
1109
+ 0,
1110
+ () => GetApprovalTeamResponseApprover,
1111
+ ];
1112
+ var GetSessionResponseApproverResponses = [
1113
+ 1,
1114
+ n0,
1115
+ _GSRARe,
1116
+ 0,
1117
+ () => GetSessionResponseApproverResponse,
1118
+ ];
1119
+ var IdentitySources = [1, n0, _IS, 0, () => IdentitySourceForList];
1120
+ var ListApprovalTeamsResponseApprovalTeams = [
1121
+ 1,
1122
+ n0,
1123
+ _LATRATi,
1124
+ 0,
1125
+ [() => ListApprovalTeamsResponseApprovalTeam, 0],
1126
+ ];
1127
+ var ListResourcePoliciesResponseResourcePolicies = [
1128
+ 1,
1129
+ n0,
1130
+ _LRPRRPi,
1131
+ 0,
1132
+ () => ListResourcePoliciesResponseResourcePolicy,
1133
+ ];
1134
+ var ListSessionsResponseSessions = [1, n0, _LSRSi, 0, [() => ListSessionsResponseSession, 0]];
1135
+ var Policies = [1, n0, _P, 0, () => Policy];
1136
+ var PoliciesReferences = [1, n0, _PRo, 0, () => PolicyReference];
1137
+ var PolicyVersions = [1, n0, _PVo, 0, () => PolicyVersionSummary];
1138
+ var TagKeyList = [1, n0, _TKL, 8, [() => TagKey, 0]];
1139
+ var SessionMetadata = [2, n0, _SMe, 8, [() => SessionKey, 0], [() => SessionValue, 0]];
1140
+ var Tags = [2, n0, _T, 8, [() => TagKey, 0], [() => TagValue, 0]];
1141
+ var ApprovalStrategy = [3, n0, _AS, 0, [_MN], [() => MofNApprovalStrategy]];
1142
+ var ApprovalStrategyResponse = [3, n0, _ASR, 0, [_MN], [() => MofNApprovalStrategy]];
1143
+ var IdentitySourceParametersForGet = [
1144
+ 3,
1145
+ n0,
1146
+ _ISPFG,
1147
+ 0,
1148
+ [_IIC],
1149
+ [() => IamIdentityCenterForGet],
1150
+ ];
1151
+ var IdentitySourceParametersForList = [
1152
+ 3,
1153
+ n0,
1154
+ _ISPFL,
1155
+ 0,
1156
+ [_IIC],
1157
+ [() => IamIdentityCenterForList],
1158
+ ];
1159
+ var CancelSession = [
1160
+ 9,
1161
+ n0,
1162
+ _CS,
1163
+ {
1164
+ [_h]: ["PUT", "/sessions/{SessionArn}", 200],
1165
+ },
1166
+ () => CancelSessionRequest,
1167
+ () => CancelSessionResponse,
1168
+ ];
1169
+ var CreateApprovalTeam = [
1170
+ 9,
1171
+ n0,
1172
+ _CAT,
1173
+ {
1174
+ [_h]: ["POST", "/approval-teams", 200],
1175
+ },
1176
+ () => CreateApprovalTeamRequest,
1177
+ () => CreateApprovalTeamResponse,
1178
+ ];
1179
+ var CreateIdentitySource = [
1180
+ 9,
1181
+ n0,
1182
+ _CIS,
1183
+ {
1184
+ [_h]: ["POST", "/identity-sources", 200],
1185
+ },
1186
+ () => CreateIdentitySourceRequest,
1187
+ () => CreateIdentitySourceResponse,
1188
+ ];
1189
+ var DeleteIdentitySource = [
1190
+ 9,
1191
+ n0,
1192
+ _DIS,
1193
+ {
1194
+ [_h]: ["DELETE", "/identity-sources/{IdentitySourceArn}", 200],
1195
+ },
1196
+ () => DeleteIdentitySourceRequest,
1197
+ () => __Unit,
1198
+ ];
1199
+ var DeleteInactiveApprovalTeamVersion = [
1200
+ 9,
1201
+ n0,
1202
+ _DIATV,
1203
+ {
1204
+ [_h]: ["DELETE", "/approval-teams/{Arn}/{VersionId}", 200],
1205
+ },
1206
+ () => DeleteInactiveApprovalTeamVersionRequest,
1207
+ () => DeleteInactiveApprovalTeamVersionResponse,
1208
+ ];
1209
+ var GetApprovalTeam = [
1210
+ 9,
1211
+ n0,
1212
+ _GAT,
1213
+ {
1214
+ [_h]: ["GET", "/approval-teams/{Arn}", 200],
1215
+ },
1216
+ () => GetApprovalTeamRequest,
1217
+ () => GetApprovalTeamResponse,
1218
+ ];
1219
+ var GetIdentitySource = [
1220
+ 9,
1221
+ n0,
1222
+ _GIS,
1223
+ {
1224
+ [_h]: ["GET", "/identity-sources/{IdentitySourceArn}", 200],
1225
+ },
1226
+ () => GetIdentitySourceRequest,
1227
+ () => GetIdentitySourceResponse,
1228
+ ];
1229
+ var GetPolicyVersion = [
1230
+ 9,
1231
+ n0,
1232
+ _GPV,
1233
+ {
1234
+ [_h]: ["GET", "/policy-versions/{PolicyVersionArn}", 200],
1235
+ },
1236
+ () => GetPolicyVersionRequest,
1237
+ () => GetPolicyVersionResponse,
1238
+ ];
1239
+ var GetResourcePolicy = [
1240
+ 9,
1241
+ n0,
1242
+ _GRP,
1243
+ {
1244
+ [_h]: ["POST", "/GetResourcePolicy", 200],
1245
+ },
1246
+ () => GetResourcePolicyRequest,
1247
+ () => GetResourcePolicyResponse,
1248
+ ];
1249
+ var GetSession = [
1250
+ 9,
1251
+ n0,
1252
+ _GS,
1253
+ {
1254
+ [_h]: ["GET", "/sessions/{SessionArn}", 200],
1255
+ },
1256
+ () => GetSessionRequest,
1257
+ () => GetSessionResponse,
1258
+ ];
1259
+ var ListApprovalTeams = [
1260
+ 9,
1261
+ n0,
1262
+ _LAT,
1263
+ {
1264
+ [_h]: ["POST", "/approval-teams/?List", 200],
1265
+ },
1266
+ () => ListApprovalTeamsRequest,
1267
+ () => ListApprovalTeamsResponse,
1268
+ ];
1269
+ var ListIdentitySources = [
1270
+ 9,
1271
+ n0,
1272
+ _LIS,
1273
+ {
1274
+ [_h]: ["POST", "/identity-sources/?List", 200],
1275
+ },
1276
+ () => ListIdentitySourcesRequest,
1277
+ () => ListIdentitySourcesResponse,
1278
+ ];
1279
+ var ListPolicies = [
1280
+ 9,
1281
+ n0,
1282
+ _LP,
1283
+ {
1284
+ [_h]: ["POST", "/policies/?List", 200],
1285
+ },
1286
+ () => ListPoliciesRequest,
1287
+ () => ListPoliciesResponse,
1288
+ ];
1289
+ var ListPolicyVersions = [
1290
+ 9,
1291
+ n0,
1292
+ _LPV,
1293
+ {
1294
+ [_h]: ["POST", "/policies/{PolicyArn}/?List", 200],
1295
+ },
1296
+ () => ListPolicyVersionsRequest,
1297
+ () => ListPolicyVersionsResponse,
1298
+ ];
1299
+ var ListResourcePolicies = [
1300
+ 9,
1301
+ n0,
1302
+ _LRP,
1303
+ {
1304
+ [_h]: ["POST", "/resource-policies/{ResourceArn}/?List", 200],
1305
+ },
1306
+ () => ListResourcePoliciesRequest,
1307
+ () => ListResourcePoliciesResponse,
1308
+ ];
1309
+ var ListSessions = [
1310
+ 9,
1311
+ n0,
1312
+ _LS,
1313
+ {
1314
+ [_h]: ["POST", "/approval-teams/{ApprovalTeamArn}/sessions/?List", 200],
1315
+ },
1316
+ () => ListSessionsRequest,
1317
+ () => ListSessionsResponse,
1318
+ ];
1319
+ var ListTagsForResource = [
1320
+ 9,
1321
+ n0,
1322
+ _LTFR,
1323
+ {
1324
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
1325
+ },
1326
+ () => ListTagsForResourceRequest,
1327
+ () => ListTagsForResourceResponse,
1328
+ ];
1329
+ var StartActiveApprovalTeamDeletion = [
1330
+ 9,
1331
+ n0,
1332
+ _SAATD,
1333
+ {
1334
+ [_h]: ["POST", "/approval-teams/{Arn}?Delete", 200],
1335
+ },
1336
+ () => StartActiveApprovalTeamDeletionRequest,
1337
+ () => StartActiveApprovalTeamDeletionResponse,
1338
+ ];
1339
+ var TagResource = [
1340
+ 9,
1341
+ n0,
1342
+ _TR,
1343
+ {
1344
+ [_h]: ["PUT", "/tags/{ResourceArn}", 200],
1345
+ },
1346
+ () => TagResourceRequest,
1347
+ () => TagResourceResponse,
1348
+ ];
1349
+ var UntagResource = [
1350
+ 9,
1351
+ n0,
1352
+ _UR,
1353
+ {
1354
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
1355
+ },
1356
+ () => UntagResourceRequest,
1357
+ () => UntagResourceResponse,
1358
+ ];
1359
+ var UpdateApprovalTeam = [
1360
+ 9,
1361
+ n0,
1362
+ _UAT,
1363
+ {
1364
+ [_h]: ["PATCH", "/approval-teams/{Arn}", 200],
1365
+ },
1366
+ () => UpdateApprovalTeamRequest,
1367
+ () => UpdateApprovalTeamResponse,
1368
+ ];
1369
1369
 
1370
1370
  class CancelSessionCommand extends smithyClient.Command
1371
1371
  .classBuilder()
1372
1372
  .ep(commonParams)
1373
1373
  .m(function (Command, cs, config, o) {
1374
- return [
1375
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1376
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1377
- ];
1374
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1378
1375
  })
1379
1376
  .s("AWSFluffyCoreService", "CancelSession", {})
1380
1377
  .n("MPAClient", "CancelSessionCommand")
1381
- .f(void 0, void 0)
1382
- .ser(se_CancelSessionCommand)
1383
- .de(de_CancelSessionCommand)
1378
+ .sc(CancelSession)
1384
1379
  .build() {
1385
1380
  }
1386
1381
 
@@ -1388,16 +1383,11 @@ class CreateApprovalTeamCommand extends smithyClient.Command
1388
1383
  .classBuilder()
1389
1384
  .ep(commonParams)
1390
1385
  .m(function (Command, cs, config, o) {
1391
- return [
1392
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1393
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1394
- ];
1386
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1395
1387
  })
1396
1388
  .s("AWSFluffyCoreService", "CreateApprovalTeam", {})
1397
1389
  .n("MPAClient", "CreateApprovalTeamCommand")
1398
- .f(CreateApprovalTeamRequestFilterSensitiveLog, void 0)
1399
- .ser(se_CreateApprovalTeamCommand)
1400
- .de(de_CreateApprovalTeamCommand)
1390
+ .sc(CreateApprovalTeam)
1401
1391
  .build() {
1402
1392
  }
1403
1393
 
@@ -1405,16 +1395,11 @@ class CreateIdentitySourceCommand extends smithyClient.Command
1405
1395
  .classBuilder()
1406
1396
  .ep(commonParams)
1407
1397
  .m(function (Command, cs, config, o) {
1408
- return [
1409
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1410
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1411
- ];
1398
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1412
1399
  })
1413
1400
  .s("AWSFluffyCoreService", "CreateIdentitySource", {})
1414
1401
  .n("MPAClient", "CreateIdentitySourceCommand")
1415
- .f(CreateIdentitySourceRequestFilterSensitiveLog, void 0)
1416
- .ser(se_CreateIdentitySourceCommand)
1417
- .de(de_CreateIdentitySourceCommand)
1402
+ .sc(CreateIdentitySource)
1418
1403
  .build() {
1419
1404
  }
1420
1405
 
@@ -1422,16 +1407,11 @@ class DeleteIdentitySourceCommand extends smithyClient.Command
1422
1407
  .classBuilder()
1423
1408
  .ep(commonParams)
1424
1409
  .m(function (Command, cs, config, o) {
1425
- return [
1426
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1427
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1428
- ];
1410
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1429
1411
  })
1430
1412
  .s("AWSFluffyCoreService", "DeleteIdentitySource", {})
1431
1413
  .n("MPAClient", "DeleteIdentitySourceCommand")
1432
- .f(void 0, void 0)
1433
- .ser(se_DeleteIdentitySourceCommand)
1434
- .de(de_DeleteIdentitySourceCommand)
1414
+ .sc(DeleteIdentitySource)
1435
1415
  .build() {
1436
1416
  }
1437
1417
 
@@ -1439,16 +1419,11 @@ class DeleteInactiveApprovalTeamVersionCommand extends smithyClient.Command
1439
1419
  .classBuilder()
1440
1420
  .ep(commonParams)
1441
1421
  .m(function (Command, cs, config, o) {
1442
- return [
1443
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1444
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1445
- ];
1422
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1446
1423
  })
1447
1424
  .s("AWSFluffyCoreService", "DeleteInactiveApprovalTeamVersion", {})
1448
1425
  .n("MPAClient", "DeleteInactiveApprovalTeamVersionCommand")
1449
- .f(void 0, void 0)
1450
- .ser(se_DeleteInactiveApprovalTeamVersionCommand)
1451
- .de(de_DeleteInactiveApprovalTeamVersionCommand)
1426
+ .sc(DeleteInactiveApprovalTeamVersion)
1452
1427
  .build() {
1453
1428
  }
1454
1429
 
@@ -1456,16 +1431,11 @@ class GetApprovalTeamCommand extends smithyClient.Command
1456
1431
  .classBuilder()
1457
1432
  .ep(commonParams)
1458
1433
  .m(function (Command, cs, config, o) {
1459
- return [
1460
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1461
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1462
- ];
1434
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
1435
  })
1464
1436
  .s("AWSFluffyCoreService", "GetApprovalTeam", {})
1465
1437
  .n("MPAClient", "GetApprovalTeamCommand")
1466
- .f(void 0, GetApprovalTeamResponseFilterSensitiveLog)
1467
- .ser(se_GetApprovalTeamCommand)
1468
- .de(de_GetApprovalTeamCommand)
1438
+ .sc(GetApprovalTeam)
1469
1439
  .build() {
1470
1440
  }
1471
1441
 
@@ -1473,16 +1443,11 @@ class GetIdentitySourceCommand extends smithyClient.Command
1473
1443
  .classBuilder()
1474
1444
  .ep(commonParams)
1475
1445
  .m(function (Command, cs, config, o) {
1476
- return [
1477
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1478
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1479
- ];
1446
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1480
1447
  })
1481
1448
  .s("AWSFluffyCoreService", "GetIdentitySource", {})
1482
1449
  .n("MPAClient", "GetIdentitySourceCommand")
1483
- .f(void 0, void 0)
1484
- .ser(se_GetIdentitySourceCommand)
1485
- .de(de_GetIdentitySourceCommand)
1450
+ .sc(GetIdentitySource)
1486
1451
  .build() {
1487
1452
  }
1488
1453
 
@@ -1490,16 +1455,11 @@ class GetPolicyVersionCommand extends smithyClient.Command
1490
1455
  .classBuilder()
1491
1456
  .ep(commonParams)
1492
1457
  .m(function (Command, cs, config, o) {
1493
- return [
1494
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1495
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1496
- ];
1458
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
1459
  })
1498
1460
  .s("AWSFluffyCoreService", "GetPolicyVersion", {})
1499
1461
  .n("MPAClient", "GetPolicyVersionCommand")
1500
- .f(void 0, GetPolicyVersionResponseFilterSensitiveLog)
1501
- .ser(se_GetPolicyVersionCommand)
1502
- .de(de_GetPolicyVersionCommand)
1462
+ .sc(GetPolicyVersion)
1503
1463
  .build() {
1504
1464
  }
1505
1465
 
@@ -1507,16 +1467,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
1507
1467
  .classBuilder()
1508
1468
  .ep(commonParams)
1509
1469
  .m(function (Command, cs, config, o) {
1510
- return [
1511
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1512
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1513
- ];
1470
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1514
1471
  })
1515
1472
  .s("AWSFluffyCoreService", "GetResourcePolicy", {})
1516
1473
  .n("MPAClient", "GetResourcePolicyCommand")
1517
- .f(void 0, GetResourcePolicyResponseFilterSensitiveLog)
1518
- .ser(se_GetResourcePolicyCommand)
1519
- .de(de_GetResourcePolicyCommand)
1474
+ .sc(GetResourcePolicy)
1520
1475
  .build() {
1521
1476
  }
1522
1477
 
@@ -1524,16 +1479,11 @@ class GetSessionCommand extends smithyClient.Command
1524
1479
  .classBuilder()
1525
1480
  .ep(commonParams)
1526
1481
  .m(function (Command, cs, config, o) {
1527
- return [
1528
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1529
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1530
- ];
1482
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1531
1483
  })
1532
1484
  .s("AWSFluffyCoreService", "GetSession", {})
1533
1485
  .n("MPAClient", "GetSessionCommand")
1534
- .f(void 0, GetSessionResponseFilterSensitiveLog)
1535
- .ser(se_GetSessionCommand)
1536
- .de(de_GetSessionCommand)
1486
+ .sc(GetSession)
1537
1487
  .build() {
1538
1488
  }
1539
1489
 
@@ -1541,16 +1491,11 @@ class ListApprovalTeamsCommand extends smithyClient.Command
1541
1491
  .classBuilder()
1542
1492
  .ep(commonParams)
1543
1493
  .m(function (Command, cs, config, o) {
1544
- return [
1545
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1546
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1547
- ];
1494
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1548
1495
  })
1549
1496
  .s("AWSFluffyCoreService", "ListApprovalTeams", {})
1550
1497
  .n("MPAClient", "ListApprovalTeamsCommand")
1551
- .f(void 0, ListApprovalTeamsResponseFilterSensitiveLog)
1552
- .ser(se_ListApprovalTeamsCommand)
1553
- .de(de_ListApprovalTeamsCommand)
1498
+ .sc(ListApprovalTeams)
1554
1499
  .build() {
1555
1500
  }
1556
1501
 
@@ -1558,16 +1503,11 @@ class ListIdentitySourcesCommand extends smithyClient.Command
1558
1503
  .classBuilder()
1559
1504
  .ep(commonParams)
1560
1505
  .m(function (Command, cs, config, o) {
1561
- return [
1562
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1563
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1564
- ];
1506
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1565
1507
  })
1566
1508
  .s("AWSFluffyCoreService", "ListIdentitySources", {})
1567
1509
  .n("MPAClient", "ListIdentitySourcesCommand")
1568
- .f(void 0, void 0)
1569
- .ser(se_ListIdentitySourcesCommand)
1570
- .de(de_ListIdentitySourcesCommand)
1510
+ .sc(ListIdentitySources)
1571
1511
  .build() {
1572
1512
  }
1573
1513
 
@@ -1575,16 +1515,11 @@ class ListPoliciesCommand extends smithyClient.Command
1575
1515
  .classBuilder()
1576
1516
  .ep(commonParams)
1577
1517
  .m(function (Command, cs, config, o) {
1578
- return [
1579
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1580
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1581
- ];
1518
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1582
1519
  })
1583
1520
  .s("AWSFluffyCoreService", "ListPolicies", {})
1584
1521
  .n("MPAClient", "ListPoliciesCommand")
1585
- .f(void 0, void 0)
1586
- .ser(se_ListPoliciesCommand)
1587
- .de(de_ListPoliciesCommand)
1522
+ .sc(ListPolicies)
1588
1523
  .build() {
1589
1524
  }
1590
1525
 
@@ -1592,16 +1527,11 @@ class ListPolicyVersionsCommand extends smithyClient.Command
1592
1527
  .classBuilder()
1593
1528
  .ep(commonParams)
1594
1529
  .m(function (Command, cs, config, o) {
1595
- return [
1596
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1597
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1598
- ];
1530
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1599
1531
  })
1600
1532
  .s("AWSFluffyCoreService", "ListPolicyVersions", {})
1601
1533
  .n("MPAClient", "ListPolicyVersionsCommand")
1602
- .f(void 0, void 0)
1603
- .ser(se_ListPolicyVersionsCommand)
1604
- .de(de_ListPolicyVersionsCommand)
1534
+ .sc(ListPolicyVersions)
1605
1535
  .build() {
1606
1536
  }
1607
1537
 
@@ -1609,16 +1539,11 @@ class ListResourcePoliciesCommand extends smithyClient.Command
1609
1539
  .classBuilder()
1610
1540
  .ep(commonParams)
1611
1541
  .m(function (Command, cs, config, o) {
1612
- return [
1613
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1614
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1615
- ];
1542
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1616
1543
  })
1617
1544
  .s("AWSFluffyCoreService", "ListResourcePolicies", {})
1618
1545
  .n("MPAClient", "ListResourcePoliciesCommand")
1619
- .f(void 0, void 0)
1620
- .ser(se_ListResourcePoliciesCommand)
1621
- .de(de_ListResourcePoliciesCommand)
1546
+ .sc(ListResourcePolicies)
1622
1547
  .build() {
1623
1548
  }
1624
1549
 
@@ -1626,16 +1551,11 @@ class ListSessionsCommand extends smithyClient.Command
1626
1551
  .classBuilder()
1627
1552
  .ep(commonParams)
1628
1553
  .m(function (Command, cs, config, o) {
1629
- return [
1630
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1631
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1632
- ];
1554
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1633
1555
  })
1634
1556
  .s("AWSFluffyCoreService", "ListSessions", {})
1635
1557
  .n("MPAClient", "ListSessionsCommand")
1636
- .f(void 0, ListSessionsResponseFilterSensitiveLog)
1637
- .ser(se_ListSessionsCommand)
1638
- .de(de_ListSessionsCommand)
1558
+ .sc(ListSessions)
1639
1559
  .build() {
1640
1560
  }
1641
1561
 
@@ -1643,16 +1563,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1643
1563
  .classBuilder()
1644
1564
  .ep(commonParams)
1645
1565
  .m(function (Command, cs, config, o) {
1646
- return [
1647
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1648
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1649
- ];
1566
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1650
1567
  })
1651
1568
  .s("AWSFluffyCoreService", "ListTagsForResource", {})
1652
1569
  .n("MPAClient", "ListTagsForResourceCommand")
1653
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
1654
- .ser(se_ListTagsForResourceCommand)
1655
- .de(de_ListTagsForResourceCommand)
1570
+ .sc(ListTagsForResource)
1656
1571
  .build() {
1657
1572
  }
1658
1573
 
@@ -1660,16 +1575,11 @@ class StartActiveApprovalTeamDeletionCommand extends smithyClient.Command
1660
1575
  .classBuilder()
1661
1576
  .ep(commonParams)
1662
1577
  .m(function (Command, cs, config, o) {
1663
- return [
1664
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1665
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1666
- ];
1578
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1667
1579
  })
1668
1580
  .s("AWSFluffyCoreService", "StartActiveApprovalTeamDeletion", {})
1669
1581
  .n("MPAClient", "StartActiveApprovalTeamDeletionCommand")
1670
- .f(void 0, void 0)
1671
- .ser(se_StartActiveApprovalTeamDeletionCommand)
1672
- .de(de_StartActiveApprovalTeamDeletionCommand)
1582
+ .sc(StartActiveApprovalTeamDeletion)
1673
1583
  .build() {
1674
1584
  }
1675
1585
 
@@ -1677,16 +1587,11 @@ class TagResourceCommand extends smithyClient.Command
1677
1587
  .classBuilder()
1678
1588
  .ep(commonParams)
1679
1589
  .m(function (Command, cs, config, o) {
1680
- return [
1681
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1682
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1683
- ];
1590
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1684
1591
  })
1685
1592
  .s("AWSFluffyCoreService", "TagResource", {})
1686
1593
  .n("MPAClient", "TagResourceCommand")
1687
- .f(TagResourceRequestFilterSensitiveLog, void 0)
1688
- .ser(se_TagResourceCommand)
1689
- .de(de_TagResourceCommand)
1594
+ .sc(TagResource)
1690
1595
  .build() {
1691
1596
  }
1692
1597
 
@@ -1694,16 +1599,11 @@ class UntagResourceCommand extends smithyClient.Command
1694
1599
  .classBuilder()
1695
1600
  .ep(commonParams)
1696
1601
  .m(function (Command, cs, config, o) {
1697
- return [
1698
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1699
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1700
- ];
1602
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
1603
  })
1702
1604
  .s("AWSFluffyCoreService", "UntagResource", {})
1703
1605
  .n("MPAClient", "UntagResourceCommand")
1704
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
1705
- .ser(se_UntagResourceCommand)
1706
- .de(de_UntagResourceCommand)
1606
+ .sc(UntagResource)
1707
1607
  .build() {
1708
1608
  }
1709
1609
 
@@ -1711,16 +1611,11 @@ class UpdateApprovalTeamCommand extends smithyClient.Command
1711
1611
  .classBuilder()
1712
1612
  .ep(commonParams)
1713
1613
  .m(function (Command, cs, config, o) {
1714
- return [
1715
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1716
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1717
- ];
1614
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1718
1615
  })
1719
1616
  .s("AWSFluffyCoreService", "UpdateApprovalTeam", {})
1720
1617
  .n("MPAClient", "UpdateApprovalTeamCommand")
1721
- .f(UpdateApprovalTeamRequestFilterSensitiveLog, void 0)
1722
- .ser(se_UpdateApprovalTeamCommand)
1723
- .de(de_UpdateApprovalTeamCommand)
1618
+ .sc(UpdateApprovalTeam)
1724
1619
  .build() {
1725
1620
  }
1726
1621
 
@@ -1771,69 +1666,54 @@ Object.defineProperty(exports, "__Client", {
1771
1666
  enumerable: true,
1772
1667
  get: function () { return smithyClient.Client; }
1773
1668
  });
1774
- exports.AccessDeniedException = AccessDeniedException;
1669
+ exports.AccessDeniedException = AccessDeniedException$1;
1775
1670
  exports.ActionCompletionStrategy = ActionCompletionStrategy;
1776
1671
  exports.ApprovalTeamStatus = ApprovalTeamStatus;
1777
1672
  exports.ApprovalTeamStatusCode = ApprovalTeamStatusCode;
1778
1673
  exports.CancelSessionCommand = CancelSessionCommand;
1779
- exports.ConflictException = ConflictException;
1674
+ exports.ConflictException = ConflictException$1;
1780
1675
  exports.CreateApprovalTeamCommand = CreateApprovalTeamCommand;
1781
- exports.CreateApprovalTeamRequestFilterSensitiveLog = CreateApprovalTeamRequestFilterSensitiveLog;
1782
1676
  exports.CreateIdentitySourceCommand = CreateIdentitySourceCommand;
1783
- exports.CreateIdentitySourceRequestFilterSensitiveLog = CreateIdentitySourceRequestFilterSensitiveLog;
1784
1677
  exports.DeleteIdentitySourceCommand = DeleteIdentitySourceCommand;
1785
1678
  exports.DeleteInactiveApprovalTeamVersionCommand = DeleteInactiveApprovalTeamVersionCommand;
1786
1679
  exports.FilterField = FilterField;
1787
1680
  exports.GetApprovalTeamCommand = GetApprovalTeamCommand;
1788
- exports.GetApprovalTeamResponseFilterSensitiveLog = GetApprovalTeamResponseFilterSensitiveLog;
1789
1681
  exports.GetIdentitySourceCommand = GetIdentitySourceCommand;
1790
1682
  exports.GetPolicyVersionCommand = GetPolicyVersionCommand;
1791
- exports.GetPolicyVersionResponseFilterSensitiveLog = GetPolicyVersionResponseFilterSensitiveLog;
1792
1683
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1793
- exports.GetResourcePolicyResponseFilterSensitiveLog = GetResourcePolicyResponseFilterSensitiveLog;
1794
1684
  exports.GetSessionCommand = GetSessionCommand;
1795
- exports.GetSessionResponseFilterSensitiveLog = GetSessionResponseFilterSensitiveLog;
1796
1685
  exports.IdentitySourceStatus = IdentitySourceStatus;
1797
1686
  exports.IdentitySourceStatusCode = IdentitySourceStatusCode;
1798
1687
  exports.IdentitySourceType = IdentitySourceType;
1799
1688
  exports.IdentityStatus = IdentityStatus;
1800
- exports.InternalServerException = InternalServerException;
1801
- exports.InvalidParameterException = InvalidParameterException;
1689
+ exports.InternalServerException = InternalServerException$1;
1690
+ exports.InvalidParameterException = InvalidParameterException$1;
1802
1691
  exports.ListApprovalTeamsCommand = ListApprovalTeamsCommand;
1803
- exports.ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog;
1804
- exports.ListApprovalTeamsResponseFilterSensitiveLog = ListApprovalTeamsResponseFilterSensitiveLog;
1805
1692
  exports.ListIdentitySourcesCommand = ListIdentitySourcesCommand;
1806
1693
  exports.ListPoliciesCommand = ListPoliciesCommand;
1807
1694
  exports.ListPolicyVersionsCommand = ListPolicyVersionsCommand;
1808
1695
  exports.ListResourcePoliciesCommand = ListResourcePoliciesCommand;
1809
1696
  exports.ListSessionsCommand = ListSessionsCommand;
1810
- exports.ListSessionsResponseFilterSensitiveLog = ListSessionsResponseFilterSensitiveLog;
1811
- exports.ListSessionsResponseSessionFilterSensitiveLog = ListSessionsResponseSessionFilterSensitiveLog;
1812
1697
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1813
- exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
1814
1698
  exports.MPA = MPA;
1815
1699
  exports.MPAClient = MPAClient;
1816
- exports.MPAServiceException = MPAServiceException;
1700
+ exports.MPAServiceException = MPAServiceException$1;
1817
1701
  exports.Operator = Operator;
1818
1702
  exports.PolicyStatus = PolicyStatus;
1819
1703
  exports.PolicyType = PolicyType;
1820
- exports.PolicyVersionFilterSensitiveLog = PolicyVersionFilterSensitiveLog;
1821
- exports.ResourceNotFoundException = ResourceNotFoundException;
1822
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1704
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1705
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1823
1706
  exports.SessionExecutionStatus = SessionExecutionStatus;
1824
1707
  exports.SessionResponse = SessionResponse;
1825
1708
  exports.SessionStatus = SessionStatus;
1826
1709
  exports.SessionStatusCode = SessionStatusCode;
1827
1710
  exports.StartActiveApprovalTeamDeletionCommand = StartActiveApprovalTeamDeletionCommand;
1828
1711
  exports.TagResourceCommand = TagResourceCommand;
1829
- exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
1830
- exports.ThrottlingException = ThrottlingException;
1831
- exports.TooManyTagsException = TooManyTagsException;
1712
+ exports.ThrottlingException = ThrottlingException$1;
1713
+ exports.TooManyTagsException = TooManyTagsException$1;
1832
1714
  exports.UntagResourceCommand = UntagResourceCommand;
1833
- exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
1834
1715
  exports.UpdateApprovalTeamCommand = UpdateApprovalTeamCommand;
1835
- exports.UpdateApprovalTeamRequestFilterSensitiveLog = UpdateApprovalTeamRequestFilterSensitiveLog;
1836
- exports.ValidationException = ValidationException;
1716
+ exports.ValidationException = ValidationException$1;
1837
1717
  exports.paginateListApprovalTeams = paginateListApprovalTeams;
1838
1718
  exports.paginateListIdentitySources = paginateListIdentitySources;
1839
1719
  exports.paginateListPolicies = paginateListPolicies;