@aws-sdk/client-verifiedpermissions 3.987.0 → 3.988.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultVerifiedPermissionsHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2021-12-01",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_0Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.verifiedpermissions",
30
+ errorTypeRegistries,
29
31
  version: "2021-12-01",
30
32
  serviceTarget: "VerifiedPermissions",
31
33
  },
@@ -309,24 +309,24 @@ const _pa = "parents";
309
309
  const _pat = "path";
310
310
  const _po = "policies";
311
311
  const _qC = "quotaCode";
312
- const _r = "requests";
312
+ const _r = "resources";
313
313
  const _rA = "resourceArn";
314
314
  const _rI = "resourceId";
315
315
  const _rN = "resourceName";
316
316
  const _rT = "resourceType";
317
- const _re = "results";
317
+ const _re = "requests";
318
318
  const _rec = "record";
319
319
  const _req = "request";
320
- const _res = "resource";
321
- const _reso = "resources";
322
- const _s = "statement";
320
+ const _res = "results";
321
+ const _reso = "resource";
322
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.verifiedpermissions";
323
323
  const _sC = "serviceCode";
324
324
  const _sc = "schema";
325
325
  const _se = "server";
326
326
  const _set = "set";
327
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.verifiedpermissions";
328
- const _st = "string";
327
+ const _st = "statement";
329
328
  const _sta = "static";
329
+ const _str = "string";
330
330
  const _t = "tags";
331
331
  const _tK = "tagKeys";
332
332
  const _tL = "templateLinked";
@@ -339,6 +339,68 @@ const n0 = "com.amazonaws.verifiedpermissions";
339
339
  import { TypeRegistry } from "@smithy/core/schema";
340
340
  import { AccessDeniedException, ConflictException, InternalServerException, InvalidStateException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/errors";
341
341
  import { VerifiedPermissionsServiceException } from "../models/VerifiedPermissionsServiceException";
342
+ const _s_registry = TypeRegistry.for(_s);
343
+ export var VerifiedPermissionsServiceException$ = [-3, _s, "VerifiedPermissionsServiceException", 0, [], []];
344
+ _s_registry.registerError(VerifiedPermissionsServiceException$, VerifiedPermissionsServiceException);
345
+ const n0_registry = TypeRegistry.for(n0);
346
+ export var AccessDeniedException$ = [-3, n0, _ADE,
347
+ { [_e]: _c, [_hE]: 403 },
348
+ [_m],
349
+ [0], 1
350
+ ];
351
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
352
+ export var ConflictException$ = [-3, n0, _CE,
353
+ { [_e]: _c, [_hE]: 409 },
354
+ [_m, _r],
355
+ [0, () => ResourceConflictList], 2
356
+ ];
357
+ n0_registry.registerError(ConflictException$, ConflictException);
358
+ export var InternalServerException$ = [-3, n0, _ISE,
359
+ { [_e]: _se, [_hE]: 500 },
360
+ [_m],
361
+ [0], 1
362
+ ];
363
+ n0_registry.registerError(InternalServerException$, InternalServerException);
364
+ export var InvalidStateException$ = [-3, n0, _ISEn,
365
+ { [_e]: _c, [_hE]: 406 },
366
+ [_m],
367
+ [0], 1
368
+ ];
369
+ n0_registry.registerError(InvalidStateException$, InvalidStateException);
370
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
371
+ { [_e]: _c, [_hE]: 404 },
372
+ [_m, _rI, _rT],
373
+ [0, 0, 0], 3
374
+ ];
375
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
376
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
377
+ { [_e]: _c, [_hE]: 402 },
378
+ [_m, _rT, _rI, _sC, _qC],
379
+ [0, 0, 0, 0, 0], 2
380
+ ];
381
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
382
+ export var ThrottlingException$ = [-3, n0, _TE,
383
+ { [_e]: _c, [_hE]: 429 },
384
+ [_m, _sC, _qC],
385
+ [0, 0, 0], 1
386
+ ];
387
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
388
+ export var TooManyTagsException$ = [-3, n0, _TMTE,
389
+ { [_e]: _c, [_hE]: 400 },
390
+ [_m, _rN],
391
+ [0, 0]
392
+ ];
393
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
394
+ export var ValidationException$ = [-3, n0, _VE,
395
+ { [_e]: _c },
396
+ [_m, _fL],
397
+ [0, () => ValidationExceptionFieldList], 1
398
+ ];
399
+ n0_registry.registerError(ValidationException$, ValidationException);
400
+ export const errorTypeRegistries = [
401
+ _s_registry,
402
+ n0_registry,
403
+ ];
342
404
  var ActionId = [0, n0, _AI, 8, 0];
343
405
  var ActionType = [0, n0, _AT, 8, 0];
344
406
  var BooleanAttribute = [0, n0, _BA, 8, 2];
@@ -363,12 +425,6 @@ var SchemaJson = [0, n0, _SJ, 8, 0];
363
425
  var StaticPolicyDescription = [0, n0, _SPD, 8, 0];
364
426
  var StringAttribute = [0, n0, _SA, 8, 0];
365
427
  var Token = [0, n0, _T, 8, 0];
366
- export var AccessDeniedException$ = [-3, n0, _ADE,
367
- { [_e]: _c, [_hE]: 403 },
368
- [_m],
369
- [0], 1
370
- ];
371
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
372
428
  export var ActionIdentifier$ = [3, n0, _AIc,
373
429
  0,
374
430
  [_aT, _aI],
@@ -381,7 +437,7 @@ export var BatchGetPolicyErrorItem$ = [3, n0, _BGPEI,
381
437
  ];
382
438
  export var BatchGetPolicyInput$ = [3, n0, _BGPI,
383
439
  0,
384
- [_r],
440
+ [_re],
385
441
  [() => BatchGetPolicyInputList], 1
386
442
  ];
387
443
  export var BatchGetPolicyInputItem$ = [3, n0, _BGPII,
@@ -391,7 +447,7 @@ export var BatchGetPolicyInputItem$ = [3, n0, _BGPII,
391
447
  ];
392
448
  export var BatchGetPolicyOutput$ = [3, n0, _BGPO,
393
449
  0,
394
- [_re, _er],
450
+ [_res, _er],
395
451
  [[() => BatchGetPolicyOutputList, 0], () => BatchGetPolicyErrorList], 2
396
452
  ];
397
453
  export var BatchGetPolicyOutputItem$ = [3, n0, _BGPOI,
@@ -401,17 +457,17 @@ export var BatchGetPolicyOutputItem$ = [3, n0, _BGPOI,
401
457
  ];
402
458
  export var BatchIsAuthorizedInput$ = [3, n0, _BIAI,
403
459
  0,
404
- [_pSI, _r, _en],
460
+ [_pSI, _re, _en],
405
461
  [0, [() => BatchIsAuthorizedInputList, 0], [() => EntitiesDefinition$, 0]], 2
406
462
  ];
407
463
  export var BatchIsAuthorizedInputItem$ = [3, n0, _BIAII,
408
464
  0,
409
- [_p, _a, _res, _con],
465
+ [_p, _a, _reso, _con],
410
466
  [[() => EntityIdentifier$, 0], [() => ActionIdentifier$, 0], [() => EntityIdentifier$, 0], [() => ContextDefinition$, 0]]
411
467
  ];
412
468
  export var BatchIsAuthorizedOutput$ = [3, n0, _BIAO,
413
469
  0,
414
- [_re],
470
+ [_res],
415
471
  [[() => BatchIsAuthorizedOutputList, 0]], 1
416
472
  ];
417
473
  export var BatchIsAuthorizedOutputItem$ = [3, n0, _BIAOI,
@@ -421,17 +477,17 @@ export var BatchIsAuthorizedOutputItem$ = [3, n0, _BIAOI,
421
477
  ];
422
478
  export var BatchIsAuthorizedWithTokenInput$ = [3, n0, _BIAWTI,
423
479
  0,
424
- [_pSI, _r, _iT, _aTc, _en],
480
+ [_pSI, _re, _iT, _aTc, _en],
425
481
  [0, [() => BatchIsAuthorizedWithTokenInputList, 0], [() => Token, 0], [() => Token, 0], [() => EntitiesDefinition$, 0]], 2
426
482
  ];
427
483
  export var BatchIsAuthorizedWithTokenInputItem$ = [3, n0, _BIAWTII,
428
484
  0,
429
- [_a, _res, _con],
485
+ [_a, _reso, _con],
430
486
  [[() => ActionIdentifier$, 0], [() => EntityIdentifier$, 0], [() => ContextDefinition$, 0]]
431
487
  ];
432
488
  export var BatchIsAuthorizedWithTokenOutput$ = [3, n0, _BIAWTO,
433
489
  0,
434
- [_re, _p],
490
+ [_res, _p],
435
491
  [[() => BatchIsAuthorizedWithTokenOutputList, 0], [() => EntityIdentifier$, 0]], 1
436
492
  ];
437
493
  export var BatchIsAuthorizedWithTokenOutputItem$ = [3, n0, _BIAWTOI,
@@ -469,12 +525,6 @@ export var CognitoUserPoolConfigurationItem$ = [3, n0, _CUPCI,
469
525
  [_uPA, _cI, _i, _gC],
470
526
  [0, [() => ClientIds, 0], 0, [() => CognitoGroupConfigurationItem$, 0]], 3
471
527
  ];
472
- export var ConflictException$ = [-3, n0, _CE,
473
- { [_e]: _c, [_hE]: 409 },
474
- [_m, _reso],
475
- [0, () => ResourceConflictList], 2
476
- ];
477
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
478
528
  export var CreateIdentitySourceInput$ = [3, n0, _CISI,
479
529
  0,
480
530
  [_pSI, _conf, _cT, _pET],
@@ -492,7 +542,7 @@ export var CreatePolicyInput$ = [3, n0, _CPI,
492
542
  ];
493
543
  export var CreatePolicyOutput$ = [3, n0, _CPO,
494
544
  0,
495
- [_pSI, _pI, _pT, _cD, _lUD, _p, _res, _ac, _ef],
545
+ [_pSI, _pI, _pT, _cD, _lUD, _p, _reso, _ac, _ef],
496
546
  [0, 0, 0, 5, 5, [() => EntityIdentifier$, 0], [() => EntityIdentifier$, 0], [() => ActionIdentifierList, 0], 0], 5
497
547
  ];
498
548
  export var CreatePolicyStoreInput$ = [3, n0, _CPSI,
@@ -507,7 +557,7 @@ export var CreatePolicyStoreOutput$ = [3, n0, _CPSO,
507
557
  ];
508
558
  export var CreatePolicyTemplateInput$ = [3, n0, _CPTI,
509
559
  0,
510
- [_pSI, _s, _cT, _des],
560
+ [_pSI, _st, _cT, _des],
511
561
  [0, [() => PolicyStatement, 0], [0, 4], [() => PolicyTemplateDescription, 0]], 2
512
562
  ];
513
563
  export var CreatePolicyTemplateOutput$ = [3, n0, _CPTO,
@@ -592,7 +642,7 @@ export var GetPolicyInput$ = [3, n0, _GPI,
592
642
  ];
593
643
  export var GetPolicyOutput$ = [3, n0, _GPO,
594
644
  0,
595
- [_pSI, _pI, _pT, _d, _cD, _lUD, _p, _res, _ac, _ef],
645
+ [_pSI, _pI, _pT, _d, _cD, _lUD, _p, _reso, _ac, _ef],
596
646
  [0, 0, 0, [() => PolicyDefinitionDetail$, 0], 5, 5, [() => EntityIdentifier$, 0], [() => EntityIdentifier$, 0], [() => ActionIdentifierList, 0], 0], 6
597
647
  ];
598
648
  export var GetPolicyStoreInput$ = [3, n0, _GPSI,
@@ -612,7 +662,7 @@ export var GetPolicyTemplateInput$ = [3, n0, _GPTI,
612
662
  ];
613
663
  export var GetPolicyTemplateOutput$ = [3, n0, _GPTO,
614
664
  0,
615
- [_pSI, _pTI, _s, _cD, _lUD, _des],
665
+ [_pSI, _pTI, _st, _cD, _lUD, _des],
616
666
  [0, 0, [() => PolicyStatement, 0], 5, 5, [() => PolicyTemplateDescription, 0]], 5
617
667
  ];
618
668
  export var GetSchemaInput$ = [3, n0, _GSI,
@@ -645,21 +695,9 @@ export var IdentitySourceItemDetails$ = [3, n0, _ISID,
645
695
  [_cI, _uPA, _dU, _oII],
646
696
  [[() => ClientIds, 0], 0, 0, 0]
647
697
  ];
648
- export var InternalServerException$ = [-3, n0, _ISE,
649
- { [_e]: _se, [_hE]: 500 },
650
- [_m],
651
- [0], 1
652
- ];
653
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
654
- export var InvalidStateException$ = [-3, n0, _ISEn,
655
- { [_e]: _c, [_hE]: 406 },
656
- [_m],
657
- [0], 1
658
- ];
659
- TypeRegistry.for(n0).registerError(InvalidStateException$, InvalidStateException);
660
698
  export var IsAuthorizedInput$ = [3, n0, _IAI,
661
699
  0,
662
- [_pSI, _p, _a, _res, _con, _en],
700
+ [_pSI, _p, _a, _reso, _con, _en],
663
701
  [0, [() => EntityIdentifier$, 0], [() => ActionIdentifier$, 0], [() => EntityIdentifier$, 0], [() => ContextDefinition$, 0], [() => EntitiesDefinition$, 0]], 1
664
702
  ];
665
703
  export var IsAuthorizedOutput$ = [3, n0, _IAO,
@@ -669,7 +707,7 @@ export var IsAuthorizedOutput$ = [3, n0, _IAO,
669
707
  ];
670
708
  export var IsAuthorizedWithTokenInput$ = [3, n0, _IAWTI,
671
709
  0,
672
- [_pSI, _iT, _aTc, _a, _res, _con, _en],
710
+ [_pSI, _iT, _aTc, _a, _reso, _con, _en],
673
711
  [0, [() => Token, 0], [() => Token, 0], [() => ActionIdentifier$, 0], [() => EntityIdentifier$, 0], [() => ContextDefinition$, 0], [() => EntitiesDefinition$, 0]], 1
674
712
  ];
675
713
  export var IsAuthorizedWithTokenOutput$ = [3, n0, _IAWTO,
@@ -799,12 +837,12 @@ export var OpenIdConnectIdentityTokenConfigurationItem$ = [3, n0, _OICITCI,
799
837
  ];
800
838
  export var PolicyFilter$ = [3, n0, _PF,
801
839
  0,
802
- [_p, _res, _pT, _pTI],
840
+ [_p, _reso, _pT, _pTI],
803
841
  [[() => EntityReference$, 0], [() => EntityReference$, 0], 0, 0]
804
842
  ];
805
843
  export var PolicyItem$ = [3, n0, _PI,
806
844
  0,
807
- [_pSI, _pI, _pT, _d, _cD, _lUD, _p, _res, _ac, _ef],
845
+ [_pSI, _pI, _pT, _d, _cD, _lUD, _p, _reso, _ac, _ef],
808
846
  [0, 0, 0, [() => PolicyDefinitionItem$, 0], 5, 5, [() => EntityIdentifier$, 0], [() => EntityIdentifier$, 0], [() => ActionIdentifierList, 0], 0], 6
809
847
  ];
810
848
  export var PolicyStoreItem$ = [3, n0, _PSI,
@@ -832,26 +870,14 @@ export var ResourceConflict$ = [3, n0, _RC,
832
870
  [_rI, _rT],
833
871
  [0, 0], 2
834
872
  ];
835
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
836
- { [_e]: _c, [_hE]: 404 },
837
- [_m, _rI, _rT],
838
- [0, 0, 0], 3
839
- ];
840
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
841
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
842
- { [_e]: _c, [_hE]: 402 },
843
- [_m, _rT, _rI, _sC, _qC],
844
- [0, 0, 0, 0, 0], 2
845
- ];
846
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
847
873
  export var StaticPolicyDefinition$ = [3, n0, _SPDt,
848
874
  0,
849
- [_s, _des],
875
+ [_st, _des],
850
876
  [[() => PolicyStatement, 0], [() => StaticPolicyDescription, 0]], 1
851
877
  ];
852
878
  export var StaticPolicyDefinitionDetail$ = [3, n0, _SPDD,
853
879
  0,
854
- [_s, _des],
880
+ [_st, _des],
855
881
  [[() => PolicyStatement, 0], [() => StaticPolicyDescription, 0]], 1
856
882
  ];
857
883
  export var StaticPolicyDefinitionItem$ = [3, n0, _SPDI,
@@ -871,31 +897,19 @@ export var TagResourceOutput$ = [3, n0, _TRO,
871
897
  ];
872
898
  export var TemplateLinkedPolicyDefinition$ = [3, n0, _TLPD,
873
899
  0,
874
- [_pTI, _p, _res],
900
+ [_pTI, _p, _reso],
875
901
  [0, [() => EntityIdentifier$, 0], [() => EntityIdentifier$, 0]], 1
876
902
  ];
877
903
  export var TemplateLinkedPolicyDefinitionDetail$ = [3, n0, _TLPDD,
878
904
  0,
879
- [_pTI, _p, _res],
905
+ [_pTI, _p, _reso],
880
906
  [0, [() => EntityIdentifier$, 0], [() => EntityIdentifier$, 0]], 1
881
907
  ];
882
908
  export var TemplateLinkedPolicyDefinitionItem$ = [3, n0, _TLPDI,
883
909
  0,
884
- [_pTI, _p, _res],
910
+ [_pTI, _p, _reso],
885
911
  [0, [() => EntityIdentifier$, 0], [() => EntityIdentifier$, 0]], 1
886
912
  ];
887
- export var ThrottlingException$ = [-3, n0, _TE,
888
- { [_e]: _c, [_hE]: 429 },
889
- [_m, _sC, _qC],
890
- [0, 0, 0], 1
891
- ];
892
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
893
- export var TooManyTagsException$ = [-3, n0, _TMTE,
894
- { [_e]: _c, [_hE]: 400 },
895
- [_m, _rN],
896
- [0, 0]
897
- ];
898
- TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
899
913
  export var UntagResourceInput$ = [3, n0, _URI,
900
914
  0,
901
915
  [_rA, _tK],
@@ -953,7 +967,7 @@ export var UpdatePolicyInput$ = [3, n0, _UPI,
953
967
  ];
954
968
  export var UpdatePolicyOutput$ = [3, n0, _UPO,
955
969
  0,
956
- [_pSI, _pI, _pT, _cD, _lUD, _p, _res, _ac, _ef],
970
+ [_pSI, _pI, _pT, _cD, _lUD, _p, _reso, _ac, _ef],
957
971
  [0, 0, 0, 5, 5, [() => EntityIdentifier$, 0], [() => EntityIdentifier$, 0], [() => ActionIdentifierList, 0], 0], 5
958
972
  ];
959
973
  export var UpdatePolicyStoreInput$ = [3, n0, _UPSI,
@@ -968,7 +982,7 @@ export var UpdatePolicyStoreOutput$ = [3, n0, _UPSO,
968
982
  ];
969
983
  export var UpdatePolicyTemplateInput$ = [3, n0, _UPTI,
970
984
  0,
971
- [_pSI, _pTI, _s, _des],
985
+ [_pSI, _pTI, _st, _des],
972
986
  [0, 0, [() => PolicyStatement, 0], [() => PolicyTemplateDescription, 0]], 3
973
987
  ];
974
988
  export var UpdatePolicyTemplateOutput$ = [3, n0, _UPTO,
@@ -978,15 +992,9 @@ export var UpdatePolicyTemplateOutput$ = [3, n0, _UPTO,
978
992
  ];
979
993
  export var UpdateStaticPolicyDefinition$ = [3, n0, _USPD,
980
994
  0,
981
- [_s, _des],
995
+ [_st, _des],
982
996
  [[() => PolicyStatement, 0], [() => StaticPolicyDescription, 0]], 1
983
997
  ];
984
- export var ValidationException$ = [-3, n0, _VE,
985
- { [_e]: _c },
986
- [_m, _fL],
987
- [0, () => ValidationExceptionFieldList], 1
988
- ];
989
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
990
998
  export var ValidationExceptionField$ = [3, n0, _VEF,
991
999
  0,
992
1000
  [_pat, _m],
@@ -998,8 +1006,6 @@ export var ValidationSettings$ = [3, n0, _VS,
998
1006
  [0], 1
999
1007
  ];
1000
1008
  var __Unit = "unit";
1001
- export var VerifiedPermissionsServiceException$ = [-3, _sm, "VerifiedPermissionsServiceException", 0, [], []];
1002
- TypeRegistry.for(_sm).registerError(VerifiedPermissionsServiceException$, VerifiedPermissionsServiceException);
1003
1009
  var ActionIdentifierList = [1, n0, _AIL,
1004
1010
  0, [() => ActionIdentifier$,
1005
1011
  0]
@@ -1123,12 +1129,12 @@ var RecordAttribute = [2, n0, _RA,
1123
1129
  var TagMap = 128 | 0;
1124
1130
  export var AttributeValue$ = [4, n0, _AV,
1125
1131
  0,
1126
- [_b, _eIn, _l, _st, _set, _rec, _ip, _dec, _da, _du],
1132
+ [_b, _eIn, _l, _str, _set, _rec, _ip, _dec, _da, _du],
1127
1133
  [[() => BooleanAttribute, 0], [() => EntityIdentifier$, 0], [() => LongAttribute, 0], [() => StringAttribute, 0], [() => SetAttribute, 0], [() => RecordAttribute, 0], [() => IpAddr, 0], [() => Decimal, 0], [() => DatetimeAttribute, 0], [() => Duration, 0]]
1128
1134
  ];
1129
1135
  export var CedarTagValue$ = [4, n0, _CTV,
1130
1136
  0,
1131
- [_b, _eIn, _l, _st, _set, _rec, _ip, _dec, _da, _du],
1137
+ [_b, _eIn, _l, _str, _set, _rec, _ip, _dec, _da, _du],
1132
1138
  [[() => BooleanAttribute, 0], [() => EntityIdentifier$, 0], [() => LongAttribute, 0], [() => StringAttribute, 0], [() => CedarTagSetAttribute, 0], [() => CedarTagRecordAttribute, 0], [() => IpAddr, 0], [() => Decimal, 0], [() => DatetimeAttribute, 0], [() => Duration, 0]]
1133
1139
  ];
1134
1140
  export var Configuration$ = [4, n0, _Co,
@@ -1,5 +1,21 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var VerifiedPermissionsServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var InvalidStateException$: StaticErrorSchema;
8
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
9
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
10
+ export declare var ThrottlingException$: StaticErrorSchema;
11
+ export declare var TooManyTagsException$: StaticErrorSchema;
12
+ export declare var ValidationException$: StaticErrorSchema;
13
+ /**
14
+ * TypeRegistry instances containing modeled errors.
15
+ * @internal
16
+ *
17
+ */
18
+ export declare const errorTypeRegistries: TypeRegistry[];
3
19
  export declare var ActionIdentifier$: StaticStructureSchema;
4
20
  export declare var BatchGetPolicyErrorItem$: StaticStructureSchema;
5
21
  export declare var BatchGetPolicyInput$: StaticStructureSchema;
@@ -20,7 +36,6 @@ export declare var CognitoGroupConfigurationItem$: StaticStructureSchema;
20
36
  export declare var CognitoUserPoolConfiguration$: StaticStructureSchema;
21
37
  export declare var CognitoUserPoolConfigurationDetail$: StaticStructureSchema;
22
38
  export declare var CognitoUserPoolConfigurationItem$: StaticStructureSchema;
23
- export declare var ConflictException$: StaticErrorSchema;
24
39
  export declare var CreateIdentitySourceInput$: StaticStructureSchema;
25
40
  export declare var CreateIdentitySourceOutput$: StaticStructureSchema;
26
41
  export declare var CreatePolicyInput$: StaticStructureSchema;
@@ -55,8 +70,6 @@ export declare var IdentitySourceDetails$: StaticStructureSchema;
55
70
  export declare var IdentitySourceFilter$: StaticStructureSchema;
56
71
  export declare var IdentitySourceItem$: StaticStructureSchema;
57
72
  export declare var IdentitySourceItemDetails$: StaticStructureSchema;
58
- export declare var InternalServerException$: StaticErrorSchema;
59
- export declare var InvalidStateException$: StaticErrorSchema;
60
73
  export declare var IsAuthorizedInput$: StaticStructureSchema;
61
74
  export declare var IsAuthorizedOutput$: StaticStructureSchema;
62
75
  export declare var IsAuthorizedWithTokenInput$: StaticStructureSchema;
@@ -92,8 +105,6 @@ export declare var PolicyTemplateItem$: StaticStructureSchema;
92
105
  export declare var PutSchemaInput$: StaticStructureSchema;
93
106
  export declare var PutSchemaOutput$: StaticStructureSchema;
94
107
  export declare var ResourceConflict$: StaticStructureSchema;
95
- export declare var ResourceNotFoundException$: StaticErrorSchema;
96
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
97
108
  export declare var StaticPolicyDefinition$: StaticStructureSchema;
98
109
  export declare var StaticPolicyDefinitionDetail$: StaticStructureSchema;
99
110
  export declare var StaticPolicyDefinitionItem$: StaticStructureSchema;
@@ -102,8 +113,6 @@ export declare var TagResourceOutput$: StaticStructureSchema;
102
113
  export declare var TemplateLinkedPolicyDefinition$: StaticStructureSchema;
103
114
  export declare var TemplateLinkedPolicyDefinitionDetail$: StaticStructureSchema;
104
115
  export declare var TemplateLinkedPolicyDefinitionItem$: StaticStructureSchema;
105
- export declare var ThrottlingException$: StaticErrorSchema;
106
- export declare var TooManyTagsException$: StaticErrorSchema;
107
116
  export declare var UntagResourceInput$: StaticStructureSchema;
108
117
  export declare var UntagResourceOutput$: StaticStructureSchema;
109
118
  export declare var UpdateCognitoGroupConfiguration$: StaticStructureSchema;
@@ -121,10 +130,8 @@ export declare var UpdatePolicyStoreOutput$: StaticStructureSchema;
121
130
  export declare var UpdatePolicyTemplateInput$: StaticStructureSchema;
122
131
  export declare var UpdatePolicyTemplateOutput$: StaticStructureSchema;
123
132
  export declare var UpdateStaticPolicyDefinition$: StaticStructureSchema;
124
- export declare var ValidationException$: StaticErrorSchema;
125
133
  export declare var ValidationExceptionField$: StaticStructureSchema;
126
134
  export declare var ValidationSettings$: StaticStructureSchema;
127
- export declare var VerifiedPermissionsServiceException$: StaticErrorSchema;
128
135
  export declare var AttributeValue$: StaticUnionSchema;
129
136
  export declare var CedarTagValue$: StaticUnionSchema;
130
137
  export declare var Configuration$: StaticUnionSchema;
@@ -1,10 +1,21 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var VerifiedPermissionsServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var InvalidStateException$: StaticErrorSchema;
13
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
14
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
15
+ export declare var ThrottlingException$: StaticErrorSchema;
16
+ export declare var TooManyTagsException$: StaticErrorSchema;
17
+ export declare var ValidationException$: StaticErrorSchema;
18
+ export declare const errorTypeRegistries: TypeRegistry[];
8
19
  export declare var ActionIdentifier$: StaticStructureSchema;
9
20
  export declare var BatchGetPolicyErrorItem$: StaticStructureSchema;
10
21
  export declare var BatchGetPolicyInput$: StaticStructureSchema;
@@ -25,7 +36,6 @@ export declare var CognitoGroupConfigurationItem$: StaticStructureSchema;
25
36
  export declare var CognitoUserPoolConfiguration$: StaticStructureSchema;
26
37
  export declare var CognitoUserPoolConfigurationDetail$: StaticStructureSchema;
27
38
  export declare var CognitoUserPoolConfigurationItem$: StaticStructureSchema;
28
- export declare var ConflictException$: StaticErrorSchema;
29
39
  export declare var CreateIdentitySourceInput$: StaticStructureSchema;
30
40
  export declare var CreateIdentitySourceOutput$: StaticStructureSchema;
31
41
  export declare var CreatePolicyInput$: StaticStructureSchema;
@@ -60,8 +70,6 @@ export declare var IdentitySourceDetails$: StaticStructureSchema;
60
70
  export declare var IdentitySourceFilter$: StaticStructureSchema;
61
71
  export declare var IdentitySourceItem$: StaticStructureSchema;
62
72
  export declare var IdentitySourceItemDetails$: StaticStructureSchema;
63
- export declare var InternalServerException$: StaticErrorSchema;
64
- export declare var InvalidStateException$: StaticErrorSchema;
65
73
  export declare var IsAuthorizedInput$: StaticStructureSchema;
66
74
  export declare var IsAuthorizedOutput$: StaticStructureSchema;
67
75
  export declare var IsAuthorizedWithTokenInput$: StaticStructureSchema;
@@ -97,8 +105,6 @@ export declare var PolicyTemplateItem$: StaticStructureSchema;
97
105
  export declare var PutSchemaInput$: StaticStructureSchema;
98
106
  export declare var PutSchemaOutput$: StaticStructureSchema;
99
107
  export declare var ResourceConflict$: StaticStructureSchema;
100
- export declare var ResourceNotFoundException$: StaticErrorSchema;
101
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
102
108
  export declare var StaticPolicyDefinition$: StaticStructureSchema;
103
109
  export declare var StaticPolicyDefinitionDetail$: StaticStructureSchema;
104
110
  export declare var StaticPolicyDefinitionItem$: StaticStructureSchema;
@@ -107,8 +113,6 @@ export declare var TagResourceOutput$: StaticStructureSchema;
107
113
  export declare var TemplateLinkedPolicyDefinition$: StaticStructureSchema;
108
114
  export declare var TemplateLinkedPolicyDefinitionDetail$: StaticStructureSchema;
109
115
  export declare var TemplateLinkedPolicyDefinitionItem$: StaticStructureSchema;
110
- export declare var ThrottlingException$: StaticErrorSchema;
111
- export declare var TooManyTagsException$: StaticErrorSchema;
112
116
  export declare var UntagResourceInput$: StaticStructureSchema;
113
117
  export declare var UntagResourceOutput$: StaticStructureSchema;
114
118
  export declare var UpdateCognitoGroupConfiguration$: StaticStructureSchema;
@@ -126,10 +130,8 @@ export declare var UpdatePolicyStoreOutput$: StaticStructureSchema;
126
130
  export declare var UpdatePolicyTemplateInput$: StaticStructureSchema;
127
131
  export declare var UpdatePolicyTemplateOutput$: StaticStructureSchema;
128
132
  export declare var UpdateStaticPolicyDefinition$: StaticStructureSchema;
129
- export declare var ValidationException$: StaticErrorSchema;
130
133
  export declare var ValidationExceptionField$: StaticStructureSchema;
131
134
  export declare var ValidationSettings$: StaticStructureSchema;
132
- export declare var VerifiedPermissionsServiceException$: StaticErrorSchema;
133
135
  export declare var AttributeValue$: StaticUnionSchema;
134
136
  export declare var CedarTagValue$: StaticUnionSchema;
135
137
  export declare var Configuration$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-verifiedpermissions",
3
3
  "description": "AWS SDK for JavaScript Verifiedpermissions Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-verifiedpermissions",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",