@aws-sdk/client-verifiedpermissions 3.927.0 → 3.928.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist-cjs/index.js +1739 -2225
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/VerifiedPermissionsClient.js +2 -0
  4. package/dist-es/commands/BatchGetPolicyCommand.js +3 -10
  5. package/dist-es/commands/BatchIsAuthorizedCommand.js +3 -10
  6. package/dist-es/commands/BatchIsAuthorizedWithTokenCommand.js +3 -10
  7. package/dist-es/commands/CreateIdentitySourceCommand.js +3 -10
  8. package/dist-es/commands/CreatePolicyCommand.js +3 -10
  9. package/dist-es/commands/CreatePolicyStoreCommand.js +3 -10
  10. package/dist-es/commands/CreatePolicyTemplateCommand.js +3 -10
  11. package/dist-es/commands/DeleteIdentitySourceCommand.js +3 -9
  12. package/dist-es/commands/DeletePolicyCommand.js +3 -9
  13. package/dist-es/commands/DeletePolicyStoreCommand.js +3 -9
  14. package/dist-es/commands/DeletePolicyTemplateCommand.js +3 -9
  15. package/dist-es/commands/GetIdentitySourceCommand.js +3 -10
  16. package/dist-es/commands/GetPolicyCommand.js +3 -10
  17. package/dist-es/commands/GetPolicyStoreCommand.js +3 -10
  18. package/dist-es/commands/GetPolicyTemplateCommand.js +3 -10
  19. package/dist-es/commands/GetSchemaCommand.js +3 -10
  20. package/dist-es/commands/IsAuthorizedCommand.js +3 -10
  21. package/dist-es/commands/IsAuthorizedWithTokenCommand.js +3 -10
  22. package/dist-es/commands/ListIdentitySourcesCommand.js +3 -10
  23. package/dist-es/commands/ListPoliciesCommand.js +3 -10
  24. package/dist-es/commands/ListPolicyStoresCommand.js +3 -10
  25. package/dist-es/commands/ListPolicyTemplatesCommand.js +3 -10
  26. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  27. package/dist-es/commands/PutSchemaCommand.js +3 -10
  28. package/dist-es/commands/TagResourceCommand.js +3 -9
  29. package/dist-es/commands/UntagResourceCommand.js +3 -9
  30. package/dist-es/commands/UpdateIdentitySourceCommand.js +3 -10
  31. package/dist-es/commands/UpdatePolicyCommand.js +3 -10
  32. package/dist-es/commands/UpdatePolicyStoreCommand.js +3 -10
  33. package/dist-es/commands/UpdatePolicyTemplateCommand.js +3 -10
  34. package/dist-es/models/models_0.js +26 -593
  35. package/dist-es/runtimeConfig.shared.js +7 -0
  36. package/dist-es/schemas/schemas_0.js +1628 -0
  37. package/dist-types/VerifiedPermissionsClient.d.ts +10 -1
  38. package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +33 -0
  39. package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +33 -0
  40. package/dist-types/commands/IsAuthorizedCommand.d.ts +33 -0
  41. package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +33 -0
  42. package/dist-types/models/models_0.d.ts +268 -441
  43. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  44. package/dist-types/runtimeConfig.d.ts +1 -0
  45. package/dist-types/runtimeConfig.native.d.ts +1 -0
  46. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  47. package/dist-types/schemas/schemas_0.d.ts +229 -0
  48. package/dist-types/ts3.4/VerifiedPermissionsClient.d.ts +4 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +184 -297
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +236 -0
  55. package/package.json +5 -6
  56. package/dist-es/protocols/Aws_json1_0.js +0 -1303
  57. package/dist-types/protocols/Aws_json1_0.d.ts +0 -272
  58. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -365
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, {
@@ -92,6 +90,7 @@ class VerifiedPermissionsClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class VerifiedPermissionsClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class VerifiedPermissionsServiceException extends smithyClient.ServiceException {
113
+ let VerifiedPermissionsServiceException$1 = class VerifiedPermissionsServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, VerifiedPermissionsServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends VerifiedPermissionsServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends VerifiedPermissionsServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  constructor(opts) {
@@ -129,7 +128,7 @@ class AccessDeniedException extends VerifiedPermissionsServiceException {
129
128
  });
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  }
132
- }
131
+ };
133
132
  const BatchGetPolicyErrorCode = {
134
133
  POLICY_NOT_FOUND: "POLICY_NOT_FOUND",
135
134
  POLICY_STORE_NOT_FOUND: "POLICY_STORE_NOT_FOUND",
@@ -148,7 +147,7 @@ const PolicyType = {
148
147
  STATIC: "STATIC",
149
148
  TEMPLATE_LINKED: "TEMPLATE_LINKED",
150
149
  };
151
- class InternalServerException extends VerifiedPermissionsServiceException {
150
+ let InternalServerException$1 = class InternalServerException extends VerifiedPermissionsServiceException$1 {
152
151
  name = "InternalServerException";
153
152
  $fault = "server";
154
153
  $retryable = {};
@@ -160,8 +159,8 @@ class InternalServerException extends VerifiedPermissionsServiceException {
160
159
  });
161
160
  Object.setPrototypeOf(this, InternalServerException.prototype);
162
161
  }
163
- }
164
- class ThrottlingException extends VerifiedPermissionsServiceException {
162
+ };
163
+ let ThrottlingException$1 = class ThrottlingException extends VerifiedPermissionsServiceException$1 {
165
164
  name = "ThrottlingException";
166
165
  $fault = "client";
167
166
  $retryable = {
@@ -179,8 +178,8 @@ class ThrottlingException extends VerifiedPermissionsServiceException {
179
178
  this.serviceCode = opts.serviceCode;
180
179
  this.quotaCode = opts.quotaCode;
181
180
  }
182
- }
183
- class ValidationException extends VerifiedPermissionsServiceException {
181
+ };
182
+ let ValidationException$1 = class ValidationException extends VerifiedPermissionsServiceException$1 {
184
183
  name = "ValidationException";
185
184
  $fault = "client";
186
185
  fieldList;
@@ -193,7 +192,7 @@ class ValidationException extends VerifiedPermissionsServiceException {
193
192
  Object.setPrototypeOf(this, ValidationException.prototype);
194
193
  this.fieldList = opts.fieldList;
195
194
  }
196
- }
195
+ };
197
196
  const Decision = {
198
197
  ALLOW: "ALLOW",
199
198
  DENY: "DENY",
@@ -205,7 +204,7 @@ const ResourceType = {
205
204
  POLICY_TEMPLATE: "POLICY_TEMPLATE",
206
205
  SCHEMA: "SCHEMA",
207
206
  };
208
- class ResourceNotFoundException extends VerifiedPermissionsServiceException {
207
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends VerifiedPermissionsServiceException$1 {
209
208
  name = "ResourceNotFoundException";
210
209
  $fault = "client";
211
210
  resourceId;
@@ -220,7 +219,7 @@ class ResourceNotFoundException extends VerifiedPermissionsServiceException {
220
219
  this.resourceId = opts.resourceId;
221
220
  this.resourceType = opts.resourceType;
222
221
  }
223
- }
222
+ };
224
223
  const CedarVersion = {
225
224
  CEDAR_2: "CEDAR_2",
226
225
  CEDAR_4: "CEDAR_4",
@@ -285,7 +284,7 @@ exports.ConfigurationItem = void 0;
285
284
  return visitor._(value.$unknown[0], value.$unknown[1]);
286
285
  };
287
286
  })(exports.ConfigurationItem || (exports.ConfigurationItem = {}));
288
- class ConflictException extends VerifiedPermissionsServiceException {
287
+ let ConflictException$1 = class ConflictException extends VerifiedPermissionsServiceException$1 {
289
288
  name = "ConflictException";
290
289
  $fault = "client";
291
290
  resources;
@@ -298,8 +297,8 @@ class ConflictException extends VerifiedPermissionsServiceException {
298
297
  Object.setPrototypeOf(this, ConflictException.prototype);
299
298
  this.resources = opts.resources;
300
299
  }
301
- }
302
- class ServiceQuotaExceededException extends VerifiedPermissionsServiceException {
300
+ };
301
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends VerifiedPermissionsServiceException$1 {
303
302
  name = "ServiceQuotaExceededException";
304
303
  $fault = "client";
305
304
  resourceId;
@@ -318,7 +317,7 @@ class ServiceQuotaExceededException extends VerifiedPermissionsServiceException
318
317
  this.serviceCode = opts.serviceCode;
319
318
  this.quotaCode = opts.quotaCode;
320
319
  }
321
- }
320
+ };
322
321
  exports.PolicyDefinition = void 0;
323
322
  (function (PolicyDefinition) {
324
323
  PolicyDefinition.visit = (value, visitor) => {
@@ -341,7 +340,7 @@ const ValidationMode = {
341
340
  OFF: "OFF",
342
341
  STRICT: "STRICT",
343
342
  };
344
- class InvalidStateException extends VerifiedPermissionsServiceException {
343
+ let InvalidStateException$1 = class InvalidStateException extends VerifiedPermissionsServiceException$1 {
345
344
  name = "InvalidStateException";
346
345
  $fault = "client";
347
346
  constructor(opts) {
@@ -352,7 +351,7 @@ class InvalidStateException extends VerifiedPermissionsServiceException {
352
351
  });
353
352
  Object.setPrototypeOf(this, InvalidStateException.prototype);
354
353
  }
355
- }
354
+ };
356
355
  exports.EntityReference = void 0;
357
356
  (function (EntityReference) {
358
357
  EntityReference.visit = (value, visitor) => {
@@ -412,7 +411,7 @@ exports.SchemaDefinition = void 0;
412
411
  return visitor._(value.$unknown[0], value.$unknown[1]);
413
412
  };
414
413
  })(exports.SchemaDefinition || (exports.SchemaDefinition = {}));
415
- class TooManyTagsException extends VerifiedPermissionsServiceException {
414
+ let TooManyTagsException$1 = class TooManyTagsException extends VerifiedPermissionsServiceException$1 {
416
415
  name = "TooManyTagsException";
417
416
  $fault = "client";
418
417
  resourceName;
@@ -425,7 +424,7 @@ class TooManyTagsException extends VerifiedPermissionsServiceException {
425
424
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
426
425
  this.resourceName = opts.resourceName;
427
426
  }
428
- }
427
+ };
429
428
  exports.AttributeValue = void 0;
430
429
  (function (AttributeValue) {
431
430
  AttributeValue.visit = (value, visitor) => {
@@ -452,6 +451,32 @@ exports.AttributeValue = void 0;
452
451
  return visitor._(value.$unknown[0], value.$unknown[1]);
453
452
  };
454
453
  })(exports.AttributeValue || (exports.AttributeValue = {}));
454
+ exports.CedarTagValue = void 0;
455
+ (function (CedarTagValue) {
456
+ CedarTagValue.visit = (value, visitor) => {
457
+ if (value.boolean !== undefined)
458
+ return visitor.boolean(value.boolean);
459
+ if (value.entityIdentifier !== undefined)
460
+ return visitor.entityIdentifier(value.entityIdentifier);
461
+ if (value.long !== undefined)
462
+ return visitor.long(value.long);
463
+ if (value.string !== undefined)
464
+ return visitor.string(value.string);
465
+ if (value.set !== undefined)
466
+ return visitor.set(value.set);
467
+ if (value.record !== undefined)
468
+ return visitor.record(value.record);
469
+ if (value.ipaddr !== undefined)
470
+ return visitor.ipaddr(value.ipaddr);
471
+ if (value.decimal !== undefined)
472
+ return visitor.decimal(value.decimal);
473
+ if (value.datetime !== undefined)
474
+ return visitor.datetime(value.datetime);
475
+ if (value.duration !== undefined)
476
+ return visitor.duration(value.duration);
477
+ return visitor._(value.$unknown[0], value.$unknown[1]);
478
+ };
479
+ })(exports.CedarTagValue || (exports.CedarTagValue = {}));
455
480
  exports.ContextDefinition = void 0;
456
481
  (function (ContextDefinition) {
457
482
  ContextDefinition.visit = (value, visitor) => {
@@ -472,1907 +497,1638 @@ exports.EntitiesDefinition = void 0;
472
497
  return visitor._(value.$unknown[0], value.$unknown[1]);
473
498
  };
474
499
  })(exports.EntitiesDefinition || (exports.EntitiesDefinition = {}));
475
- const ActionIdentifierFilterSensitiveLog = (obj) => ({
476
- ...obj,
477
- ...(obj.actionType && { actionType: smithyClient.SENSITIVE_STRING }),
478
- ...(obj.actionId && { actionId: smithyClient.SENSITIVE_STRING }),
479
- });
480
- const EntityIdentifierFilterSensitiveLog = (obj) => ({
481
- ...obj,
482
- ...(obj.entityType && { entityType: smithyClient.SENSITIVE_STRING }),
483
- ...(obj.entityId && { entityId: smithyClient.SENSITIVE_STRING }),
484
- });
485
- const StaticPolicyDefinitionDetailFilterSensitiveLog = (obj) => ({
486
- ...obj,
487
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
488
- ...(obj.statement && { statement: smithyClient.SENSITIVE_STRING }),
489
- });
490
- const TemplateLinkedPolicyDefinitionDetailFilterSensitiveLog = (obj) => ({
491
- ...obj,
492
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
493
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
494
- });
495
- const PolicyDefinitionDetailFilterSensitiveLog = (obj) => {
496
- if (obj.static !== undefined)
497
- return { static: StaticPolicyDefinitionDetailFilterSensitiveLog(obj.static) };
498
- if (obj.templateLinked !== undefined)
499
- return { templateLinked: TemplateLinkedPolicyDefinitionDetailFilterSensitiveLog(obj.templateLinked) };
500
- if (obj.$unknown !== undefined)
501
- return { [obj.$unknown[0]]: "UNKNOWN" };
502
- };
503
- const BatchGetPolicyOutputItemFilterSensitiveLog = (obj) => ({
504
- ...obj,
505
- ...(obj.definition && { definition: PolicyDefinitionDetailFilterSensitiveLog(obj.definition) }),
506
- });
507
- const BatchGetPolicyOutputFilterSensitiveLog = (obj) => ({
508
- ...obj,
509
- ...(obj.results && { results: obj.results.map((item) => BatchGetPolicyOutputItemFilterSensitiveLog(item)) }),
510
- });
511
- const EvaluationErrorItemFilterSensitiveLog = (obj) => ({
512
- ...obj,
513
- });
514
- const CognitoGroupConfigurationFilterSensitiveLog = (obj) => ({
515
- ...obj,
516
- ...(obj.groupEntityType && { groupEntityType: smithyClient.SENSITIVE_STRING }),
517
- });
518
- const CognitoGroupConfigurationDetailFilterSensitiveLog = (obj) => ({
519
- ...obj,
520
- ...(obj.groupEntityType && { groupEntityType: smithyClient.SENSITIVE_STRING }),
521
- });
522
- const CognitoGroupConfigurationItemFilterSensitiveLog = (obj) => ({
523
- ...obj,
524
- ...(obj.groupEntityType && { groupEntityType: smithyClient.SENSITIVE_STRING }),
525
- });
526
- const CognitoUserPoolConfigurationFilterSensitiveLog = (obj) => ({
527
- ...obj,
528
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
529
- ...(obj.groupConfiguration && {
530
- groupConfiguration: CognitoGroupConfigurationFilterSensitiveLog(obj.groupConfiguration),
531
- }),
532
- });
533
- const CognitoUserPoolConfigurationDetailFilterSensitiveLog = (obj) => ({
534
- ...obj,
535
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
536
- ...(obj.groupConfiguration && {
537
- groupConfiguration: CognitoGroupConfigurationDetailFilterSensitiveLog(obj.groupConfiguration),
538
- }),
539
- });
540
- const CognitoUserPoolConfigurationItemFilterSensitiveLog = (obj) => ({
541
- ...obj,
542
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
543
- ...(obj.groupConfiguration && {
544
- groupConfiguration: CognitoGroupConfigurationItemFilterSensitiveLog(obj.groupConfiguration),
545
- }),
546
- });
547
- const OpenIdConnectGroupConfigurationFilterSensitiveLog = (obj) => ({
548
- ...obj,
549
- ...(obj.groupClaim && { groupClaim: smithyClient.SENSITIVE_STRING }),
550
- ...(obj.groupEntityType && { groupEntityType: smithyClient.SENSITIVE_STRING }),
551
- });
552
- const OpenIdConnectAccessTokenConfigurationFilterSensitiveLog = (obj) => ({
553
- ...obj,
554
- ...(obj.principalIdClaim && { principalIdClaim: smithyClient.SENSITIVE_STRING }),
555
- });
556
- const OpenIdConnectIdentityTokenConfigurationFilterSensitiveLog = (obj) => ({
557
- ...obj,
558
- ...(obj.principalIdClaim && { principalIdClaim: smithyClient.SENSITIVE_STRING }),
559
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
560
- });
561
- const OpenIdConnectTokenSelectionFilterSensitiveLog = (obj) => {
562
- if (obj.accessTokenOnly !== undefined)
563
- return { accessTokenOnly: OpenIdConnectAccessTokenConfigurationFilterSensitiveLog(obj.accessTokenOnly) };
564
- if (obj.identityTokenOnly !== undefined)
565
- return { identityTokenOnly: OpenIdConnectIdentityTokenConfigurationFilterSensitiveLog(obj.identityTokenOnly) };
566
- if (obj.$unknown !== undefined)
567
- return { [obj.$unknown[0]]: "UNKNOWN" };
568
- };
569
- const OpenIdConnectConfigurationFilterSensitiveLog = (obj) => ({
570
- ...obj,
571
- ...(obj.entityIdPrefix && { entityIdPrefix: smithyClient.SENSITIVE_STRING }),
572
- ...(obj.groupConfiguration && {
573
- groupConfiguration: OpenIdConnectGroupConfigurationFilterSensitiveLog(obj.groupConfiguration),
574
- }),
575
- ...(obj.tokenSelection && { tokenSelection: OpenIdConnectTokenSelectionFilterSensitiveLog(obj.tokenSelection) }),
576
- });
577
- const ConfigurationFilterSensitiveLog = (obj) => {
578
- if (obj.cognitoUserPoolConfiguration !== undefined)
579
- return {
580
- cognitoUserPoolConfiguration: CognitoUserPoolConfigurationFilterSensitiveLog(obj.cognitoUserPoolConfiguration),
581
- };
582
- if (obj.openIdConnectConfiguration !== undefined)
583
- return { openIdConnectConfiguration: OpenIdConnectConfigurationFilterSensitiveLog(obj.openIdConnectConfiguration) };
584
- if (obj.$unknown !== undefined)
585
- return { [obj.$unknown[0]]: "UNKNOWN" };
586
- };
587
- const OpenIdConnectGroupConfigurationDetailFilterSensitiveLog = (obj) => ({
588
- ...obj,
589
- ...(obj.groupClaim && { groupClaim: smithyClient.SENSITIVE_STRING }),
590
- ...(obj.groupEntityType && { groupEntityType: smithyClient.SENSITIVE_STRING }),
591
- });
592
- const OpenIdConnectAccessTokenConfigurationDetailFilterSensitiveLog = (obj) => ({
593
- ...obj,
594
- ...(obj.principalIdClaim && { principalIdClaim: smithyClient.SENSITIVE_STRING }),
595
- });
596
- const OpenIdConnectIdentityTokenConfigurationDetailFilterSensitiveLog = (obj) => ({
597
- ...obj,
598
- ...(obj.principalIdClaim && { principalIdClaim: smithyClient.SENSITIVE_STRING }),
599
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
600
- });
601
- const OpenIdConnectTokenSelectionDetailFilterSensitiveLog = (obj) => {
602
- if (obj.accessTokenOnly !== undefined)
603
- return { accessTokenOnly: OpenIdConnectAccessTokenConfigurationDetailFilterSensitiveLog(obj.accessTokenOnly) };
604
- if (obj.identityTokenOnly !== undefined)
605
- return {
606
- identityTokenOnly: OpenIdConnectIdentityTokenConfigurationDetailFilterSensitiveLog(obj.identityTokenOnly),
607
- };
608
- if (obj.$unknown !== undefined)
609
- return { [obj.$unknown[0]]: "UNKNOWN" };
610
- };
611
- const OpenIdConnectConfigurationDetailFilterSensitiveLog = (obj) => ({
612
- ...obj,
613
- ...(obj.entityIdPrefix && { entityIdPrefix: smithyClient.SENSITIVE_STRING }),
614
- ...(obj.groupConfiguration && {
615
- groupConfiguration: OpenIdConnectGroupConfigurationDetailFilterSensitiveLog(obj.groupConfiguration),
616
- }),
617
- ...(obj.tokenSelection && {
618
- tokenSelection: OpenIdConnectTokenSelectionDetailFilterSensitiveLog(obj.tokenSelection),
619
- }),
620
- });
621
- const ConfigurationDetailFilterSensitiveLog = (obj) => {
622
- if (obj.cognitoUserPoolConfiguration !== undefined)
623
- return {
624
- cognitoUserPoolConfiguration: CognitoUserPoolConfigurationDetailFilterSensitiveLog(obj.cognitoUserPoolConfiguration),
625
- };
626
- if (obj.openIdConnectConfiguration !== undefined)
627
- return {
628
- openIdConnectConfiguration: OpenIdConnectConfigurationDetailFilterSensitiveLog(obj.openIdConnectConfiguration),
629
- };
630
- if (obj.$unknown !== undefined)
631
- return { [obj.$unknown[0]]: "UNKNOWN" };
632
- };
633
- const OpenIdConnectGroupConfigurationItemFilterSensitiveLog = (obj) => ({
634
- ...obj,
635
- ...(obj.groupClaim && { groupClaim: smithyClient.SENSITIVE_STRING }),
636
- ...(obj.groupEntityType && { groupEntityType: smithyClient.SENSITIVE_STRING }),
637
- });
638
- const OpenIdConnectAccessTokenConfigurationItemFilterSensitiveLog = (obj) => ({
639
- ...obj,
640
- ...(obj.principalIdClaim && { principalIdClaim: smithyClient.SENSITIVE_STRING }),
641
- });
642
- const OpenIdConnectIdentityTokenConfigurationItemFilterSensitiveLog = (obj) => ({
643
- ...obj,
644
- ...(obj.principalIdClaim && { principalIdClaim: smithyClient.SENSITIVE_STRING }),
645
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
646
- });
647
- const OpenIdConnectTokenSelectionItemFilterSensitiveLog = (obj) => {
648
- if (obj.accessTokenOnly !== undefined)
649
- return { accessTokenOnly: OpenIdConnectAccessTokenConfigurationItemFilterSensitiveLog(obj.accessTokenOnly) };
650
- if (obj.identityTokenOnly !== undefined)
651
- return { identityTokenOnly: OpenIdConnectIdentityTokenConfigurationItemFilterSensitiveLog(obj.identityTokenOnly) };
652
- if (obj.$unknown !== undefined)
653
- return { [obj.$unknown[0]]: "UNKNOWN" };
654
- };
655
- const OpenIdConnectConfigurationItemFilterSensitiveLog = (obj) => ({
656
- ...obj,
657
- ...(obj.entityIdPrefix && { entityIdPrefix: smithyClient.SENSITIVE_STRING }),
658
- ...(obj.groupConfiguration && {
659
- groupConfiguration: OpenIdConnectGroupConfigurationItemFilterSensitiveLog(obj.groupConfiguration),
660
- }),
661
- ...(obj.tokenSelection && { tokenSelection: OpenIdConnectTokenSelectionItemFilterSensitiveLog(obj.tokenSelection) }),
662
- });
663
- const ConfigurationItemFilterSensitiveLog = (obj) => {
664
- if (obj.cognitoUserPoolConfiguration !== undefined)
665
- return {
666
- cognitoUserPoolConfiguration: CognitoUserPoolConfigurationItemFilterSensitiveLog(obj.cognitoUserPoolConfiguration),
667
- };
668
- if (obj.openIdConnectConfiguration !== undefined)
669
- return {
670
- openIdConnectConfiguration: OpenIdConnectConfigurationItemFilterSensitiveLog(obj.openIdConnectConfiguration),
671
- };
672
- if (obj.$unknown !== undefined)
673
- return { [obj.$unknown[0]]: "UNKNOWN" };
674
- };
675
- const CreateIdentitySourceInputFilterSensitiveLog = (obj) => ({
676
- ...obj,
677
- ...(obj.configuration && { configuration: ConfigurationFilterSensitiveLog(obj.configuration) }),
678
- ...(obj.principalEntityType && { principalEntityType: smithyClient.SENSITIVE_STRING }),
679
- });
680
- const StaticPolicyDefinitionFilterSensitiveLog = (obj) => ({
681
- ...obj,
682
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
683
- ...(obj.statement && { statement: smithyClient.SENSITIVE_STRING }),
684
- });
685
- const TemplateLinkedPolicyDefinitionFilterSensitiveLog = (obj) => ({
686
- ...obj,
687
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
688
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
689
- });
690
- const PolicyDefinitionFilterSensitiveLog = (obj) => {
691
- if (obj.static !== undefined)
692
- return { static: StaticPolicyDefinitionFilterSensitiveLog(obj.static) };
693
- if (obj.templateLinked !== undefined)
694
- return { templateLinked: TemplateLinkedPolicyDefinitionFilterSensitiveLog(obj.templateLinked) };
695
- if (obj.$unknown !== undefined)
696
- return { [obj.$unknown[0]]: "UNKNOWN" };
697
- };
698
- const CreatePolicyInputFilterSensitiveLog = (obj) => ({
699
- ...obj,
700
- ...(obj.definition && { definition: PolicyDefinitionFilterSensitiveLog(obj.definition) }),
701
- });
702
- const CreatePolicyOutputFilterSensitiveLog = (obj) => ({
703
- ...obj,
704
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
705
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
706
- ...(obj.actions && { actions: obj.actions.map((item) => ActionIdentifierFilterSensitiveLog(item)) }),
707
- });
708
- const CreatePolicyStoreInputFilterSensitiveLog = (obj) => ({
709
- ...obj,
710
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
711
- });
712
- const CreatePolicyTemplateInputFilterSensitiveLog = (obj) => ({
713
- ...obj,
714
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
715
- ...(obj.statement && { statement: smithyClient.SENSITIVE_STRING }),
716
- });
717
- const EntityReferenceFilterSensitiveLog = (obj) => {
718
- if (obj.unspecified !== undefined)
719
- return { unspecified: obj.unspecified };
720
- if (obj.identifier !== undefined)
721
- return { identifier: EntityIdentifierFilterSensitiveLog(obj.identifier) };
722
- if (obj.$unknown !== undefined)
723
- return { [obj.$unknown[0]]: "UNKNOWN" };
724
- };
725
- const IdentitySourceDetailsFilterSensitiveLog = (obj) => ({
726
- ...obj,
727
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
728
- });
729
- const GetIdentitySourceOutputFilterSensitiveLog = (obj) => ({
730
- ...obj,
731
- ...(obj.details && { details: IdentitySourceDetailsFilterSensitiveLog(obj.details) }),
732
- ...(obj.principalEntityType && { principalEntityType: smithyClient.SENSITIVE_STRING }),
733
- ...(obj.configuration && { configuration: ConfigurationDetailFilterSensitiveLog(obj.configuration) }),
734
- });
735
- const GetPolicyOutputFilterSensitiveLog = (obj) => ({
736
- ...obj,
737
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
738
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
739
- ...(obj.actions && { actions: obj.actions.map((item) => ActionIdentifierFilterSensitiveLog(item)) }),
740
- ...(obj.definition && { definition: PolicyDefinitionDetailFilterSensitiveLog(obj.definition) }),
741
- });
742
- const GetPolicyStoreOutputFilterSensitiveLog = (obj) => ({
743
- ...obj,
744
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
745
- });
746
- const GetPolicyTemplateOutputFilterSensitiveLog = (obj) => ({
747
- ...obj,
748
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
749
- ...(obj.statement && { statement: smithyClient.SENSITIVE_STRING }),
750
- });
751
- const GetSchemaOutputFilterSensitiveLog = (obj) => ({
752
- ...obj,
753
- ...(obj.schema && { schema: smithyClient.SENSITIVE_STRING }),
754
- ...(obj.namespaces && { namespaces: smithyClient.SENSITIVE_STRING }),
755
- });
756
- const IdentitySourceFilterFilterSensitiveLog = (obj) => ({
757
- ...obj,
758
- ...(obj.principalEntityType && { principalEntityType: smithyClient.SENSITIVE_STRING }),
759
- });
760
- const ListIdentitySourcesInputFilterSensitiveLog = (obj) => ({
761
- ...obj,
762
- ...(obj.filters && { filters: obj.filters.map((item) => IdentitySourceFilterFilterSensitiveLog(item)) }),
763
- });
764
- const IdentitySourceItemDetailsFilterSensitiveLog = (obj) => ({
765
- ...obj,
766
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
767
- });
768
- const IdentitySourceItemFilterSensitiveLog = (obj) => ({
769
- ...obj,
770
- ...(obj.details && { details: IdentitySourceItemDetailsFilterSensitiveLog(obj.details) }),
771
- ...(obj.principalEntityType && { principalEntityType: smithyClient.SENSITIVE_STRING }),
772
- ...(obj.configuration && { configuration: ConfigurationItemFilterSensitiveLog(obj.configuration) }),
773
- });
774
- const ListIdentitySourcesOutputFilterSensitiveLog = (obj) => ({
775
- ...obj,
776
- ...(obj.identitySources && {
777
- identitySources: obj.identitySources.map((item) => IdentitySourceItemFilterSensitiveLog(item)),
778
- }),
779
- });
780
- const UpdateCognitoGroupConfigurationFilterSensitiveLog = (obj) => ({
781
- ...obj,
782
- ...(obj.groupEntityType && { groupEntityType: smithyClient.SENSITIVE_STRING }),
783
- });
784
- const UpdateCognitoUserPoolConfigurationFilterSensitiveLog = (obj) => ({
785
- ...obj,
786
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
787
- ...(obj.groupConfiguration && {
788
- groupConfiguration: UpdateCognitoGroupConfigurationFilterSensitiveLog(obj.groupConfiguration),
789
- }),
790
- });
791
- const UpdateOpenIdConnectGroupConfigurationFilterSensitiveLog = (obj) => ({
792
- ...obj,
793
- ...(obj.groupClaim && { groupClaim: smithyClient.SENSITIVE_STRING }),
794
- ...(obj.groupEntityType && { groupEntityType: smithyClient.SENSITIVE_STRING }),
795
- });
796
- const UpdateOpenIdConnectAccessTokenConfigurationFilterSensitiveLog = (obj) => ({
797
- ...obj,
798
- ...(obj.principalIdClaim && { principalIdClaim: smithyClient.SENSITIVE_STRING }),
799
- });
800
- const UpdateOpenIdConnectIdentityTokenConfigurationFilterSensitiveLog = (obj) => ({
801
- ...obj,
802
- ...(obj.principalIdClaim && { principalIdClaim: smithyClient.SENSITIVE_STRING }),
803
- ...(obj.clientIds && { clientIds: smithyClient.SENSITIVE_STRING }),
804
- });
805
- const UpdateOpenIdConnectTokenSelectionFilterSensitiveLog = (obj) => {
806
- if (obj.accessTokenOnly !== undefined)
807
- return { accessTokenOnly: UpdateOpenIdConnectAccessTokenConfigurationFilterSensitiveLog(obj.accessTokenOnly) };
808
- if (obj.identityTokenOnly !== undefined)
809
- return {
810
- identityTokenOnly: UpdateOpenIdConnectIdentityTokenConfigurationFilterSensitiveLog(obj.identityTokenOnly),
811
- };
812
- if (obj.$unknown !== undefined)
813
- return { [obj.$unknown[0]]: "UNKNOWN" };
814
- };
815
- const UpdateOpenIdConnectConfigurationFilterSensitiveLog = (obj) => ({
816
- ...obj,
817
- ...(obj.entityIdPrefix && { entityIdPrefix: smithyClient.SENSITIVE_STRING }),
818
- ...(obj.groupConfiguration && {
819
- groupConfiguration: UpdateOpenIdConnectGroupConfigurationFilterSensitiveLog(obj.groupConfiguration),
820
- }),
821
- ...(obj.tokenSelection && {
822
- tokenSelection: UpdateOpenIdConnectTokenSelectionFilterSensitiveLog(obj.tokenSelection),
823
- }),
824
- });
825
- const UpdateConfigurationFilterSensitiveLog = (obj) => {
826
- if (obj.cognitoUserPoolConfiguration !== undefined)
827
- return {
828
- cognitoUserPoolConfiguration: UpdateCognitoUserPoolConfigurationFilterSensitiveLog(obj.cognitoUserPoolConfiguration),
829
- };
830
- if (obj.openIdConnectConfiguration !== undefined)
831
- return {
832
- openIdConnectConfiguration: UpdateOpenIdConnectConfigurationFilterSensitiveLog(obj.openIdConnectConfiguration),
833
- };
834
- if (obj.$unknown !== undefined)
835
- return { [obj.$unknown[0]]: "UNKNOWN" };
836
- };
837
- const UpdateIdentitySourceInputFilterSensitiveLog = (obj) => ({
838
- ...obj,
839
- ...(obj.updateConfiguration && {
840
- updateConfiguration: UpdateConfigurationFilterSensitiveLog(obj.updateConfiguration),
841
- }),
842
- ...(obj.principalEntityType && { principalEntityType: smithyClient.SENSITIVE_STRING }),
843
- });
844
- const IsAuthorizedOutputFilterSensitiveLog = (obj) => ({
845
- ...obj,
846
- ...(obj.errors && { errors: smithyClient.SENSITIVE_STRING }),
847
- });
848
- const IsAuthorizedWithTokenOutputFilterSensitiveLog = (obj) => ({
849
- ...obj,
850
- ...(obj.errors && { errors: smithyClient.SENSITIVE_STRING }),
851
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
852
- });
853
- const PolicyFilterFilterSensitiveLog = (obj) => ({
854
- ...obj,
855
- ...(obj.principal && { principal: EntityReferenceFilterSensitiveLog(obj.principal) }),
856
- ...(obj.resource && { resource: EntityReferenceFilterSensitiveLog(obj.resource) }),
857
- });
858
- const ListPoliciesInputFilterSensitiveLog = (obj) => ({
859
- ...obj,
860
- ...(obj.filter && { filter: PolicyFilterFilterSensitiveLog(obj.filter) }),
861
- });
862
- const StaticPolicyDefinitionItemFilterSensitiveLog = (obj) => ({
863
- ...obj,
864
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
865
- });
866
- const TemplateLinkedPolicyDefinitionItemFilterSensitiveLog = (obj) => ({
867
- ...obj,
868
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
869
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
870
- });
871
- const PolicyDefinitionItemFilterSensitiveLog = (obj) => {
872
- if (obj.static !== undefined)
873
- return { static: StaticPolicyDefinitionItemFilterSensitiveLog(obj.static) };
874
- if (obj.templateLinked !== undefined)
875
- return { templateLinked: TemplateLinkedPolicyDefinitionItemFilterSensitiveLog(obj.templateLinked) };
876
- if (obj.$unknown !== undefined)
877
- return { [obj.$unknown[0]]: "UNKNOWN" };
878
- };
879
- const PolicyItemFilterSensitiveLog = (obj) => ({
880
- ...obj,
881
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
882
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
883
- ...(obj.actions && { actions: obj.actions.map((item) => ActionIdentifierFilterSensitiveLog(item)) }),
884
- ...(obj.definition && { definition: PolicyDefinitionItemFilterSensitiveLog(obj.definition) }),
885
- });
886
- const ListPoliciesOutputFilterSensitiveLog = (obj) => ({
887
- ...obj,
888
- ...(obj.policies && { policies: obj.policies.map((item) => PolicyItemFilterSensitiveLog(item)) }),
889
- });
890
- const PolicyStoreItemFilterSensitiveLog = (obj) => ({
891
- ...obj,
892
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
893
- });
894
- const ListPolicyStoresOutputFilterSensitiveLog = (obj) => ({
895
- ...obj,
896
- ...(obj.policyStores && { policyStores: obj.policyStores.map((item) => PolicyStoreItemFilterSensitiveLog(item)) }),
897
- });
898
- const PolicyTemplateItemFilterSensitiveLog = (obj) => ({
899
- ...obj,
900
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
901
- });
902
- const ListPolicyTemplatesOutputFilterSensitiveLog = (obj) => ({
903
- ...obj,
904
- ...(obj.policyTemplates && {
905
- policyTemplates: obj.policyTemplates.map((item) => PolicyTemplateItemFilterSensitiveLog(item)),
906
- }),
907
- });
908
- const UpdateStaticPolicyDefinitionFilterSensitiveLog = (obj) => ({
909
- ...obj,
910
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
911
- ...(obj.statement && { statement: smithyClient.SENSITIVE_STRING }),
912
- });
913
- const UpdatePolicyDefinitionFilterSensitiveLog = (obj) => {
914
- if (obj.static !== undefined)
915
- return { static: UpdateStaticPolicyDefinitionFilterSensitiveLog(obj.static) };
916
- if (obj.$unknown !== undefined)
917
- return { [obj.$unknown[0]]: "UNKNOWN" };
918
- };
919
- const UpdatePolicyInputFilterSensitiveLog = (obj) => ({
920
- ...obj,
921
- ...(obj.definition && { definition: UpdatePolicyDefinitionFilterSensitiveLog(obj.definition) }),
922
- });
923
- const UpdatePolicyOutputFilterSensitiveLog = (obj) => ({
924
- ...obj,
925
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
926
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
927
- ...(obj.actions && { actions: obj.actions.map((item) => ActionIdentifierFilterSensitiveLog(item)) }),
928
- });
929
- const UpdatePolicyTemplateInputFilterSensitiveLog = (obj) => ({
930
- ...obj,
931
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
932
- ...(obj.statement && { statement: smithyClient.SENSITIVE_STRING }),
933
- });
934
- const SchemaDefinitionFilterSensitiveLog = (obj) => {
935
- if (obj.cedarJson !== undefined)
936
- return { cedarJson: smithyClient.SENSITIVE_STRING };
937
- if (obj.$unknown !== undefined)
938
- return { [obj.$unknown[0]]: "UNKNOWN" };
939
- };
940
- const PutSchemaInputFilterSensitiveLog = (obj) => ({
941
- ...obj,
942
- ...(obj.definition && { definition: SchemaDefinitionFilterSensitiveLog(obj.definition) }),
943
- });
944
- const PutSchemaOutputFilterSensitiveLog = (obj) => ({
945
- ...obj,
946
- ...(obj.namespaces && { namespaces: smithyClient.SENSITIVE_STRING }),
947
- });
948
- const UpdatePolicyStoreInputFilterSensitiveLog = (obj) => ({
949
- ...obj,
950
- ...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
951
- });
952
- const AttributeValueFilterSensitiveLog = (obj) => {
953
- if (obj.boolean !== undefined)
954
- return { boolean: smithyClient.SENSITIVE_STRING };
955
- if (obj.entityIdentifier !== undefined)
956
- return { entityIdentifier: EntityIdentifierFilterSensitiveLog(obj.entityIdentifier) };
957
- if (obj.long !== undefined)
958
- return { long: smithyClient.SENSITIVE_STRING };
959
- if (obj.string !== undefined)
960
- return { string: smithyClient.SENSITIVE_STRING };
961
- if (obj.set !== undefined)
962
- return { set: obj.set.map((item) => AttributeValueFilterSensitiveLog(item)) };
963
- if (obj.record !== undefined)
964
- return {
965
- record: Object.entries(obj.record).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
966
- };
967
- if (obj.ipaddr !== undefined)
968
- return { ipaddr: smithyClient.SENSITIVE_STRING };
969
- if (obj.decimal !== undefined)
970
- return { decimal: smithyClient.SENSITIVE_STRING };
971
- if (obj.datetime !== undefined)
972
- return { datetime: smithyClient.SENSITIVE_STRING };
973
- if (obj.duration !== undefined)
974
- return { duration: smithyClient.SENSITIVE_STRING };
975
- if (obj.$unknown !== undefined)
976
- return { [obj.$unknown[0]]: "UNKNOWN" };
977
- };
978
- const ContextDefinitionFilterSensitiveLog = (obj) => {
979
- if (obj.contextMap !== undefined)
980
- return { contextMap: smithyClient.SENSITIVE_STRING };
981
- if (obj.cedarJson !== undefined)
982
- return { cedarJson: smithyClient.SENSITIVE_STRING };
983
- if (obj.$unknown !== undefined)
984
- return { [obj.$unknown[0]]: "UNKNOWN" };
985
- };
986
- const EntityItemFilterSensitiveLog = (obj) => ({
987
- ...obj,
988
- ...(obj.identifier && { identifier: EntityIdentifierFilterSensitiveLog(obj.identifier) }),
989
- ...(obj.attributes && {
990
- attributes: Object.entries(obj.attributes).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
991
- }),
992
- ...(obj.parents && { parents: obj.parents.map((item) => EntityIdentifierFilterSensitiveLog(item)) }),
993
- });
994
- const BatchIsAuthorizedInputItemFilterSensitiveLog = (obj) => ({
995
- ...obj,
996
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
997
- ...(obj.action && { action: ActionIdentifierFilterSensitiveLog(obj.action) }),
998
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
999
- ...(obj.context && { context: ContextDefinitionFilterSensitiveLog(obj.context) }),
1000
- });
1001
- const BatchIsAuthorizedWithTokenInputItemFilterSensitiveLog = (obj) => ({
1002
- ...obj,
1003
- ...(obj.action && { action: ActionIdentifierFilterSensitiveLog(obj.action) }),
1004
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
1005
- ...(obj.context && { context: ContextDefinitionFilterSensitiveLog(obj.context) }),
1006
- });
1007
- const BatchIsAuthorizedOutputItemFilterSensitiveLog = (obj) => ({
1008
- ...obj,
1009
- ...(obj.request && { request: BatchIsAuthorizedInputItemFilterSensitiveLog(obj.request) }),
1010
- ...(obj.errors && { errors: smithyClient.SENSITIVE_STRING }),
1011
- });
1012
- const BatchIsAuthorizedWithTokenOutputItemFilterSensitiveLog = (obj) => ({
1013
- ...obj,
1014
- ...(obj.request && { request: BatchIsAuthorizedWithTokenInputItemFilterSensitiveLog(obj.request) }),
1015
- ...(obj.errors && { errors: smithyClient.SENSITIVE_STRING }),
1016
- });
1017
- const EntitiesDefinitionFilterSensitiveLog = (obj) => {
1018
- if (obj.entityList !== undefined)
1019
- return { entityList: obj.entityList.map((item) => EntityItemFilterSensitiveLog(item)) };
1020
- if (obj.cedarJson !== undefined)
1021
- return { cedarJson: smithyClient.SENSITIVE_STRING };
1022
- if (obj.$unknown !== undefined)
1023
- return { [obj.$unknown[0]]: "UNKNOWN" };
1024
- };
1025
- const BatchIsAuthorizedOutputFilterSensitiveLog = (obj) => ({
1026
- ...obj,
1027
- ...(obj.results && { results: obj.results.map((item) => BatchIsAuthorizedOutputItemFilterSensitiveLog(item)) }),
1028
- });
1029
- const BatchIsAuthorizedWithTokenOutputFilterSensitiveLog = (obj) => ({
1030
- ...obj,
1031
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
1032
- ...(obj.results && {
1033
- results: obj.results.map((item) => BatchIsAuthorizedWithTokenOutputItemFilterSensitiveLog(item)),
1034
- }),
1035
- });
1036
- const IsAuthorizedInputFilterSensitiveLog = (obj) => ({
1037
- ...obj,
1038
- ...(obj.principal && { principal: EntityIdentifierFilterSensitiveLog(obj.principal) }),
1039
- ...(obj.action && { action: ActionIdentifierFilterSensitiveLog(obj.action) }),
1040
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
1041
- ...(obj.context && { context: ContextDefinitionFilterSensitiveLog(obj.context) }),
1042
- ...(obj.entities && { entities: EntitiesDefinitionFilterSensitiveLog(obj.entities) }),
1043
- });
1044
- const IsAuthorizedWithTokenInputFilterSensitiveLog = (obj) => ({
1045
- ...obj,
1046
- ...(obj.identityToken && { identityToken: smithyClient.SENSITIVE_STRING }),
1047
- ...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
1048
- ...(obj.action && { action: ActionIdentifierFilterSensitiveLog(obj.action) }),
1049
- ...(obj.resource && { resource: EntityIdentifierFilterSensitiveLog(obj.resource) }),
1050
- ...(obj.context && { context: ContextDefinitionFilterSensitiveLog(obj.context) }),
1051
- ...(obj.entities && { entities: EntitiesDefinitionFilterSensitiveLog(obj.entities) }),
1052
- });
1053
- const BatchIsAuthorizedInputFilterSensitiveLog = (obj) => ({
1054
- ...obj,
1055
- ...(obj.entities && { entities: EntitiesDefinitionFilterSensitiveLog(obj.entities) }),
1056
- ...(obj.requests && { requests: obj.requests.map((item) => BatchIsAuthorizedInputItemFilterSensitiveLog(item)) }),
1057
- });
1058
- const BatchIsAuthorizedWithTokenInputFilterSensitiveLog = (obj) => ({
1059
- ...obj,
1060
- ...(obj.identityToken && { identityToken: smithyClient.SENSITIVE_STRING }),
1061
- ...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
1062
- ...(obj.entities && { entities: EntitiesDefinitionFilterSensitiveLog(obj.entities) }),
1063
- ...(obj.requests && {
1064
- requests: obj.requests.map((item) => BatchIsAuthorizedWithTokenInputItemFilterSensitiveLog(item)),
1065
- }),
1066
- });
1067
500
 
1068
- const se_BatchGetPolicyCommand = async (input, context) => {
1069
- const headers = sharedHeaders("BatchGetPolicy");
1070
- let body;
1071
- body = JSON.stringify(smithyClient._json(input));
1072
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1073
- };
1074
- const se_BatchIsAuthorizedCommand = async (input, context) => {
1075
- const headers = sharedHeaders("BatchIsAuthorized");
1076
- let body;
1077
- body = JSON.stringify(se_BatchIsAuthorizedInput(input));
1078
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1079
- };
1080
- const se_BatchIsAuthorizedWithTokenCommand = async (input, context) => {
1081
- const headers = sharedHeaders("BatchIsAuthorizedWithToken");
1082
- let body;
1083
- body = JSON.stringify(se_BatchIsAuthorizedWithTokenInput(input));
1084
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1085
- };
1086
- const se_CreateIdentitySourceCommand = async (input, context) => {
1087
- const headers = sharedHeaders("CreateIdentitySource");
1088
- let body;
1089
- body = JSON.stringify(se_CreateIdentitySourceInput(input));
1090
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1091
- };
1092
- const se_CreatePolicyCommand = async (input, context) => {
1093
- const headers = sharedHeaders("CreatePolicy");
1094
- let body;
1095
- body = JSON.stringify(se_CreatePolicyInput(input));
1096
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1097
- };
1098
- const se_CreatePolicyStoreCommand = async (input, context) => {
1099
- const headers = sharedHeaders("CreatePolicyStore");
1100
- let body;
1101
- body = JSON.stringify(se_CreatePolicyStoreInput(input));
1102
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1103
- };
1104
- const se_CreatePolicyTemplateCommand = async (input, context) => {
1105
- const headers = sharedHeaders("CreatePolicyTemplate");
1106
- let body;
1107
- body = JSON.stringify(se_CreatePolicyTemplateInput(input));
1108
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1109
- };
1110
- const se_DeleteIdentitySourceCommand = async (input, context) => {
1111
- const headers = sharedHeaders("DeleteIdentitySource");
1112
- let body;
1113
- body = JSON.stringify(smithyClient._json(input));
1114
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1115
- };
1116
- const se_DeletePolicyCommand = async (input, context) => {
1117
- const headers = sharedHeaders("DeletePolicy");
1118
- let body;
1119
- body = JSON.stringify(smithyClient._json(input));
1120
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1121
- };
1122
- const se_DeletePolicyStoreCommand = async (input, context) => {
1123
- const headers = sharedHeaders("DeletePolicyStore");
1124
- let body;
1125
- body = JSON.stringify(smithyClient._json(input));
1126
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1127
- };
1128
- const se_DeletePolicyTemplateCommand = async (input, context) => {
1129
- const headers = sharedHeaders("DeletePolicyTemplate");
1130
- let body;
1131
- body = JSON.stringify(smithyClient._json(input));
1132
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1133
- };
1134
- const se_GetIdentitySourceCommand = async (input, context) => {
1135
- const headers = sharedHeaders("GetIdentitySource");
1136
- let body;
1137
- body = JSON.stringify(smithyClient._json(input));
1138
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1139
- };
1140
- const se_GetPolicyCommand = async (input, context) => {
1141
- const headers = sharedHeaders("GetPolicy");
1142
- let body;
1143
- body = JSON.stringify(smithyClient._json(input));
1144
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1145
- };
1146
- const se_GetPolicyStoreCommand = async (input, context) => {
1147
- const headers = sharedHeaders("GetPolicyStore");
1148
- let body;
1149
- body = JSON.stringify(smithyClient._json(input));
1150
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1151
- };
1152
- const se_GetPolicyTemplateCommand = async (input, context) => {
1153
- const headers = sharedHeaders("GetPolicyTemplate");
1154
- let body;
1155
- body = JSON.stringify(smithyClient._json(input));
1156
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1157
- };
1158
- const se_GetSchemaCommand = async (input, context) => {
1159
- const headers = sharedHeaders("GetSchema");
1160
- let body;
1161
- body = JSON.stringify(smithyClient._json(input));
1162
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1163
- };
1164
- const se_IsAuthorizedCommand = async (input, context) => {
1165
- const headers = sharedHeaders("IsAuthorized");
1166
- let body;
1167
- body = JSON.stringify(se_IsAuthorizedInput(input));
1168
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1169
- };
1170
- const se_IsAuthorizedWithTokenCommand = async (input, context) => {
1171
- const headers = sharedHeaders("IsAuthorizedWithToken");
1172
- let body;
1173
- body = JSON.stringify(se_IsAuthorizedWithTokenInput(input));
1174
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1175
- };
1176
- const se_ListIdentitySourcesCommand = async (input, context) => {
1177
- const headers = sharedHeaders("ListIdentitySources");
1178
- let body;
1179
- body = JSON.stringify(smithyClient._json(input));
1180
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1181
- };
1182
- const se_ListPoliciesCommand = async (input, context) => {
1183
- const headers = sharedHeaders("ListPolicies");
1184
- let body;
1185
- body = JSON.stringify(smithyClient._json(input));
1186
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1187
- };
1188
- const se_ListPolicyStoresCommand = async (input, context) => {
1189
- const headers = sharedHeaders("ListPolicyStores");
1190
- let body;
1191
- body = JSON.stringify(smithyClient._json(input));
1192
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1193
- };
1194
- const se_ListPolicyTemplatesCommand = async (input, context) => {
1195
- const headers = sharedHeaders("ListPolicyTemplates");
1196
- let body;
1197
- body = JSON.stringify(smithyClient._json(input));
1198
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1199
- };
1200
- const se_ListTagsForResourceCommand = async (input, context) => {
1201
- const headers = sharedHeaders("ListTagsForResource");
1202
- let body;
1203
- body = JSON.stringify(smithyClient._json(input));
1204
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1205
- };
1206
- const se_PutSchemaCommand = async (input, context) => {
1207
- const headers = sharedHeaders("PutSchema");
1208
- let body;
1209
- body = JSON.stringify(smithyClient._json(input));
1210
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1211
- };
1212
- const se_TagResourceCommand = async (input, context) => {
1213
- const headers = sharedHeaders("TagResource");
1214
- let body;
1215
- body = JSON.stringify(smithyClient._json(input));
1216
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1217
- };
1218
- const se_UntagResourceCommand = async (input, context) => {
1219
- const headers = sharedHeaders("UntagResource");
1220
- let body;
1221
- body = JSON.stringify(smithyClient._json(input));
1222
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1223
- };
1224
- const se_UpdateIdentitySourceCommand = async (input, context) => {
1225
- const headers = sharedHeaders("UpdateIdentitySource");
1226
- let body;
1227
- body = JSON.stringify(smithyClient._json(input));
1228
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1229
- };
1230
- const se_UpdatePolicyCommand = async (input, context) => {
1231
- const headers = sharedHeaders("UpdatePolicy");
1232
- let body;
1233
- body = JSON.stringify(smithyClient._json(input));
1234
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1235
- };
1236
- const se_UpdatePolicyStoreCommand = async (input, context) => {
1237
- const headers = sharedHeaders("UpdatePolicyStore");
1238
- let body;
1239
- body = JSON.stringify(smithyClient._json(input));
1240
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1241
- };
1242
- const se_UpdatePolicyTemplateCommand = async (input, context) => {
1243
- const headers = sharedHeaders("UpdatePolicyTemplate");
1244
- let body;
1245
- body = JSON.stringify(smithyClient._json(input));
1246
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1247
- };
1248
- const de_BatchGetPolicyCommand = async (output, context) => {
1249
- if (output.statusCode >= 300) {
1250
- return de_CommandError(output, context);
1251
- }
1252
- const data = await core$1.parseJsonBody(output.body, context);
1253
- let contents = {};
1254
- contents = de_BatchGetPolicyOutput(data);
1255
- const response = {
1256
- $metadata: deserializeMetadata(output),
1257
- ...contents,
1258
- };
1259
- return response;
1260
- };
1261
- const de_BatchIsAuthorizedCommand = async (output, context) => {
1262
- if (output.statusCode >= 300) {
1263
- return de_CommandError(output, context);
1264
- }
1265
- const data = await core$1.parseJsonBody(output.body, context);
1266
- let contents = {};
1267
- contents = de_BatchIsAuthorizedOutput(data);
1268
- const response = {
1269
- $metadata: deserializeMetadata(output),
1270
- ...contents,
1271
- };
1272
- return response;
1273
- };
1274
- const de_BatchIsAuthorizedWithTokenCommand = async (output, context) => {
1275
- if (output.statusCode >= 300) {
1276
- return de_CommandError(output, context);
1277
- }
1278
- const data = await core$1.parseJsonBody(output.body, context);
1279
- let contents = {};
1280
- contents = de_BatchIsAuthorizedWithTokenOutput(data);
1281
- const response = {
1282
- $metadata: deserializeMetadata(output),
1283
- ...contents,
1284
- };
1285
- return response;
1286
- };
1287
- const de_CreateIdentitySourceCommand = async (output, context) => {
1288
- if (output.statusCode >= 300) {
1289
- return de_CommandError(output, context);
1290
- }
1291
- const data = await core$1.parseJsonBody(output.body, context);
1292
- let contents = {};
1293
- contents = de_CreateIdentitySourceOutput(data);
1294
- const response = {
1295
- $metadata: deserializeMetadata(output),
1296
- ...contents,
1297
- };
1298
- return response;
1299
- };
1300
- const de_CreatePolicyCommand = async (output, context) => {
1301
- if (output.statusCode >= 300) {
1302
- return de_CommandError(output, context);
1303
- }
1304
- const data = await core$1.parseJsonBody(output.body, context);
1305
- let contents = {};
1306
- contents = de_CreatePolicyOutput(data);
1307
- const response = {
1308
- $metadata: deserializeMetadata(output),
1309
- ...contents,
1310
- };
1311
- return response;
1312
- };
1313
- const de_CreatePolicyStoreCommand = async (output, context) => {
1314
- if (output.statusCode >= 300) {
1315
- return de_CommandError(output, context);
1316
- }
1317
- const data = await core$1.parseJsonBody(output.body, context);
1318
- let contents = {};
1319
- contents = de_CreatePolicyStoreOutput(data);
1320
- const response = {
1321
- $metadata: deserializeMetadata(output),
1322
- ...contents,
1323
- };
1324
- return response;
1325
- };
1326
- const de_CreatePolicyTemplateCommand = async (output, context) => {
1327
- if (output.statusCode >= 300) {
1328
- return de_CommandError(output, context);
1329
- }
1330
- const data = await core$1.parseJsonBody(output.body, context);
1331
- let contents = {};
1332
- contents = de_CreatePolicyTemplateOutput(data);
1333
- const response = {
1334
- $metadata: deserializeMetadata(output),
1335
- ...contents,
1336
- };
1337
- return response;
1338
- };
1339
- const de_DeleteIdentitySourceCommand = async (output, context) => {
1340
- if (output.statusCode >= 300) {
1341
- return de_CommandError(output, context);
1342
- }
1343
- const data = await core$1.parseJsonBody(output.body, context);
1344
- let contents = {};
1345
- contents = smithyClient._json(data);
1346
- const response = {
1347
- $metadata: deserializeMetadata(output),
1348
- ...contents,
1349
- };
1350
- return response;
1351
- };
1352
- const de_DeletePolicyCommand = async (output, context) => {
1353
- if (output.statusCode >= 300) {
1354
- return de_CommandError(output, context);
1355
- }
1356
- const data = await core$1.parseJsonBody(output.body, context);
1357
- let contents = {};
1358
- contents = smithyClient._json(data);
1359
- const response = {
1360
- $metadata: deserializeMetadata(output),
1361
- ...contents,
1362
- };
1363
- return response;
1364
- };
1365
- const de_DeletePolicyStoreCommand = async (output, context) => {
1366
- if (output.statusCode >= 300) {
1367
- return de_CommandError(output, context);
1368
- }
1369
- const data = await core$1.parseJsonBody(output.body, context);
1370
- let contents = {};
1371
- contents = smithyClient._json(data);
1372
- const response = {
1373
- $metadata: deserializeMetadata(output),
1374
- ...contents,
1375
- };
1376
- return response;
1377
- };
1378
- const de_DeletePolicyTemplateCommand = async (output, context) => {
1379
- if (output.statusCode >= 300) {
1380
- return de_CommandError(output, context);
1381
- }
1382
- const data = await core$1.parseJsonBody(output.body, context);
1383
- let contents = {};
1384
- contents = smithyClient._json(data);
1385
- const response = {
1386
- $metadata: deserializeMetadata(output),
1387
- ...contents,
1388
- };
1389
- return response;
1390
- };
1391
- const de_GetIdentitySourceCommand = async (output, context) => {
1392
- if (output.statusCode >= 300) {
1393
- return de_CommandError(output, context);
1394
- }
1395
- const data = await core$1.parseJsonBody(output.body, context);
1396
- let contents = {};
1397
- contents = de_GetIdentitySourceOutput(data);
1398
- const response = {
1399
- $metadata: deserializeMetadata(output),
1400
- ...contents,
1401
- };
1402
- return response;
1403
- };
1404
- const de_GetPolicyCommand = async (output, context) => {
1405
- if (output.statusCode >= 300) {
1406
- return de_CommandError(output, context);
1407
- }
1408
- const data = await core$1.parseJsonBody(output.body, context);
1409
- let contents = {};
1410
- contents = de_GetPolicyOutput(data);
1411
- const response = {
1412
- $metadata: deserializeMetadata(output),
1413
- ...contents,
1414
- };
1415
- return response;
1416
- };
1417
- const de_GetPolicyStoreCommand = async (output, context) => {
1418
- if (output.statusCode >= 300) {
1419
- return de_CommandError(output, context);
1420
- }
1421
- const data = await core$1.parseJsonBody(output.body, context);
1422
- let contents = {};
1423
- contents = de_GetPolicyStoreOutput(data);
1424
- const response = {
1425
- $metadata: deserializeMetadata(output),
1426
- ...contents,
1427
- };
1428
- return response;
1429
- };
1430
- const de_GetPolicyTemplateCommand = async (output, context) => {
1431
- if (output.statusCode >= 300) {
1432
- return de_CommandError(output, context);
1433
- }
1434
- const data = await core$1.parseJsonBody(output.body, context);
1435
- let contents = {};
1436
- contents = de_GetPolicyTemplateOutput(data);
1437
- const response = {
1438
- $metadata: deserializeMetadata(output),
1439
- ...contents,
1440
- };
1441
- return response;
1442
- };
1443
- const de_GetSchemaCommand = async (output, context) => {
1444
- if (output.statusCode >= 300) {
1445
- return de_CommandError(output, context);
1446
- }
1447
- const data = await core$1.parseJsonBody(output.body, context);
1448
- let contents = {};
1449
- contents = de_GetSchemaOutput(data);
1450
- const response = {
1451
- $metadata: deserializeMetadata(output),
1452
- ...contents,
1453
- };
1454
- return response;
1455
- };
1456
- const de_IsAuthorizedCommand = async (output, context) => {
1457
- if (output.statusCode >= 300) {
1458
- return de_CommandError(output, context);
1459
- }
1460
- const data = await core$1.parseJsonBody(output.body, context);
1461
- let contents = {};
1462
- contents = smithyClient._json(data);
1463
- const response = {
1464
- $metadata: deserializeMetadata(output),
1465
- ...contents,
1466
- };
1467
- return response;
1468
- };
1469
- const de_IsAuthorizedWithTokenCommand = async (output, context) => {
1470
- if (output.statusCode >= 300) {
1471
- return de_CommandError(output, context);
1472
- }
1473
- const data = await core$1.parseJsonBody(output.body, context);
1474
- let contents = {};
1475
- contents = smithyClient._json(data);
1476
- const response = {
1477
- $metadata: deserializeMetadata(output),
1478
- ...contents,
1479
- };
1480
- return response;
1481
- };
1482
- const de_ListIdentitySourcesCommand = async (output, context) => {
1483
- if (output.statusCode >= 300) {
1484
- return de_CommandError(output, context);
1485
- }
1486
- const data = await core$1.parseJsonBody(output.body, context);
1487
- let contents = {};
1488
- contents = de_ListIdentitySourcesOutput(data);
1489
- const response = {
1490
- $metadata: deserializeMetadata(output),
1491
- ...contents,
1492
- };
1493
- return response;
1494
- };
1495
- const de_ListPoliciesCommand = async (output, context) => {
1496
- if (output.statusCode >= 300) {
1497
- return de_CommandError(output, context);
1498
- }
1499
- const data = await core$1.parseJsonBody(output.body, context);
1500
- let contents = {};
1501
- contents = de_ListPoliciesOutput(data);
1502
- const response = {
1503
- $metadata: deserializeMetadata(output),
1504
- ...contents,
1505
- };
1506
- return response;
1507
- };
1508
- const de_ListPolicyStoresCommand = async (output, context) => {
1509
- if (output.statusCode >= 300) {
1510
- return de_CommandError(output, context);
1511
- }
1512
- const data = await core$1.parseJsonBody(output.body, context);
1513
- let contents = {};
1514
- contents = de_ListPolicyStoresOutput(data);
1515
- const response = {
1516
- $metadata: deserializeMetadata(output),
1517
- ...contents,
1518
- };
1519
- return response;
1520
- };
1521
- const de_ListPolicyTemplatesCommand = async (output, context) => {
1522
- if (output.statusCode >= 300) {
1523
- return de_CommandError(output, context);
1524
- }
1525
- const data = await core$1.parseJsonBody(output.body, context);
1526
- let contents = {};
1527
- contents = de_ListPolicyTemplatesOutput(data);
1528
- const response = {
1529
- $metadata: deserializeMetadata(output),
1530
- ...contents,
1531
- };
1532
- return response;
1533
- };
1534
- const de_ListTagsForResourceCommand = async (output, context) => {
1535
- if (output.statusCode >= 300) {
1536
- return de_CommandError(output, context);
1537
- }
1538
- const data = await core$1.parseJsonBody(output.body, context);
1539
- let contents = {};
1540
- contents = smithyClient._json(data);
1541
- const response = {
1542
- $metadata: deserializeMetadata(output),
1543
- ...contents,
1544
- };
1545
- return response;
1546
- };
1547
- const de_PutSchemaCommand = async (output, context) => {
1548
- if (output.statusCode >= 300) {
1549
- return de_CommandError(output, context);
1550
- }
1551
- const data = await core$1.parseJsonBody(output.body, context);
1552
- let contents = {};
1553
- contents = de_PutSchemaOutput(data);
1554
- const response = {
1555
- $metadata: deserializeMetadata(output),
1556
- ...contents,
1557
- };
1558
- return response;
1559
- };
1560
- const de_TagResourceCommand = async (output, context) => {
1561
- if (output.statusCode >= 300) {
1562
- return de_CommandError(output, context);
1563
- }
1564
- const data = await core$1.parseJsonBody(output.body, context);
1565
- let contents = {};
1566
- contents = smithyClient._json(data);
1567
- const response = {
1568
- $metadata: deserializeMetadata(output),
1569
- ...contents,
1570
- };
1571
- return response;
1572
- };
1573
- const de_UntagResourceCommand = async (output, context) => {
1574
- if (output.statusCode >= 300) {
1575
- return de_CommandError(output, context);
1576
- }
1577
- const data = await core$1.parseJsonBody(output.body, context);
1578
- let contents = {};
1579
- contents = smithyClient._json(data);
1580
- const response = {
1581
- $metadata: deserializeMetadata(output),
1582
- ...contents,
1583
- };
1584
- return response;
1585
- };
1586
- const de_UpdateIdentitySourceCommand = async (output, context) => {
1587
- if (output.statusCode >= 300) {
1588
- return de_CommandError(output, context);
1589
- }
1590
- const data = await core$1.parseJsonBody(output.body, context);
1591
- let contents = {};
1592
- contents = de_UpdateIdentitySourceOutput(data);
1593
- const response = {
1594
- $metadata: deserializeMetadata(output),
1595
- ...contents,
1596
- };
1597
- return response;
1598
- };
1599
- const de_UpdatePolicyCommand = async (output, context) => {
1600
- if (output.statusCode >= 300) {
1601
- return de_CommandError(output, context);
1602
- }
1603
- const data = await core$1.parseJsonBody(output.body, context);
1604
- let contents = {};
1605
- contents = de_UpdatePolicyOutput(data);
1606
- const response = {
1607
- $metadata: deserializeMetadata(output),
1608
- ...contents,
1609
- };
1610
- return response;
1611
- };
1612
- const de_UpdatePolicyStoreCommand = async (output, context) => {
1613
- if (output.statusCode >= 300) {
1614
- return de_CommandError(output, context);
1615
- }
1616
- const data = await core$1.parseJsonBody(output.body, context);
1617
- let contents = {};
1618
- contents = de_UpdatePolicyStoreOutput(data);
1619
- const response = {
1620
- $metadata: deserializeMetadata(output),
1621
- ...contents,
1622
- };
1623
- return response;
1624
- };
1625
- const de_UpdatePolicyTemplateCommand = async (output, context) => {
1626
- if (output.statusCode >= 300) {
1627
- return de_CommandError(output, context);
1628
- }
1629
- const data = await core$1.parseJsonBody(output.body, context);
1630
- let contents = {};
1631
- contents = de_UpdatePolicyTemplateOutput(data);
1632
- const response = {
1633
- $metadata: deserializeMetadata(output),
1634
- ...contents,
1635
- };
1636
- return response;
1637
- };
1638
- const de_CommandError = async (output, context) => {
1639
- const parsedOutput = {
1640
- ...output,
1641
- body: await core$1.parseJsonErrorBody(output.body, context),
1642
- };
1643
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1644
- switch (errorCode) {
1645
- case "AccessDeniedException":
1646
- case "com.amazonaws.verifiedpermissions#AccessDeniedException":
1647
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1648
- case "InternalServerException":
1649
- case "com.amazonaws.verifiedpermissions#InternalServerException":
1650
- throw await de_InternalServerExceptionRes(parsedOutput);
1651
- case "ThrottlingException":
1652
- case "com.amazonaws.verifiedpermissions#ThrottlingException":
1653
- throw await de_ThrottlingExceptionRes(parsedOutput);
1654
- case "ValidationException":
1655
- case "com.amazonaws.verifiedpermissions#ValidationException":
1656
- throw await de_ValidationExceptionRes(parsedOutput);
1657
- case "ResourceNotFoundException":
1658
- case "com.amazonaws.verifiedpermissions#ResourceNotFoundException":
1659
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1660
- case "ConflictException":
1661
- case "com.amazonaws.verifiedpermissions#ConflictException":
1662
- throw await de_ConflictExceptionRes(parsedOutput);
1663
- case "ServiceQuotaExceededException":
1664
- case "com.amazonaws.verifiedpermissions#ServiceQuotaExceededException":
1665
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1666
- case "InvalidStateException":
1667
- case "com.amazonaws.verifiedpermissions#InvalidStateException":
1668
- throw await de_InvalidStateExceptionRes(parsedOutput);
1669
- case "TooManyTagsException":
1670
- case "com.amazonaws.verifiedpermissions#TooManyTagsException":
1671
- throw await de_TooManyTagsExceptionRes(parsedOutput);
1672
- default:
1673
- const parsedBody = parsedOutput.body;
1674
- return throwDefaultError({
1675
- output,
1676
- parsedBody,
1677
- errorCode,
1678
- });
1679
- }
1680
- };
1681
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1682
- const body = parsedOutput.body;
1683
- const deserialized = smithyClient._json(body);
1684
- const exception = new AccessDeniedException({
1685
- $metadata: deserializeMetadata(parsedOutput),
1686
- ...deserialized,
1687
- });
1688
- return smithyClient.decorateServiceException(exception, body);
1689
- };
1690
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1691
- const body = parsedOutput.body;
1692
- const deserialized = smithyClient._json(body);
1693
- const exception = new ConflictException({
1694
- $metadata: deserializeMetadata(parsedOutput),
1695
- ...deserialized,
1696
- });
1697
- return smithyClient.decorateServiceException(exception, body);
1698
- };
1699
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1700
- const body = parsedOutput.body;
1701
- const deserialized = smithyClient._json(body);
1702
- const exception = new InternalServerException({
1703
- $metadata: deserializeMetadata(parsedOutput),
1704
- ...deserialized,
1705
- });
1706
- return smithyClient.decorateServiceException(exception, body);
1707
- };
1708
- const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
1709
- const body = parsedOutput.body;
1710
- const deserialized = smithyClient._json(body);
1711
- const exception = new InvalidStateException({
1712
- $metadata: deserializeMetadata(parsedOutput),
1713
- ...deserialized,
1714
- });
1715
- return smithyClient.decorateServiceException(exception, body);
1716
- };
1717
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1718
- const body = parsedOutput.body;
1719
- const deserialized = smithyClient._json(body);
1720
- const exception = new ResourceNotFoundException({
1721
- $metadata: deserializeMetadata(parsedOutput),
1722
- ...deserialized,
1723
- });
1724
- return smithyClient.decorateServiceException(exception, body);
1725
- };
1726
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1727
- const body = parsedOutput.body;
1728
- const deserialized = smithyClient._json(body);
1729
- const exception = new ServiceQuotaExceededException({
1730
- $metadata: deserializeMetadata(parsedOutput),
1731
- ...deserialized,
1732
- });
1733
- return smithyClient.decorateServiceException(exception, body);
1734
- };
1735
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1736
- const body = parsedOutput.body;
1737
- const deserialized = smithyClient._json(body);
1738
- const exception = new ThrottlingException({
1739
- $metadata: deserializeMetadata(parsedOutput),
1740
- ...deserialized,
1741
- });
1742
- return smithyClient.decorateServiceException(exception, body);
1743
- };
1744
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1745
- const body = parsedOutput.body;
1746
- const deserialized = smithyClient._json(body);
1747
- const exception = new TooManyTagsException({
1748
- $metadata: deserializeMetadata(parsedOutput),
1749
- ...deserialized,
1750
- });
1751
- return smithyClient.decorateServiceException(exception, body);
1752
- };
1753
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1754
- const body = parsedOutput.body;
1755
- const deserialized = smithyClient._json(body);
1756
- const exception = new ValidationException({
1757
- $metadata: deserializeMetadata(parsedOutput),
1758
- ...deserialized,
1759
- });
1760
- return smithyClient.decorateServiceException(exception, body);
1761
- };
1762
- const se_AttributeValue = (input, context) => {
1763
- return exports.AttributeValue.visit(input, {
1764
- boolean: (value) => ({ boolean: value }),
1765
- datetime: (value) => ({ datetime: value }),
1766
- decimal: (value) => ({ decimal: value }),
1767
- duration: (value) => ({ duration: value }),
1768
- entityIdentifier: (value) => ({ entityIdentifier: smithyClient._json(value) }),
1769
- ipaddr: (value) => ({ ipaddr: value }),
1770
- long: (value) => ({ long: value }),
1771
- record: (value) => ({ record: se_RecordAttribute(value) }),
1772
- set: (value) => ({ set: se_SetAttribute(value) }),
1773
- string: (value) => ({ string: value }),
1774
- _: (name, value) => ({ [name]: value }),
1775
- });
1776
- };
1777
- const se_BatchIsAuthorizedInput = (input, context) => {
1778
- return smithyClient.take(input, {
1779
- entities: (_) => se_EntitiesDefinition(_),
1780
- policyStoreId: [],
1781
- requests: (_) => se_BatchIsAuthorizedInputList(_),
1782
- });
1783
- };
1784
- const se_BatchIsAuthorizedInputItem = (input, context) => {
1785
- return smithyClient.take(input, {
1786
- action: smithyClient._json,
1787
- context: (_) => se_ContextDefinition(_),
1788
- principal: smithyClient._json,
1789
- resource: smithyClient._json,
1790
- });
1791
- };
1792
- const se_BatchIsAuthorizedInputList = (input, context) => {
1793
- return input
1794
- .filter((e) => e != null)
1795
- .map((entry) => {
1796
- return se_BatchIsAuthorizedInputItem(entry);
1797
- });
1798
- };
1799
- const se_BatchIsAuthorizedWithTokenInput = (input, context) => {
1800
- return smithyClient.take(input, {
1801
- accessToken: [],
1802
- entities: (_) => se_EntitiesDefinition(_),
1803
- identityToken: [],
1804
- policyStoreId: [],
1805
- requests: (_) => se_BatchIsAuthorizedWithTokenInputList(_),
1806
- });
1807
- };
1808
- const se_BatchIsAuthorizedWithTokenInputItem = (input, context) => {
1809
- return smithyClient.take(input, {
1810
- action: smithyClient._json,
1811
- context: (_) => se_ContextDefinition(_),
1812
- resource: smithyClient._json,
1813
- });
1814
- };
1815
- const se_BatchIsAuthorizedWithTokenInputList = (input, context) => {
1816
- return input
1817
- .filter((e) => e != null)
1818
- .map((entry) => {
1819
- return se_BatchIsAuthorizedWithTokenInputItem(entry);
1820
- });
1821
- };
1822
- const se_ContextDefinition = (input, context) => {
1823
- return exports.ContextDefinition.visit(input, {
1824
- cedarJson: (value) => ({ cedarJson: value }),
1825
- contextMap: (value) => ({ contextMap: se_ContextMap(value) }),
1826
- _: (name, value) => ({ [name]: value }),
1827
- });
1828
- };
1829
- const se_ContextMap = (input, context) => {
1830
- return Object.entries(input).reduce((acc, [key, value]) => {
1831
- if (value === null) {
1832
- return acc;
1833
- }
1834
- acc[key] = se_AttributeValue(value);
1835
- return acc;
1836
- }, {});
1837
- };
1838
- const se_CreateIdentitySourceInput = (input, context) => {
1839
- return smithyClient.take(input, {
1840
- clientToken: [true, (_) => _ ?? uuid.v4()],
1841
- configuration: smithyClient._json,
1842
- policyStoreId: [],
1843
- principalEntityType: [],
1844
- });
1845
- };
1846
- const se_CreatePolicyInput = (input, context) => {
1847
- return smithyClient.take(input, {
1848
- clientToken: [true, (_) => _ ?? uuid.v4()],
1849
- definition: smithyClient._json,
1850
- policyStoreId: [],
1851
- });
1852
- };
1853
- const se_CreatePolicyStoreInput = (input, context) => {
1854
- return smithyClient.take(input, {
1855
- clientToken: [true, (_) => _ ?? uuid.v4()],
1856
- deletionProtection: [],
1857
- description: [],
1858
- tags: smithyClient._json,
1859
- validationSettings: smithyClient._json,
1860
- });
1861
- };
1862
- const se_CreatePolicyTemplateInput = (input, context) => {
1863
- return smithyClient.take(input, {
1864
- clientToken: [true, (_) => _ ?? uuid.v4()],
1865
- description: [],
1866
- policyStoreId: [],
1867
- statement: [],
1868
- });
1869
- };
1870
- const se_EntitiesDefinition = (input, context) => {
1871
- return exports.EntitiesDefinition.visit(input, {
1872
- cedarJson: (value) => ({ cedarJson: value }),
1873
- entityList: (value) => ({ entityList: se_EntityList(value) }),
1874
- _: (name, value) => ({ [name]: value }),
1875
- });
1876
- };
1877
- const se_EntityAttributes = (input, context) => {
1878
- return Object.entries(input).reduce((acc, [key, value]) => {
1879
- if (value === null) {
1880
- return acc;
1881
- }
1882
- acc[key] = se_AttributeValue(value);
1883
- return acc;
1884
- }, {});
1885
- };
1886
- const se_EntityItem = (input, context) => {
1887
- return smithyClient.take(input, {
1888
- attributes: (_) => se_EntityAttributes(_),
1889
- identifier: smithyClient._json,
1890
- parents: smithyClient._json,
1891
- });
1892
- };
1893
- const se_EntityList = (input, context) => {
1894
- return input
1895
- .filter((e) => e != null)
1896
- .map((entry) => {
1897
- return se_EntityItem(entry);
1898
- });
1899
- };
1900
- const se_IsAuthorizedInput = (input, context) => {
1901
- return smithyClient.take(input, {
1902
- action: smithyClient._json,
1903
- context: (_) => se_ContextDefinition(_),
1904
- entities: (_) => se_EntitiesDefinition(_),
1905
- policyStoreId: [],
1906
- principal: smithyClient._json,
1907
- resource: smithyClient._json,
1908
- });
1909
- };
1910
- const se_IsAuthorizedWithTokenInput = (input, context) => {
1911
- return smithyClient.take(input, {
1912
- accessToken: [],
1913
- action: smithyClient._json,
1914
- context: (_) => se_ContextDefinition(_),
1915
- entities: (_) => se_EntitiesDefinition(_),
1916
- identityToken: [],
1917
- policyStoreId: [],
1918
- resource: smithyClient._json,
1919
- });
1920
- };
1921
- const se_RecordAttribute = (input, context) => {
1922
- return Object.entries(input).reduce((acc, [key, value]) => {
1923
- if (value === null) {
1924
- return acc;
1925
- }
1926
- acc[key] = se_AttributeValue(value);
1927
- return acc;
1928
- }, {});
1929
- };
1930
- const se_SetAttribute = (input, context) => {
1931
- return input
1932
- .filter((e) => e != null)
1933
- .map((entry) => {
1934
- return se_AttributeValue(entry);
1935
- });
1936
- };
1937
- const de_AttributeValue = (output, context) => {
1938
- if (smithyClient.expectBoolean(output.boolean) !== undefined) {
1939
- return { boolean: smithyClient.expectBoolean(output.boolean) };
1940
- }
1941
- if (smithyClient.expectString(output.datetime) !== undefined) {
1942
- return { datetime: smithyClient.expectString(output.datetime) };
1943
- }
1944
- if (smithyClient.expectString(output.decimal) !== undefined) {
1945
- return { decimal: smithyClient.expectString(output.decimal) };
1946
- }
1947
- if (smithyClient.expectString(output.duration) !== undefined) {
1948
- return { duration: smithyClient.expectString(output.duration) };
1949
- }
1950
- if (output.entityIdentifier != null) {
1951
- return {
1952
- entityIdentifier: smithyClient._json(output.entityIdentifier),
1953
- };
1954
- }
1955
- if (smithyClient.expectString(output.ipaddr) !== undefined) {
1956
- return { ipaddr: smithyClient.expectString(output.ipaddr) };
1957
- }
1958
- if (smithyClient.expectLong(output.long) !== undefined) {
1959
- return { long: smithyClient.expectLong(output.long) };
1960
- }
1961
- if (output.record != null) {
1962
- return {
1963
- record: de_RecordAttribute(output.record),
1964
- };
1965
- }
1966
- if (output.set != null) {
1967
- return {
1968
- set: de_SetAttribute(output.set),
1969
- };
1970
- }
1971
- if (smithyClient.expectString(output.string) !== undefined) {
1972
- return { string: smithyClient.expectString(output.string) };
1973
- }
1974
- return { $unknown: Object.entries(output)[0] };
1975
- };
1976
- const de_BatchGetPolicyOutput = (output, context) => {
1977
- return smithyClient.take(output, {
1978
- errors: smithyClient._json,
1979
- results: (_) => de_BatchGetPolicyOutputList(_),
1980
- });
1981
- };
1982
- const de_BatchGetPolicyOutputItem = (output, context) => {
1983
- return smithyClient.take(output, {
1984
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1985
- definition: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1986
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1987
- policyId: smithyClient.expectString,
1988
- policyStoreId: smithyClient.expectString,
1989
- policyType: smithyClient.expectString,
1990
- });
1991
- };
1992
- const de_BatchGetPolicyOutputList = (output, context) => {
1993
- const retVal = (output || [])
1994
- .filter((e) => e != null)
1995
- .map((entry) => {
1996
- return de_BatchGetPolicyOutputItem(entry);
1997
- });
1998
- return retVal;
1999
- };
2000
- const de_BatchIsAuthorizedInputItem = (output, context) => {
2001
- return smithyClient.take(output, {
2002
- action: smithyClient._json,
2003
- context: (_) => de_ContextDefinition(core$1.awsExpectUnion(_)),
2004
- principal: smithyClient._json,
2005
- resource: smithyClient._json,
2006
- });
2007
- };
2008
- const de_BatchIsAuthorizedOutput = (output, context) => {
2009
- return smithyClient.take(output, {
2010
- results: (_) => de_BatchIsAuthorizedOutputList(_),
2011
- });
2012
- };
2013
- const de_BatchIsAuthorizedOutputItem = (output, context) => {
2014
- return smithyClient.take(output, {
2015
- decision: smithyClient.expectString,
2016
- determiningPolicies: smithyClient._json,
2017
- errors: smithyClient._json,
2018
- request: (_) => de_BatchIsAuthorizedInputItem(_),
2019
- });
2020
- };
2021
- const de_BatchIsAuthorizedOutputList = (output, context) => {
2022
- const retVal = (output || [])
2023
- .filter((e) => e != null)
2024
- .map((entry) => {
2025
- return de_BatchIsAuthorizedOutputItem(entry);
2026
- });
2027
- return retVal;
2028
- };
2029
- const de_BatchIsAuthorizedWithTokenInputItem = (output, context) => {
2030
- return smithyClient.take(output, {
2031
- action: smithyClient._json,
2032
- context: (_) => de_ContextDefinition(core$1.awsExpectUnion(_)),
2033
- resource: smithyClient._json,
2034
- });
2035
- };
2036
- const de_BatchIsAuthorizedWithTokenOutput = (output, context) => {
2037
- return smithyClient.take(output, {
2038
- principal: smithyClient._json,
2039
- results: (_) => de_BatchIsAuthorizedWithTokenOutputList(_),
2040
- });
2041
- };
2042
- const de_BatchIsAuthorizedWithTokenOutputItem = (output, context) => {
2043
- return smithyClient.take(output, {
2044
- decision: smithyClient.expectString,
2045
- determiningPolicies: smithyClient._json,
2046
- errors: smithyClient._json,
2047
- request: (_) => de_BatchIsAuthorizedWithTokenInputItem(_),
2048
- });
2049
- };
2050
- const de_BatchIsAuthorizedWithTokenOutputList = (output, context) => {
2051
- const retVal = (output || [])
2052
- .filter((e) => e != null)
2053
- .map((entry) => {
2054
- return de_BatchIsAuthorizedWithTokenOutputItem(entry);
2055
- });
2056
- return retVal;
2057
- };
2058
- const de_ContextDefinition = (output, context) => {
2059
- if (smithyClient.expectString(output.cedarJson) !== undefined) {
2060
- return { cedarJson: smithyClient.expectString(output.cedarJson) };
2061
- }
2062
- if (output.contextMap != null) {
2063
- return {
2064
- contextMap: de_ContextMap(output.contextMap),
2065
- };
2066
- }
2067
- return { $unknown: Object.entries(output)[0] };
2068
- };
2069
- const de_ContextMap = (output, context) => {
2070
- return Object.entries(output).reduce((acc, [key, value]) => {
2071
- if (value === null) {
2072
- return acc;
2073
- }
2074
- acc[key] = de_AttributeValue(core$1.awsExpectUnion(value));
2075
- return acc;
2076
- }, {});
2077
- };
2078
- const de_CreateIdentitySourceOutput = (output, context) => {
2079
- return smithyClient.take(output, {
2080
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2081
- identitySourceId: smithyClient.expectString,
2082
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2083
- policyStoreId: smithyClient.expectString,
2084
- });
2085
- };
2086
- const de_CreatePolicyOutput = (output, context) => {
2087
- return smithyClient.take(output, {
2088
- actions: smithyClient._json,
2089
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2090
- effect: smithyClient.expectString,
2091
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2092
- policyId: smithyClient.expectString,
2093
- policyStoreId: smithyClient.expectString,
2094
- policyType: smithyClient.expectString,
2095
- principal: smithyClient._json,
2096
- resource: smithyClient._json,
2097
- });
2098
- };
2099
- const de_CreatePolicyStoreOutput = (output, context) => {
2100
- return smithyClient.take(output, {
2101
- arn: smithyClient.expectString,
2102
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2103
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2104
- policyStoreId: smithyClient.expectString,
2105
- });
2106
- };
2107
- const de_CreatePolicyTemplateOutput = (output, context) => {
2108
- return smithyClient.take(output, {
2109
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2110
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2111
- policyStoreId: smithyClient.expectString,
2112
- policyTemplateId: smithyClient.expectString,
2113
- });
2114
- };
2115
- const de_GetIdentitySourceOutput = (output, context) => {
2116
- return smithyClient.take(output, {
2117
- configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
2118
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2119
- details: smithyClient._json,
2120
- identitySourceId: smithyClient.expectString,
2121
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2122
- policyStoreId: smithyClient.expectString,
2123
- principalEntityType: smithyClient.expectString,
2124
- });
2125
- };
2126
- const de_GetPolicyOutput = (output, context) => {
2127
- return smithyClient.take(output, {
2128
- actions: smithyClient._json,
2129
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2130
- definition: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
2131
- effect: smithyClient.expectString,
2132
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2133
- policyId: smithyClient.expectString,
2134
- policyStoreId: smithyClient.expectString,
2135
- policyType: smithyClient.expectString,
2136
- principal: smithyClient._json,
2137
- resource: smithyClient._json,
2138
- });
2139
- };
2140
- const de_GetPolicyStoreOutput = (output, context) => {
2141
- return smithyClient.take(output, {
2142
- arn: smithyClient.expectString,
2143
- cedarVersion: smithyClient.expectString,
2144
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2145
- deletionProtection: smithyClient.expectString,
2146
- description: smithyClient.expectString,
2147
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2148
- policyStoreId: smithyClient.expectString,
2149
- tags: smithyClient._json,
2150
- validationSettings: smithyClient._json,
2151
- });
2152
- };
2153
- const de_GetPolicyTemplateOutput = (output, context) => {
2154
- return smithyClient.take(output, {
2155
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2156
- description: smithyClient.expectString,
2157
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2158
- policyStoreId: smithyClient.expectString,
2159
- policyTemplateId: smithyClient.expectString,
2160
- statement: smithyClient.expectString,
2161
- });
2162
- };
2163
- const de_GetSchemaOutput = (output, context) => {
2164
- return smithyClient.take(output, {
2165
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2166
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2167
- namespaces: smithyClient._json,
2168
- policyStoreId: smithyClient.expectString,
2169
- schema: smithyClient.expectString,
2170
- });
2171
- };
2172
- const de_IdentitySourceItem = (output, context) => {
2173
- return smithyClient.take(output, {
2174
- configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
2175
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2176
- details: smithyClient._json,
2177
- identitySourceId: smithyClient.expectString,
2178
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2179
- policyStoreId: smithyClient.expectString,
2180
- principalEntityType: smithyClient.expectString,
2181
- });
2182
- };
2183
- const de_IdentitySources = (output, context) => {
2184
- const retVal = (output || [])
2185
- .filter((e) => e != null)
2186
- .map((entry) => {
2187
- return de_IdentitySourceItem(entry);
2188
- });
2189
- return retVal;
2190
- };
2191
- const de_ListIdentitySourcesOutput = (output, context) => {
2192
- return smithyClient.take(output, {
2193
- identitySources: (_) => de_IdentitySources(_),
2194
- nextToken: smithyClient.expectString,
2195
- });
2196
- };
2197
- const de_ListPoliciesOutput = (output, context) => {
2198
- return smithyClient.take(output, {
2199
- nextToken: smithyClient.expectString,
2200
- policies: (_) => de_PolicyList(_),
2201
- });
2202
- };
2203
- const de_ListPolicyStoresOutput = (output, context) => {
2204
- return smithyClient.take(output, {
2205
- nextToken: smithyClient.expectString,
2206
- policyStores: (_) => de_PolicyStoreList(_),
2207
- });
2208
- };
2209
- const de_ListPolicyTemplatesOutput = (output, context) => {
2210
- return smithyClient.take(output, {
2211
- nextToken: smithyClient.expectString,
2212
- policyTemplates: (_) => de_PolicyTemplatesList(_),
2213
- });
2214
- };
2215
- const de_PolicyItem = (output, context) => {
2216
- return smithyClient.take(output, {
2217
- actions: smithyClient._json,
2218
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2219
- definition: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
2220
- effect: smithyClient.expectString,
2221
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2222
- policyId: smithyClient.expectString,
2223
- policyStoreId: smithyClient.expectString,
2224
- policyType: smithyClient.expectString,
2225
- principal: smithyClient._json,
2226
- resource: smithyClient._json,
2227
- });
2228
- };
2229
- const de_PolicyList = (output, context) => {
2230
- const retVal = (output || [])
2231
- .filter((e) => e != null)
2232
- .map((entry) => {
2233
- return de_PolicyItem(entry);
2234
- });
2235
- return retVal;
2236
- };
2237
- const de_PolicyStoreItem = (output, context) => {
2238
- return smithyClient.take(output, {
2239
- arn: smithyClient.expectString,
2240
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2241
- description: smithyClient.expectString,
2242
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2243
- policyStoreId: smithyClient.expectString,
2244
- });
2245
- };
2246
- const de_PolicyStoreList = (output, context) => {
2247
- const retVal = (output || [])
2248
- .filter((e) => e != null)
2249
- .map((entry) => {
2250
- return de_PolicyStoreItem(entry);
2251
- });
2252
- return retVal;
2253
- };
2254
- const de_PolicyTemplateItem = (output, context) => {
2255
- return smithyClient.take(output, {
2256
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2257
- description: smithyClient.expectString,
2258
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2259
- policyStoreId: smithyClient.expectString,
2260
- policyTemplateId: smithyClient.expectString,
2261
- });
2262
- };
2263
- const de_PolicyTemplatesList = (output, context) => {
2264
- const retVal = (output || [])
2265
- .filter((e) => e != null)
2266
- .map((entry) => {
2267
- return de_PolicyTemplateItem(entry);
2268
- });
2269
- return retVal;
2270
- };
2271
- const de_PutSchemaOutput = (output, context) => {
2272
- return smithyClient.take(output, {
2273
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2274
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2275
- namespaces: smithyClient._json,
2276
- policyStoreId: smithyClient.expectString,
2277
- });
2278
- };
2279
- const de_RecordAttribute = (output, context) => {
2280
- return Object.entries(output).reduce((acc, [key, value]) => {
2281
- if (value === null) {
2282
- return acc;
2283
- }
2284
- acc[key] = de_AttributeValue(core$1.awsExpectUnion(value));
2285
- return acc;
2286
- }, {});
2287
- };
2288
- const de_SetAttribute = (output, context) => {
2289
- const retVal = (output || [])
2290
- .filter((e) => e != null)
2291
- .map((entry) => {
2292
- return de_AttributeValue(core$1.awsExpectUnion(entry));
2293
- });
2294
- return retVal;
2295
- };
2296
- const de_UpdateIdentitySourceOutput = (output, context) => {
2297
- return smithyClient.take(output, {
2298
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2299
- identitySourceId: smithyClient.expectString,
2300
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2301
- policyStoreId: smithyClient.expectString,
2302
- });
2303
- };
2304
- const de_UpdatePolicyOutput = (output, context) => {
2305
- return smithyClient.take(output, {
2306
- actions: smithyClient._json,
2307
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2308
- effect: smithyClient.expectString,
2309
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2310
- policyId: smithyClient.expectString,
2311
- policyStoreId: smithyClient.expectString,
2312
- policyType: smithyClient.expectString,
2313
- principal: smithyClient._json,
2314
- resource: smithyClient._json,
2315
- });
2316
- };
2317
- const de_UpdatePolicyStoreOutput = (output, context) => {
2318
- return smithyClient.take(output, {
2319
- arn: smithyClient.expectString,
2320
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2321
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2322
- policyStoreId: smithyClient.expectString,
2323
- });
2324
- };
2325
- const de_UpdatePolicyTemplateOutput = (output, context) => {
2326
- return smithyClient.take(output, {
2327
- createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2328
- lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
2329
- policyStoreId: smithyClient.expectString,
2330
- policyTemplateId: smithyClient.expectString,
2331
- });
2332
- };
2333
- const deserializeMetadata = (output) => ({
2334
- httpStatusCode: output.statusCode,
2335
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2336
- extendedRequestId: output.headers["x-amz-id-2"],
2337
- cfId: output.headers["x-amz-cf-id"],
2338
- });
2339
- const throwDefaultError = smithyClient.withBaseException(VerifiedPermissionsServiceException);
2340
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
2341
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2342
- const contents = {
2343
- protocol,
2344
- hostname,
2345
- port,
2346
- method: "POST",
2347
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2348
- headers,
2349
- };
2350
- if (body !== undefined) {
2351
- contents.body = body;
2352
- }
2353
- return new protocolHttp.HttpRequest(contents);
2354
- };
2355
- function sharedHeaders(operation) {
2356
- return {
2357
- "content-type": "application/x-amz-json-1.0",
2358
- "x-amz-target": `VerifiedPermissions.${operation}`,
2359
- };
2360
- }
501
+ const _ADE = "AccessDeniedException";
502
+ const _AI = "ActionId";
503
+ const _AIL = "ActionIdentifierList";
504
+ const _AIc = "ActionIdentifier";
505
+ const _AT = "ActionType";
506
+ const _AV = "AttributeValue";
507
+ const _BA = "BooleanAttribute";
508
+ const _BGP = "BatchGetPolicy";
509
+ const _BGPEI = "BatchGetPolicyErrorItem";
510
+ const _BGPEL = "BatchGetPolicyErrorList";
511
+ const _BGPI = "BatchGetPolicyInput";
512
+ const _BGPII = "BatchGetPolicyInputItem";
513
+ const _BGPIL = "BatchGetPolicyInputList";
514
+ const _BGPO = "BatchGetPolicyOutput";
515
+ const _BGPOI = "BatchGetPolicyOutputItem";
516
+ const _BGPOL = "BatchGetPolicyOutputList";
517
+ const _BIA = "BatchIsAuthorized";
518
+ const _BIAI = "BatchIsAuthorizedInput";
519
+ const _BIAII = "BatchIsAuthorizedInputItem";
520
+ const _BIAIL = "BatchIsAuthorizedInputList";
521
+ const _BIAO = "BatchIsAuthorizedOutput";
522
+ const _BIAOI = "BatchIsAuthorizedOutputItem";
523
+ const _BIAOL = "BatchIsAuthorizedOutputList";
524
+ const _BIAWT = "BatchIsAuthorizedWithToken";
525
+ const _BIAWTI = "BatchIsAuthorizedWithTokenInput";
526
+ const _BIAWTII = "BatchIsAuthorizedWithTokenInputItem";
527
+ const _BIAWTIL = "BatchIsAuthorizedWithTokenInputList";
528
+ const _BIAWTO = "BatchIsAuthorizedWithTokenOutput";
529
+ const _BIAWTOI = "BatchIsAuthorizedWithTokenOutputItem";
530
+ const _BIAWTOL = "BatchIsAuthorizedWithTokenOutputList";
531
+ const _C = "Claim";
532
+ const _CD = "ConfigurationDetail";
533
+ const _CDo = "ContextDefinition";
534
+ const _CE = "ConflictException";
535
+ const _CGC = "CognitoGroupConfiguration";
536
+ const _CGCD = "CognitoGroupConfigurationDetail";
537
+ const _CGCI = "CognitoGroupConfigurationItem";
538
+ const _CI = "ClientId";
539
+ const _CIS = "CreateIdentitySource";
540
+ const _CISI = "CreateIdentitySourceInput";
541
+ const _CISO = "CreateIdentitySourceOutput";
542
+ const _CIl = "ClientIds";
543
+ const _CIo = "ConfigurationItem";
544
+ const _CJ = "CedarJson";
545
+ const _CM = "ContextMap";
546
+ const _CP = "CreatePolicy";
547
+ const _CPI = "CreatePolicyInput";
548
+ const _CPO = "CreatePolicyOutput";
549
+ const _CPS = "CreatePolicyStore";
550
+ const _CPSI = "CreatePolicyStoreInput";
551
+ const _CPSO = "CreatePolicyStoreOutput";
552
+ const _CPT = "CreatePolicyTemplate";
553
+ const _CPTI = "CreatePolicyTemplateInput";
554
+ const _CPTO = "CreatePolicyTemplateOutput";
555
+ const _CTRA = "CedarTagRecordAttribute";
556
+ const _CTSA = "CedarTagSetAttribute";
557
+ const _CTV = "CedarTagValue";
558
+ const _CUPC = "CognitoUserPoolConfiguration";
559
+ const _CUPCD = "CognitoUserPoolConfigurationDetail";
560
+ const _CUPCI = "CognitoUserPoolConfigurationItem";
561
+ const _Co = "Configuration";
562
+ const _D = "Decimal";
563
+ const _DA = "DatetimeAttribute";
564
+ const _DIS = "DeleteIdentitySource";
565
+ const _DISI = "DeleteIdentitySourceInput";
566
+ const _DISO = "DeleteIdentitySourceOutput";
567
+ const _DP = "DeletePolicy";
568
+ const _DPI = "DeletePolicyInput";
569
+ const _DPIe = "DeterminingPolicyItem";
570
+ const _DPL = "DeterminingPolicyList";
571
+ const _DPO = "DeletePolicyOutput";
572
+ const _DPS = "DeletePolicyStore";
573
+ const _DPSI = "DeletePolicyStoreInput";
574
+ const _DPSO = "DeletePolicyStoreOutput";
575
+ const _DPT = "DeletePolicyTemplate";
576
+ const _DPTI = "DeletePolicyTemplateInput";
577
+ const _DPTO = "DeletePolicyTemplateOutput";
578
+ const _Du = "Duration";
579
+ const _EA = "EntityAttributes";
580
+ const _ECT = "EntityCedarTags";
581
+ const _ED = "EntitiesDefinition";
582
+ const _EEI = "EvaluationErrorItem";
583
+ const _EEL = "EvaluationErrorList";
584
+ const _EI = "EntityId";
585
+ const _EIP = "EntityIdPrefix";
586
+ const _EIn = "EntityIdentifier";
587
+ const _EInt = "EntityItem";
588
+ const _EL = "EntityList";
589
+ const _ER = "EntityReference";
590
+ const _ET = "EntityType";
591
+ const _GET = "GroupEntityType";
592
+ const _GIS = "GetIdentitySource";
593
+ const _GISI = "GetIdentitySourceInput";
594
+ const _GISO = "GetIdentitySourceOutput";
595
+ const _GP = "GetPolicy";
596
+ const _GPI = "GetPolicyInput";
597
+ const _GPO = "GetPolicyOutput";
598
+ const _GPS = "GetPolicyStore";
599
+ const _GPSI = "GetPolicyStoreInput";
600
+ const _GPSO = "GetPolicyStoreOutput";
601
+ const _GPT = "GetPolicyTemplate";
602
+ const _GPTI = "GetPolicyTemplateInput";
603
+ const _GPTO = "GetPolicyTemplateOutput";
604
+ const _GS = "GetSchema";
605
+ const _GSI = "GetSchemaInput";
606
+ const _GSO = "GetSchemaOutput";
607
+ const _IA = "IpAddr";
608
+ const _IAI = "IsAuthorizedInput";
609
+ const _IAO = "IsAuthorizedOutput";
610
+ const _IAWT = "IsAuthorizedWithToken";
611
+ const _IAWTI = "IsAuthorizedWithTokenInput";
612
+ const _IAWTO = "IsAuthorizedWithTokenOutput";
613
+ const _IAs = "IsAuthorized";
614
+ const _IS = "IdentitySources";
615
+ const _ISD = "IdentitySourceDetails";
616
+ const _ISE = "InternalServerException";
617
+ const _ISEn = "InvalidStateException";
618
+ const _ISF = "IdentitySourceFilter";
619
+ const _ISFd = "IdentitySourceFilters";
620
+ const _ISI = "IdentitySourceItem";
621
+ const _ISID = "IdentitySourceItemDetails";
622
+ const _LA = "LongAttribute";
623
+ const _LIS = "ListIdentitySources";
624
+ const _LISI = "ListIdentitySourcesInput";
625
+ const _LISO = "ListIdentitySourcesOutput";
626
+ const _LP = "ListPolicies";
627
+ const _LPI = "ListPoliciesInput";
628
+ const _LPO = "ListPoliciesOutput";
629
+ const _LPS = "ListPolicyStores";
630
+ const _LPSI = "ListPolicyStoresInput";
631
+ const _LPSO = "ListPolicyStoresOutput";
632
+ const _LPT = "ListPolicyTemplates";
633
+ const _LPTI = "ListPolicyTemplatesInput";
634
+ const _LPTO = "ListPolicyTemplatesOutput";
635
+ const _LTFR = "ListTagsForResource";
636
+ const _LTFRI = "ListTagsForResourceInput";
637
+ const _LTFRO = "ListTagsForResourceOutput";
638
+ const _N = "Namespace";
639
+ const _NL = "NamespaceList";
640
+ const _OICATC = "OpenIdConnectAccessTokenConfiguration";
641
+ const _OICATCD = "OpenIdConnectAccessTokenConfigurationDetail";
642
+ const _OICATCI = "OpenIdConnectAccessTokenConfigurationItem";
643
+ const _OICC = "OpenIdConnectConfiguration";
644
+ const _OICCD = "OpenIdConnectConfigurationDetail";
645
+ const _OICCI = "OpenIdConnectConfigurationItem";
646
+ const _OICGC = "OpenIdConnectGroupConfiguration";
647
+ const _OICGCD = "OpenIdConnectGroupConfigurationDetail";
648
+ const _OICGCI = "OpenIdConnectGroupConfigurationItem";
649
+ const _OICITC = "OpenIdConnectIdentityTokenConfiguration";
650
+ const _OICITCD = "OpenIdConnectIdentityTokenConfigurationDetail";
651
+ const _OICITCI = "OpenIdConnectIdentityTokenConfigurationItem";
652
+ const _OICTS = "OpenIdConnectTokenSelection";
653
+ const _OICTSD = "OpenIdConnectTokenSelectionDetail";
654
+ const _OICTSI = "OpenIdConnectTokenSelectionItem";
655
+ const _PD = "PolicyDefinition";
656
+ const _PDD = "PolicyDefinitionDetail";
657
+ const _PDI = "PolicyDefinitionItem";
658
+ const _PET = "PrincipalEntityType";
659
+ const _PF = "PolicyFilter";
660
+ const _PI = "PolicyItem";
661
+ const _PL = "ParentList";
662
+ const _PLo = "PolicyList";
663
+ const _PS = "PolicyStatement";
664
+ const _PSD = "PolicyStoreDescription";
665
+ const _PSI = "PolicyStoreItem";
666
+ const _PSIu = "PutSchemaInput";
667
+ const _PSL = "PolicyStoreList";
668
+ const _PSO = "PutSchemaOutput";
669
+ const _PSu = "PutSchema";
670
+ const _PTD = "PolicyTemplateDescription";
671
+ const _PTI = "PolicyTemplateItem";
672
+ const _PTL = "PolicyTemplatesList";
673
+ const _RA = "RecordAttribute";
674
+ const _RC = "ResourceConflict";
675
+ const _RCL = "ResourceConflictList";
676
+ const _RNFE = "ResourceNotFoundException";
677
+ const _SA = "StringAttribute";
678
+ const _SAe = "SetAttribute";
679
+ const _SD = "SchemaDefinition";
680
+ const _SJ = "SchemaJson";
681
+ const _SPD = "StaticPolicyDescription";
682
+ const _SPDD = "StaticPolicyDefinitionDetail";
683
+ const _SPDI = "StaticPolicyDefinitionItem";
684
+ const _SPDt = "StaticPolicyDefinition";
685
+ const _SQEE = "ServiceQuotaExceededException";
686
+ const _T = "Token";
687
+ const _TE = "ThrottlingException";
688
+ const _TLPD = "TemplateLinkedPolicyDefinition";
689
+ const _TLPDD = "TemplateLinkedPolicyDefinitionDetail";
690
+ const _TLPDI = "TemplateLinkedPolicyDefinitionItem";
691
+ const _TMTE = "TooManyTagsException";
692
+ const _TR = "TagResource";
693
+ const _TRI = "TagResourceInput";
694
+ const _TRO = "TagResourceOutput";
695
+ const _UC = "UpdateConfiguration";
696
+ const _UCGC = "UpdateCognitoGroupConfiguration";
697
+ const _UCUPC = "UpdateCognitoUserPoolConfiguration";
698
+ const _UIS = "UpdateIdentitySource";
699
+ const _UISI = "UpdateIdentitySourceInput";
700
+ const _UISO = "UpdateIdentitySourceOutput";
701
+ const _UOICATC = "UpdateOpenIdConnectAccessTokenConfiguration";
702
+ const _UOICC = "UpdateOpenIdConnectConfiguration";
703
+ const _UOICGC = "UpdateOpenIdConnectGroupConfiguration";
704
+ const _UOICITC = "UpdateOpenIdConnectIdentityTokenConfiguration";
705
+ const _UOICTS = "UpdateOpenIdConnectTokenSelection";
706
+ const _UP = "UpdatePolicy";
707
+ const _UPD = "UpdatePolicyDefinition";
708
+ const _UPI = "UpdatePolicyInput";
709
+ const _UPO = "UpdatePolicyOutput";
710
+ const _UPS = "UpdatePolicyStore";
711
+ const _UPSI = "UpdatePolicyStoreInput";
712
+ const _UPSO = "UpdatePolicyStoreOutput";
713
+ const _UPT = "UpdatePolicyTemplate";
714
+ const _UPTI = "UpdatePolicyTemplateInput";
715
+ const _UPTO = "UpdatePolicyTemplateOutput";
716
+ const _UR = "UntagResource";
717
+ const _URI = "UntagResourceInput";
718
+ const _URO = "UntagResourceOutput";
719
+ const _USPD = "UpdateStaticPolicyDefinition";
720
+ const _VE = "ValidationException";
721
+ const _VEF = "ValidationExceptionField";
722
+ const _VEFL = "ValidationExceptionFieldList";
723
+ const _VS = "ValidationSettings";
724
+ const _a = "action";
725
+ const _aI = "actionId";
726
+ const _aT = "actionType";
727
+ const _aTO = "accessTokenOnly";
728
+ const _aTc = "accessToken";
729
+ const _ac = "actions";
730
+ const _ar = "arn";
731
+ const _at = "attributes";
732
+ const _au = "audiences";
733
+ const _b = "boolean";
734
+ const _c = "client";
735
+ const _cD = "createdDate";
736
+ const _cI = "clientIds";
737
+ const _cJ = "cedarJson";
738
+ const _cM = "contextMap";
739
+ const _cT = "clientToken";
740
+ const _cUPC = "cognitoUserPoolConfiguration";
741
+ const _cV = "cedarVersion";
742
+ const _co = "code";
743
+ const _con = "context";
744
+ const _conf = "configuration";
745
+ const _d = "definition";
746
+ const _dP = "determiningPolicies";
747
+ const _dPe = "deletionProtection";
748
+ const _dU = "discoveryUrl";
749
+ const _da = "datetime";
750
+ const _de = "decision";
751
+ const _dec = "decimal";
752
+ const _des = "description";
753
+ const _det = "details";
754
+ const _du = "duration";
755
+ const _e = "error";
756
+ const _eD = "errorDescription";
757
+ const _eI = "entityId";
758
+ const _eIP = "entityIdPrefix";
759
+ const _eIn = "entityIdentifier";
760
+ const _eL = "entityList";
761
+ const _eT = "entityType";
762
+ const _ef = "effect";
763
+ const _en = "entities";
764
+ const _er = "errors";
765
+ const _f = "filters";
766
+ const _fL = "fieldList";
767
+ const _fi = "filter";
768
+ const _gC = "groupConfiguration";
769
+ const _gCr = "groupClaim";
770
+ const _gET = "groupEntityType";
771
+ const _hE = "httpError";
772
+ const _i = "issuer";
773
+ const _iS = "identitySources";
774
+ const _iSI = "identitySourceId";
775
+ const _iT = "identityToken";
776
+ const _iTO = "identityTokenOnly";
777
+ const _id = "identifier";
778
+ const _ip = "ipaddr";
779
+ const _l = "long";
780
+ const _lUD = "lastUpdatedDate";
781
+ const _m = "message";
782
+ const _mR = "maxResults";
783
+ const _mo = "mode";
784
+ const _n = "namespaces";
785
+ const _nT = "nextToken";
786
+ const _oICC = "openIdConnectConfiguration";
787
+ const _oII = "openIdIssuer";
788
+ const _p = "principal";
789
+ const _pET = "principalEntityType";
790
+ const _pI = "policyId";
791
+ const _pIC = "principalIdClaim";
792
+ const _pS = "policyStores";
793
+ const _pSI = "policyStoreId";
794
+ const _pT = "policyType";
795
+ const _pTI = "policyTemplateId";
796
+ const _pTo = "policyTemplates";
797
+ const _pa = "parents";
798
+ const _pat = "path";
799
+ const _po = "policies";
800
+ const _qC = "quotaCode";
801
+ const _r = "requests";
802
+ const _rA = "resourceArn";
803
+ const _rI = "resourceId";
804
+ const _rN = "resourceName";
805
+ const _rT = "resourceType";
806
+ const _re = "results";
807
+ const _rec = "record";
808
+ const _req = "request";
809
+ const _res = "resource";
810
+ const _reso = "resources";
811
+ const _s = "statement";
812
+ const _sC = "serviceCode";
813
+ const _sc = "schema";
814
+ const _se = "server";
815
+ const _set = "set";
816
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.verifiedpermissions";
817
+ const _st = "string";
818
+ const _sta = "static";
819
+ const _t = "tags";
820
+ const _tK = "tagKeys";
821
+ const _tL = "templateLinked";
822
+ const _tS = "tokenSelection";
823
+ const _u = "unspecified";
824
+ const _uC = "updateConfiguration";
825
+ const _uPA = "userPoolArn";
826
+ const _vS = "validationSettings";
827
+ const n0 = "com.amazonaws.verifiedpermissions";
828
+ var ActionId = [0, n0, _AI, 8, 0];
829
+ var ActionType = [0, n0, _AT, 8, 0];
830
+ var BooleanAttribute = [0, n0, _BA, 8, 2];
831
+ var CedarJson = [0, n0, _CJ, 8, 0];
832
+ var Claim = [0, n0, _C, 8, 0];
833
+ var ClientId = [0, n0, _CI, 8, 0];
834
+ var DatetimeAttribute = [0, n0, _DA, 8, 0];
835
+ var Decimal = [0, n0, _D, 8, 0];
836
+ var Duration = [0, n0, _Du, 8, 0];
837
+ var EntityId = [0, n0, _EI, 8, 0];
838
+ var EntityIdPrefix = [0, n0, _EIP, 8, 0];
839
+ var EntityType = [0, n0, _ET, 8, 0];
840
+ var GroupEntityType = [0, n0, _GET, 8, 0];
841
+ var IpAddr = [0, n0, _IA, 8, 0];
842
+ var LongAttribute = [0, n0, _LA, 8, 1];
843
+ var Namespace = [0, n0, _N, 8, 0];
844
+ var PolicyStatement = [0, n0, _PS, 8, 0];
845
+ var PolicyStoreDescription = [0, n0, _PSD, 8, 0];
846
+ var PolicyTemplateDescription = [0, n0, _PTD, 8, 0];
847
+ var PrincipalEntityType = [0, n0, _PET, 8, 0];
848
+ var SchemaJson = [0, n0, _SJ, 8, 0];
849
+ var StaticPolicyDescription = [0, n0, _SPD, 8, 0];
850
+ var StringAttribute = [0, n0, _SA, 8, 0];
851
+ var Token = [0, n0, _T, 8, 0];
852
+ var AccessDeniedException = [
853
+ -3,
854
+ n0,
855
+ _ADE,
856
+ {
857
+ [_e]: _c,
858
+ [_hE]: 403,
859
+ },
860
+ [_m],
861
+ [0],
862
+ ];
863
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
864
+ var ActionIdentifier = [
865
+ 3,
866
+ n0,
867
+ _AIc,
868
+ 0,
869
+ [_aT, _aI],
870
+ [
871
+ [() => ActionType, 0],
872
+ [() => ActionId, 0],
873
+ ],
874
+ ];
875
+ var BatchGetPolicyErrorItem = [3, n0, _BGPEI, 0, [_co, _pSI, _pI, _m], [0, 0, 0, 0]];
876
+ var BatchGetPolicyInput = [3, n0, _BGPI, 0, [_r], [() => BatchGetPolicyInputList]];
877
+ var BatchGetPolicyInputItem = [3, n0, _BGPII, 0, [_pSI, _pI], [0, 0]];
878
+ var BatchGetPolicyOutput = [
879
+ 3,
880
+ n0,
881
+ _BGPO,
882
+ 0,
883
+ [_re, _er],
884
+ [[() => BatchGetPolicyOutputList, 0], () => BatchGetPolicyErrorList],
885
+ ];
886
+ var BatchGetPolicyOutputItem = [
887
+ 3,
888
+ n0,
889
+ _BGPOI,
890
+ 0,
891
+ [_pSI, _pI, _pT, _d, _cD, _lUD],
892
+ [0, 0, 0, [() => PolicyDefinitionDetail, 0], 5, 5],
893
+ ];
894
+ var BatchIsAuthorizedInput = [
895
+ 3,
896
+ n0,
897
+ _BIAI,
898
+ 0,
899
+ [_pSI, _en, _r],
900
+ [0, [() => EntitiesDefinition, 0], [() => BatchIsAuthorizedInputList, 0]],
901
+ ];
902
+ var BatchIsAuthorizedInputItem = [
903
+ 3,
904
+ n0,
905
+ _BIAII,
906
+ 0,
907
+ [_p, _a, _res, _con],
908
+ [
909
+ [() => EntityIdentifier, 0],
910
+ [() => ActionIdentifier, 0],
911
+ [() => EntityIdentifier, 0],
912
+ [() => ContextDefinition, 0],
913
+ ],
914
+ ];
915
+ var BatchIsAuthorizedOutput = [
916
+ 3,
917
+ n0,
918
+ _BIAO,
919
+ 0,
920
+ [_re],
921
+ [[() => BatchIsAuthorizedOutputList, 0]],
922
+ ];
923
+ var BatchIsAuthorizedOutputItem = [
924
+ 3,
925
+ n0,
926
+ _BIAOI,
927
+ 0,
928
+ [_req, _de, _dP, _er],
929
+ [[() => BatchIsAuthorizedInputItem, 0], 0, () => DeterminingPolicyList, [() => EvaluationErrorList, 0]],
930
+ ];
931
+ var BatchIsAuthorizedWithTokenInput = [
932
+ 3,
933
+ n0,
934
+ _BIAWTI,
935
+ 0,
936
+ [_pSI, _iT, _aTc, _en, _r],
937
+ [
938
+ 0,
939
+ [() => Token, 0],
940
+ [() => Token, 0],
941
+ [() => EntitiesDefinition, 0],
942
+ [() => BatchIsAuthorizedWithTokenInputList, 0],
943
+ ],
944
+ ];
945
+ var BatchIsAuthorizedWithTokenInputItem = [
946
+ 3,
947
+ n0,
948
+ _BIAWTII,
949
+ 0,
950
+ [_a, _res, _con],
951
+ [
952
+ [() => ActionIdentifier, 0],
953
+ [() => EntityIdentifier, 0],
954
+ [() => ContextDefinition, 0],
955
+ ],
956
+ ];
957
+ var BatchIsAuthorizedWithTokenOutput = [
958
+ 3,
959
+ n0,
960
+ _BIAWTO,
961
+ 0,
962
+ [_p, _re],
963
+ [
964
+ [() => EntityIdentifier, 0],
965
+ [() => BatchIsAuthorizedWithTokenOutputList, 0],
966
+ ],
967
+ ];
968
+ var BatchIsAuthorizedWithTokenOutputItem = [
969
+ 3,
970
+ n0,
971
+ _BIAWTOI,
972
+ 0,
973
+ [_req, _de, _dP, _er],
974
+ [[() => BatchIsAuthorizedWithTokenInputItem, 0], 0, () => DeterminingPolicyList, [() => EvaluationErrorList, 0]],
975
+ ];
976
+ var CognitoGroupConfiguration = [3, n0, _CGC, 0, [_gET], [[() => GroupEntityType, 0]]];
977
+ var CognitoGroupConfigurationDetail = [
978
+ 3,
979
+ n0,
980
+ _CGCD,
981
+ 0,
982
+ [_gET],
983
+ [[() => GroupEntityType, 0]],
984
+ ];
985
+ var CognitoGroupConfigurationItem = [
986
+ 3,
987
+ n0,
988
+ _CGCI,
989
+ 0,
990
+ [_gET],
991
+ [[() => GroupEntityType, 0]],
992
+ ];
993
+ var CognitoUserPoolConfiguration = [
994
+ 3,
995
+ n0,
996
+ _CUPC,
997
+ 0,
998
+ [_uPA, _cI, _gC],
999
+ [0, [() => ClientIds, 0], [() => CognitoGroupConfiguration, 0]],
1000
+ ];
1001
+ var CognitoUserPoolConfigurationDetail = [
1002
+ 3,
1003
+ n0,
1004
+ _CUPCD,
1005
+ 0,
1006
+ [_uPA, _cI, _i, _gC],
1007
+ [0, [() => ClientIds, 0], 0, [() => CognitoGroupConfigurationDetail, 0]],
1008
+ ];
1009
+ var CognitoUserPoolConfigurationItem = [
1010
+ 3,
1011
+ n0,
1012
+ _CUPCI,
1013
+ 0,
1014
+ [_uPA, _cI, _i, _gC],
1015
+ [0, [() => ClientIds, 0], 0, [() => CognitoGroupConfigurationItem, 0]],
1016
+ ];
1017
+ var ConflictException = [
1018
+ -3,
1019
+ n0,
1020
+ _CE,
1021
+ {
1022
+ [_e]: _c,
1023
+ [_hE]: 409,
1024
+ },
1025
+ [_m, _reso],
1026
+ [0, () => ResourceConflictList],
1027
+ ];
1028
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
1029
+ var CreateIdentitySourceInput = [
1030
+ 3,
1031
+ n0,
1032
+ _CISI,
1033
+ 0,
1034
+ [_cT, _pSI, _conf, _pET],
1035
+ [[0, 4], 0, [() => Configuration, 0], [() => PrincipalEntityType, 0]],
1036
+ ];
1037
+ var CreateIdentitySourceOutput = [3, n0, _CISO, 0, [_cD, _iSI, _lUD, _pSI], [5, 0, 5, 0]];
1038
+ var CreatePolicyInput = [
1039
+ 3,
1040
+ n0,
1041
+ _CPI,
1042
+ 0,
1043
+ [_cT, _pSI, _d],
1044
+ [[0, 4], 0, [() => PolicyDefinition, 0]],
1045
+ ];
1046
+ var CreatePolicyOutput = [
1047
+ 3,
1048
+ n0,
1049
+ _CPO,
1050
+ 0,
1051
+ [_pSI, _pI, _pT, _p, _res, _ac, _cD, _lUD, _ef],
1052
+ [0, 0, 0, [() => EntityIdentifier, 0], [() => EntityIdentifier, 0], [() => ActionIdentifierList, 0], 5, 5, 0],
1053
+ ];
1054
+ var CreatePolicyStoreInput = [
1055
+ 3,
1056
+ n0,
1057
+ _CPSI,
1058
+ 0,
1059
+ [_cT, _vS, _des, _dPe, _t],
1060
+ [[0, 4], () => ValidationSettings, [() => PolicyStoreDescription, 0], 0, 128 | 0],
1061
+ ];
1062
+ var CreatePolicyStoreOutput = [3, n0, _CPSO, 0, [_pSI, _ar, _cD, _lUD], [0, 0, 5, 5]];
1063
+ var CreatePolicyTemplateInput = [
1064
+ 3,
1065
+ n0,
1066
+ _CPTI,
1067
+ 0,
1068
+ [_cT, _pSI, _des, _s],
1069
+ [[0, 4], 0, [() => PolicyTemplateDescription, 0], [() => PolicyStatement, 0]],
1070
+ ];
1071
+ var CreatePolicyTemplateOutput = [3, n0, _CPTO, 0, [_pSI, _pTI, _cD, _lUD], [0, 0, 5, 5]];
1072
+ var DeleteIdentitySourceInput = [3, n0, _DISI, 0, [_pSI, _iSI], [0, 0]];
1073
+ var DeleteIdentitySourceOutput = [3, n0, _DISO, 0, [], []];
1074
+ var DeletePolicyInput = [3, n0, _DPI, 0, [_pSI, _pI], [0, 0]];
1075
+ var DeletePolicyOutput = [3, n0, _DPO, 0, [], []];
1076
+ var DeletePolicyStoreInput = [3, n0, _DPSI, 0, [_pSI], [0]];
1077
+ var DeletePolicyStoreOutput = [3, n0, _DPSO, 0, [], []];
1078
+ var DeletePolicyTemplateInput = [3, n0, _DPTI, 0, [_pSI, _pTI], [0, 0]];
1079
+ var DeletePolicyTemplateOutput = [3, n0, _DPTO, 0, [], []];
1080
+ var DeterminingPolicyItem = [3, n0, _DPIe, 0, [_pI], [0]];
1081
+ var EntityIdentifier = [
1082
+ 3,
1083
+ n0,
1084
+ _EIn,
1085
+ 0,
1086
+ [_eT, _eI],
1087
+ [
1088
+ [() => EntityType, 0],
1089
+ [() => EntityId, 0],
1090
+ ],
1091
+ ];
1092
+ var EntityItem = [
1093
+ 3,
1094
+ n0,
1095
+ _EInt,
1096
+ 0,
1097
+ [_id, _at, _pa, _t],
1098
+ [
1099
+ [() => EntityIdentifier, 0],
1100
+ [() => EntityAttributes, 0],
1101
+ [() => ParentList, 0],
1102
+ [() => EntityCedarTags, 0],
1103
+ ],
1104
+ ];
1105
+ var EvaluationErrorItem = [3, n0, _EEI, 8, [_eD], [0]];
1106
+ var GetIdentitySourceInput = [3, n0, _GISI, 0, [_pSI, _iSI], [0, 0]];
1107
+ var GetIdentitySourceOutput = [
1108
+ 3,
1109
+ n0,
1110
+ _GISO,
1111
+ 0,
1112
+ [_cD, _det, _iSI, _lUD, _pSI, _pET, _conf],
1113
+ [5, [() => IdentitySourceDetails, 0], 0, 5, 0, [() => PrincipalEntityType, 0], [() => ConfigurationDetail, 0]],
1114
+ ];
1115
+ var GetPolicyInput = [3, n0, _GPI, 0, [_pSI, _pI], [0, 0]];
1116
+ var GetPolicyOutput = [
1117
+ 3,
1118
+ n0,
1119
+ _GPO,
1120
+ 0,
1121
+ [_pSI, _pI, _pT, _p, _res, _ac, _d, _cD, _lUD, _ef],
1122
+ [
1123
+ 0,
1124
+ 0,
1125
+ 0,
1126
+ [() => EntityIdentifier, 0],
1127
+ [() => EntityIdentifier, 0],
1128
+ [() => ActionIdentifierList, 0],
1129
+ [() => PolicyDefinitionDetail, 0],
1130
+ 5,
1131
+ 5,
1132
+ 0,
1133
+ ],
1134
+ ];
1135
+ var GetPolicyStoreInput = [3, n0, _GPSI, 0, [_pSI, _t], [0, 2]];
1136
+ var GetPolicyStoreOutput = [
1137
+ 3,
1138
+ n0,
1139
+ _GPSO,
1140
+ 0,
1141
+ [_pSI, _ar, _vS, _cD, _lUD, _des, _dPe, _cV, _t],
1142
+ [0, 0, () => ValidationSettings, 5, 5, [() => PolicyStoreDescription, 0], 0, 0, 128 | 0],
1143
+ ];
1144
+ var GetPolicyTemplateInput = [3, n0, _GPTI, 0, [_pSI, _pTI], [0, 0]];
1145
+ var GetPolicyTemplateOutput = [
1146
+ 3,
1147
+ n0,
1148
+ _GPTO,
1149
+ 0,
1150
+ [_pSI, _pTI, _des, _s, _cD, _lUD],
1151
+ [0, 0, [() => PolicyTemplateDescription, 0], [() => PolicyStatement, 0], 5, 5],
1152
+ ];
1153
+ var GetSchemaInput = [3, n0, _GSI, 0, [_pSI], [0]];
1154
+ var GetSchemaOutput = [
1155
+ 3,
1156
+ n0,
1157
+ _GSO,
1158
+ 0,
1159
+ [_pSI, _sc, _cD, _lUD, _n],
1160
+ [0, [() => SchemaJson, 0], 5, 5, [() => NamespaceList, 0]],
1161
+ ];
1162
+ var IdentitySourceDetails = [
1163
+ 3,
1164
+ n0,
1165
+ _ISD,
1166
+ 0,
1167
+ [_cI, _uPA, _dU, _oII],
1168
+ [[() => ClientIds, 0], 0, 0, 0],
1169
+ ];
1170
+ var IdentitySourceFilter = [3, n0, _ISF, 0, [_pET], [[() => PrincipalEntityType, 0]]];
1171
+ var IdentitySourceItem = [
1172
+ 3,
1173
+ n0,
1174
+ _ISI,
1175
+ 0,
1176
+ [_cD, _det, _iSI, _lUD, _pSI, _pET, _conf],
1177
+ [5, [() => IdentitySourceItemDetails, 0], 0, 5, 0, [() => PrincipalEntityType, 0], [() => ConfigurationItem, 0]],
1178
+ ];
1179
+ var IdentitySourceItemDetails = [
1180
+ 3,
1181
+ n0,
1182
+ _ISID,
1183
+ 0,
1184
+ [_cI, _uPA, _dU, _oII],
1185
+ [[() => ClientIds, 0], 0, 0, 0],
1186
+ ];
1187
+ var InternalServerException = [
1188
+ -3,
1189
+ n0,
1190
+ _ISE,
1191
+ {
1192
+ [_e]: _se,
1193
+ [_hE]: 500,
1194
+ },
1195
+ [_m],
1196
+ [0],
1197
+ ];
1198
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1199
+ var InvalidStateException = [
1200
+ -3,
1201
+ n0,
1202
+ _ISEn,
1203
+ {
1204
+ [_e]: _c,
1205
+ [_hE]: 406,
1206
+ },
1207
+ [_m],
1208
+ [0],
1209
+ ];
1210
+ schema.TypeRegistry.for(n0).registerError(InvalidStateException, InvalidStateException$1);
1211
+ var IsAuthorizedInput = [
1212
+ 3,
1213
+ n0,
1214
+ _IAI,
1215
+ 0,
1216
+ [_pSI, _p, _a, _res, _con, _en],
1217
+ [
1218
+ 0,
1219
+ [() => EntityIdentifier, 0],
1220
+ [() => ActionIdentifier, 0],
1221
+ [() => EntityIdentifier, 0],
1222
+ [() => ContextDefinition, 0],
1223
+ [() => EntitiesDefinition, 0],
1224
+ ],
1225
+ ];
1226
+ var IsAuthorizedOutput = [
1227
+ 3,
1228
+ n0,
1229
+ _IAO,
1230
+ 0,
1231
+ [_de, _dP, _er],
1232
+ [0, () => DeterminingPolicyList, [() => EvaluationErrorList, 0]],
1233
+ ];
1234
+ var IsAuthorizedWithTokenInput = [
1235
+ 3,
1236
+ n0,
1237
+ _IAWTI,
1238
+ 0,
1239
+ [_pSI, _iT, _aTc, _a, _res, _con, _en],
1240
+ [
1241
+ 0,
1242
+ [() => Token, 0],
1243
+ [() => Token, 0],
1244
+ [() => ActionIdentifier, 0],
1245
+ [() => EntityIdentifier, 0],
1246
+ [() => ContextDefinition, 0],
1247
+ [() => EntitiesDefinition, 0],
1248
+ ],
1249
+ ];
1250
+ var IsAuthorizedWithTokenOutput = [
1251
+ 3,
1252
+ n0,
1253
+ _IAWTO,
1254
+ 0,
1255
+ [_de, _dP, _er, _p],
1256
+ [0, () => DeterminingPolicyList, [() => EvaluationErrorList, 0], [() => EntityIdentifier, 0]],
1257
+ ];
1258
+ var ListIdentitySourcesInput = [
1259
+ 3,
1260
+ n0,
1261
+ _LISI,
1262
+ 0,
1263
+ [_pSI, _nT, _mR, _f],
1264
+ [0, 0, 1, [() => IdentitySourceFilters, 0]],
1265
+ ];
1266
+ var ListIdentitySourcesOutput = [
1267
+ 3,
1268
+ n0,
1269
+ _LISO,
1270
+ 0,
1271
+ [_nT, _iS],
1272
+ [0, [() => IdentitySources, 0]],
1273
+ ];
1274
+ var ListPoliciesInput = [
1275
+ 3,
1276
+ n0,
1277
+ _LPI,
1278
+ 0,
1279
+ [_pSI, _nT, _mR, _fi],
1280
+ [0, 0, 1, [() => PolicyFilter, 0]],
1281
+ ];
1282
+ var ListPoliciesOutput = [3, n0, _LPO, 0, [_nT, _po], [0, [() => PolicyList, 0]]];
1283
+ var ListPolicyStoresInput = [3, n0, _LPSI, 0, [_nT, _mR], [0, 1]];
1284
+ var ListPolicyStoresOutput = [
1285
+ 3,
1286
+ n0,
1287
+ _LPSO,
1288
+ 0,
1289
+ [_nT, _pS],
1290
+ [0, [() => PolicyStoreList, 0]],
1291
+ ];
1292
+ var ListPolicyTemplatesInput = [3, n0, _LPTI, 0, [_pSI, _nT, _mR], [0, 0, 1]];
1293
+ var ListPolicyTemplatesOutput = [
1294
+ 3,
1295
+ n0,
1296
+ _LPTO,
1297
+ 0,
1298
+ [_nT, _pTo],
1299
+ [0, [() => PolicyTemplatesList, 0]],
1300
+ ];
1301
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [0]];
1302
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
1303
+ var OpenIdConnectAccessTokenConfiguration = [
1304
+ 3,
1305
+ n0,
1306
+ _OICATC,
1307
+ 0,
1308
+ [_pIC, _au],
1309
+ [[() => Claim, 0], 64 | 0],
1310
+ ];
1311
+ var OpenIdConnectAccessTokenConfigurationDetail = [
1312
+ 3,
1313
+ n0,
1314
+ _OICATCD,
1315
+ 0,
1316
+ [_pIC, _au],
1317
+ [[() => Claim, 0], 64 | 0],
1318
+ ];
1319
+ var OpenIdConnectAccessTokenConfigurationItem = [
1320
+ 3,
1321
+ n0,
1322
+ _OICATCI,
1323
+ 0,
1324
+ [_pIC, _au],
1325
+ [[() => Claim, 0], 64 | 0],
1326
+ ];
1327
+ var OpenIdConnectConfiguration = [
1328
+ 3,
1329
+ n0,
1330
+ _OICC,
1331
+ 0,
1332
+ [_i, _eIP, _gC, _tS],
1333
+ [0, [() => EntityIdPrefix, 0], [() => OpenIdConnectGroupConfiguration, 0], [() => OpenIdConnectTokenSelection, 0]],
1334
+ ];
1335
+ var OpenIdConnectConfigurationDetail = [
1336
+ 3,
1337
+ n0,
1338
+ _OICCD,
1339
+ 0,
1340
+ [_i, _eIP, _gC, _tS],
1341
+ [
1342
+ 0,
1343
+ [() => EntityIdPrefix, 0],
1344
+ [() => OpenIdConnectGroupConfigurationDetail, 0],
1345
+ [() => OpenIdConnectTokenSelectionDetail, 0],
1346
+ ],
1347
+ ];
1348
+ var OpenIdConnectConfigurationItem = [
1349
+ 3,
1350
+ n0,
1351
+ _OICCI,
1352
+ 0,
1353
+ [_i, _eIP, _gC, _tS],
1354
+ [
1355
+ 0,
1356
+ [() => EntityIdPrefix, 0],
1357
+ [() => OpenIdConnectGroupConfigurationItem, 0],
1358
+ [() => OpenIdConnectTokenSelectionItem, 0],
1359
+ ],
1360
+ ];
1361
+ var OpenIdConnectGroupConfiguration = [
1362
+ 3,
1363
+ n0,
1364
+ _OICGC,
1365
+ 0,
1366
+ [_gCr, _gET],
1367
+ [
1368
+ [() => Claim, 0],
1369
+ [() => GroupEntityType, 0],
1370
+ ],
1371
+ ];
1372
+ var OpenIdConnectGroupConfigurationDetail = [
1373
+ 3,
1374
+ n0,
1375
+ _OICGCD,
1376
+ 0,
1377
+ [_gCr, _gET],
1378
+ [
1379
+ [() => Claim, 0],
1380
+ [() => GroupEntityType, 0],
1381
+ ],
1382
+ ];
1383
+ var OpenIdConnectGroupConfigurationItem = [
1384
+ 3,
1385
+ n0,
1386
+ _OICGCI,
1387
+ 0,
1388
+ [_gCr, _gET],
1389
+ [
1390
+ [() => Claim, 0],
1391
+ [() => GroupEntityType, 0],
1392
+ ],
1393
+ ];
1394
+ var OpenIdConnectIdentityTokenConfiguration = [
1395
+ 3,
1396
+ n0,
1397
+ _OICITC,
1398
+ 0,
1399
+ [_pIC, _cI],
1400
+ [
1401
+ [() => Claim, 0],
1402
+ [() => ClientIds, 0],
1403
+ ],
1404
+ ];
1405
+ var OpenIdConnectIdentityTokenConfigurationDetail = [
1406
+ 3,
1407
+ n0,
1408
+ _OICITCD,
1409
+ 0,
1410
+ [_pIC, _cI],
1411
+ [
1412
+ [() => Claim, 0],
1413
+ [() => ClientIds, 0],
1414
+ ],
1415
+ ];
1416
+ var OpenIdConnectIdentityTokenConfigurationItem = [
1417
+ 3,
1418
+ n0,
1419
+ _OICITCI,
1420
+ 0,
1421
+ [_pIC, _cI],
1422
+ [
1423
+ [() => Claim, 0],
1424
+ [() => ClientIds, 0],
1425
+ ],
1426
+ ];
1427
+ var PolicyFilter = [
1428
+ 3,
1429
+ n0,
1430
+ _PF,
1431
+ 0,
1432
+ [_p, _res, _pT, _pTI],
1433
+ [[() => EntityReference, 0], [() => EntityReference, 0], 0, 0],
1434
+ ];
1435
+ var PolicyItem = [
1436
+ 3,
1437
+ n0,
1438
+ _PI,
1439
+ 0,
1440
+ [_pSI, _pI, _pT, _p, _res, _ac, _d, _cD, _lUD, _ef],
1441
+ [
1442
+ 0,
1443
+ 0,
1444
+ 0,
1445
+ [() => EntityIdentifier, 0],
1446
+ [() => EntityIdentifier, 0],
1447
+ [() => ActionIdentifierList, 0],
1448
+ [() => PolicyDefinitionItem, 0],
1449
+ 5,
1450
+ 5,
1451
+ 0,
1452
+ ],
1453
+ ];
1454
+ var PolicyStoreItem = [
1455
+ 3,
1456
+ n0,
1457
+ _PSI,
1458
+ 0,
1459
+ [_pSI, _ar, _cD, _lUD, _des],
1460
+ [0, 0, 5, 5, [() => PolicyStoreDescription, 0]],
1461
+ ];
1462
+ var PolicyTemplateItem = [
1463
+ 3,
1464
+ n0,
1465
+ _PTI,
1466
+ 0,
1467
+ [_pSI, _pTI, _des, _cD, _lUD],
1468
+ [0, 0, [() => PolicyTemplateDescription, 0], 5, 5],
1469
+ ];
1470
+ var PutSchemaInput = [3, n0, _PSIu, 0, [_pSI, _d], [0, [() => SchemaDefinition, 0]]];
1471
+ var PutSchemaOutput = [
1472
+ 3,
1473
+ n0,
1474
+ _PSO,
1475
+ 0,
1476
+ [_pSI, _n, _cD, _lUD],
1477
+ [0, [() => NamespaceList, 0], 5, 5],
1478
+ ];
1479
+ var ResourceConflict = [3, n0, _RC, 0, [_rI, _rT], [0, 0]];
1480
+ var ResourceNotFoundException = [
1481
+ -3,
1482
+ n0,
1483
+ _RNFE,
1484
+ {
1485
+ [_e]: _c,
1486
+ [_hE]: 404,
1487
+ },
1488
+ [_m, _rI, _rT],
1489
+ [0, 0, 0],
1490
+ ];
1491
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1492
+ var ServiceQuotaExceededException = [
1493
+ -3,
1494
+ n0,
1495
+ _SQEE,
1496
+ {
1497
+ [_e]: _c,
1498
+ [_hE]: 402,
1499
+ },
1500
+ [_m, _rI, _rT, _sC, _qC],
1501
+ [0, 0, 0, 0, 0],
1502
+ ];
1503
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1504
+ var StaticPolicyDefinition = [
1505
+ 3,
1506
+ n0,
1507
+ _SPDt,
1508
+ 0,
1509
+ [_des, _s],
1510
+ [
1511
+ [() => StaticPolicyDescription, 0],
1512
+ [() => PolicyStatement, 0],
1513
+ ],
1514
+ ];
1515
+ var StaticPolicyDefinitionDetail = [
1516
+ 3,
1517
+ n0,
1518
+ _SPDD,
1519
+ 0,
1520
+ [_des, _s],
1521
+ [
1522
+ [() => StaticPolicyDescription, 0],
1523
+ [() => PolicyStatement, 0],
1524
+ ],
1525
+ ];
1526
+ var StaticPolicyDefinitionItem = [
1527
+ 3,
1528
+ n0,
1529
+ _SPDI,
1530
+ 0,
1531
+ [_des],
1532
+ [[() => StaticPolicyDescription, 0]],
1533
+ ];
1534
+ var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [0, 128 | 0]];
1535
+ var TagResourceOutput = [3, n0, _TRO, 0, [], []];
1536
+ var TemplateLinkedPolicyDefinition = [
1537
+ 3,
1538
+ n0,
1539
+ _TLPD,
1540
+ 0,
1541
+ [_pTI, _p, _res],
1542
+ [0, [() => EntityIdentifier, 0], [() => EntityIdentifier, 0]],
1543
+ ];
1544
+ var TemplateLinkedPolicyDefinitionDetail = [
1545
+ 3,
1546
+ n0,
1547
+ _TLPDD,
1548
+ 0,
1549
+ [_pTI, _p, _res],
1550
+ [0, [() => EntityIdentifier, 0], [() => EntityIdentifier, 0]],
1551
+ ];
1552
+ var TemplateLinkedPolicyDefinitionItem = [
1553
+ 3,
1554
+ n0,
1555
+ _TLPDI,
1556
+ 0,
1557
+ [_pTI, _p, _res],
1558
+ [0, [() => EntityIdentifier, 0], [() => EntityIdentifier, 0]],
1559
+ ];
1560
+ var ThrottlingException = [
1561
+ -3,
1562
+ n0,
1563
+ _TE,
1564
+ {
1565
+ [_e]: _c,
1566
+ [_hE]: 429,
1567
+ },
1568
+ [_m, _sC, _qC],
1569
+ [0, 0, 0],
1570
+ ];
1571
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1572
+ var TooManyTagsException = [
1573
+ -3,
1574
+ n0,
1575
+ _TMTE,
1576
+ {
1577
+ [_e]: _c,
1578
+ [_hE]: 400,
1579
+ },
1580
+ [_m, _rN],
1581
+ [0, 0],
1582
+ ];
1583
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
1584
+ var UntagResourceInput = [3, n0, _URI, 0, [_rA, _tK], [0, 64 | 0]];
1585
+ var UntagResourceOutput = [3, n0, _URO, 0, [], []];
1586
+ var UpdateCognitoGroupConfiguration = [
1587
+ 3,
1588
+ n0,
1589
+ _UCGC,
1590
+ 0,
1591
+ [_gET],
1592
+ [[() => GroupEntityType, 0]],
1593
+ ];
1594
+ var UpdateCognitoUserPoolConfiguration = [
1595
+ 3,
1596
+ n0,
1597
+ _UCUPC,
1598
+ 0,
1599
+ [_uPA, _cI, _gC],
1600
+ [0, [() => ClientIds, 0], [() => UpdateCognitoGroupConfiguration, 0]],
1601
+ ];
1602
+ var UpdateIdentitySourceInput = [
1603
+ 3,
1604
+ n0,
1605
+ _UISI,
1606
+ 0,
1607
+ [_pSI, _iSI, _uC, _pET],
1608
+ [0, 0, [() => UpdateConfiguration, 0], [() => PrincipalEntityType, 0]],
1609
+ ];
1610
+ var UpdateIdentitySourceOutput = [3, n0, _UISO, 0, [_cD, _iSI, _lUD, _pSI], [5, 0, 5, 0]];
1611
+ var UpdateOpenIdConnectAccessTokenConfiguration = [
1612
+ 3,
1613
+ n0,
1614
+ _UOICATC,
1615
+ 0,
1616
+ [_pIC, _au],
1617
+ [[() => Claim, 0], 64 | 0],
1618
+ ];
1619
+ var UpdateOpenIdConnectConfiguration = [
1620
+ 3,
1621
+ n0,
1622
+ _UOICC,
1623
+ 0,
1624
+ [_i, _eIP, _gC, _tS],
1625
+ [
1626
+ 0,
1627
+ [() => EntityIdPrefix, 0],
1628
+ [() => UpdateOpenIdConnectGroupConfiguration, 0],
1629
+ [() => UpdateOpenIdConnectTokenSelection, 0],
1630
+ ],
1631
+ ];
1632
+ var UpdateOpenIdConnectGroupConfiguration = [
1633
+ 3,
1634
+ n0,
1635
+ _UOICGC,
1636
+ 0,
1637
+ [_gCr, _gET],
1638
+ [
1639
+ [() => Claim, 0],
1640
+ [() => GroupEntityType, 0],
1641
+ ],
1642
+ ];
1643
+ var UpdateOpenIdConnectIdentityTokenConfiguration = [
1644
+ 3,
1645
+ n0,
1646
+ _UOICITC,
1647
+ 0,
1648
+ [_pIC, _cI],
1649
+ [
1650
+ [() => Claim, 0],
1651
+ [() => ClientIds, 0],
1652
+ ],
1653
+ ];
1654
+ var UpdatePolicyInput = [
1655
+ 3,
1656
+ n0,
1657
+ _UPI,
1658
+ 0,
1659
+ [_pSI, _pI, _d],
1660
+ [0, 0, [() => UpdatePolicyDefinition, 0]],
1661
+ ];
1662
+ var UpdatePolicyOutput = [
1663
+ 3,
1664
+ n0,
1665
+ _UPO,
1666
+ 0,
1667
+ [_pSI, _pI, _pT, _p, _res, _ac, _cD, _lUD, _ef],
1668
+ [0, 0, 0, [() => EntityIdentifier, 0], [() => EntityIdentifier, 0], [() => ActionIdentifierList, 0], 5, 5, 0],
1669
+ ];
1670
+ var UpdatePolicyStoreInput = [
1671
+ 3,
1672
+ n0,
1673
+ _UPSI,
1674
+ 0,
1675
+ [_pSI, _vS, _dPe, _des],
1676
+ [0, () => ValidationSettings, 0, [() => PolicyStoreDescription, 0]],
1677
+ ];
1678
+ var UpdatePolicyStoreOutput = [3, n0, _UPSO, 0, [_pSI, _ar, _cD, _lUD], [0, 0, 5, 5]];
1679
+ var UpdatePolicyTemplateInput = [
1680
+ 3,
1681
+ n0,
1682
+ _UPTI,
1683
+ 0,
1684
+ [_pSI, _pTI, _des, _s],
1685
+ [0, 0, [() => PolicyTemplateDescription, 0], [() => PolicyStatement, 0]],
1686
+ ];
1687
+ var UpdatePolicyTemplateOutput = [3, n0, _UPTO, 0, [_pSI, _pTI, _cD, _lUD], [0, 0, 5, 5]];
1688
+ var UpdateStaticPolicyDefinition = [
1689
+ 3,
1690
+ n0,
1691
+ _USPD,
1692
+ 0,
1693
+ [_des, _s],
1694
+ [
1695
+ [() => StaticPolicyDescription, 0],
1696
+ [() => PolicyStatement, 0],
1697
+ ],
1698
+ ];
1699
+ var ValidationException = [
1700
+ -3,
1701
+ n0,
1702
+ _VE,
1703
+ {
1704
+ [_e]: _c,
1705
+ },
1706
+ [_m, _fL],
1707
+ [0, () => ValidationExceptionFieldList],
1708
+ ];
1709
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1710
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_pat, _m], [0, 0]];
1711
+ var ValidationSettings = [3, n0, _VS, 0, [_mo], [0]];
1712
+ var VerifiedPermissionsServiceException = [
1713
+ -3,
1714
+ _sm,
1715
+ "VerifiedPermissionsServiceException",
1716
+ 0,
1717
+ [],
1718
+ [],
1719
+ ];
1720
+ schema.TypeRegistry.for(_sm).registerError(VerifiedPermissionsServiceException, VerifiedPermissionsServiceException$1);
1721
+ var ActionIdentifierList = [1, n0, _AIL, 0, [() => ActionIdentifier, 0]];
1722
+ var BatchGetPolicyErrorList = [1, n0, _BGPEL, 0, () => BatchGetPolicyErrorItem];
1723
+ var BatchGetPolicyInputList = [1, n0, _BGPIL, 0, () => BatchGetPolicyInputItem];
1724
+ var BatchGetPolicyOutputList = [1, n0, _BGPOL, 0, [() => BatchGetPolicyOutputItem, 0]];
1725
+ var BatchIsAuthorizedInputList = [1, n0, _BIAIL, 0, [() => BatchIsAuthorizedInputItem, 0]];
1726
+ var BatchIsAuthorizedOutputList = [1, n0, _BIAOL, 0, [() => BatchIsAuthorizedOutputItem, 0]];
1727
+ var BatchIsAuthorizedWithTokenInputList = [
1728
+ 1,
1729
+ n0,
1730
+ _BIAWTIL,
1731
+ 0,
1732
+ [() => BatchIsAuthorizedWithTokenInputItem, 0],
1733
+ ];
1734
+ var BatchIsAuthorizedWithTokenOutputList = [
1735
+ 1,
1736
+ n0,
1737
+ _BIAWTOL,
1738
+ 0,
1739
+ [() => BatchIsAuthorizedWithTokenOutputItem, 0],
1740
+ ];
1741
+ var CedarTagSetAttribute = [1, n0, _CTSA, 0, [() => CedarTagValue, 0]];
1742
+ var ClientIds = [1, n0, _CIl, 0, [() => ClientId, 0]];
1743
+ var DeterminingPolicyList = [1, n0, _DPL, 0, () => DeterminingPolicyItem];
1744
+ var EntityList = [1, n0, _EL, 0, [() => EntityItem, 0]];
1745
+ var EvaluationErrorList = [1, n0, _EEL, 0, [() => EvaluationErrorItem, 0]];
1746
+ var IdentitySourceFilters = [1, n0, _ISFd, 0, [() => IdentitySourceFilter, 0]];
1747
+ var IdentitySources = [1, n0, _IS, 0, [() => IdentitySourceItem, 0]];
1748
+ var NamespaceList = [1, n0, _NL, 0, [() => Namespace, 0]];
1749
+ var ParentList = [1, n0, _PL, 0, [() => EntityIdentifier, 0]];
1750
+ var PolicyList = [1, n0, _PLo, 0, [() => PolicyItem, 0]];
1751
+ var PolicyStoreList = [1, n0, _PSL, 0, [() => PolicyStoreItem, 0]];
1752
+ var PolicyTemplatesList = [1, n0, _PTL, 0, [() => PolicyTemplateItem, 0]];
1753
+ var ResourceConflictList = [1, n0, _RCL, 0, () => ResourceConflict];
1754
+ var SetAttribute = [1, n0, _SAe, 0, [() => AttributeValue, 0]];
1755
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1756
+ var CedarTagRecordAttribute = [2, n0, _CTRA, 0, [0, 0], [() => CedarTagValue, 0]];
1757
+ var ContextMap = [2, n0, _CM, 8, [0, 0], [() => AttributeValue, 0]];
1758
+ var EntityAttributes = [2, n0, _EA, 0, [0, 0], [() => AttributeValue, 0]];
1759
+ var EntityCedarTags = [2, n0, _ECT, 0, [0, 0], [() => CedarTagValue, 0]];
1760
+ var RecordAttribute = [2, n0, _RA, 0, [0, 0], [() => AttributeValue, 0]];
1761
+ var AttributeValue = [
1762
+ 3,
1763
+ n0,
1764
+ _AV,
1765
+ 0,
1766
+ [_b, _eIn, _l, _st, _set, _rec, _ip, _dec, _da, _du],
1767
+ [
1768
+ [() => BooleanAttribute, 0],
1769
+ [() => EntityIdentifier, 0],
1770
+ [() => LongAttribute, 0],
1771
+ [() => StringAttribute, 0],
1772
+ [() => SetAttribute, 0],
1773
+ [() => RecordAttribute, 0],
1774
+ [() => IpAddr, 0],
1775
+ [() => Decimal, 0],
1776
+ [() => DatetimeAttribute, 0],
1777
+ [() => Duration, 0],
1778
+ ],
1779
+ ];
1780
+ var CedarTagValue = [
1781
+ 3,
1782
+ n0,
1783
+ _CTV,
1784
+ 0,
1785
+ [_b, _eIn, _l, _st, _set, _rec, _ip, _dec, _da, _du],
1786
+ [
1787
+ [() => BooleanAttribute, 0],
1788
+ [() => EntityIdentifier, 0],
1789
+ [() => LongAttribute, 0],
1790
+ [() => StringAttribute, 0],
1791
+ [() => CedarTagSetAttribute, 0],
1792
+ [() => CedarTagRecordAttribute, 0],
1793
+ [() => IpAddr, 0],
1794
+ [() => Decimal, 0],
1795
+ [() => DatetimeAttribute, 0],
1796
+ [() => Duration, 0],
1797
+ ],
1798
+ ];
1799
+ var Configuration = [
1800
+ 3,
1801
+ n0,
1802
+ _Co,
1803
+ 0,
1804
+ [_cUPC, _oICC],
1805
+ [
1806
+ [() => CognitoUserPoolConfiguration, 0],
1807
+ [() => OpenIdConnectConfiguration, 0],
1808
+ ],
1809
+ ];
1810
+ var ConfigurationDetail = [
1811
+ 3,
1812
+ n0,
1813
+ _CD,
1814
+ 0,
1815
+ [_cUPC, _oICC],
1816
+ [
1817
+ [() => CognitoUserPoolConfigurationDetail, 0],
1818
+ [() => OpenIdConnectConfigurationDetail, 0],
1819
+ ],
1820
+ ];
1821
+ var ConfigurationItem = [
1822
+ 3,
1823
+ n0,
1824
+ _CIo,
1825
+ 0,
1826
+ [_cUPC, _oICC],
1827
+ [
1828
+ [() => CognitoUserPoolConfigurationItem, 0],
1829
+ [() => OpenIdConnectConfigurationItem, 0],
1830
+ ],
1831
+ ];
1832
+ var ContextDefinition = [
1833
+ 3,
1834
+ n0,
1835
+ _CDo,
1836
+ 0,
1837
+ [_cM, _cJ],
1838
+ [
1839
+ [() => ContextMap, 0],
1840
+ [() => CedarJson, 0],
1841
+ ],
1842
+ ];
1843
+ var EntitiesDefinition = [
1844
+ 3,
1845
+ n0,
1846
+ _ED,
1847
+ 0,
1848
+ [_eL, _cJ],
1849
+ [
1850
+ [() => EntityList, 0],
1851
+ [() => CedarJson, 0],
1852
+ ],
1853
+ ];
1854
+ var EntityReference = [3, n0, _ER, 0, [_u, _id], [2, [() => EntityIdentifier, 0]]];
1855
+ var OpenIdConnectTokenSelection = [
1856
+ 3,
1857
+ n0,
1858
+ _OICTS,
1859
+ 0,
1860
+ [_aTO, _iTO],
1861
+ [
1862
+ [() => OpenIdConnectAccessTokenConfiguration, 0],
1863
+ [() => OpenIdConnectIdentityTokenConfiguration, 0],
1864
+ ],
1865
+ ];
1866
+ var OpenIdConnectTokenSelectionDetail = [
1867
+ 3,
1868
+ n0,
1869
+ _OICTSD,
1870
+ 0,
1871
+ [_aTO, _iTO],
1872
+ [
1873
+ [() => OpenIdConnectAccessTokenConfigurationDetail, 0],
1874
+ [() => OpenIdConnectIdentityTokenConfigurationDetail, 0],
1875
+ ],
1876
+ ];
1877
+ var OpenIdConnectTokenSelectionItem = [
1878
+ 3,
1879
+ n0,
1880
+ _OICTSI,
1881
+ 0,
1882
+ [_aTO, _iTO],
1883
+ [
1884
+ [() => OpenIdConnectAccessTokenConfigurationItem, 0],
1885
+ [() => OpenIdConnectIdentityTokenConfigurationItem, 0],
1886
+ ],
1887
+ ];
1888
+ var PolicyDefinition = [
1889
+ 3,
1890
+ n0,
1891
+ _PD,
1892
+ 0,
1893
+ [_sta, _tL],
1894
+ [
1895
+ [() => StaticPolicyDefinition, 0],
1896
+ [() => TemplateLinkedPolicyDefinition, 0],
1897
+ ],
1898
+ ];
1899
+ var PolicyDefinitionDetail = [
1900
+ 3,
1901
+ n0,
1902
+ _PDD,
1903
+ 0,
1904
+ [_sta, _tL],
1905
+ [
1906
+ [() => StaticPolicyDefinitionDetail, 0],
1907
+ [() => TemplateLinkedPolicyDefinitionDetail, 0],
1908
+ ],
1909
+ ];
1910
+ var PolicyDefinitionItem = [
1911
+ 3,
1912
+ n0,
1913
+ _PDI,
1914
+ 0,
1915
+ [_sta, _tL],
1916
+ [
1917
+ [() => StaticPolicyDefinitionItem, 0],
1918
+ [() => TemplateLinkedPolicyDefinitionItem, 0],
1919
+ ],
1920
+ ];
1921
+ var SchemaDefinition = [3, n0, _SD, 0, [_cJ], [[() => SchemaJson, 0]]];
1922
+ var UpdateConfiguration = [
1923
+ 3,
1924
+ n0,
1925
+ _UC,
1926
+ 0,
1927
+ [_cUPC, _oICC],
1928
+ [
1929
+ [() => UpdateCognitoUserPoolConfiguration, 0],
1930
+ [() => UpdateOpenIdConnectConfiguration, 0],
1931
+ ],
1932
+ ];
1933
+ var UpdateOpenIdConnectTokenSelection = [
1934
+ 3,
1935
+ n0,
1936
+ _UOICTS,
1937
+ 0,
1938
+ [_aTO, _iTO],
1939
+ [
1940
+ [() => UpdateOpenIdConnectAccessTokenConfiguration, 0],
1941
+ [() => UpdateOpenIdConnectIdentityTokenConfiguration, 0],
1942
+ ],
1943
+ ];
1944
+ var UpdatePolicyDefinition = [
1945
+ 3,
1946
+ n0,
1947
+ _UPD,
1948
+ 0,
1949
+ [_sta],
1950
+ [[() => UpdateStaticPolicyDefinition, 0]],
1951
+ ];
1952
+ var BatchGetPolicy = [
1953
+ 9,
1954
+ n0,
1955
+ _BGP,
1956
+ 0,
1957
+ () => BatchGetPolicyInput,
1958
+ () => BatchGetPolicyOutput,
1959
+ ];
1960
+ var BatchIsAuthorized = [
1961
+ 9,
1962
+ n0,
1963
+ _BIA,
1964
+ 0,
1965
+ () => BatchIsAuthorizedInput,
1966
+ () => BatchIsAuthorizedOutput,
1967
+ ];
1968
+ var BatchIsAuthorizedWithToken = [
1969
+ 9,
1970
+ n0,
1971
+ _BIAWT,
1972
+ 0,
1973
+ () => BatchIsAuthorizedWithTokenInput,
1974
+ () => BatchIsAuthorizedWithTokenOutput,
1975
+ ];
1976
+ var CreateIdentitySource = [
1977
+ 9,
1978
+ n0,
1979
+ _CIS,
1980
+ 2,
1981
+ () => CreateIdentitySourceInput,
1982
+ () => CreateIdentitySourceOutput,
1983
+ ];
1984
+ var CreatePolicy = [9, n0, _CP, 2, () => CreatePolicyInput, () => CreatePolicyOutput];
1985
+ var CreatePolicyStore = [
1986
+ 9,
1987
+ n0,
1988
+ _CPS,
1989
+ 2,
1990
+ () => CreatePolicyStoreInput,
1991
+ () => CreatePolicyStoreOutput,
1992
+ ];
1993
+ var CreatePolicyTemplate = [
1994
+ 9,
1995
+ n0,
1996
+ _CPT,
1997
+ 2,
1998
+ () => CreatePolicyTemplateInput,
1999
+ () => CreatePolicyTemplateOutput,
2000
+ ];
2001
+ var DeleteIdentitySource = [
2002
+ 9,
2003
+ n0,
2004
+ _DIS,
2005
+ 2,
2006
+ () => DeleteIdentitySourceInput,
2007
+ () => DeleteIdentitySourceOutput,
2008
+ ];
2009
+ var DeletePolicy = [9, n0, _DP, 2, () => DeletePolicyInput, () => DeletePolicyOutput];
2010
+ var DeletePolicyStore = [
2011
+ 9,
2012
+ n0,
2013
+ _DPS,
2014
+ 2,
2015
+ () => DeletePolicyStoreInput,
2016
+ () => DeletePolicyStoreOutput,
2017
+ ];
2018
+ var DeletePolicyTemplate = [
2019
+ 9,
2020
+ n0,
2021
+ _DPT,
2022
+ 2,
2023
+ () => DeletePolicyTemplateInput,
2024
+ () => DeletePolicyTemplateOutput,
2025
+ ];
2026
+ var GetIdentitySource = [
2027
+ 9,
2028
+ n0,
2029
+ _GIS,
2030
+ 0,
2031
+ () => GetIdentitySourceInput,
2032
+ () => GetIdentitySourceOutput,
2033
+ ];
2034
+ var GetPolicy = [9, n0, _GP, 0, () => GetPolicyInput, () => GetPolicyOutput];
2035
+ var GetPolicyStore = [
2036
+ 9,
2037
+ n0,
2038
+ _GPS,
2039
+ 0,
2040
+ () => GetPolicyStoreInput,
2041
+ () => GetPolicyStoreOutput,
2042
+ ];
2043
+ var GetPolicyTemplate = [
2044
+ 9,
2045
+ n0,
2046
+ _GPT,
2047
+ 0,
2048
+ () => GetPolicyTemplateInput,
2049
+ () => GetPolicyTemplateOutput,
2050
+ ];
2051
+ var GetSchema = [9, n0, _GS, 0, () => GetSchemaInput, () => GetSchemaOutput];
2052
+ var IsAuthorized = [9, n0, _IAs, 0, () => IsAuthorizedInput, () => IsAuthorizedOutput];
2053
+ var IsAuthorizedWithToken = [
2054
+ 9,
2055
+ n0,
2056
+ _IAWT,
2057
+ 0,
2058
+ () => IsAuthorizedWithTokenInput,
2059
+ () => IsAuthorizedWithTokenOutput,
2060
+ ];
2061
+ var ListIdentitySources = [
2062
+ 9,
2063
+ n0,
2064
+ _LIS,
2065
+ 0,
2066
+ () => ListIdentitySourcesInput,
2067
+ () => ListIdentitySourcesOutput,
2068
+ ];
2069
+ var ListPolicies = [9, n0, _LP, 0, () => ListPoliciesInput, () => ListPoliciesOutput];
2070
+ var ListPolicyStores = [
2071
+ 9,
2072
+ n0,
2073
+ _LPS,
2074
+ 0,
2075
+ () => ListPolicyStoresInput,
2076
+ () => ListPolicyStoresOutput,
2077
+ ];
2078
+ var ListPolicyTemplates = [
2079
+ 9,
2080
+ n0,
2081
+ _LPT,
2082
+ 0,
2083
+ () => ListPolicyTemplatesInput,
2084
+ () => ListPolicyTemplatesOutput,
2085
+ ];
2086
+ var ListTagsForResource = [
2087
+ 9,
2088
+ n0,
2089
+ _LTFR,
2090
+ 0,
2091
+ () => ListTagsForResourceInput,
2092
+ () => ListTagsForResourceOutput,
2093
+ ];
2094
+ var PutSchema = [9, n0, _PSu, 2, () => PutSchemaInput, () => PutSchemaOutput];
2095
+ var TagResource = [9, n0, _TR, 0, () => TagResourceInput, () => TagResourceOutput];
2096
+ var UntagResource = [9, n0, _UR, 0, () => UntagResourceInput, () => UntagResourceOutput];
2097
+ var UpdateIdentitySource = [
2098
+ 9,
2099
+ n0,
2100
+ _UIS,
2101
+ 2,
2102
+ () => UpdateIdentitySourceInput,
2103
+ () => UpdateIdentitySourceOutput,
2104
+ ];
2105
+ var UpdatePolicy = [9, n0, _UP, 2, () => UpdatePolicyInput, () => UpdatePolicyOutput];
2106
+ var UpdatePolicyStore = [
2107
+ 9,
2108
+ n0,
2109
+ _UPS,
2110
+ 2,
2111
+ () => UpdatePolicyStoreInput,
2112
+ () => UpdatePolicyStoreOutput,
2113
+ ];
2114
+ var UpdatePolicyTemplate = [
2115
+ 9,
2116
+ n0,
2117
+ _UPT,
2118
+ 2,
2119
+ () => UpdatePolicyTemplateInput,
2120
+ () => UpdatePolicyTemplateOutput,
2121
+ ];
2361
2122
 
2362
2123
  class BatchGetPolicyCommand extends smithyClient.Command
2363
2124
  .classBuilder()
2364
2125
  .ep(commonParams)
2365
2126
  .m(function (Command, cs, config, o) {
2366
- return [
2367
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2368
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2369
- ];
2127
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2370
2128
  })
2371
2129
  .s("VerifiedPermissions", "BatchGetPolicy", {})
2372
2130
  .n("VerifiedPermissionsClient", "BatchGetPolicyCommand")
2373
- .f(void 0, BatchGetPolicyOutputFilterSensitiveLog)
2374
- .ser(se_BatchGetPolicyCommand)
2375
- .de(de_BatchGetPolicyCommand)
2131
+ .sc(BatchGetPolicy)
2376
2132
  .build() {
2377
2133
  }
2378
2134
 
@@ -2380,16 +2136,11 @@ class BatchIsAuthorizedCommand extends smithyClient.Command
2380
2136
  .classBuilder()
2381
2137
  .ep(commonParams)
2382
2138
  .m(function (Command, cs, config, o) {
2383
- return [
2384
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2385
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2386
- ];
2139
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2387
2140
  })
2388
2141
  .s("VerifiedPermissions", "BatchIsAuthorized", {})
2389
2142
  .n("VerifiedPermissionsClient", "BatchIsAuthorizedCommand")
2390
- .f(BatchIsAuthorizedInputFilterSensitiveLog, BatchIsAuthorizedOutputFilterSensitiveLog)
2391
- .ser(se_BatchIsAuthorizedCommand)
2392
- .de(de_BatchIsAuthorizedCommand)
2143
+ .sc(BatchIsAuthorized)
2393
2144
  .build() {
2394
2145
  }
2395
2146
 
@@ -2397,16 +2148,11 @@ class BatchIsAuthorizedWithTokenCommand extends smithyClient.Command
2397
2148
  .classBuilder()
2398
2149
  .ep(commonParams)
2399
2150
  .m(function (Command, cs, config, o) {
2400
- return [
2401
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2402
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2403
- ];
2151
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2404
2152
  })
2405
2153
  .s("VerifiedPermissions", "BatchIsAuthorizedWithToken", {})
2406
2154
  .n("VerifiedPermissionsClient", "BatchIsAuthorizedWithTokenCommand")
2407
- .f(BatchIsAuthorizedWithTokenInputFilterSensitiveLog, BatchIsAuthorizedWithTokenOutputFilterSensitiveLog)
2408
- .ser(se_BatchIsAuthorizedWithTokenCommand)
2409
- .de(de_BatchIsAuthorizedWithTokenCommand)
2155
+ .sc(BatchIsAuthorizedWithToken)
2410
2156
  .build() {
2411
2157
  }
2412
2158
 
@@ -2414,16 +2160,11 @@ class CreateIdentitySourceCommand extends smithyClient.Command
2414
2160
  .classBuilder()
2415
2161
  .ep(commonParams)
2416
2162
  .m(function (Command, cs, config, o) {
2417
- return [
2418
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2419
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2420
- ];
2163
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2421
2164
  })
2422
2165
  .s("VerifiedPermissions", "CreateIdentitySource", {})
2423
2166
  .n("VerifiedPermissionsClient", "CreateIdentitySourceCommand")
2424
- .f(CreateIdentitySourceInputFilterSensitiveLog, void 0)
2425
- .ser(se_CreateIdentitySourceCommand)
2426
- .de(de_CreateIdentitySourceCommand)
2167
+ .sc(CreateIdentitySource)
2427
2168
  .build() {
2428
2169
  }
2429
2170
 
@@ -2431,16 +2172,11 @@ class CreatePolicyCommand extends smithyClient.Command
2431
2172
  .classBuilder()
2432
2173
  .ep(commonParams)
2433
2174
  .m(function (Command, cs, config, o) {
2434
- return [
2435
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2436
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2437
- ];
2175
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2438
2176
  })
2439
2177
  .s("VerifiedPermissions", "CreatePolicy", {})
2440
2178
  .n("VerifiedPermissionsClient", "CreatePolicyCommand")
2441
- .f(CreatePolicyInputFilterSensitiveLog, CreatePolicyOutputFilterSensitiveLog)
2442
- .ser(se_CreatePolicyCommand)
2443
- .de(de_CreatePolicyCommand)
2179
+ .sc(CreatePolicy)
2444
2180
  .build() {
2445
2181
  }
2446
2182
 
@@ -2448,16 +2184,11 @@ class CreatePolicyStoreCommand extends smithyClient.Command
2448
2184
  .classBuilder()
2449
2185
  .ep(commonParams)
2450
2186
  .m(function (Command, cs, config, o) {
2451
- return [
2452
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2453
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2454
- ];
2187
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2455
2188
  })
2456
2189
  .s("VerifiedPermissions", "CreatePolicyStore", {})
2457
2190
  .n("VerifiedPermissionsClient", "CreatePolicyStoreCommand")
2458
- .f(CreatePolicyStoreInputFilterSensitiveLog, void 0)
2459
- .ser(se_CreatePolicyStoreCommand)
2460
- .de(de_CreatePolicyStoreCommand)
2191
+ .sc(CreatePolicyStore)
2461
2192
  .build() {
2462
2193
  }
2463
2194
 
@@ -2465,16 +2196,11 @@ class CreatePolicyTemplateCommand extends smithyClient.Command
2465
2196
  .classBuilder()
2466
2197
  .ep(commonParams)
2467
2198
  .m(function (Command, cs, config, o) {
2468
- return [
2469
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2470
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2471
- ];
2199
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2472
2200
  })
2473
2201
  .s("VerifiedPermissions", "CreatePolicyTemplate", {})
2474
2202
  .n("VerifiedPermissionsClient", "CreatePolicyTemplateCommand")
2475
- .f(CreatePolicyTemplateInputFilterSensitiveLog, void 0)
2476
- .ser(se_CreatePolicyTemplateCommand)
2477
- .de(de_CreatePolicyTemplateCommand)
2203
+ .sc(CreatePolicyTemplate)
2478
2204
  .build() {
2479
2205
  }
2480
2206
 
@@ -2482,16 +2208,11 @@ class DeleteIdentitySourceCommand extends smithyClient.Command
2482
2208
  .classBuilder()
2483
2209
  .ep(commonParams)
2484
2210
  .m(function (Command, cs, config, o) {
2485
- return [
2486
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2487
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2488
- ];
2211
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2489
2212
  })
2490
2213
  .s("VerifiedPermissions", "DeleteIdentitySource", {})
2491
2214
  .n("VerifiedPermissionsClient", "DeleteIdentitySourceCommand")
2492
- .f(void 0, void 0)
2493
- .ser(se_DeleteIdentitySourceCommand)
2494
- .de(de_DeleteIdentitySourceCommand)
2215
+ .sc(DeleteIdentitySource)
2495
2216
  .build() {
2496
2217
  }
2497
2218
 
@@ -2499,16 +2220,11 @@ class DeletePolicyCommand extends smithyClient.Command
2499
2220
  .classBuilder()
2500
2221
  .ep(commonParams)
2501
2222
  .m(function (Command, cs, config, o) {
2502
- return [
2503
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2504
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2505
- ];
2223
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2506
2224
  })
2507
2225
  .s("VerifiedPermissions", "DeletePolicy", {})
2508
2226
  .n("VerifiedPermissionsClient", "DeletePolicyCommand")
2509
- .f(void 0, void 0)
2510
- .ser(se_DeletePolicyCommand)
2511
- .de(de_DeletePolicyCommand)
2227
+ .sc(DeletePolicy)
2512
2228
  .build() {
2513
2229
  }
2514
2230
 
@@ -2516,16 +2232,11 @@ class DeletePolicyStoreCommand extends smithyClient.Command
2516
2232
  .classBuilder()
2517
2233
  .ep(commonParams)
2518
2234
  .m(function (Command, cs, config, o) {
2519
- return [
2520
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2521
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2522
- ];
2235
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2523
2236
  })
2524
2237
  .s("VerifiedPermissions", "DeletePolicyStore", {})
2525
2238
  .n("VerifiedPermissionsClient", "DeletePolicyStoreCommand")
2526
- .f(void 0, void 0)
2527
- .ser(se_DeletePolicyStoreCommand)
2528
- .de(de_DeletePolicyStoreCommand)
2239
+ .sc(DeletePolicyStore)
2529
2240
  .build() {
2530
2241
  }
2531
2242
 
@@ -2533,16 +2244,11 @@ class DeletePolicyTemplateCommand extends smithyClient.Command
2533
2244
  .classBuilder()
2534
2245
  .ep(commonParams)
2535
2246
  .m(function (Command, cs, config, o) {
2536
- return [
2537
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2538
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2539
- ];
2247
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2540
2248
  })
2541
2249
  .s("VerifiedPermissions", "DeletePolicyTemplate", {})
2542
2250
  .n("VerifiedPermissionsClient", "DeletePolicyTemplateCommand")
2543
- .f(void 0, void 0)
2544
- .ser(se_DeletePolicyTemplateCommand)
2545
- .de(de_DeletePolicyTemplateCommand)
2251
+ .sc(DeletePolicyTemplate)
2546
2252
  .build() {
2547
2253
  }
2548
2254
 
@@ -2550,16 +2256,11 @@ class GetIdentitySourceCommand extends smithyClient.Command
2550
2256
  .classBuilder()
2551
2257
  .ep(commonParams)
2552
2258
  .m(function (Command, cs, config, o) {
2553
- return [
2554
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2555
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2556
- ];
2259
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2557
2260
  })
2558
2261
  .s("VerifiedPermissions", "GetIdentitySource", {})
2559
2262
  .n("VerifiedPermissionsClient", "GetIdentitySourceCommand")
2560
- .f(void 0, GetIdentitySourceOutputFilterSensitiveLog)
2561
- .ser(se_GetIdentitySourceCommand)
2562
- .de(de_GetIdentitySourceCommand)
2263
+ .sc(GetIdentitySource)
2563
2264
  .build() {
2564
2265
  }
2565
2266
 
@@ -2567,16 +2268,11 @@ class GetPolicyCommand extends smithyClient.Command
2567
2268
  .classBuilder()
2568
2269
  .ep(commonParams)
2569
2270
  .m(function (Command, cs, config, o) {
2570
- return [
2571
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2572
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2573
- ];
2271
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2574
2272
  })
2575
2273
  .s("VerifiedPermissions", "GetPolicy", {})
2576
2274
  .n("VerifiedPermissionsClient", "GetPolicyCommand")
2577
- .f(void 0, GetPolicyOutputFilterSensitiveLog)
2578
- .ser(se_GetPolicyCommand)
2579
- .de(de_GetPolicyCommand)
2275
+ .sc(GetPolicy)
2580
2276
  .build() {
2581
2277
  }
2582
2278
 
@@ -2584,16 +2280,11 @@ class GetPolicyStoreCommand extends smithyClient.Command
2584
2280
  .classBuilder()
2585
2281
  .ep(commonParams)
2586
2282
  .m(function (Command, cs, config, o) {
2587
- return [
2588
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2589
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2590
- ];
2283
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2591
2284
  })
2592
2285
  .s("VerifiedPermissions", "GetPolicyStore", {})
2593
2286
  .n("VerifiedPermissionsClient", "GetPolicyStoreCommand")
2594
- .f(void 0, GetPolicyStoreOutputFilterSensitiveLog)
2595
- .ser(se_GetPolicyStoreCommand)
2596
- .de(de_GetPolicyStoreCommand)
2287
+ .sc(GetPolicyStore)
2597
2288
  .build() {
2598
2289
  }
2599
2290
 
@@ -2601,16 +2292,11 @@ class GetPolicyTemplateCommand extends smithyClient.Command
2601
2292
  .classBuilder()
2602
2293
  .ep(commonParams)
2603
2294
  .m(function (Command, cs, config, o) {
2604
- return [
2605
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2606
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2607
- ];
2295
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2608
2296
  })
2609
2297
  .s("VerifiedPermissions", "GetPolicyTemplate", {})
2610
2298
  .n("VerifiedPermissionsClient", "GetPolicyTemplateCommand")
2611
- .f(void 0, GetPolicyTemplateOutputFilterSensitiveLog)
2612
- .ser(se_GetPolicyTemplateCommand)
2613
- .de(de_GetPolicyTemplateCommand)
2299
+ .sc(GetPolicyTemplate)
2614
2300
  .build() {
2615
2301
  }
2616
2302
 
@@ -2618,16 +2304,11 @@ class GetSchemaCommand extends smithyClient.Command
2618
2304
  .classBuilder()
2619
2305
  .ep(commonParams)
2620
2306
  .m(function (Command, cs, config, o) {
2621
- return [
2622
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2623
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2624
- ];
2307
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2625
2308
  })
2626
2309
  .s("VerifiedPermissions", "GetSchema", {})
2627
2310
  .n("VerifiedPermissionsClient", "GetSchemaCommand")
2628
- .f(void 0, GetSchemaOutputFilterSensitiveLog)
2629
- .ser(se_GetSchemaCommand)
2630
- .de(de_GetSchemaCommand)
2311
+ .sc(GetSchema)
2631
2312
  .build() {
2632
2313
  }
2633
2314
 
@@ -2635,16 +2316,11 @@ class IsAuthorizedCommand extends smithyClient.Command
2635
2316
  .classBuilder()
2636
2317
  .ep(commonParams)
2637
2318
  .m(function (Command, cs, config, o) {
2638
- return [
2639
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2640
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2641
- ];
2319
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2642
2320
  })
2643
2321
  .s("VerifiedPermissions", "IsAuthorized", {})
2644
2322
  .n("VerifiedPermissionsClient", "IsAuthorizedCommand")
2645
- .f(IsAuthorizedInputFilterSensitiveLog, IsAuthorizedOutputFilterSensitiveLog)
2646
- .ser(se_IsAuthorizedCommand)
2647
- .de(de_IsAuthorizedCommand)
2323
+ .sc(IsAuthorized)
2648
2324
  .build() {
2649
2325
  }
2650
2326
 
@@ -2652,16 +2328,11 @@ class IsAuthorizedWithTokenCommand extends smithyClient.Command
2652
2328
  .classBuilder()
2653
2329
  .ep(commonParams)
2654
2330
  .m(function (Command, cs, config, o) {
2655
- return [
2656
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2657
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2658
- ];
2331
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2659
2332
  })
2660
2333
  .s("VerifiedPermissions", "IsAuthorizedWithToken", {})
2661
2334
  .n("VerifiedPermissionsClient", "IsAuthorizedWithTokenCommand")
2662
- .f(IsAuthorizedWithTokenInputFilterSensitiveLog, IsAuthorizedWithTokenOutputFilterSensitiveLog)
2663
- .ser(se_IsAuthorizedWithTokenCommand)
2664
- .de(de_IsAuthorizedWithTokenCommand)
2335
+ .sc(IsAuthorizedWithToken)
2665
2336
  .build() {
2666
2337
  }
2667
2338
 
@@ -2669,16 +2340,11 @@ class ListIdentitySourcesCommand extends smithyClient.Command
2669
2340
  .classBuilder()
2670
2341
  .ep(commonParams)
2671
2342
  .m(function (Command, cs, config, o) {
2672
- return [
2673
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2674
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2675
- ];
2343
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2676
2344
  })
2677
2345
  .s("VerifiedPermissions", "ListIdentitySources", {})
2678
2346
  .n("VerifiedPermissionsClient", "ListIdentitySourcesCommand")
2679
- .f(ListIdentitySourcesInputFilterSensitiveLog, ListIdentitySourcesOutputFilterSensitiveLog)
2680
- .ser(se_ListIdentitySourcesCommand)
2681
- .de(de_ListIdentitySourcesCommand)
2347
+ .sc(ListIdentitySources)
2682
2348
  .build() {
2683
2349
  }
2684
2350
 
@@ -2686,16 +2352,11 @@ class ListPoliciesCommand extends smithyClient.Command
2686
2352
  .classBuilder()
2687
2353
  .ep(commonParams)
2688
2354
  .m(function (Command, cs, config, o) {
2689
- return [
2690
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2691
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2692
- ];
2355
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2693
2356
  })
2694
2357
  .s("VerifiedPermissions", "ListPolicies", {})
2695
2358
  .n("VerifiedPermissionsClient", "ListPoliciesCommand")
2696
- .f(ListPoliciesInputFilterSensitiveLog, ListPoliciesOutputFilterSensitiveLog)
2697
- .ser(se_ListPoliciesCommand)
2698
- .de(de_ListPoliciesCommand)
2359
+ .sc(ListPolicies)
2699
2360
  .build() {
2700
2361
  }
2701
2362
 
@@ -2703,16 +2364,11 @@ class ListPolicyStoresCommand extends smithyClient.Command
2703
2364
  .classBuilder()
2704
2365
  .ep(commonParams)
2705
2366
  .m(function (Command, cs, config, o) {
2706
- return [
2707
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2708
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2709
- ];
2367
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2710
2368
  })
2711
2369
  .s("VerifiedPermissions", "ListPolicyStores", {})
2712
2370
  .n("VerifiedPermissionsClient", "ListPolicyStoresCommand")
2713
- .f(void 0, ListPolicyStoresOutputFilterSensitiveLog)
2714
- .ser(se_ListPolicyStoresCommand)
2715
- .de(de_ListPolicyStoresCommand)
2371
+ .sc(ListPolicyStores)
2716
2372
  .build() {
2717
2373
  }
2718
2374
 
@@ -2720,16 +2376,11 @@ class ListPolicyTemplatesCommand extends smithyClient.Command
2720
2376
  .classBuilder()
2721
2377
  .ep(commonParams)
2722
2378
  .m(function (Command, cs, config, o) {
2723
- return [
2724
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2725
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2726
- ];
2379
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2727
2380
  })
2728
2381
  .s("VerifiedPermissions", "ListPolicyTemplates", {})
2729
2382
  .n("VerifiedPermissionsClient", "ListPolicyTemplatesCommand")
2730
- .f(void 0, ListPolicyTemplatesOutputFilterSensitiveLog)
2731
- .ser(se_ListPolicyTemplatesCommand)
2732
- .de(de_ListPolicyTemplatesCommand)
2383
+ .sc(ListPolicyTemplates)
2733
2384
  .build() {
2734
2385
  }
2735
2386
 
@@ -2737,16 +2388,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2737
2388
  .classBuilder()
2738
2389
  .ep(commonParams)
2739
2390
  .m(function (Command, cs, config, o) {
2740
- return [
2741
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2742
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2743
- ];
2391
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2744
2392
  })
2745
2393
  .s("VerifiedPermissions", "ListTagsForResource", {})
2746
2394
  .n("VerifiedPermissionsClient", "ListTagsForResourceCommand")
2747
- .f(void 0, void 0)
2748
- .ser(se_ListTagsForResourceCommand)
2749
- .de(de_ListTagsForResourceCommand)
2395
+ .sc(ListTagsForResource)
2750
2396
  .build() {
2751
2397
  }
2752
2398
 
@@ -2754,16 +2400,11 @@ class PutSchemaCommand extends smithyClient.Command
2754
2400
  .classBuilder()
2755
2401
  .ep(commonParams)
2756
2402
  .m(function (Command, cs, config, o) {
2757
- return [
2758
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2759
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2760
- ];
2403
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2761
2404
  })
2762
2405
  .s("VerifiedPermissions", "PutSchema", {})
2763
2406
  .n("VerifiedPermissionsClient", "PutSchemaCommand")
2764
- .f(PutSchemaInputFilterSensitiveLog, PutSchemaOutputFilterSensitiveLog)
2765
- .ser(se_PutSchemaCommand)
2766
- .de(de_PutSchemaCommand)
2407
+ .sc(PutSchema)
2767
2408
  .build() {
2768
2409
  }
2769
2410
 
@@ -2771,16 +2412,11 @@ class TagResourceCommand extends smithyClient.Command
2771
2412
  .classBuilder()
2772
2413
  .ep(commonParams)
2773
2414
  .m(function (Command, cs, config, o) {
2774
- return [
2775
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2776
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2777
- ];
2415
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2778
2416
  })
2779
2417
  .s("VerifiedPermissions", "TagResource", {})
2780
2418
  .n("VerifiedPermissionsClient", "TagResourceCommand")
2781
- .f(void 0, void 0)
2782
- .ser(se_TagResourceCommand)
2783
- .de(de_TagResourceCommand)
2419
+ .sc(TagResource)
2784
2420
  .build() {
2785
2421
  }
2786
2422
 
@@ -2788,16 +2424,11 @@ class UntagResourceCommand extends smithyClient.Command
2788
2424
  .classBuilder()
2789
2425
  .ep(commonParams)
2790
2426
  .m(function (Command, cs, config, o) {
2791
- return [
2792
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2793
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2794
- ];
2427
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2795
2428
  })
2796
2429
  .s("VerifiedPermissions", "UntagResource", {})
2797
2430
  .n("VerifiedPermissionsClient", "UntagResourceCommand")
2798
- .f(void 0, void 0)
2799
- .ser(se_UntagResourceCommand)
2800
- .de(de_UntagResourceCommand)
2431
+ .sc(UntagResource)
2801
2432
  .build() {
2802
2433
  }
2803
2434
 
@@ -2805,16 +2436,11 @@ class UpdateIdentitySourceCommand extends smithyClient.Command
2805
2436
  .classBuilder()
2806
2437
  .ep(commonParams)
2807
2438
  .m(function (Command, cs, config, o) {
2808
- return [
2809
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2810
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2811
- ];
2439
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2812
2440
  })
2813
2441
  .s("VerifiedPermissions", "UpdateIdentitySource", {})
2814
2442
  .n("VerifiedPermissionsClient", "UpdateIdentitySourceCommand")
2815
- .f(UpdateIdentitySourceInputFilterSensitiveLog, void 0)
2816
- .ser(se_UpdateIdentitySourceCommand)
2817
- .de(de_UpdateIdentitySourceCommand)
2443
+ .sc(UpdateIdentitySource)
2818
2444
  .build() {
2819
2445
  }
2820
2446
 
@@ -2822,16 +2448,11 @@ class UpdatePolicyCommand extends smithyClient.Command
2822
2448
  .classBuilder()
2823
2449
  .ep(commonParams)
2824
2450
  .m(function (Command, cs, config, o) {
2825
- return [
2826
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2827
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2828
- ];
2451
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2829
2452
  })
2830
2453
  .s("VerifiedPermissions", "UpdatePolicy", {})
2831
2454
  .n("VerifiedPermissionsClient", "UpdatePolicyCommand")
2832
- .f(UpdatePolicyInputFilterSensitiveLog, UpdatePolicyOutputFilterSensitiveLog)
2833
- .ser(se_UpdatePolicyCommand)
2834
- .de(de_UpdatePolicyCommand)
2455
+ .sc(UpdatePolicy)
2835
2456
  .build() {
2836
2457
  }
2837
2458
 
@@ -2839,16 +2460,11 @@ class UpdatePolicyStoreCommand extends smithyClient.Command
2839
2460
  .classBuilder()
2840
2461
  .ep(commonParams)
2841
2462
  .m(function (Command, cs, config, o) {
2842
- return [
2843
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2844
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2845
- ];
2463
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2846
2464
  })
2847
2465
  .s("VerifiedPermissions", "UpdatePolicyStore", {})
2848
2466
  .n("VerifiedPermissionsClient", "UpdatePolicyStoreCommand")
2849
- .f(UpdatePolicyStoreInputFilterSensitiveLog, void 0)
2850
- .ser(se_UpdatePolicyStoreCommand)
2851
- .de(de_UpdatePolicyStoreCommand)
2467
+ .sc(UpdatePolicyStore)
2852
2468
  .build() {
2853
2469
  }
2854
2470
 
@@ -2856,16 +2472,11 @@ class UpdatePolicyTemplateCommand extends smithyClient.Command
2856
2472
  .classBuilder()
2857
2473
  .ep(commonParams)
2858
2474
  .m(function (Command, cs, config, o) {
2859
- return [
2860
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2861
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2862
- ];
2475
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2863
2476
  })
2864
2477
  .s("VerifiedPermissions", "UpdatePolicyTemplate", {})
2865
2478
  .n("VerifiedPermissionsClient", "UpdatePolicyTemplateCommand")
2866
- .f(UpdatePolicyTemplateInputFilterSensitiveLog, void 0)
2867
- .ser(se_UpdatePolicyTemplateCommand)
2868
- .de(de_UpdatePolicyTemplateCommand)
2479
+ .sc(UpdatePolicyTemplate)
2869
2480
  .build() {
2870
2481
  }
2871
2482
 
@@ -2921,154 +2532,57 @@ Object.defineProperty(exports, "__Client", {
2921
2532
  enumerable: true,
2922
2533
  get: function () { return smithyClient.Client; }
2923
2534
  });
2924
- exports.AccessDeniedException = AccessDeniedException;
2925
- exports.ActionIdentifierFilterSensitiveLog = ActionIdentifierFilterSensitiveLog;
2926
- exports.AttributeValueFilterSensitiveLog = AttributeValueFilterSensitiveLog;
2535
+ exports.AccessDeniedException = AccessDeniedException$1;
2927
2536
  exports.BatchGetPolicyCommand = BatchGetPolicyCommand;
2928
2537
  exports.BatchGetPolicyErrorCode = BatchGetPolicyErrorCode;
2929
- exports.BatchGetPolicyOutputFilterSensitiveLog = BatchGetPolicyOutputFilterSensitiveLog;
2930
- exports.BatchGetPolicyOutputItemFilterSensitiveLog = BatchGetPolicyOutputItemFilterSensitiveLog;
2931
2538
  exports.BatchIsAuthorizedCommand = BatchIsAuthorizedCommand;
2932
- exports.BatchIsAuthorizedInputFilterSensitiveLog = BatchIsAuthorizedInputFilterSensitiveLog;
2933
- exports.BatchIsAuthorizedInputItemFilterSensitiveLog = BatchIsAuthorizedInputItemFilterSensitiveLog;
2934
- exports.BatchIsAuthorizedOutputFilterSensitiveLog = BatchIsAuthorizedOutputFilterSensitiveLog;
2935
- exports.BatchIsAuthorizedOutputItemFilterSensitiveLog = BatchIsAuthorizedOutputItemFilterSensitiveLog;
2936
2539
  exports.BatchIsAuthorizedWithTokenCommand = BatchIsAuthorizedWithTokenCommand;
2937
- exports.BatchIsAuthorizedWithTokenInputFilterSensitiveLog = BatchIsAuthorizedWithTokenInputFilterSensitiveLog;
2938
- exports.BatchIsAuthorizedWithTokenInputItemFilterSensitiveLog = BatchIsAuthorizedWithTokenInputItemFilterSensitiveLog;
2939
- exports.BatchIsAuthorizedWithTokenOutputFilterSensitiveLog = BatchIsAuthorizedWithTokenOutputFilterSensitiveLog;
2940
- exports.BatchIsAuthorizedWithTokenOutputItemFilterSensitiveLog = BatchIsAuthorizedWithTokenOutputItemFilterSensitiveLog;
2941
2540
  exports.CedarVersion = CedarVersion;
2942
- exports.CognitoGroupConfigurationDetailFilterSensitiveLog = CognitoGroupConfigurationDetailFilterSensitiveLog;
2943
- exports.CognitoGroupConfigurationFilterSensitiveLog = CognitoGroupConfigurationFilterSensitiveLog;
2944
- exports.CognitoGroupConfigurationItemFilterSensitiveLog = CognitoGroupConfigurationItemFilterSensitiveLog;
2945
- exports.CognitoUserPoolConfigurationDetailFilterSensitiveLog = CognitoUserPoolConfigurationDetailFilterSensitiveLog;
2946
- exports.CognitoUserPoolConfigurationFilterSensitiveLog = CognitoUserPoolConfigurationFilterSensitiveLog;
2947
- exports.CognitoUserPoolConfigurationItemFilterSensitiveLog = CognitoUserPoolConfigurationItemFilterSensitiveLog;
2948
- exports.ConfigurationDetailFilterSensitiveLog = ConfigurationDetailFilterSensitiveLog;
2949
- exports.ConfigurationFilterSensitiveLog = ConfigurationFilterSensitiveLog;
2950
- exports.ConfigurationItemFilterSensitiveLog = ConfigurationItemFilterSensitiveLog;
2951
- exports.ConflictException = ConflictException;
2952
- exports.ContextDefinitionFilterSensitiveLog = ContextDefinitionFilterSensitiveLog;
2541
+ exports.ConflictException = ConflictException$1;
2953
2542
  exports.CreateIdentitySourceCommand = CreateIdentitySourceCommand;
2954
- exports.CreateIdentitySourceInputFilterSensitiveLog = CreateIdentitySourceInputFilterSensitiveLog;
2955
2543
  exports.CreatePolicyCommand = CreatePolicyCommand;
2956
- exports.CreatePolicyInputFilterSensitiveLog = CreatePolicyInputFilterSensitiveLog;
2957
- exports.CreatePolicyOutputFilterSensitiveLog = CreatePolicyOutputFilterSensitiveLog;
2958
2544
  exports.CreatePolicyStoreCommand = CreatePolicyStoreCommand;
2959
- exports.CreatePolicyStoreInputFilterSensitiveLog = CreatePolicyStoreInputFilterSensitiveLog;
2960
2545
  exports.CreatePolicyTemplateCommand = CreatePolicyTemplateCommand;
2961
- exports.CreatePolicyTemplateInputFilterSensitiveLog = CreatePolicyTemplateInputFilterSensitiveLog;
2962
2546
  exports.Decision = Decision;
2963
2547
  exports.DeleteIdentitySourceCommand = DeleteIdentitySourceCommand;
2964
2548
  exports.DeletePolicyCommand = DeletePolicyCommand;
2965
2549
  exports.DeletePolicyStoreCommand = DeletePolicyStoreCommand;
2966
2550
  exports.DeletePolicyTemplateCommand = DeletePolicyTemplateCommand;
2967
2551
  exports.DeletionProtection = DeletionProtection;
2968
- exports.EntitiesDefinitionFilterSensitiveLog = EntitiesDefinitionFilterSensitiveLog;
2969
- exports.EntityIdentifierFilterSensitiveLog = EntityIdentifierFilterSensitiveLog;
2970
- exports.EntityItemFilterSensitiveLog = EntityItemFilterSensitiveLog;
2971
- exports.EntityReferenceFilterSensitiveLog = EntityReferenceFilterSensitiveLog;
2972
- exports.EvaluationErrorItemFilterSensitiveLog = EvaluationErrorItemFilterSensitiveLog;
2973
2552
  exports.GetIdentitySourceCommand = GetIdentitySourceCommand;
2974
- exports.GetIdentitySourceOutputFilterSensitiveLog = GetIdentitySourceOutputFilterSensitiveLog;
2975
2553
  exports.GetPolicyCommand = GetPolicyCommand;
2976
- exports.GetPolicyOutputFilterSensitiveLog = GetPolicyOutputFilterSensitiveLog;
2977
2554
  exports.GetPolicyStoreCommand = GetPolicyStoreCommand;
2978
- exports.GetPolicyStoreOutputFilterSensitiveLog = GetPolicyStoreOutputFilterSensitiveLog;
2979
2555
  exports.GetPolicyTemplateCommand = GetPolicyTemplateCommand;
2980
- exports.GetPolicyTemplateOutputFilterSensitiveLog = GetPolicyTemplateOutputFilterSensitiveLog;
2981
2556
  exports.GetSchemaCommand = GetSchemaCommand;
2982
- exports.GetSchemaOutputFilterSensitiveLog = GetSchemaOutputFilterSensitiveLog;
2983
- exports.IdentitySourceDetailsFilterSensitiveLog = IdentitySourceDetailsFilterSensitiveLog;
2984
- exports.IdentitySourceFilterFilterSensitiveLog = IdentitySourceFilterFilterSensitiveLog;
2985
- exports.IdentitySourceItemDetailsFilterSensitiveLog = IdentitySourceItemDetailsFilterSensitiveLog;
2986
- exports.IdentitySourceItemFilterSensitiveLog = IdentitySourceItemFilterSensitiveLog;
2987
- exports.InternalServerException = InternalServerException;
2988
- exports.InvalidStateException = InvalidStateException;
2557
+ exports.InternalServerException = InternalServerException$1;
2558
+ exports.InvalidStateException = InvalidStateException$1;
2989
2559
  exports.IsAuthorizedCommand = IsAuthorizedCommand;
2990
- exports.IsAuthorizedInputFilterSensitiveLog = IsAuthorizedInputFilterSensitiveLog;
2991
- exports.IsAuthorizedOutputFilterSensitiveLog = IsAuthorizedOutputFilterSensitiveLog;
2992
2560
  exports.IsAuthorizedWithTokenCommand = IsAuthorizedWithTokenCommand;
2993
- exports.IsAuthorizedWithTokenInputFilterSensitiveLog = IsAuthorizedWithTokenInputFilterSensitiveLog;
2994
- exports.IsAuthorizedWithTokenOutputFilterSensitiveLog = IsAuthorizedWithTokenOutputFilterSensitiveLog;
2995
2561
  exports.ListIdentitySourcesCommand = ListIdentitySourcesCommand;
2996
- exports.ListIdentitySourcesInputFilterSensitiveLog = ListIdentitySourcesInputFilterSensitiveLog;
2997
- exports.ListIdentitySourcesOutputFilterSensitiveLog = ListIdentitySourcesOutputFilterSensitiveLog;
2998
2562
  exports.ListPoliciesCommand = ListPoliciesCommand;
2999
- exports.ListPoliciesInputFilterSensitiveLog = ListPoliciesInputFilterSensitiveLog;
3000
- exports.ListPoliciesOutputFilterSensitiveLog = ListPoliciesOutputFilterSensitiveLog;
3001
2563
  exports.ListPolicyStoresCommand = ListPolicyStoresCommand;
3002
- exports.ListPolicyStoresOutputFilterSensitiveLog = ListPolicyStoresOutputFilterSensitiveLog;
3003
2564
  exports.ListPolicyTemplatesCommand = ListPolicyTemplatesCommand;
3004
- exports.ListPolicyTemplatesOutputFilterSensitiveLog = ListPolicyTemplatesOutputFilterSensitiveLog;
3005
2565
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
3006
- exports.OpenIdConnectAccessTokenConfigurationDetailFilterSensitiveLog = OpenIdConnectAccessTokenConfigurationDetailFilterSensitiveLog;
3007
- exports.OpenIdConnectAccessTokenConfigurationFilterSensitiveLog = OpenIdConnectAccessTokenConfigurationFilterSensitiveLog;
3008
- exports.OpenIdConnectAccessTokenConfigurationItemFilterSensitiveLog = OpenIdConnectAccessTokenConfigurationItemFilterSensitiveLog;
3009
- exports.OpenIdConnectConfigurationDetailFilterSensitiveLog = OpenIdConnectConfigurationDetailFilterSensitiveLog;
3010
- exports.OpenIdConnectConfigurationFilterSensitiveLog = OpenIdConnectConfigurationFilterSensitiveLog;
3011
- exports.OpenIdConnectConfigurationItemFilterSensitiveLog = OpenIdConnectConfigurationItemFilterSensitiveLog;
3012
- exports.OpenIdConnectGroupConfigurationDetailFilterSensitiveLog = OpenIdConnectGroupConfigurationDetailFilterSensitiveLog;
3013
- exports.OpenIdConnectGroupConfigurationFilterSensitiveLog = OpenIdConnectGroupConfigurationFilterSensitiveLog;
3014
- exports.OpenIdConnectGroupConfigurationItemFilterSensitiveLog = OpenIdConnectGroupConfigurationItemFilterSensitiveLog;
3015
- exports.OpenIdConnectIdentityTokenConfigurationDetailFilterSensitiveLog = OpenIdConnectIdentityTokenConfigurationDetailFilterSensitiveLog;
3016
- exports.OpenIdConnectIdentityTokenConfigurationFilterSensitiveLog = OpenIdConnectIdentityTokenConfigurationFilterSensitiveLog;
3017
- exports.OpenIdConnectIdentityTokenConfigurationItemFilterSensitiveLog = OpenIdConnectIdentityTokenConfigurationItemFilterSensitiveLog;
3018
- exports.OpenIdConnectTokenSelectionDetailFilterSensitiveLog = OpenIdConnectTokenSelectionDetailFilterSensitiveLog;
3019
- exports.OpenIdConnectTokenSelectionFilterSensitiveLog = OpenIdConnectTokenSelectionFilterSensitiveLog;
3020
- exports.OpenIdConnectTokenSelectionItemFilterSensitiveLog = OpenIdConnectTokenSelectionItemFilterSensitiveLog;
3021
2566
  exports.OpenIdIssuer = OpenIdIssuer;
3022
- exports.PolicyDefinitionDetailFilterSensitiveLog = PolicyDefinitionDetailFilterSensitiveLog;
3023
- exports.PolicyDefinitionFilterSensitiveLog = PolicyDefinitionFilterSensitiveLog;
3024
- exports.PolicyDefinitionItemFilterSensitiveLog = PolicyDefinitionItemFilterSensitiveLog;
3025
2567
  exports.PolicyEffect = PolicyEffect;
3026
- exports.PolicyFilterFilterSensitiveLog = PolicyFilterFilterSensitiveLog;
3027
- exports.PolicyItemFilterSensitiveLog = PolicyItemFilterSensitiveLog;
3028
- exports.PolicyStoreItemFilterSensitiveLog = PolicyStoreItemFilterSensitiveLog;
3029
- exports.PolicyTemplateItemFilterSensitiveLog = PolicyTemplateItemFilterSensitiveLog;
3030
2568
  exports.PolicyType = PolicyType;
3031
2569
  exports.PutSchemaCommand = PutSchemaCommand;
3032
- exports.PutSchemaInputFilterSensitiveLog = PutSchemaInputFilterSensitiveLog;
3033
- exports.PutSchemaOutputFilterSensitiveLog = PutSchemaOutputFilterSensitiveLog;
3034
- exports.ResourceNotFoundException = ResourceNotFoundException;
2570
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
3035
2571
  exports.ResourceType = ResourceType;
3036
- exports.SchemaDefinitionFilterSensitiveLog = SchemaDefinitionFilterSensitiveLog;
3037
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
3038
- exports.StaticPolicyDefinitionDetailFilterSensitiveLog = StaticPolicyDefinitionDetailFilterSensitiveLog;
3039
- exports.StaticPolicyDefinitionFilterSensitiveLog = StaticPolicyDefinitionFilterSensitiveLog;
3040
- exports.StaticPolicyDefinitionItemFilterSensitiveLog = StaticPolicyDefinitionItemFilterSensitiveLog;
2572
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
3041
2573
  exports.TagResourceCommand = TagResourceCommand;
3042
- exports.TemplateLinkedPolicyDefinitionDetailFilterSensitiveLog = TemplateLinkedPolicyDefinitionDetailFilterSensitiveLog;
3043
- exports.TemplateLinkedPolicyDefinitionFilterSensitiveLog = TemplateLinkedPolicyDefinitionFilterSensitiveLog;
3044
- exports.TemplateLinkedPolicyDefinitionItemFilterSensitiveLog = TemplateLinkedPolicyDefinitionItemFilterSensitiveLog;
3045
- exports.ThrottlingException = ThrottlingException;
3046
- exports.TooManyTagsException = TooManyTagsException;
2574
+ exports.ThrottlingException = ThrottlingException$1;
2575
+ exports.TooManyTagsException = TooManyTagsException$1;
3047
2576
  exports.UntagResourceCommand = UntagResourceCommand;
3048
- exports.UpdateCognitoGroupConfigurationFilterSensitiveLog = UpdateCognitoGroupConfigurationFilterSensitiveLog;
3049
- exports.UpdateCognitoUserPoolConfigurationFilterSensitiveLog = UpdateCognitoUserPoolConfigurationFilterSensitiveLog;
3050
- exports.UpdateConfigurationFilterSensitiveLog = UpdateConfigurationFilterSensitiveLog;
3051
2577
  exports.UpdateIdentitySourceCommand = UpdateIdentitySourceCommand;
3052
- exports.UpdateIdentitySourceInputFilterSensitiveLog = UpdateIdentitySourceInputFilterSensitiveLog;
3053
- exports.UpdateOpenIdConnectAccessTokenConfigurationFilterSensitiveLog = UpdateOpenIdConnectAccessTokenConfigurationFilterSensitiveLog;
3054
- exports.UpdateOpenIdConnectConfigurationFilterSensitiveLog = UpdateOpenIdConnectConfigurationFilterSensitiveLog;
3055
- exports.UpdateOpenIdConnectGroupConfigurationFilterSensitiveLog = UpdateOpenIdConnectGroupConfigurationFilterSensitiveLog;
3056
- exports.UpdateOpenIdConnectIdentityTokenConfigurationFilterSensitiveLog = UpdateOpenIdConnectIdentityTokenConfigurationFilterSensitiveLog;
3057
- exports.UpdateOpenIdConnectTokenSelectionFilterSensitiveLog = UpdateOpenIdConnectTokenSelectionFilterSensitiveLog;
3058
2578
  exports.UpdatePolicyCommand = UpdatePolicyCommand;
3059
- exports.UpdatePolicyDefinitionFilterSensitiveLog = UpdatePolicyDefinitionFilterSensitiveLog;
3060
- exports.UpdatePolicyInputFilterSensitiveLog = UpdatePolicyInputFilterSensitiveLog;
3061
- exports.UpdatePolicyOutputFilterSensitiveLog = UpdatePolicyOutputFilterSensitiveLog;
3062
2579
  exports.UpdatePolicyStoreCommand = UpdatePolicyStoreCommand;
3063
- exports.UpdatePolicyStoreInputFilterSensitiveLog = UpdatePolicyStoreInputFilterSensitiveLog;
3064
2580
  exports.UpdatePolicyTemplateCommand = UpdatePolicyTemplateCommand;
3065
- exports.UpdatePolicyTemplateInputFilterSensitiveLog = UpdatePolicyTemplateInputFilterSensitiveLog;
3066
- exports.UpdateStaticPolicyDefinitionFilterSensitiveLog = UpdateStaticPolicyDefinitionFilterSensitiveLog;
3067
- exports.ValidationException = ValidationException;
2581
+ exports.ValidationException = ValidationException$1;
3068
2582
  exports.ValidationMode = ValidationMode;
3069
2583
  exports.VerifiedPermissions = VerifiedPermissions;
3070
2584
  exports.VerifiedPermissionsClient = VerifiedPermissionsClient;
3071
- exports.VerifiedPermissionsServiceException = VerifiedPermissionsServiceException;
2585
+ exports.VerifiedPermissionsServiceException = VerifiedPermissionsServiceException$1;
3072
2586
  exports.paginateListIdentitySources = paginateListIdentitySources;
3073
2587
  exports.paginateListPolicies = paginateListPolicies;
3074
2588
  exports.paginateListPolicyStores = paginateListPolicyStores;