@aws-sdk/client-rekognition 3.940.0 → 3.946.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 (120) hide show
  1. package/dist-cjs/index.js +24 -206
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/RekognitionClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +24 -206
  8. package/dist-types/Rekognition.d.ts +1 -1
  9. package/dist-types/RekognitionClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/AssociateFacesCommand.d.ts +3 -3
  13. package/dist-types/commands/CompareFacesCommand.d.ts +3 -3
  14. package/dist-types/commands/CopyProjectVersionCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateCollectionCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateDatasetCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateProjectCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateProjectVersionCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateUserCommand.d.ts +3 -3
  22. package/dist-types/commands/DeleteCollectionCommand.d.ts +3 -3
  23. package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -3
  24. package/dist-types/commands/DeleteFacesCommand.d.ts +3 -3
  25. package/dist-types/commands/DeleteProjectCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteUserCommand.d.ts +3 -3
  30. package/dist-types/commands/DescribeCollectionCommand.d.ts +3 -3
  31. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -3
  32. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +3 -3
  33. package/dist-types/commands/DescribeProjectsCommand.d.ts +3 -3
  34. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +3 -3
  35. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +3 -3
  36. package/dist-types/commands/DetectFacesCommand.d.ts +3 -3
  37. package/dist-types/commands/DetectLabelsCommand.d.ts +3 -3
  38. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +3 -3
  39. package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +3 -3
  40. package/dist-types/commands/DetectTextCommand.d.ts +3 -3
  41. package/dist-types/commands/DisassociateFacesCommand.d.ts +3 -3
  42. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +3 -3
  43. package/dist-types/commands/GetCelebrityInfoCommand.d.ts +3 -3
  44. package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +3 -3
  45. package/dist-types/commands/GetContentModerationCommand.d.ts +3 -3
  46. package/dist-types/commands/GetFaceDetectionCommand.d.ts +3 -3
  47. package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +3 -3
  48. package/dist-types/commands/GetFaceSearchCommand.d.ts +3 -3
  49. package/dist-types/commands/GetLabelDetectionCommand.d.ts +3 -3
  50. package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +3 -3
  51. package/dist-types/commands/GetPersonTrackingCommand.d.ts +3 -3
  52. package/dist-types/commands/GetSegmentDetectionCommand.d.ts +3 -3
  53. package/dist-types/commands/GetTextDetectionCommand.d.ts +3 -3
  54. package/dist-types/commands/IndexFacesCommand.d.ts +3 -3
  55. package/dist-types/commands/ListCollectionsCommand.d.ts +3 -3
  56. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +3 -3
  57. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +3 -3
  58. package/dist-types/commands/ListFacesCommand.d.ts +3 -3
  59. package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +3 -3
  60. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +3 -3
  61. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +3 -3
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  63. package/dist-types/commands/ListUsersCommand.d.ts +3 -3
  64. package/dist-types/commands/PutProjectPolicyCommand.d.ts +3 -3
  65. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +3 -3
  66. package/dist-types/commands/SearchFacesByImageCommand.d.ts +3 -3
  67. package/dist-types/commands/SearchFacesCommand.d.ts +3 -3
  68. package/dist-types/commands/SearchUsersByImageCommand.d.ts +3 -3
  69. package/dist-types/commands/SearchUsersCommand.d.ts +3 -3
  70. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +3 -3
  71. package/dist-types/commands/StartContentModerationCommand.d.ts +3 -3
  72. package/dist-types/commands/StartFaceDetectionCommand.d.ts +3 -3
  73. package/dist-types/commands/StartFaceSearchCommand.d.ts +3 -3
  74. package/dist-types/commands/StartLabelDetectionCommand.d.ts +3 -3
  75. package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +3 -3
  76. package/dist-types/commands/StartPersonTrackingCommand.d.ts +3 -3
  77. package/dist-types/commands/StartProjectVersionCommand.d.ts +3 -3
  78. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +3 -3
  79. package/dist-types/commands/StartStreamProcessorCommand.d.ts +3 -3
  80. package/dist-types/commands/StartTextDetectionCommand.d.ts +3 -3
  81. package/dist-types/commands/StopProjectVersionCommand.d.ts +3 -3
  82. package/dist-types/commands/StopStreamProcessorCommand.d.ts +3 -3
  83. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  84. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  85. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +3 -3
  86. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +3 -3
  87. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  88. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  89. package/dist-types/extensionConfiguration.d.ts +4 -4
  90. package/dist-types/models/RekognitionServiceException.d.ts +1 -1
  91. package/dist-types/models/errors.d.ts +1 -1
  92. package/dist-types/pagination/DescribeProjectVersionsPaginator.d.ts +1 -1
  93. package/dist-types/pagination/DescribeProjectsPaginator.d.ts +1 -1
  94. package/dist-types/pagination/GetCelebrityRecognitionPaginator.d.ts +1 -1
  95. package/dist-types/pagination/GetContentModerationPaginator.d.ts +1 -1
  96. package/dist-types/pagination/GetFaceDetectionPaginator.d.ts +1 -1
  97. package/dist-types/pagination/GetFaceSearchPaginator.d.ts +1 -1
  98. package/dist-types/pagination/GetLabelDetectionPaginator.d.ts +1 -1
  99. package/dist-types/pagination/GetPersonTrackingPaginator.d.ts +1 -1
  100. package/dist-types/pagination/GetSegmentDetectionPaginator.d.ts +1 -1
  101. package/dist-types/pagination/GetTextDetectionPaginator.d.ts +1 -1
  102. package/dist-types/pagination/Interfaces.d.ts +1 -1
  103. package/dist-types/pagination/ListCollectionsPaginator.d.ts +1 -1
  104. package/dist-types/pagination/ListDatasetEntriesPaginator.d.ts +1 -1
  105. package/dist-types/pagination/ListDatasetLabelsPaginator.d.ts +1 -1
  106. package/dist-types/pagination/ListFacesPaginator.d.ts +1 -1
  107. package/dist-types/pagination/ListMediaAnalysisJobsPaginator.d.ts +1 -1
  108. package/dist-types/pagination/ListProjectPoliciesPaginator.d.ts +1 -1
  109. package/dist-types/pagination/ListStreamProcessorsPaginator.d.ts +1 -1
  110. package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
  111. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  112. package/dist-types/runtimeConfig.d.ts +1 -1
  113. package/dist-types/runtimeConfig.native.d.ts +1 -1
  114. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  115. package/dist-types/runtimeExtensions.d.ts +1 -1
  116. package/dist-types/schemas/schemas_0.d.ts +1 -1
  117. package/dist-types/ts3.4/RekognitionClient.d.ts +3 -3
  118. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  119. package/dist-types/ts3.4/models/RekognitionServiceException.d.ts +1 -1
  120. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -1273,21 +1273,10 @@ var SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = [
1273
1273
  0,
1274
1274
  n0,
1275
1275
  _SJHLACER,
1276
- {
1277
- [_mT]: _a,
1278
- },
1276
+ { [_mT]: _a },
1279
1277
  0,
1280
1278
  ];
1281
- var AccessDeniedException = [
1282
- -3,
1283
- n0,
1284
- _ADE,
1285
- {
1286
- [_e]: _c,
1287
- },
1288
- [_M, _C, _L],
1289
- [0, 0, 0],
1290
- ];
1279
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
1291
1280
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
1292
1281
  var AgeRange = [3, n0, _AR, 0, [_Lo, _H], [1, 1]];
1293
1282
  var Asset = [3, n0, _A, 0, [_GTM], [() => GroundTruthManifest]];
@@ -1365,16 +1354,7 @@ var CompareFacesResponse = [
1365
1354
  [_SIF, _FM, _UF, _SIOC, _TIOC],
1366
1355
  [() => ComparedSourceImageFace, () => CompareFacesMatchList, () => CompareFacesUnmatchList, 0, 0],
1367
1356
  ];
1368
- var ConflictException = [
1369
- -3,
1370
- n0,
1371
- _CE,
1372
- {
1373
- [_e]: _c,
1374
- },
1375
- [_M, _C, _L],
1376
- [0, 0, 0],
1377
- ];
1357
+ var ConflictException = [-3, n0, _CE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
1378
1358
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
1379
1359
  var ConnectedHomeSettings = [3, n0, _CHS, 0, [_Lab, _MCi], [64 | 0, 1]];
1380
1360
  var ConnectedHomeSettingsForUpdate = [3, n0, _CHSFU, 0, [_Lab, _MCi], [64 | 0, 1]];
@@ -1971,10 +1951,7 @@ var HumanLoopQuotaExceededException = [
1971
1951
  -3,
1972
1952
  n0,
1973
1953
  _HLQEE,
1974
- {
1975
- [_e]: _c,
1976
- [_hE]: 402,
1977
- },
1954
+ { [_e]: _c, [_hE]: 402 },
1978
1955
  [_RT, _QC, _SCe, _M, _C, _L],
1979
1956
  [0, 0, 0, 0, 0, 0],
1980
1957
  ];
@@ -1983,25 +1960,14 @@ var IdempotentParameterMismatchException = [
1983
1960
  -3,
1984
1961
  n0,
1985
1962
  _IPME,
1986
- {
1987
- [_e]: _c,
1988
- },
1963
+ { [_e]: _c },
1989
1964
  [_M, _C, _L],
1990
1965
  [0, 0, 0],
1991
1966
  ];
1992
1967
  schema.TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException, IdempotentParameterMismatchException$1);
1993
1968
  var Image = [3, n0, _Im, 0, [_B, _SO], [21, () => S3Object]];
1994
1969
  var ImageQuality = [3, n0, _IQ, 0, [_Br, _Sh], [1, 1]];
1995
- var ImageTooLargeException = [
1996
- -3,
1997
- n0,
1998
- _ITLE,
1999
- {
2000
- [_e]: _c,
2001
- },
2002
- [_M, _C, _L],
2003
- [0, 0, 0],
2004
- ];
1970
+ var ImageTooLargeException = [-3, n0, _ITLE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2005
1971
  schema.TypeRegistry.for(n0).registerError(ImageTooLargeException, ImageTooLargeException$1);
2006
1972
  var IndexFacesRequest = [
2007
1973
  3,
@@ -2027,82 +1993,26 @@ var Instance = [
2027
1993
  [_BB, _Con, _DCo],
2028
1994
  [() => BoundingBox, 1, () => DominantColors],
2029
1995
  ];
2030
- var InternalServerError = [
2031
- -3,
2032
- n0,
2033
- _ISE,
2034
- {
2035
- [_e]: _s,
2036
- },
2037
- [_M, _C, _L],
2038
- [0, 0, 0],
2039
- ];
1996
+ var InternalServerError = [-3, n0, _ISE, { [_e]: _s }, [_M, _C, _L], [0, 0, 0]];
2040
1997
  schema.TypeRegistry.for(n0).registerError(InternalServerError, InternalServerError$1);
2041
- var InvalidImageFormatException = [
2042
- -3,
2043
- n0,
2044
- _IIFE,
2045
- {
2046
- [_e]: _c,
2047
- },
2048
- [_M, _C, _L],
2049
- [0, 0, 0],
2050
- ];
1998
+ var InvalidImageFormatException = [-3, n0, _IIFE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2051
1999
  schema.TypeRegistry.for(n0).registerError(InvalidImageFormatException, InvalidImageFormatException$1);
2052
- var InvalidManifestException = [
2053
- -3,
2054
- n0,
2055
- _IME,
2056
- {
2057
- [_e]: _c,
2058
- },
2059
- [_M, _C, _L],
2060
- [0, 0, 0],
2061
- ];
2000
+ var InvalidManifestException = [-3, n0, _IME, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2062
2001
  schema.TypeRegistry.for(n0).registerError(InvalidManifestException, InvalidManifestException$1);
2063
- var InvalidPaginationTokenException = [
2064
- -3,
2065
- n0,
2066
- _IPTE,
2067
- {
2068
- [_e]: _c,
2069
- },
2070
- [_M, _C, _L],
2071
- [0, 0, 0],
2072
- ];
2002
+ var InvalidPaginationTokenException = [-3, n0, _IPTE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2073
2003
  schema.TypeRegistry.for(n0).registerError(InvalidPaginationTokenException, InvalidPaginationTokenException$1);
2074
- var InvalidParameterException = [
2075
- -3,
2076
- n0,
2077
- _IPE,
2078
- {
2079
- [_e]: _c,
2080
- },
2081
- [_M, _C, _L],
2082
- [0, 0, 0],
2083
- ];
2004
+ var InvalidParameterException = [-3, n0, _IPE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2084
2005
  schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
2085
2006
  var InvalidPolicyRevisionIdException = [
2086
2007
  -3,
2087
2008
  n0,
2088
2009
  _IPRIE,
2089
- {
2090
- [_e]: _c,
2091
- },
2010
+ { [_e]: _c },
2092
2011
  [_M, _C, _L],
2093
2012
  [0, 0, 0],
2094
2013
  ];
2095
2014
  schema.TypeRegistry.for(n0).registerError(InvalidPolicyRevisionIdException, InvalidPolicyRevisionIdException$1);
2096
- var InvalidS3ObjectException = [
2097
- -3,
2098
- n0,
2099
- _ISOE,
2100
- {
2101
- [_e]: _c,
2102
- },
2103
- [_M, _C, _L],
2104
- [0, 0, 0],
2105
- ];
2015
+ var InvalidS3ObjectException = [-3, n0, _ISOE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2106
2016
  schema.TypeRegistry.for(n0).registerError(InvalidS3ObjectException, InvalidS3ObjectException$1);
2107
2017
  var KinesisDataStream = [3, n0, _KDS, 0, [_Ar], [0]];
2108
2018
  var KinesisVideoStream = [3, n0, _KVS, 0, [_Ar], [0]];
@@ -2128,16 +2038,7 @@ var LabelDetection = [
2128
2038
  ];
2129
2039
  var LabelDetectionSettings = [3, n0, _LDS, 0, [_GL], [() => GeneralLabelsSettings]];
2130
2040
  var Landmark = [3, n0, _Lan, 0, [_Ty, _X, _Y_], [0, 1, 1]];
2131
- var LimitExceededException = [
2132
- -3,
2133
- n0,
2134
- _LEE,
2135
- {
2136
- [_e]: _c,
2137
- },
2138
- [_M, _C, _L],
2139
- [0, 0, 0],
2140
- ];
2041
+ var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2141
2042
  schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
2142
2043
  var ListCollectionsRequest = [3, n0, _LCR, 0, [_NT, _MR], [0, 1]];
2143
2044
  var ListCollectionsResponse = [3, n0, _LCRi, 0, [_CIo, _NT, _FMVa], [64 | 0, 0, 64 | 0]];
@@ -2193,16 +2094,7 @@ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
2193
2094
  var ListUsersRequest = [3, n0, _LUR, 0, [_CI, _MR, _NT], [0, 1, 0]];
2194
2095
  var ListUsersResponse = [3, n0, _LURi, 0, [_Us, _NT], [() => UserList, 0]];
2195
2096
  var LivenessOutputConfig = [3, n0, _LOC, 0, [_SBu, _SKP], [0, 0]];
2196
- var MalformedPolicyDocumentException = [
2197
- -3,
2198
- n0,
2199
- _MPDE,
2200
- {
2201
- [_e]: _c,
2202
- },
2203
- [_M, _C, _L],
2204
- [0, 0, 0],
2205
- ];
2097
+ var MalformedPolicyDocumentException = [-3, n0, _MPDE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2206
2098
  schema.TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException, MalformedPolicyDocumentException$1);
2207
2099
  var MatchedUser = [3, n0, _MU, 0, [_UI, _US], [0, 0]];
2208
2100
  var MediaAnalysisDetectModerationLabelsConfig = [3, n0, _MADMLC, 0, [_MCi, _PV], [1, 0]];
@@ -2353,9 +2245,7 @@ var ProvisionedThroughputExceededException = [
2353
2245
  -3,
2354
2246
  n0,
2355
2247
  _PTEE,
2356
- {
2357
- [_e]: _c,
2358
- },
2248
+ { [_e]: _c },
2359
2249
  [_M, _C, _L],
2360
2250
  [0, 0, 0],
2361
2251
  ];
@@ -2372,49 +2262,13 @@ var RecognizeCelebritiesResponse = [
2372
2262
  [() => CelebrityList, () => ComparedFaceList, 0],
2373
2263
  ];
2374
2264
  var RegionOfInterest = [3, n0, _ROIe, 0, [_BB, _Po], [() => BoundingBox, () => Polygon]];
2375
- var ResourceAlreadyExistsException = [
2376
- -3,
2377
- n0,
2378
- _RAEE,
2379
- {
2380
- [_e]: _c,
2381
- },
2382
- [_M, _C, _L],
2383
- [0, 0, 0],
2384
- ];
2265
+ var ResourceAlreadyExistsException = [-3, n0, _RAEE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2385
2266
  schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
2386
- var ResourceInUseException = [
2387
- -3,
2388
- n0,
2389
- _RIUE,
2390
- {
2391
- [_e]: _c,
2392
- },
2393
- [_M, _C, _L],
2394
- [0, 0, 0],
2395
- ];
2267
+ var ResourceInUseException = [-3, n0, _RIUE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2396
2268
  schema.TypeRegistry.for(n0).registerError(ResourceInUseException, ResourceInUseException$1);
2397
- var ResourceNotFoundException = [
2398
- -3,
2399
- n0,
2400
- _RNFE,
2401
- {
2402
- [_e]: _c,
2403
- },
2404
- [_M, _C, _L],
2405
- [0, 0, 0],
2406
- ];
2269
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2407
2270
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
2408
- var ResourceNotReadyException = [
2409
- -3,
2410
- n0,
2411
- _RNRE,
2412
- {
2413
- [_e]: _c,
2414
- },
2415
- [_M, _C, _L],
2416
- [0, 0, 0],
2417
- ];
2271
+ var ResourceNotReadyException = [-3, n0, _RNRE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2418
2272
  schema.TypeRegistry.for(n0).registerError(ResourceNotReadyException, ResourceNotReadyException$1);
2419
2273
  var S3Destination = [3, n0, _SD, 0, [_Bu, _KP], [0, 0]];
2420
2274
  var S3Object = [3, n0, _SO, 0, [_Bu, _N, _Ve], [0, 0, 0]];
@@ -2480,27 +2334,9 @@ var SegmentDetection = [
2480
2334
  [0, 1, 1, 1, 0, 0, 0, () => TechnicalCueSegment, () => ShotSegment, 1, 1, 1],
2481
2335
  ];
2482
2336
  var SegmentTypeInfo = [3, n0, _STI, 0, [_Ty, _MVo], [0, 0]];
2483
- var ServiceQuotaExceededException = [
2484
- -3,
2485
- n0,
2486
- _SQEE,
2487
- {
2488
- [_e]: _c,
2489
- },
2490
- [_M, _C, _L],
2491
- [0, 0, 0],
2492
- ];
2337
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2493
2338
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
2494
- var SessionNotFoundException = [
2495
- -3,
2496
- n0,
2497
- _SNFE,
2498
- {
2499
- [_e]: _c,
2500
- },
2501
- [_M, _C, _L],
2502
- [0, 0, 0],
2503
- ];
2339
+ var SessionNotFoundException = [-3, n0, _SNFE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2504
2340
  schema.TypeRegistry.for(n0).registerError(SessionNotFoundException, SessionNotFoundException$1);
2505
2341
  var ShotSegment = [3, n0, _SS, 0, [_Ind, _Con], [1, 1]];
2506
2342
  var Smile = [3, n0, _S, 0, [_V, _Con], [2, 1]];
@@ -2685,16 +2521,7 @@ var TextDetection = [
2685
2521
  [0, 0, 1, 1, 1, () => Geometry],
2686
2522
  ];
2687
2523
  var TextDetectionResult = [3, n0, _TDRex, 0, [_Ti, _TDext], [1, () => TextDetection]];
2688
- var ThrottlingException = [
2689
- -3,
2690
- n0,
2691
- _TEh,
2692
- {
2693
- [_e]: _s,
2694
- },
2695
- [_M, _C, _L],
2696
- [0, 0, 0],
2697
- ];
2524
+ var ThrottlingException = [-3, n0, _TEh, { [_e]: _s }, [_M, _C, _L], [0, 0, 0]];
2698
2525
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
2699
2526
  var TrainingData = [3, n0, _TD, 0, [_As], [() => Assets]];
2700
2527
  var TrainingDataResult = [
@@ -2763,16 +2590,7 @@ var VideoMetadata = [
2763
2590
  [_Co, _DM, _For, _FRr, _FH, _FW, _CRo],
2764
2591
  [0, 1, 0, 1, 1, 1, 0],
2765
2592
  ];
2766
- var VideoTooLargeException = [
2767
- -3,
2768
- n0,
2769
- _VTLE,
2770
- {
2771
- [_e]: _c,
2772
- },
2773
- [_M, _C, _L],
2774
- [0, 0, 0],
2775
- ];
2593
+ var VideoTooLargeException = [-3, n0, _VTLE, { [_e]: _c }, [_M, _C, _L], [0, 0, 0]];
2776
2594
  schema.TypeRegistry.for(n0).registerError(VideoTooLargeException, VideoTooLargeException$1);
2777
2595
  var RekognitionServiceException = [-3, _sm, "RekognitionServiceException", 0, [], []];
2778
2596
  schema.TypeRegistry.for(_sm).registerError(RekognitionServiceException, RekognitionServiceException$1);
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultRekognitionHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);