@aws-sdk/client-comprehend 3.943.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 (129) hide show
  1. package/dist-cjs/index.js +16 -169
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/ComprehendClient.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 +16 -169
  8. package/dist-types/Comprehend.d.ts +1 -1
  9. package/dist-types/ComprehendClient.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/BatchDetectDominantLanguageCommand.d.ts +3 -3
  13. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +3 -3
  14. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +3 -3
  15. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +3 -3
  16. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +3 -3
  17. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +3 -3
  18. package/dist-types/commands/ClassifyDocumentCommand.d.ts +3 -3
  19. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateDatasetCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateEndpointCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateFlywheelCommand.d.ts +3 -3
  25. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteFlywheelCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -3
  30. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -3
  31. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +3 -3
  32. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +3 -3
  33. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +3 -3
  34. package/dist-types/commands/DescribeEndpointCommand.d.ts +3 -3
  35. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +3 -3
  36. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +3 -3
  37. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +3 -3
  38. package/dist-types/commands/DescribeFlywheelCommand.d.ts +3 -3
  39. package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +3 -3
  40. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +3 -3
  41. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +3 -3
  42. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -3
  43. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +3 -3
  44. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +3 -3
  45. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +3 -3
  46. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +3 -3
  47. package/dist-types/commands/DetectEntitiesCommand.d.ts +3 -3
  48. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +3 -3
  49. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +3 -3
  50. package/dist-types/commands/DetectSentimentCommand.d.ts +3 -3
  51. package/dist-types/commands/DetectSyntaxCommand.d.ts +3 -3
  52. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +3 -3
  53. package/dist-types/commands/DetectToxicContentCommand.d.ts +3 -3
  54. package/dist-types/commands/ImportModelCommand.d.ts +3 -3
  55. package/dist-types/commands/ListDatasetsCommand.d.ts +3 -3
  56. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +3 -3
  57. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +3 -3
  58. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +3 -3
  59. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +3 -3
  60. package/dist-types/commands/ListEndpointsCommand.d.ts +3 -3
  61. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +3 -3
  62. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +3 -3
  63. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +3 -3
  64. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +3 -3
  65. package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +3 -3
  66. package/dist-types/commands/ListFlywheelsCommand.d.ts +3 -3
  67. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +3 -3
  68. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +3 -3
  69. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +3 -3
  70. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  71. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +3 -3
  72. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +3 -3
  73. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
  74. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +3 -3
  75. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +3 -3
  76. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +3 -3
  77. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +3 -3
  78. package/dist-types/commands/StartFlywheelIterationCommand.d.ts +3 -3
  79. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +3 -3
  80. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +3 -3
  81. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +3 -3
  82. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +3 -3
  83. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +3 -3
  84. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +3 -3
  85. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +3 -3
  86. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +3 -3
  87. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +3 -3
  88. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +3 -3
  89. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +3 -3
  90. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +3 -3
  91. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +3 -3
  92. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +3 -3
  93. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  94. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  95. package/dist-types/commands/UpdateEndpointCommand.d.ts +3 -3
  96. package/dist-types/commands/UpdateFlywheelCommand.d.ts +3 -3
  97. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  98. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  99. package/dist-types/extensionConfiguration.d.ts +4 -4
  100. package/dist-types/models/ComprehendServiceException.d.ts +1 -1
  101. package/dist-types/models/errors.d.ts +2 -2
  102. package/dist-types/pagination/Interfaces.d.ts +1 -1
  103. package/dist-types/pagination/ListDatasetsPaginator.d.ts +1 -1
  104. package/dist-types/pagination/ListDocumentClassificationJobsPaginator.d.ts +1 -1
  105. package/dist-types/pagination/ListDocumentClassifierSummariesPaginator.d.ts +1 -1
  106. package/dist-types/pagination/ListDocumentClassifiersPaginator.d.ts +1 -1
  107. package/dist-types/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +1 -1
  108. package/dist-types/pagination/ListEndpointsPaginator.d.ts +1 -1
  109. package/dist-types/pagination/ListEntitiesDetectionJobsPaginator.d.ts +1 -1
  110. package/dist-types/pagination/ListEntityRecognizerSummariesPaginator.d.ts +1 -1
  111. package/dist-types/pagination/ListEntityRecognizersPaginator.d.ts +1 -1
  112. package/dist-types/pagination/ListEventsDetectionJobsPaginator.d.ts +1 -1
  113. package/dist-types/pagination/ListFlywheelIterationHistoryPaginator.d.ts +1 -1
  114. package/dist-types/pagination/ListFlywheelsPaginator.d.ts +1 -1
  115. package/dist-types/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +1 -1
  116. package/dist-types/pagination/ListPiiEntitiesDetectionJobsPaginator.d.ts +1 -1
  117. package/dist-types/pagination/ListSentimentDetectionJobsPaginator.d.ts +1 -1
  118. package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +1 -1
  119. package/dist-types/pagination/ListTopicsDetectionJobsPaginator.d.ts +1 -1
  120. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  121. package/dist-types/runtimeConfig.d.ts +1 -1
  122. package/dist-types/runtimeConfig.native.d.ts +1 -1
  123. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  124. package/dist-types/runtimeExtensions.d.ts +1 -1
  125. package/dist-types/schemas/schemas_0.d.ts +1 -1
  126. package/dist-types/ts3.4/ComprehendClient.d.ts +3 -3
  127. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  128. package/dist-types/ts3.4/models/ComprehendServiceException.d.ts +1 -1
  129. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -1107,17 +1107,7 @@ var BatchDetectTargetedSentimentResponse = [
1107
1107
  [() => ListOfDetectTargetedSentimentResult, () => BatchItemErrorList],
1108
1108
  ];
1109
1109
  var BatchItemError = [3, n0, _BIE, 0, [_I, _EC, _EM], [1, 0, 0]];
1110
- var BatchSizeLimitExceededException = [
1111
- -3,
1112
- n0,
1113
- _BSLEE,
1114
- {
1115
- [_e]: _c,
1116
- [_hE]: 400,
1117
- },
1118
- [_M],
1119
- [0],
1120
- ];
1110
+ var BatchSizeLimitExceededException = [-3, n0, _BSLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1121
1111
  schema.TypeRegistry.for(n0).registerError(BatchSizeLimitExceededException, BatchSizeLimitExceededException$1);
1122
1112
  var Block = [
1123
1113
  3,
@@ -1176,17 +1166,7 @@ var ClassifyDocumentResponse = [
1176
1166
  () => ListOfWarnings,
1177
1167
  ],
1178
1168
  ];
1179
- var ConcurrentModificationException = [
1180
- -3,
1181
- n0,
1182
- _CME,
1183
- {
1184
- [_e]: _c,
1185
- [_hE]: 400,
1186
- },
1187
- [_M],
1188
- [0],
1189
- ];
1169
+ var ConcurrentModificationException = [-3, n0, _CME, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1190
1170
  schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException, ConcurrentModificationException$1);
1191
1171
  var ContainsPiiEntitiesRequest = [3, n0, _CPER, 0, [_T, _LC], [0, 0]];
1192
1172
  var ContainsPiiEntitiesResponse = [3, n0, _CPERo, 0, [_La], [() => ListOfEntityLabels]];
@@ -1789,54 +1769,21 @@ var InputDataConfig = [
1789
1769
  [_SU, _IF, _DRC],
1790
1770
  [0, 0, () => DocumentReaderConfig],
1791
1771
  ];
1792
- var InternalServerException = [
1793
- -3,
1794
- n0,
1795
- _ISE,
1796
- {
1797
- [_e]: _s,
1798
- [_hE]: 500,
1799
- },
1800
- [_M],
1801
- [0],
1802
- ];
1772
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
1803
1773
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1804
- var InvalidFilterException = [
1805
- -3,
1806
- n0,
1807
- _IFE,
1808
- {
1809
- [_e]: _c,
1810
- [_hE]: 400,
1811
- },
1812
- [_M],
1813
- [0],
1814
- ];
1774
+ var InvalidFilterException = [-3, n0, _IFE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1815
1775
  schema.TypeRegistry.for(n0).registerError(InvalidFilterException, InvalidFilterException$1);
1816
1776
  var InvalidRequestDetail = [3, n0, _IRD, 0, [_Rea], [0]];
1817
1777
  var InvalidRequestException = [
1818
1778
  -3,
1819
1779
  n0,
1820
1780
  _IRE,
1821
- {
1822
- [_e]: _c,
1823
- [_hE]: 400,
1824
- },
1781
+ { [_e]: _c, [_hE]: 400 },
1825
1782
  [_M, _Rea, _De],
1826
1783
  [0, 0, () => InvalidRequestDetail],
1827
1784
  ];
1828
1785
  schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
1829
- var JobNotFoundException = [
1830
- -3,
1831
- n0,
1832
- _JNFE,
1833
- {
1834
- [_e]: _c,
1835
- [_hE]: 404,
1836
- },
1837
- [_M],
1838
- [0],
1839
- ];
1786
+ var JobNotFoundException = [-3, n0, _JNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
1840
1787
  schema.TypeRegistry.for(n0).registerError(JobNotFoundException, JobNotFoundException$1);
1841
1788
  var KeyPhrase = [3, n0, _KPe, 0, [_Sc, _T, _BO, _EO], [1, 0, 1, 1]];
1842
1789
  var KeyPhrasesDetectionJobFilter = [
@@ -1855,17 +1802,7 @@ var KeyPhrasesDetectionJobProperties = [
1855
1802
  [_JI, _JA, _JN, _JS, _M, _STu, _ET, _IDC, _ODC, _LC, _DARA, _VKKI, _VC],
1856
1803
  [0, 0, 0, 0, 0, 4, 4, () => InputDataConfig, () => OutputDataConfig, 0, 0, 0, () => VpcConfig],
1857
1804
  ];
1858
- var KmsKeyValidationException = [
1859
- -3,
1860
- n0,
1861
- _KKVE,
1862
- {
1863
- [_e]: _c,
1864
- [_hE]: 400,
1865
- },
1866
- [_M],
1867
- [0],
1868
- ];
1805
+ var KmsKeyValidationException = [-3, n0, _KKVE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1869
1806
  schema.TypeRegistry.for(n0).registerError(KmsKeyValidationException, KmsKeyValidationException$1);
1870
1807
  var ListDatasetsRequest = [
1871
1808
  3,
@@ -2153,53 +2090,13 @@ var PutResourcePolicyRequest = [3, n0, _PRPR, 0, [_RA, _RP, _PRI], [0, 0, 0]];
2153
2090
  var PutResourcePolicyResponse = [3, n0, _PRPRu, 0, [_PRI], [0]];
2154
2091
  var RedactionConfig = [3, n0, _RC, 0, [_PET, _MM, _MC], [64 | 0, 0, 0]];
2155
2092
  var RelationshipsListItem = [3, n0, _RLI, 0, [_Ids, _Ty], [64 | 0, 0]];
2156
- var ResourceInUseException = [
2157
- -3,
2158
- n0,
2159
- _RIUE,
2160
- {
2161
- [_e]: _c,
2162
- [_hE]: 400,
2163
- },
2164
- [_M],
2165
- [0],
2166
- ];
2093
+ var ResourceInUseException = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2167
2094
  schema.TypeRegistry.for(n0).registerError(ResourceInUseException, ResourceInUseException$1);
2168
- var ResourceLimitExceededException = [
2169
- -3,
2170
- n0,
2171
- _RLEE,
2172
- {
2173
- [_e]: _c,
2174
- [_hE]: 400,
2175
- },
2176
- [_M],
2177
- [0],
2178
- ];
2095
+ var ResourceLimitExceededException = [-3, n0, _RLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2179
2096
  schema.TypeRegistry.for(n0).registerError(ResourceLimitExceededException, ResourceLimitExceededException$1);
2180
- var ResourceNotFoundException = [
2181
- -3,
2182
- n0,
2183
- _RNFE,
2184
- {
2185
- [_e]: _c,
2186
- [_hE]: 404,
2187
- },
2188
- [_M],
2189
- [0],
2190
- ];
2097
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
2191
2098
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
2192
- var ResourceUnavailableException = [
2193
- -3,
2194
- n0,
2195
- _RUE,
2196
- {
2197
- [_e]: _c,
2198
- [_hE]: 404,
2199
- },
2200
- [_M],
2201
- [0],
2202
- ];
2099
+ var ResourceUnavailableException = [-3, n0, _RUE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
2203
2100
  schema.TypeRegistry.for(n0).registerError(ResourceUnavailableException, ResourceUnavailableException$1);
2204
2101
  var SentimentDetectionJobFilter = [3, n0, _SDJF, 0, [_JN, _JS, _STB, _STA], [0, 0, 4, 4]];
2205
2102
  var SentimentDetectionJobProperties = [
@@ -2413,53 +2310,13 @@ var TaskConfig = [
2413
2310
  [0, () => DocumentClassificationConfig, () => EntityRecognitionConfig],
2414
2311
  ];
2415
2312
  var TextSegment = [3, n0, _TSe, 0, [_T], [[() => CustomerInputString, 0]]];
2416
- var TextSizeLimitExceededException = [
2417
- -3,
2418
- n0,
2419
- _TSLEE,
2420
- {
2421
- [_e]: _c,
2422
- [_hE]: 400,
2423
- },
2424
- [_M],
2425
- [0],
2426
- ];
2313
+ var TextSizeLimitExceededException = [-3, n0, _TSLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2427
2314
  schema.TypeRegistry.for(n0).registerError(TextSizeLimitExceededException, TextSizeLimitExceededException$1);
2428
- var TooManyRequestsException = [
2429
- -3,
2430
- n0,
2431
- _TMRE,
2432
- {
2433
- [_e]: _c,
2434
- [_hE]: 429,
2435
- },
2436
- [_M],
2437
- [0],
2438
- ];
2315
+ var TooManyRequestsException = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
2439
2316
  schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
2440
- var TooManyTagKeysException = [
2441
- -3,
2442
- n0,
2443
- _TMTKE,
2444
- {
2445
- [_e]: _c,
2446
- [_hE]: 400,
2447
- },
2448
- [_M],
2449
- [0],
2450
- ];
2317
+ var TooManyTagKeysException = [-3, n0, _TMTKE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2451
2318
  schema.TypeRegistry.for(n0).registerError(TooManyTagKeysException, TooManyTagKeysException$1);
2452
- var TooManyTagsException = [
2453
- -3,
2454
- n0,
2455
- _TMTE,
2456
- {
2457
- [_e]: _c,
2458
- [_hE]: 400,
2459
- },
2460
- [_M],
2461
- [0],
2462
- ];
2319
+ var TooManyTagsException = [-3, n0, _TMTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2463
2320
  schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
2464
2321
  var TopicsDetectionJobFilter = [3, n0, _TDJF, 0, [_JN, _JS, _STB, _STA], [0, 0, 4, 4]];
2465
2322
  var TopicsDetectionJobProperties = [
@@ -2472,17 +2329,7 @@ var TopicsDetectionJobProperties = [
2472
2329
  ];
2473
2330
  var ToxicContent = [3, n0, _TCo, 0, [_N, _Sc], [0, 1]];
2474
2331
  var ToxicLabels = [3, n0, _TLo, 0, [_La, _Tox], [() => ListOfToxicContent, 1]];
2475
- var UnsupportedLanguageException = [
2476
- -3,
2477
- n0,
2478
- _ULE,
2479
- {
2480
- [_e]: _c,
2481
- [_hE]: 400,
2482
- },
2483
- [_M],
2484
- [0],
2485
- ];
2332
+ var UnsupportedLanguageException = [-3, n0, _ULE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2486
2333
  schema.TypeRegistry.for(n0).registerError(UnsupportedLanguageException, UnsupportedLanguageException$1);
2487
2334
  var UntagResourceRequest = [3, n0, _URR, 0, [_RA, _TK], [0, 64 | 0]];
2488
2335
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -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 { defaultComprehendHttpAuthSchemeParametersProvider, 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);
@@ -762,17 +762,7 @@ export var BatchDetectTargetedSentimentResponse = [
762
762
  [() => ListOfDetectTargetedSentimentResult, () => BatchItemErrorList],
763
763
  ];
764
764
  export var BatchItemError = [3, n0, _BIE, 0, [_I, _EC, _EM], [1, 0, 0]];
765
- export var BatchSizeLimitExceededException = [
766
- -3,
767
- n0,
768
- _BSLEE,
769
- {
770
- [_e]: _c,
771
- [_hE]: 400,
772
- },
773
- [_M],
774
- [0],
775
- ];
765
+ export var BatchSizeLimitExceededException = [-3, n0, _BSLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
776
766
  TypeRegistry.for(n0).registerError(BatchSizeLimitExceededException, __BatchSizeLimitExceededException);
777
767
  export var Block = [
778
768
  3,
@@ -831,17 +821,7 @@ export var ClassifyDocumentResponse = [
831
821
  () => ListOfWarnings,
832
822
  ],
833
823
  ];
834
- export var ConcurrentModificationException = [
835
- -3,
836
- n0,
837
- _CME,
838
- {
839
- [_e]: _c,
840
- [_hE]: 400,
841
- },
842
- [_M],
843
- [0],
844
- ];
824
+ export var ConcurrentModificationException = [-3, n0, _CME, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
845
825
  TypeRegistry.for(n0).registerError(ConcurrentModificationException, __ConcurrentModificationException);
846
826
  export var ContainsPiiEntitiesRequest = [3, n0, _CPER, 0, [_T, _LC], [0, 0]];
847
827
  export var ContainsPiiEntitiesResponse = [3, n0, _CPERo, 0, [_La], [() => ListOfEntityLabels]];
@@ -1444,54 +1424,21 @@ export var InputDataConfig = [
1444
1424
  [_SU, _IF, _DRC],
1445
1425
  [0, 0, () => DocumentReaderConfig],
1446
1426
  ];
1447
- export var InternalServerException = [
1448
- -3,
1449
- n0,
1450
- _ISE,
1451
- {
1452
- [_e]: _s,
1453
- [_hE]: 500,
1454
- },
1455
- [_M],
1456
- [0],
1457
- ];
1427
+ export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
1458
1428
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
1459
- export var InvalidFilterException = [
1460
- -3,
1461
- n0,
1462
- _IFE,
1463
- {
1464
- [_e]: _c,
1465
- [_hE]: 400,
1466
- },
1467
- [_M],
1468
- [0],
1469
- ];
1429
+ export var InvalidFilterException = [-3, n0, _IFE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1470
1430
  TypeRegistry.for(n0).registerError(InvalidFilterException, __InvalidFilterException);
1471
1431
  export var InvalidRequestDetail = [3, n0, _IRD, 0, [_Rea], [0]];
1472
1432
  export var InvalidRequestException = [
1473
1433
  -3,
1474
1434
  n0,
1475
1435
  _IRE,
1476
- {
1477
- [_e]: _c,
1478
- [_hE]: 400,
1479
- },
1436
+ { [_e]: _c, [_hE]: 400 },
1480
1437
  [_M, _Rea, _De],
1481
1438
  [0, 0, () => InvalidRequestDetail],
1482
1439
  ];
1483
1440
  TypeRegistry.for(n0).registerError(InvalidRequestException, __InvalidRequestException);
1484
- export var JobNotFoundException = [
1485
- -3,
1486
- n0,
1487
- _JNFE,
1488
- {
1489
- [_e]: _c,
1490
- [_hE]: 404,
1491
- },
1492
- [_M],
1493
- [0],
1494
- ];
1441
+ export var JobNotFoundException = [-3, n0, _JNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
1495
1442
  TypeRegistry.for(n0).registerError(JobNotFoundException, __JobNotFoundException);
1496
1443
  export var KeyPhrase = [3, n0, _KPe, 0, [_Sc, _T, _BO, _EO], [1, 0, 1, 1]];
1497
1444
  export var KeyPhrasesDetectionJobFilter = [
@@ -1510,17 +1457,7 @@ export var KeyPhrasesDetectionJobProperties = [
1510
1457
  [_JI, _JA, _JN, _JS, _M, _STu, _ET, _IDC, _ODC, _LC, _DARA, _VKKI, _VC],
1511
1458
  [0, 0, 0, 0, 0, 4, 4, () => InputDataConfig, () => OutputDataConfig, 0, 0, 0, () => VpcConfig],
1512
1459
  ];
1513
- export var KmsKeyValidationException = [
1514
- -3,
1515
- n0,
1516
- _KKVE,
1517
- {
1518
- [_e]: _c,
1519
- [_hE]: 400,
1520
- },
1521
- [_M],
1522
- [0],
1523
- ];
1460
+ export var KmsKeyValidationException = [-3, n0, _KKVE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1524
1461
  TypeRegistry.for(n0).registerError(KmsKeyValidationException, __KmsKeyValidationException);
1525
1462
  export var ListDatasetsRequest = [
1526
1463
  3,
@@ -1808,53 +1745,13 @@ export var PutResourcePolicyRequest = [3, n0, _PRPR, 0, [_RA, _RP, _PRI], [0, 0,
1808
1745
  export var PutResourcePolicyResponse = [3, n0, _PRPRu, 0, [_PRI], [0]];
1809
1746
  export var RedactionConfig = [3, n0, _RC, 0, [_PET, _MM, _MC], [64 | 0, 0, 0]];
1810
1747
  export var RelationshipsListItem = [3, n0, _RLI, 0, [_Ids, _Ty], [64 | 0, 0]];
1811
- export var ResourceInUseException = [
1812
- -3,
1813
- n0,
1814
- _RIUE,
1815
- {
1816
- [_e]: _c,
1817
- [_hE]: 400,
1818
- },
1819
- [_M],
1820
- [0],
1821
- ];
1748
+ export var ResourceInUseException = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1822
1749
  TypeRegistry.for(n0).registerError(ResourceInUseException, __ResourceInUseException);
1823
- export var ResourceLimitExceededException = [
1824
- -3,
1825
- n0,
1826
- _RLEE,
1827
- {
1828
- [_e]: _c,
1829
- [_hE]: 400,
1830
- },
1831
- [_M],
1832
- [0],
1833
- ];
1750
+ export var ResourceLimitExceededException = [-3, n0, _RLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1834
1751
  TypeRegistry.for(n0).registerError(ResourceLimitExceededException, __ResourceLimitExceededException);
1835
- export var ResourceNotFoundException = [
1836
- -3,
1837
- n0,
1838
- _RNFE,
1839
- {
1840
- [_e]: _c,
1841
- [_hE]: 404,
1842
- },
1843
- [_M],
1844
- [0],
1845
- ];
1752
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
1846
1753
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
1847
- export var ResourceUnavailableException = [
1848
- -3,
1849
- n0,
1850
- _RUE,
1851
- {
1852
- [_e]: _c,
1853
- [_hE]: 404,
1854
- },
1855
- [_M],
1856
- [0],
1857
- ];
1754
+ export var ResourceUnavailableException = [-3, n0, _RUE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
1858
1755
  TypeRegistry.for(n0).registerError(ResourceUnavailableException, __ResourceUnavailableException);
1859
1756
  export var SentimentDetectionJobFilter = [3, n0, _SDJF, 0, [_JN, _JS, _STB, _STA], [0, 0, 4, 4]];
1860
1757
  export var SentimentDetectionJobProperties = [
@@ -2068,53 +1965,13 @@ export var TaskConfig = [
2068
1965
  [0, () => DocumentClassificationConfig, () => EntityRecognitionConfig],
2069
1966
  ];
2070
1967
  export var TextSegment = [3, n0, _TSe, 0, [_T], [[() => CustomerInputString, 0]]];
2071
- export var TextSizeLimitExceededException = [
2072
- -3,
2073
- n0,
2074
- _TSLEE,
2075
- {
2076
- [_e]: _c,
2077
- [_hE]: 400,
2078
- },
2079
- [_M],
2080
- [0],
2081
- ];
1968
+ export var TextSizeLimitExceededException = [-3, n0, _TSLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2082
1969
  TypeRegistry.for(n0).registerError(TextSizeLimitExceededException, __TextSizeLimitExceededException);
2083
- export var TooManyRequestsException = [
2084
- -3,
2085
- n0,
2086
- _TMRE,
2087
- {
2088
- [_e]: _c,
2089
- [_hE]: 429,
2090
- },
2091
- [_M],
2092
- [0],
2093
- ];
1970
+ export var TooManyRequestsException = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
2094
1971
  TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException);
2095
- export var TooManyTagKeysException = [
2096
- -3,
2097
- n0,
2098
- _TMTKE,
2099
- {
2100
- [_e]: _c,
2101
- [_hE]: 400,
2102
- },
2103
- [_M],
2104
- [0],
2105
- ];
1972
+ export var TooManyTagKeysException = [-3, n0, _TMTKE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2106
1973
  TypeRegistry.for(n0).registerError(TooManyTagKeysException, __TooManyTagKeysException);
2107
- export var TooManyTagsException = [
2108
- -3,
2109
- n0,
2110
- _TMTE,
2111
- {
2112
- [_e]: _c,
2113
- [_hE]: 400,
2114
- },
2115
- [_M],
2116
- [0],
2117
- ];
1974
+ export var TooManyTagsException = [-3, n0, _TMTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2118
1975
  TypeRegistry.for(n0).registerError(TooManyTagsException, __TooManyTagsException);
2119
1976
  export var TopicsDetectionJobFilter = [3, n0, _TDJF, 0, [_JN, _JS, _STB, _STA], [0, 0, 4, 4]];
2120
1977
  export var TopicsDetectionJobProperties = [
@@ -2127,17 +1984,7 @@ export var TopicsDetectionJobProperties = [
2127
1984
  ];
2128
1985
  export var ToxicContent = [3, n0, _TCo, 0, [_N, _Sc], [0, 1]];
2129
1986
  export var ToxicLabels = [3, n0, _TLo, 0, [_La, _Tox], [() => ListOfToxicContent, 1]];
2130
- export var UnsupportedLanguageException = [
2131
- -3,
2132
- n0,
2133
- _ULE,
2134
- {
2135
- [_e]: _c,
2136
- [_hE]: 400,
2137
- },
2138
- [_M],
2139
- [0],
2140
- ];
1987
+ export var UnsupportedLanguageException = [-3, n0, _ULE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
2141
1988
  TypeRegistry.for(n0).registerError(UnsupportedLanguageException, __UnsupportedLanguageException);
2142
1989
  export var UntagResourceRequest = [3, n0, _URR, 0, [_RA, _TK], [0, 64 | 0]];
2143
1990
  export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { BatchDetectDominantLanguageCommandInput, BatchDetectDominantLanguageCommandOutput } from "./commands/BatchDetectDominantLanguageCommand";
3
3
  import { BatchDetectEntitiesCommandInput, BatchDetectEntitiesCommandOutput } from "./commands/BatchDetectEntitiesCommand";
4
4
  import { BatchDetectKeyPhrasesCommandInput, BatchDetectKeyPhrasesCommandOutput } from "./commands/BatchDetectKeyPhrasesCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { BatchDetectDominantLanguageCommandInput, BatchDetectDominantLanguageCommandOutput } from "./commands/BatchDetectDominantLanguageCommand";
11
11
  import { BatchDetectEntitiesCommandInput, BatchDetectEntitiesCommandOutput } from "./commands/BatchDetectEntitiesCommand";
12
12
  import { BatchDetectKeyPhrasesCommandInput, BatchDetectKeyPhrasesCommandOutput } from "./commands/BatchDetectKeyPhrasesCommand";
@@ -93,7 +93,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
93
93
  import { UpdateEndpointCommandInput, UpdateEndpointCommandOutput } from "./commands/UpdateEndpointCommand";
94
94
  import { UpdateFlywheelCommandInput, UpdateFlywheelCommandOutput } from "./commands/UpdateFlywheelCommand";
95
95
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
96
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
96
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
97
97
  export { __Client };
98
98
  /**
99
99
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { ComprehendHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { ComprehendHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { ComprehendClientResolvedConfig } from "../ComprehendClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type ComprehendClientResolvedConfig } from "../ComprehendClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
- import { BatchDetectDominantLanguageRequest, BatchDetectDominantLanguageResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
+ import type { BatchDetectDominantLanguageRequest, BatchDetectDominantLanguageResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
- import { BatchDetectEntitiesRequest, BatchDetectEntitiesResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
+ import type { BatchDetectEntitiesRequest, BatchDetectEntitiesResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
- import { BatchDetectKeyPhrasesRequest, BatchDetectKeyPhrasesResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
4
+ import type { BatchDetectKeyPhrasesRequest, BatchDetectKeyPhrasesResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */