@aws-sdk/client-rekognition 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 { defaultRekognitionHttpAuthSchemeProvider } 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: "2016-06-27",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.rekognition",
30
+ errorTypeRegistries,
29
31
  version: "2016-06-27",
30
32
  serviceTarget: "RekognitionService",
31
33
  },
@@ -524,15 +524,15 @@ const _S = "Smile";
524
524
  const _SA = "SummarizationAttributes";
525
525
  const _SB = "SortBy";
526
526
  const _SBu = "S3Bucket";
527
- const _SC = "StatusCode";
527
+ const _SC = "ServiceCode";
528
528
  const _SCM = "StartContentModeration";
529
529
  const _SCMR = "StartContentModerationRequest";
530
530
  const _SCMRt = "StartContentModerationResponse";
531
531
  const _SCR = "StartCelebrityRecognition";
532
532
  const _SCRR = "StartCelebrityRecognitionRequest";
533
533
  const _SCRRt = "StartCelebrityRecognitionResponse";
534
- const _SCe = "ServiceCode";
535
534
  const _SCi = "SimplifiedColor";
535
+ const _SCt = "StatusCode";
536
536
  const _SD = "S3Destination";
537
537
  const _SDe = "SegmentDetection";
538
538
  const _SDeg = "SegmentDetections";
@@ -651,9 +651,9 @@ const _TDRext = "TextDetectionResults";
651
651
  const _TDe = "TestingData";
652
652
  const _TDex = "TextDetections";
653
653
  const _TDext = "TextDetection";
654
- const _TE = "TotalEntries";
654
+ const _TE = "ThrottlingException";
655
655
  const _TET = "TrainingEndTimestamp";
656
- const _TEh = "ThrottlingException";
656
+ const _TEo = "TotalEntries";
657
657
  const _TI = "TargetImage";
658
658
  const _TIOC = "TargetImageOrientationCorrection";
659
659
  const _TK = "TagKeys";
@@ -724,20 +724,160 @@ const _c = "client";
724
724
  const _e = "error";
725
725
  const _hE = "httpError";
726
726
  const _mT = "mediaType";
727
- const _s = "server";
728
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rekognition";
727
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.rekognition";
728
+ const _se = "server";
729
729
  const n0 = "com.amazonaws.rekognition";
730
730
  import { TypeRegistry } from "@smithy/core/schema";
731
731
  import { AccessDeniedException, ConflictException, HumanLoopQuotaExceededException, IdempotentParameterMismatchException, ImageTooLargeException, InternalServerError, InvalidImageFormatException, InvalidManifestException, InvalidPaginationTokenException, InvalidParameterException, InvalidPolicyRevisionIdException, InvalidS3ObjectException, LimitExceededException, MalformedPolicyDocumentException, ProvisionedThroughputExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, SessionNotFoundException, ThrottlingException, VideoTooLargeException, } from "../models/errors";
732
732
  import { RekognitionServiceException } from "../models/RekognitionServiceException";
733
- var LivenessImageBlob = [0, n0, _LIB, 8, 21];
734
- var SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = [0, n0, _SJHLACER, { [_mT]: _a }, 0];
733
+ const _s_registry = TypeRegistry.for(_s);
734
+ export var RekognitionServiceException$ = [-3, _s, "RekognitionServiceException", 0, [], []];
735
+ _s_registry.registerError(RekognitionServiceException$, RekognitionServiceException);
736
+ const n0_registry = TypeRegistry.for(n0);
735
737
  export var AccessDeniedException$ = [-3, n0, _ADE,
736
738
  { [_e]: _c },
737
739
  [_M, _C, _L],
738
740
  [0, 0, 0]
739
741
  ];
740
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
742
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
743
+ export var ConflictException$ = [-3, n0, _CE,
744
+ { [_e]: _c },
745
+ [_M, _C, _L],
746
+ [0, 0, 0]
747
+ ];
748
+ n0_registry.registerError(ConflictException$, ConflictException);
749
+ export var HumanLoopQuotaExceededException$ = [-3, n0, _HLQEE,
750
+ { [_e]: _c, [_hE]: 402 },
751
+ [_RT, _QC, _SC, _M, _C, _L],
752
+ [0, 0, 0, 0, 0, 0]
753
+ ];
754
+ n0_registry.registerError(HumanLoopQuotaExceededException$, HumanLoopQuotaExceededException);
755
+ export var IdempotentParameterMismatchException$ = [-3, n0, _IPME,
756
+ { [_e]: _c },
757
+ [_M, _C, _L],
758
+ [0, 0, 0]
759
+ ];
760
+ n0_registry.registerError(IdempotentParameterMismatchException$, IdempotentParameterMismatchException);
761
+ export var ImageTooLargeException$ = [-3, n0, _ITLE,
762
+ { [_e]: _c },
763
+ [_M, _C, _L],
764
+ [0, 0, 0]
765
+ ];
766
+ n0_registry.registerError(ImageTooLargeException$, ImageTooLargeException);
767
+ export var InternalServerError$ = [-3, n0, _ISE,
768
+ { [_e]: _se },
769
+ [_M, _C, _L],
770
+ [0, 0, 0]
771
+ ];
772
+ n0_registry.registerError(InternalServerError$, InternalServerError);
773
+ export var InvalidImageFormatException$ = [-3, n0, _IIFE,
774
+ { [_e]: _c },
775
+ [_M, _C, _L],
776
+ [0, 0, 0]
777
+ ];
778
+ n0_registry.registerError(InvalidImageFormatException$, InvalidImageFormatException);
779
+ export var InvalidManifestException$ = [-3, n0, _IME,
780
+ { [_e]: _c },
781
+ [_M, _C, _L],
782
+ [0, 0, 0]
783
+ ];
784
+ n0_registry.registerError(InvalidManifestException$, InvalidManifestException);
785
+ export var InvalidPaginationTokenException$ = [-3, n0, _IPTE,
786
+ { [_e]: _c },
787
+ [_M, _C, _L],
788
+ [0, 0, 0]
789
+ ];
790
+ n0_registry.registerError(InvalidPaginationTokenException$, InvalidPaginationTokenException);
791
+ export var InvalidParameterException$ = [-3, n0, _IPE,
792
+ { [_e]: _c },
793
+ [_M, _C, _L],
794
+ [0, 0, 0]
795
+ ];
796
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
797
+ export var InvalidPolicyRevisionIdException$ = [-3, n0, _IPRIE,
798
+ { [_e]: _c },
799
+ [_M, _C, _L],
800
+ [0, 0, 0]
801
+ ];
802
+ n0_registry.registerError(InvalidPolicyRevisionIdException$, InvalidPolicyRevisionIdException);
803
+ export var InvalidS3ObjectException$ = [-3, n0, _ISOE,
804
+ { [_e]: _c },
805
+ [_M, _C, _L],
806
+ [0, 0, 0]
807
+ ];
808
+ n0_registry.registerError(InvalidS3ObjectException$, InvalidS3ObjectException);
809
+ export var LimitExceededException$ = [-3, n0, _LEE,
810
+ { [_e]: _c },
811
+ [_M, _C, _L],
812
+ [0, 0, 0]
813
+ ];
814
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
815
+ export var MalformedPolicyDocumentException$ = [-3, n0, _MPDE,
816
+ { [_e]: _c },
817
+ [_M, _C, _L],
818
+ [0, 0, 0]
819
+ ];
820
+ n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
821
+ export var ProvisionedThroughputExceededException$ = [-3, n0, _PTEE,
822
+ { [_e]: _c },
823
+ [_M, _C, _L],
824
+ [0, 0, 0]
825
+ ];
826
+ n0_registry.registerError(ProvisionedThroughputExceededException$, ProvisionedThroughputExceededException);
827
+ export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
828
+ { [_e]: _c },
829
+ [_M, _C, _L],
830
+ [0, 0, 0]
831
+ ];
832
+ n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
833
+ export var ResourceInUseException$ = [-3, n0, _RIUE,
834
+ { [_e]: _c },
835
+ [_M, _C, _L],
836
+ [0, 0, 0]
837
+ ];
838
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
839
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
840
+ { [_e]: _c },
841
+ [_M, _C, _L],
842
+ [0, 0, 0]
843
+ ];
844
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
845
+ export var ResourceNotReadyException$ = [-3, n0, _RNRE,
846
+ { [_e]: _c },
847
+ [_M, _C, _L],
848
+ [0, 0, 0]
849
+ ];
850
+ n0_registry.registerError(ResourceNotReadyException$, ResourceNotReadyException);
851
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
852
+ { [_e]: _c },
853
+ [_M, _C, _L],
854
+ [0, 0, 0]
855
+ ];
856
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
857
+ export var SessionNotFoundException$ = [-3, n0, _SNFE,
858
+ { [_e]: _c },
859
+ [_M, _C, _L],
860
+ [0, 0, 0]
861
+ ];
862
+ n0_registry.registerError(SessionNotFoundException$, SessionNotFoundException);
863
+ export var ThrottlingException$ = [-3, n0, _TE,
864
+ { [_e]: _se },
865
+ [_M, _C, _L],
866
+ [0, 0, 0]
867
+ ];
868
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
869
+ export var VideoTooLargeException$ = [-3, n0, _VTLE,
870
+ { [_e]: _c },
871
+ [_M, _C, _L],
872
+ [0, 0, 0]
873
+ ];
874
+ n0_registry.registerError(VideoTooLargeException$, VideoTooLargeException);
875
+ export const errorTypeRegistries = [
876
+ _s_registry,
877
+ n0_registry,
878
+ ];
879
+ var LivenessImageBlob = [0, n0, _LIB, 8, 21];
880
+ var SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = [0, n0, _SJHLACER, { [_mT]: _a }, 0];
741
881
  export var AgeRange$ = [3, n0, _AR,
742
882
  0,
743
883
  [_Lo, _H],
@@ -838,12 +978,6 @@ export var CompareFacesResponse$ = [3, n0, _CFRo,
838
978
  [_SIF, _FM, _UF, _SIOC, _TIOC],
839
979
  [() => ComparedSourceImageFace$, () => CompareFacesMatchList, () => CompareFacesUnmatchList, 0, 0]
840
980
  ];
841
- export var ConflictException$ = [-3, n0, _CE,
842
- { [_e]: _c },
843
- [_M, _C, _L],
844
- [0, 0, 0]
845
- ];
846
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
847
981
  export var ConnectedHomeSettings$ = [3, n0, _CHS,
848
982
  0,
849
983
  [_Lab, _MCi],
@@ -886,7 +1020,7 @@ export var CreateCollectionRequest$ = [3, n0, _CCR,
886
1020
  ];
887
1021
  export var CreateCollectionResponse$ = [3, n0, _CCRr,
888
1022
  0,
889
- [_SC, _CA, _FMV],
1023
+ [_SCt, _CA, _FMV],
890
1024
  [1, 0, 0]
891
1025
  ];
892
1026
  export var CreateDatasetRequest$ = [3, n0, _CDR,
@@ -1001,7 +1135,7 @@ export var DatasetSource$ = [3, n0, _DS,
1001
1135
  ];
1002
1136
  export var DatasetStats$ = [3, n0, _DSa,
1003
1137
  0,
1004
- [_LE, _TE, _TL, _EE],
1138
+ [_LE, _TEo, _TL, _EE],
1005
1139
  [1, 1, 1, 1]
1006
1140
  ];
1007
1141
  export var DeleteCollectionRequest$ = [3, n0, _DCR,
@@ -1011,7 +1145,7 @@ export var DeleteCollectionRequest$ = [3, n0, _DCR,
1011
1145
  ];
1012
1146
  export var DeleteCollectionResponse$ = [3, n0, _DCRe,
1013
1147
  0,
1014
- [_SC],
1148
+ [_SCt],
1015
1149
  [1]
1016
1150
  ];
1017
1151
  export var DeleteDatasetRequest$ = [3, n0, _DDR,
@@ -1489,18 +1623,6 @@ export var HumanLoopDataAttributes$ = [3, n0, _HLDA,
1489
1623
  [_CC],
1490
1624
  [64 | 0]
1491
1625
  ];
1492
- export var HumanLoopQuotaExceededException$ = [-3, n0, _HLQEE,
1493
- { [_e]: _c, [_hE]: 402 },
1494
- [_RT, _QC, _SCe, _M, _C, _L],
1495
- [0, 0, 0, 0, 0, 0]
1496
- ];
1497
- TypeRegistry.for(n0).registerError(HumanLoopQuotaExceededException$, HumanLoopQuotaExceededException);
1498
- export var IdempotentParameterMismatchException$ = [-3, n0, _IPME,
1499
- { [_e]: _c },
1500
- [_M, _C, _L],
1501
- [0, 0, 0]
1502
- ];
1503
- TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException$, IdempotentParameterMismatchException);
1504
1626
  export var Image$ = [3, n0, _Im,
1505
1627
  0,
1506
1628
  [_B, _SO],
@@ -1511,12 +1633,6 @@ export var ImageQuality$ = [3, n0, _IQ,
1511
1633
  [_Br, _Sh],
1512
1634
  [1, 1]
1513
1635
  ];
1514
- export var ImageTooLargeException$ = [-3, n0, _ITLE,
1515
- { [_e]: _c },
1516
- [_M, _C, _L],
1517
- [0, 0, 0]
1518
- ];
1519
- TypeRegistry.for(n0).registerError(ImageTooLargeException$, ImageTooLargeException);
1520
1636
  export var IndexFacesRequest$ = [3, n0, _IFR,
1521
1637
  0,
1522
1638
  [_CI, _Im, _EII, _DAe, _MF, _QF],
@@ -1532,48 +1648,6 @@ export var Instance$ = [3, n0, _Ins,
1532
1648
  [_BB, _Con, _DCo],
1533
1649
  [() => BoundingBox$, 1, () => DominantColors]
1534
1650
  ];
1535
- export var InternalServerError$ = [-3, n0, _ISE,
1536
- { [_e]: _s },
1537
- [_M, _C, _L],
1538
- [0, 0, 0]
1539
- ];
1540
- TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
1541
- export var InvalidImageFormatException$ = [-3, n0, _IIFE,
1542
- { [_e]: _c },
1543
- [_M, _C, _L],
1544
- [0, 0, 0]
1545
- ];
1546
- TypeRegistry.for(n0).registerError(InvalidImageFormatException$, InvalidImageFormatException);
1547
- export var InvalidManifestException$ = [-3, n0, _IME,
1548
- { [_e]: _c },
1549
- [_M, _C, _L],
1550
- [0, 0, 0]
1551
- ];
1552
- TypeRegistry.for(n0).registerError(InvalidManifestException$, InvalidManifestException);
1553
- export var InvalidPaginationTokenException$ = [-3, n0, _IPTE,
1554
- { [_e]: _c },
1555
- [_M, _C, _L],
1556
- [0, 0, 0]
1557
- ];
1558
- TypeRegistry.for(n0).registerError(InvalidPaginationTokenException$, InvalidPaginationTokenException);
1559
- export var InvalidParameterException$ = [-3, n0, _IPE,
1560
- { [_e]: _c },
1561
- [_M, _C, _L],
1562
- [0, 0, 0]
1563
- ];
1564
- TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
1565
- export var InvalidPolicyRevisionIdException$ = [-3, n0, _IPRIE,
1566
- { [_e]: _c },
1567
- [_M, _C, _L],
1568
- [0, 0, 0]
1569
- ];
1570
- TypeRegistry.for(n0).registerError(InvalidPolicyRevisionIdException$, InvalidPolicyRevisionIdException);
1571
- export var InvalidS3ObjectException$ = [-3, n0, _ISOE,
1572
- { [_e]: _c },
1573
- [_M, _C, _L],
1574
- [0, 0, 0]
1575
- ];
1576
- TypeRegistry.for(n0).registerError(InvalidS3ObjectException$, InvalidS3ObjectException);
1577
1651
  export var KinesisDataStream$ = [3, n0, _KDS,
1578
1652
  0,
1579
1653
  [_Ar],
@@ -1624,12 +1698,6 @@ export var Landmark$ = [3, n0, _Lan,
1624
1698
  [_Ty, _X, _Y_],
1625
1699
  [0, 1, 1]
1626
1700
  ];
1627
- export var LimitExceededException$ = [-3, n0, _LEE,
1628
- { [_e]: _c },
1629
- [_M, _C, _L],
1630
- [0, 0, 0]
1631
- ];
1632
- TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
1633
1701
  export var ListCollectionsRequest$ = [3, n0, _LCR,
1634
1702
  0,
1635
1703
  [_NT, _MR],
@@ -1725,12 +1793,6 @@ export var LivenessOutputConfig$ = [3, n0, _LOC,
1725
1793
  [_SBu, _SKP],
1726
1794
  [0, 0], 1
1727
1795
  ];
1728
- export var MalformedPolicyDocumentException$ = [-3, n0, _MPDE,
1729
- { [_e]: _c },
1730
- [_M, _C, _L],
1731
- [0, 0, 0]
1732
- ];
1733
- TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
1734
1796
  export var MatchedUser$ = [3, n0, _MU,
1735
1797
  0,
1736
1798
  [_UI, _US],
@@ -1871,12 +1933,6 @@ export var ProtectiveEquipmentSummary$ = [3, n0, _PES,
1871
1933
  [_PWRE, _PWREe, _PI],
1872
1934
  [64 | 1, 64 | 1, 64 | 1]
1873
1935
  ];
1874
- export var ProvisionedThroughputExceededException$ = [-3, n0, _PTEE,
1875
- { [_e]: _c },
1876
- [_M, _C, _L],
1877
- [0, 0, 0]
1878
- ];
1879
- TypeRegistry.for(n0).registerError(ProvisionedThroughputExceededException$, ProvisionedThroughputExceededException);
1880
1936
  export var PutProjectPolicyRequest$ = [3, n0, _PPPR,
1881
1937
  0,
1882
1938
  [_PA, _PNo, _PDo, _PRI],
@@ -1902,30 +1958,6 @@ export var RegionOfInterest$ = [3, n0, _ROIe,
1902
1958
  [_BB, _Po],
1903
1959
  [() => BoundingBox$, () => Polygon]
1904
1960
  ];
1905
- export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
1906
- { [_e]: _c },
1907
- [_M, _C, _L],
1908
- [0, 0, 0]
1909
- ];
1910
- TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
1911
- export var ResourceInUseException$ = [-3, n0, _RIUE,
1912
- { [_e]: _c },
1913
- [_M, _C, _L],
1914
- [0, 0, 0]
1915
- ];
1916
- TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
1917
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1918
- { [_e]: _c },
1919
- [_M, _C, _L],
1920
- [0, 0, 0]
1921
- ];
1922
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
1923
- export var ResourceNotReadyException$ = [-3, n0, _RNRE,
1924
- { [_e]: _c },
1925
- [_M, _C, _L],
1926
- [0, 0, 0]
1927
- ];
1928
- TypeRegistry.for(n0).registerError(ResourceNotReadyException$, ResourceNotReadyException);
1929
1961
  export var S3Destination$ = [3, n0, _SD,
1930
1962
  0,
1931
1963
  [_Bu, _KP],
@@ -2001,18 +2033,6 @@ export var SegmentTypeInfo$ = [3, n0, _STI,
2001
2033
  [_Ty, _MVo],
2002
2034
  [0, 0]
2003
2035
  ];
2004
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
2005
- { [_e]: _c },
2006
- [_M, _C, _L],
2007
- [0, 0, 0]
2008
- ];
2009
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
2010
- export var SessionNotFoundException$ = [-3, n0, _SNFE,
2011
- { [_e]: _c },
2012
- [_M, _C, _L],
2013
- [0, 0, 0]
2014
- ];
2015
- TypeRegistry.for(n0).registerError(SessionNotFoundException$, SessionNotFoundException);
2016
2036
  export var ShotSegment$ = [3, n0, _SS,
2017
2037
  0,
2018
2038
  [_Ind, _Con],
@@ -2263,12 +2283,6 @@ export var TextDetectionResult$ = [3, n0, _TDRex,
2263
2283
  [_Ti, _TDext],
2264
2284
  [1, () => TextDetection$]
2265
2285
  ];
2266
- export var ThrottlingException$ = [-3, n0, _TEh,
2267
- { [_e]: _s },
2268
- [_M, _C, _L],
2269
- [0, 0, 0]
2270
- ];
2271
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
2272
2286
  export var TrainingData$ = [3, n0, _TD,
2273
2287
  0,
2274
2288
  [_As],
@@ -2364,14 +2378,6 @@ export var VideoMetadata$ = [3, n0, _VM,
2364
2378
  [_Co, _DM, _For, _FRr, _FH, _FW, _CRo],
2365
2379
  [0, 1, 0, 1, 1, 1, 0]
2366
2380
  ];
2367
- export var VideoTooLargeException$ = [-3, n0, _VTLE,
2368
- { [_e]: _c },
2369
- [_M, _C, _L],
2370
- [0, 0, 0]
2371
- ];
2372
- TypeRegistry.for(n0).registerError(VideoTooLargeException$, VideoTooLargeException);
2373
- export var RekognitionServiceException$ = [-3, _sm, "RekognitionServiceException", 0, [], []];
2374
- TypeRegistry.for(_sm).registerError(RekognitionServiceException$, RekognitionServiceException);
2375
2381
  var Assets = [1, n0, _As,
2376
2382
  0, () => Asset$
2377
2383
  ];
@@ -1,5 +1,35 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var RekognitionServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var HumanLoopQuotaExceededException$: StaticErrorSchema;
7
+ export declare var IdempotentParameterMismatchException$: StaticErrorSchema;
8
+ export declare var ImageTooLargeException$: StaticErrorSchema;
9
+ export declare var InternalServerError$: StaticErrorSchema;
10
+ export declare var InvalidImageFormatException$: StaticErrorSchema;
11
+ export declare var InvalidManifestException$: StaticErrorSchema;
12
+ export declare var InvalidPaginationTokenException$: StaticErrorSchema;
13
+ export declare var InvalidParameterException$: StaticErrorSchema;
14
+ export declare var InvalidPolicyRevisionIdException$: StaticErrorSchema;
15
+ export declare var InvalidS3ObjectException$: StaticErrorSchema;
16
+ export declare var LimitExceededException$: StaticErrorSchema;
17
+ export declare var MalformedPolicyDocumentException$: StaticErrorSchema;
18
+ export declare var ProvisionedThroughputExceededException$: StaticErrorSchema;
19
+ export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
20
+ export declare var ResourceInUseException$: StaticErrorSchema;
21
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
22
+ export declare var ResourceNotReadyException$: StaticErrorSchema;
23
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
24
+ export declare var SessionNotFoundException$: StaticErrorSchema;
25
+ export declare var ThrottlingException$: StaticErrorSchema;
26
+ export declare var VideoTooLargeException$: StaticErrorSchema;
27
+ /**
28
+ * TypeRegistry instances containing modeled errors.
29
+ * @internal
30
+ *
31
+ */
32
+ export declare const errorTypeRegistries: TypeRegistry[];
3
33
  export declare var AgeRange$: StaticStructureSchema;
4
34
  export declare var Asset$: StaticStructureSchema;
5
35
  export declare var AssociatedFace$: StaticStructureSchema;
@@ -20,7 +50,6 @@ export declare var ComparedSourceImageFace$: StaticStructureSchema;
20
50
  export declare var CompareFacesMatch$: StaticStructureSchema;
21
51
  export declare var CompareFacesRequest$: StaticStructureSchema;
22
52
  export declare var CompareFacesResponse$: StaticStructureSchema;
23
- export declare var ConflictException$: StaticErrorSchema;
24
53
  export declare var ConnectedHomeSettings$: StaticStructureSchema;
25
54
  export declare var ConnectedHomeSettingsForUpdate$: StaticStructureSchema;
26
55
  export declare var ContentModerationDetection$: StaticStructureSchema;
@@ -150,21 +179,11 @@ export declare var GroundTruthManifest$: StaticStructureSchema;
150
179
  export declare var HumanLoopActivationOutput$: StaticStructureSchema;
151
180
  export declare var HumanLoopConfig$: StaticStructureSchema;
152
181
  export declare var HumanLoopDataAttributes$: StaticStructureSchema;
153
- export declare var HumanLoopQuotaExceededException$: StaticErrorSchema;
154
- export declare var IdempotentParameterMismatchException$: StaticErrorSchema;
155
182
  export declare var Image$: StaticStructureSchema;
156
183
  export declare var ImageQuality$: StaticStructureSchema;
157
- export declare var ImageTooLargeException$: StaticErrorSchema;
158
184
  export declare var IndexFacesRequest$: StaticStructureSchema;
159
185
  export declare var IndexFacesResponse$: StaticStructureSchema;
160
186
  export declare var Instance$: StaticStructureSchema;
161
- export declare var InternalServerError$: StaticErrorSchema;
162
- export declare var InvalidImageFormatException$: StaticErrorSchema;
163
- export declare var InvalidManifestException$: StaticErrorSchema;
164
- export declare var InvalidPaginationTokenException$: StaticErrorSchema;
165
- export declare var InvalidParameterException$: StaticErrorSchema;
166
- export declare var InvalidPolicyRevisionIdException$: StaticErrorSchema;
167
- export declare var InvalidS3ObjectException$: StaticErrorSchema;
168
187
  export declare var KinesisDataStream$: StaticStructureSchema;
169
188
  export declare var KinesisVideoStream$: StaticStructureSchema;
170
189
  export declare var KinesisVideoStreamStartSelector$: StaticStructureSchema;
@@ -175,7 +194,6 @@ export declare var LabelCategory$: StaticStructureSchema;
175
194
  export declare var LabelDetection$: StaticStructureSchema;
176
195
  export declare var LabelDetectionSettings$: StaticStructureSchema;
177
196
  export declare var Landmark$: StaticStructureSchema;
178
- export declare var LimitExceededException$: StaticErrorSchema;
179
197
  export declare var ListCollectionsRequest$: StaticStructureSchema;
180
198
  export declare var ListCollectionsResponse$: StaticStructureSchema;
181
199
  export declare var ListDatasetEntriesRequest$: StaticStructureSchema;
@@ -195,7 +213,6 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
195
213
  export declare var ListUsersRequest$: StaticStructureSchema;
196
214
  export declare var ListUsersResponse$: StaticStructureSchema;
197
215
  export declare var LivenessOutputConfig$: StaticStructureSchema;
198
- export declare var MalformedPolicyDocumentException$: StaticErrorSchema;
199
216
  export declare var MatchedUser$: StaticStructureSchema;
200
217
  export declare var MediaAnalysisDetectModerationLabelsConfig$: StaticStructureSchema;
201
218
  export declare var MediaAnalysisInput$: StaticStructureSchema;
@@ -224,16 +241,11 @@ export declare var ProtectiveEquipmentBodyPart$: StaticStructureSchema;
224
241
  export declare var ProtectiveEquipmentPerson$: StaticStructureSchema;
225
242
  export declare var ProtectiveEquipmentSummarizationAttributes$: StaticStructureSchema;
226
243
  export declare var ProtectiveEquipmentSummary$: StaticStructureSchema;
227
- export declare var ProvisionedThroughputExceededException$: StaticErrorSchema;
228
244
  export declare var PutProjectPolicyRequest$: StaticStructureSchema;
229
245
  export declare var PutProjectPolicyResponse$: StaticStructureSchema;
230
246
  export declare var RecognizeCelebritiesRequest$: StaticStructureSchema;
231
247
  export declare var RecognizeCelebritiesResponse$: StaticStructureSchema;
232
248
  export declare var RegionOfInterest$: StaticStructureSchema;
233
- export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
234
- export declare var ResourceInUseException$: StaticErrorSchema;
235
- export declare var ResourceNotFoundException$: StaticErrorSchema;
236
- export declare var ResourceNotReadyException$: StaticErrorSchema;
237
249
  export declare var S3Destination$: StaticStructureSchema;
238
250
  export declare var S3Object$: StaticStructureSchema;
239
251
  export declare var SearchedFace$: StaticStructureSchema;
@@ -249,8 +261,6 @@ export declare var SearchUsersRequest$: StaticStructureSchema;
249
261
  export declare var SearchUsersResponse$: StaticStructureSchema;
250
262
  export declare var SegmentDetection$: StaticStructureSchema;
251
263
  export declare var SegmentTypeInfo$: StaticStructureSchema;
252
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
253
- export declare var SessionNotFoundException$: StaticErrorSchema;
254
264
  export declare var ShotSegment$: StaticStructureSchema;
255
265
  export declare var Smile$: StaticStructureSchema;
256
266
  export declare var StartCelebrityRecognitionRequest$: StaticStructureSchema;
@@ -301,7 +311,6 @@ export declare var TestingData$: StaticStructureSchema;
301
311
  export declare var TestingDataResult$: StaticStructureSchema;
302
312
  export declare var TextDetection$: StaticStructureSchema;
303
313
  export declare var TextDetectionResult$: StaticStructureSchema;
304
- export declare var ThrottlingException$: StaticErrorSchema;
305
314
  export declare var TrainingData$: StaticStructureSchema;
306
315
  export declare var TrainingDataResult$: StaticStructureSchema;
307
316
  export declare var UnindexedFace$: StaticStructureSchema;
@@ -321,8 +330,6 @@ export declare var ValidationData$: StaticStructureSchema;
321
330
  export declare var Versions$: StaticStructureSchema;
322
331
  export declare var Video$: StaticStructureSchema;
323
332
  export declare var VideoMetadata$: StaticStructureSchema;
324
- export declare var VideoTooLargeException$: StaticErrorSchema;
325
- export declare var RekognitionServiceException$: StaticErrorSchema;
326
333
  export declare var AssociateFaces$: StaticOperationSchema;
327
334
  export declare var CompareFaces$: StaticOperationSchema;
328
335
  export declare var CopyProjectVersion$: StaticOperationSchema;
@@ -1,9 +1,34 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var RekognitionServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var HumanLoopQuotaExceededException$: StaticErrorSchema;
11
+ export declare var IdempotentParameterMismatchException$: StaticErrorSchema;
12
+ export declare var ImageTooLargeException$: StaticErrorSchema;
13
+ export declare var InternalServerError$: StaticErrorSchema;
14
+ export declare var InvalidImageFormatException$: StaticErrorSchema;
15
+ export declare var InvalidManifestException$: StaticErrorSchema;
16
+ export declare var InvalidPaginationTokenException$: StaticErrorSchema;
17
+ export declare var InvalidParameterException$: StaticErrorSchema;
18
+ export declare var InvalidPolicyRevisionIdException$: StaticErrorSchema;
19
+ export declare var InvalidS3ObjectException$: StaticErrorSchema;
20
+ export declare var LimitExceededException$: StaticErrorSchema;
21
+ export declare var MalformedPolicyDocumentException$: StaticErrorSchema;
22
+ export declare var ProvisionedThroughputExceededException$: StaticErrorSchema;
23
+ export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
24
+ export declare var ResourceInUseException$: StaticErrorSchema;
25
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
26
+ export declare var ResourceNotReadyException$: StaticErrorSchema;
27
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
28
+ export declare var SessionNotFoundException$: StaticErrorSchema;
29
+ export declare var ThrottlingException$: StaticErrorSchema;
30
+ export declare var VideoTooLargeException$: StaticErrorSchema;
31
+ export declare const errorTypeRegistries: TypeRegistry[];
7
32
  export declare var AgeRange$: StaticStructureSchema;
8
33
  export declare var Asset$: StaticStructureSchema;
9
34
  export declare var AssociatedFace$: StaticStructureSchema;
@@ -24,7 +49,6 @@ export declare var ComparedSourceImageFace$: StaticStructureSchema;
24
49
  export declare var CompareFacesMatch$: StaticStructureSchema;
25
50
  export declare var CompareFacesRequest$: StaticStructureSchema;
26
51
  export declare var CompareFacesResponse$: StaticStructureSchema;
27
- export declare var ConflictException$: StaticErrorSchema;
28
52
  export declare var ConnectedHomeSettings$: StaticStructureSchema;
29
53
  export declare var ConnectedHomeSettingsForUpdate$: StaticStructureSchema;
30
54
  export declare var ContentModerationDetection$: StaticStructureSchema;
@@ -154,21 +178,11 @@ export declare var GroundTruthManifest$: StaticStructureSchema;
154
178
  export declare var HumanLoopActivationOutput$: StaticStructureSchema;
155
179
  export declare var HumanLoopConfig$: StaticStructureSchema;
156
180
  export declare var HumanLoopDataAttributes$: StaticStructureSchema;
157
- export declare var HumanLoopQuotaExceededException$: StaticErrorSchema;
158
- export declare var IdempotentParameterMismatchException$: StaticErrorSchema;
159
181
  export declare var Image$: StaticStructureSchema;
160
182
  export declare var ImageQuality$: StaticStructureSchema;
161
- export declare var ImageTooLargeException$: StaticErrorSchema;
162
183
  export declare var IndexFacesRequest$: StaticStructureSchema;
163
184
  export declare var IndexFacesResponse$: StaticStructureSchema;
164
185
  export declare var Instance$: StaticStructureSchema;
165
- export declare var InternalServerError$: StaticErrorSchema;
166
- export declare var InvalidImageFormatException$: StaticErrorSchema;
167
- export declare var InvalidManifestException$: StaticErrorSchema;
168
- export declare var InvalidPaginationTokenException$: StaticErrorSchema;
169
- export declare var InvalidParameterException$: StaticErrorSchema;
170
- export declare var InvalidPolicyRevisionIdException$: StaticErrorSchema;
171
- export declare var InvalidS3ObjectException$: StaticErrorSchema;
172
186
  export declare var KinesisDataStream$: StaticStructureSchema;
173
187
  export declare var KinesisVideoStream$: StaticStructureSchema;
174
188
  export declare var KinesisVideoStreamStartSelector$: StaticStructureSchema;
@@ -179,7 +193,6 @@ export declare var LabelCategory$: StaticStructureSchema;
179
193
  export declare var LabelDetection$: StaticStructureSchema;
180
194
  export declare var LabelDetectionSettings$: StaticStructureSchema;
181
195
  export declare var Landmark$: StaticStructureSchema;
182
- export declare var LimitExceededException$: StaticErrorSchema;
183
196
  export declare var ListCollectionsRequest$: StaticStructureSchema;
184
197
  export declare var ListCollectionsResponse$: StaticStructureSchema;
185
198
  export declare var ListDatasetEntriesRequest$: StaticStructureSchema;
@@ -199,7 +212,6 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
199
212
  export declare var ListUsersRequest$: StaticStructureSchema;
200
213
  export declare var ListUsersResponse$: StaticStructureSchema;
201
214
  export declare var LivenessOutputConfig$: StaticStructureSchema;
202
- export declare var MalformedPolicyDocumentException$: StaticErrorSchema;
203
215
  export declare var MatchedUser$: StaticStructureSchema;
204
216
  export declare var MediaAnalysisDetectModerationLabelsConfig$: StaticStructureSchema;
205
217
  export declare var MediaAnalysisInput$: StaticStructureSchema;
@@ -228,16 +240,11 @@ export declare var ProtectiveEquipmentBodyPart$: StaticStructureSchema;
228
240
  export declare var ProtectiveEquipmentPerson$: StaticStructureSchema;
229
241
  export declare var ProtectiveEquipmentSummarizationAttributes$: StaticStructureSchema;
230
242
  export declare var ProtectiveEquipmentSummary$: StaticStructureSchema;
231
- export declare var ProvisionedThroughputExceededException$: StaticErrorSchema;
232
243
  export declare var PutProjectPolicyRequest$: StaticStructureSchema;
233
244
  export declare var PutProjectPolicyResponse$: StaticStructureSchema;
234
245
  export declare var RecognizeCelebritiesRequest$: StaticStructureSchema;
235
246
  export declare var RecognizeCelebritiesResponse$: StaticStructureSchema;
236
247
  export declare var RegionOfInterest$: StaticStructureSchema;
237
- export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
238
- export declare var ResourceInUseException$: StaticErrorSchema;
239
- export declare var ResourceNotFoundException$: StaticErrorSchema;
240
- export declare var ResourceNotReadyException$: StaticErrorSchema;
241
248
  export declare var S3Destination$: StaticStructureSchema;
242
249
  export declare var S3Object$: StaticStructureSchema;
243
250
  export declare var SearchedFace$: StaticStructureSchema;
@@ -253,8 +260,6 @@ export declare var SearchUsersRequest$: StaticStructureSchema;
253
260
  export declare var SearchUsersResponse$: StaticStructureSchema;
254
261
  export declare var SegmentDetection$: StaticStructureSchema;
255
262
  export declare var SegmentTypeInfo$: StaticStructureSchema;
256
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
257
- export declare var SessionNotFoundException$: StaticErrorSchema;
258
263
  export declare var ShotSegment$: StaticStructureSchema;
259
264
  export declare var Smile$: StaticStructureSchema;
260
265
  export declare var StartCelebrityRecognitionRequest$: StaticStructureSchema;
@@ -305,7 +310,6 @@ export declare var TestingData$: StaticStructureSchema;
305
310
  export declare var TestingDataResult$: StaticStructureSchema;
306
311
  export declare var TextDetection$: StaticStructureSchema;
307
312
  export declare var TextDetectionResult$: StaticStructureSchema;
308
- export declare var ThrottlingException$: StaticErrorSchema;
309
313
  export declare var TrainingData$: StaticStructureSchema;
310
314
  export declare var TrainingDataResult$: StaticStructureSchema;
311
315
  export declare var UnindexedFace$: StaticStructureSchema;
@@ -325,8 +329,6 @@ export declare var ValidationData$: StaticStructureSchema;
325
329
  export declare var Versions$: StaticStructureSchema;
326
330
  export declare var Video$: StaticStructureSchema;
327
331
  export declare var VideoMetadata$: StaticStructureSchema;
328
- export declare var VideoTooLargeException$: StaticErrorSchema;
329
- export declare var RekognitionServiceException$: StaticErrorSchema;
330
332
  export declare var AssociateFaces$: StaticOperationSchema;
331
333
  export declare var CompareFaces$: StaticOperationSchema;
332
334
  export declare var CopyProjectVersion$: StaticOperationSchema;