@aws-sdk/client-textract 3.943.0 → 3.947.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 (55) hide show
  1. package/dist-cjs/index.js +19 -177
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/TextractClient.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 +19 -178
  8. package/dist-types/Textract.d.ts +1 -1
  9. package/dist-types/TextractClient.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/AnalyzeDocumentCommand.d.ts +3 -3
  13. package/dist-types/commands/AnalyzeExpenseCommand.d.ts +3 -3
  14. package/dist-types/commands/AnalyzeIDCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateAdapterCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateAdapterVersionCommand.d.ts +3 -3
  17. package/dist-types/commands/DeleteAdapterCommand.d.ts +3 -3
  18. package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +3 -3
  19. package/dist-types/commands/DetectDocumentTextCommand.d.ts +3 -3
  20. package/dist-types/commands/GetAdapterCommand.d.ts +3 -3
  21. package/dist-types/commands/GetAdapterVersionCommand.d.ts +3 -3
  22. package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +3 -3
  23. package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +3 -3
  24. package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +3 -3
  25. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +3 -3
  26. package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +3 -3
  27. package/dist-types/commands/ListAdapterVersionsCommand.d.ts +3 -3
  28. package/dist-types/commands/ListAdaptersCommand.d.ts +3 -3
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  30. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +3 -3
  31. package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +3 -3
  32. package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +3 -3
  33. package/dist-types/commands/StartLendingAnalysisCommand.d.ts +3 -3
  34. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  35. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  36. package/dist-types/commands/UpdateAdapterCommand.d.ts +3 -3
  37. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  38. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  39. package/dist-types/extensionConfiguration.d.ts +4 -4
  40. package/dist-types/models/TextractServiceException.d.ts +1 -1
  41. package/dist-types/models/errors.d.ts +1 -1
  42. package/dist-types/pagination/Interfaces.d.ts +1 -1
  43. package/dist-types/pagination/ListAdapterVersionsPaginator.d.ts +1 -1
  44. package/dist-types/pagination/ListAdaptersPaginator.d.ts +1 -1
  45. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  46. package/dist-types/runtimeConfig.d.ts +1 -1
  47. package/dist-types/runtimeConfig.native.d.ts +1 -1
  48. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  49. package/dist-types/runtimeExtensions.d.ts +1 -1
  50. package/dist-types/schemas/schemas_0.d.ts +1 -2
  51. package/dist-types/ts3.4/TextractClient.d.ts +3 -3
  52. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  53. package/dist-types/ts3.4/models/TextractServiceException.d.ts +1 -1
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
  55. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -707,21 +707,10 @@ var SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = [
707
707
  0,
708
708
  n0,
709
709
  _SJHLACER,
710
- {
711
- [_mT]: _a,
712
- },
710
+ { [_mT]: _a },
713
711
  0,
714
712
  ];
715
- var AccessDeniedException = [
716
- -3,
717
- n0,
718
- _ADE,
719
- {
720
- [_e]: _c,
721
- },
722
- [_M, _C],
723
- [0, 0],
724
- ];
713
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c }, [_M, _C], [0, 0]];
725
714
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
726
715
  var Adapter = [3, n0, _A, 0, [_AI, _P, _V], [0, 64 | 0, 0]];
727
716
  var AdapterOverview = [3, n0, _AO, 0, [_AI, _AN, _CT, _FT], [0, 0, 4, 64 | 0]];
@@ -785,16 +774,7 @@ var AnalyzeIDResponse = [
785
774
  [_ID, _DM, _AIDMV],
786
775
  [() => IdentityDocumentList, () => DocumentMetadata, 0],
787
776
  ];
788
- var BadDocumentException = [
789
- -3,
790
- n0,
791
- _BDE,
792
- {
793
- [_e]: _c,
794
- },
795
- [_M, _C],
796
- [0, 0],
797
- ];
777
+ var BadDocumentException = [-3, n0, _BDE, { [_e]: _c }, [_M, _C], [0, 0]];
798
778
  schema.TypeRegistry.for(n0).registerError(BadDocumentException, BadDocumentException$1);
799
779
  var Block = [
800
780
  3,
@@ -805,16 +785,7 @@ var Block = [
805
785
  [0, 1, 0, 0, 1, 1, 1, 1, () => Geometry, 0, () => RelationshipList, 64 | 0, 0, 1, () => Query],
806
786
  ];
807
787
  var BoundingBox = [3, n0, _BB, 0, [_W, _H, _L, _To], [1, 1, 1, 1]];
808
- var ConflictException = [
809
- -3,
810
- n0,
811
- _CE,
812
- {
813
- [_e]: _c,
814
- },
815
- [_M, _C],
816
- [0, 0],
817
- ];
788
+ var ConflictException = [-3, n0, _CE, { [_e]: _c }, [_M, _C], [0, 0]];
818
789
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
819
790
  var CreateAdapterRequest = [
820
791
  3,
@@ -859,16 +830,7 @@ var DocumentGroup = [
859
830
  ];
860
831
  var DocumentLocation = [3, n0, _DL, 0, [_SO], [() => S3Object]];
861
832
  var DocumentMetadata = [3, n0, _DM, 0, [_P], [1]];
862
- var DocumentTooLargeException = [
863
- -3,
864
- n0,
865
- _DTLE,
866
- {
867
- [_e]: _c,
868
- },
869
- [_M, _C],
870
- [0, 0],
871
- ];
833
+ var DocumentTooLargeException = [-3, n0, _DTLE, { [_e]: _c }, [_M, _C], [0, 0]];
872
834
  schema.TypeRegistry.for(n0).registerError(DocumentTooLargeException, DocumentTooLargeException$1);
873
835
  var EvaluationMetric = [3, n0, _EM, 0, [_FS, _Pr, _Re], [1, 1, 1]];
874
836
  var ExpenseCurrency = [3, n0, _EC, 0, [_C, _Co], [0, 1]];
@@ -1003,24 +965,12 @@ var HumanLoopQuotaExceededException = [
1003
965
  -3,
1004
966
  n0,
1005
967
  _HLQEE,
1006
- {
1007
- [_e]: _c,
1008
- [_hE]: 402,
1009
- },
968
+ { [_e]: _c, [_hE]: 402 },
1010
969
  [_RT, _QCu, _SC, _M, _C],
1011
970
  [0, 0, 0, 0, 0],
1012
971
  ];
1013
972
  schema.TypeRegistry.for(n0).registerError(HumanLoopQuotaExceededException, HumanLoopQuotaExceededException$1);
1014
- var IdempotentParameterMismatchException = [
1015
- -3,
1016
- n0,
1017
- _IPME,
1018
- {
1019
- [_e]: _c,
1020
- },
1021
- [_M, _C],
1022
- [0, 0],
1023
- ];
973
+ var IdempotentParameterMismatchException = [-3, n0, _IPME, { [_e]: _c }, [_M, _C], [0, 0]];
1024
974
  schema.TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException, IdempotentParameterMismatchException$1);
1025
975
  var IdentityDocument = [
1026
976
  3,
@@ -1038,60 +988,15 @@ var IdentityDocumentField = [
1038
988
  [_Ty, _VD],
1039
989
  [() => AnalyzeIDDetections, () => AnalyzeIDDetections],
1040
990
  ];
1041
- var InternalServerError = [
1042
- -3,
1043
- n0,
1044
- _ISE,
1045
- {
1046
- [_e]: _s,
1047
- },
1048
- [_M, _C],
1049
- [0, 0],
1050
- ];
991
+ var InternalServerError = [-3, n0, _ISE, { [_e]: _s }, [_M, _C], [0, 0]];
1051
992
  schema.TypeRegistry.for(n0).registerError(InternalServerError, InternalServerError$1);
1052
- var InvalidJobIdException = [
1053
- -3,
1054
- n0,
1055
- _IJIE,
1056
- {
1057
- [_e]: _c,
1058
- },
1059
- [_M, _C],
1060
- [0, 0],
1061
- ];
993
+ var InvalidJobIdException = [-3, n0, _IJIE, { [_e]: _c }, [_M, _C], [0, 0]];
1062
994
  schema.TypeRegistry.for(n0).registerError(InvalidJobIdException, InvalidJobIdException$1);
1063
- var InvalidKMSKeyException = [
1064
- -3,
1065
- n0,
1066
- _IKMSKE,
1067
- {
1068
- [_e]: _c,
1069
- },
1070
- [_M, _C],
1071
- [0, 0],
1072
- ];
995
+ var InvalidKMSKeyException = [-3, n0, _IKMSKE, { [_e]: _c }, [_M, _C], [0, 0]];
1073
996
  schema.TypeRegistry.for(n0).registerError(InvalidKMSKeyException, InvalidKMSKeyException$1);
1074
- var InvalidParameterException = [
1075
- -3,
1076
- n0,
1077
- _IPE,
1078
- {
1079
- [_e]: _c,
1080
- },
1081
- [_M, _C],
1082
- [0, 0],
1083
- ];
997
+ var InvalidParameterException = [-3, n0, _IPE, { [_e]: _c }, [_M, _C], [0, 0]];
1084
998
  schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
1085
- var InvalidS3ObjectException = [
1086
- -3,
1087
- n0,
1088
- _ISOE,
1089
- {
1090
- [_e]: _c,
1091
- },
1092
- [_M, _C],
1093
- [0, 0],
1094
- ];
999
+ var InvalidS3ObjectException = [-3, n0, _ISOE, { [_e]: _c }, [_M, _C], [0, 0]];
1095
1000
  schema.TypeRegistry.for(n0).registerError(InvalidS3ObjectException, InvalidS3ObjectException$1);
1096
1001
  var LendingDetection = [3, n0, _LDen, 0, [_T, _SS, _G, _Co], [0, 0, () => Geometry, 1]];
1097
1002
  var LendingDocument = [
@@ -1119,16 +1024,7 @@ var LendingResult = [
1119
1024
  [1, () => PageClassification, () => ExtractionList],
1120
1025
  ];
1121
1026
  var LendingSummary = [3, n0, _LS, 0, [_DGo, _UDT], [() => DocumentGroupList, 64 | 0]];
1122
- var LimitExceededException = [
1123
- -3,
1124
- n0,
1125
- _LEE,
1126
- {
1127
- [_e]: _c,
1128
- },
1129
- [_M, _C],
1130
- [0, 0],
1131
- ];
1027
+ var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_M, _C], [0, 0]];
1132
1028
  schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
1133
1029
  var LineItemFields = [3, n0, _LIF, 0, [_LIEF], [() => ExpenseFieldList]];
1134
1030
  var LineItemGroup = [3, n0, _LIGi, 0, [_LIGI, _LI], [1, () => LineItemList]];
@@ -1165,42 +1061,15 @@ var PageClassification = [
1165
1061
  ];
1166
1062
  var Point = [3, n0, _Poi, 0, [_X, _Y], [1, 1]];
1167
1063
  var Prediction = [3, n0, _Pre, 0, [_Va, _Co], [0, 1]];
1168
- var ProvisionedThroughputExceededException = [
1169
- -3,
1170
- n0,
1171
- _PTEE,
1172
- {
1173
- [_e]: _c,
1174
- },
1175
- [_M, _C],
1176
- [0, 0],
1177
- ];
1064
+ var ProvisionedThroughputExceededException = [-3, n0, _PTEE, { [_e]: _c }, [_M, _C], [0, 0]];
1178
1065
  schema.TypeRegistry.for(n0).registerError(ProvisionedThroughputExceededException, ProvisionedThroughputExceededException$1);
1179
1066
  var QueriesConfig = [3, n0, _QC, 0, [_Qu], [() => Queries]];
1180
1067
  var Query = [3, n0, _Q, 0, [_T, _Al, _P], [0, 0, 64 | 0]];
1181
1068
  var Relationship = [3, n0, _Rel, 0, [_Ty, _Id], [0, 64 | 0]];
1182
- var ResourceNotFoundException = [
1183
- -3,
1184
- n0,
1185
- _RNFE,
1186
- {
1187
- [_e]: _c,
1188
- },
1189
- [_M, _C],
1190
- [0, 0],
1191
- ];
1069
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_M, _C], [0, 0]];
1192
1070
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1193
1071
  var S3Object = [3, n0, _SO, 0, [_Bu, _N, _V], [0, 0, 0]];
1194
- var ServiceQuotaExceededException = [
1195
- -3,
1196
- n0,
1197
- _SQEE,
1198
- {
1199
- [_e]: _c,
1200
- },
1201
- [_M, _C],
1202
- [0, 0],
1203
- ];
1072
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c }, [_M, _C], [0, 0]];
1204
1073
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1205
1074
  var SignatureDetection = [3, n0, _SDig, 0, [_Co, _G], [1, () => Geometry]];
1206
1075
  var SplitDocument = [3, n0, _SDp, 0, [_In, _P], [1, 64 | 1]];
@@ -1252,28 +1121,10 @@ var StartLendingAnalysisRequest = [
1252
1121
  var StartLendingAnalysisResponse = [3, n0, _SLARt, 0, [_JI], [0]];
1253
1122
  var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _Ta], [0, 128 | 0]];
1254
1123
  var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1255
- var ThrottlingException = [
1256
- -3,
1257
- n0,
1258
- _TE,
1259
- {
1260
- [_e]: _s,
1261
- },
1262
- [_M, _C],
1263
- [0, 0],
1264
- ];
1124
+ var ThrottlingException = [-3, n0, _TE, { [_e]: _s }, [_M, _C], [0, 0]];
1265
1125
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1266
1126
  var UndetectedSignature = [3, n0, _USn, 0, [_Pa], [1]];
1267
- var UnsupportedDocumentException = [
1268
- -3,
1269
- n0,
1270
- _UDE,
1271
- {
1272
- [_e]: _c,
1273
- },
1274
- [_M, _C],
1275
- [0, 0],
1276
- ];
1127
+ var UnsupportedDocumentException = [-3, n0, _UDE, { [_e]: _c }, [_M, _C], [0, 0]];
1277
1128
  schema.TypeRegistry.for(n0).registerError(UnsupportedDocumentException, UnsupportedDocumentException$1);
1278
1129
  var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
1279
1130
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -1286,16 +1137,7 @@ var UpdateAdapterResponse = [
1286
1137
  [_AI, _AN, _CT, _De, _FT, _AU],
1287
1138
  [0, 0, 4, 0, 64 | 0, 0],
1288
1139
  ];
1289
- var ValidationException = [
1290
- -3,
1291
- n0,
1292
- _VE,
1293
- {
1294
- [_e]: _c,
1295
- },
1296
- [_M, _C],
1297
- [0, 0],
1298
- ];
1140
+ var ValidationException = [-3, n0, _VE, { [_e]: _c }, [_M, _C], [0, 0]];
1299
1141
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1300
1142
  var Warning = [3, n0, _War, 0, [_ECr, _P], [0, 64 | 1]];
1301
1143
  var TextractServiceException = [-3, _sm, "TextractServiceException", 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 { defaultTextractHttpAuthSchemeParametersProvider, 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);
@@ -296,21 +296,10 @@ export var SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = [
296
296
  0,
297
297
  n0,
298
298
  _SJHLACER,
299
- {
300
- [_mT]: _a,
301
- },
299
+ { [_mT]: _a },
302
300
  0,
303
301
  ];
304
- export var AccessDeniedException = [
305
- -3,
306
- n0,
307
- _ADE,
308
- {
309
- [_e]: _c,
310
- },
311
- [_M, _C],
312
- [0, 0],
313
- ];
302
+ export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c }, [_M, _C], [0, 0]];
314
303
  TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
315
304
  export var Adapter = [3, n0, _A, 0, [_AI, _P, _V], [0, 64 | 0, 0]];
316
305
  export var AdapterOverview = [3, n0, _AO, 0, [_AI, _AN, _CT, _FT], [0, 0, 4, 64 | 0]];
@@ -374,16 +363,7 @@ export var AnalyzeIDResponse = [
374
363
  [_ID, _DM, _AIDMV],
375
364
  [() => IdentityDocumentList, () => DocumentMetadata, 0],
376
365
  ];
377
- export var BadDocumentException = [
378
- -3,
379
- n0,
380
- _BDE,
381
- {
382
- [_e]: _c,
383
- },
384
- [_M, _C],
385
- [0, 0],
386
- ];
366
+ export var BadDocumentException = [-3, n0, _BDE, { [_e]: _c }, [_M, _C], [0, 0]];
387
367
  TypeRegistry.for(n0).registerError(BadDocumentException, __BadDocumentException);
388
368
  export var Block = [
389
369
  3,
@@ -394,16 +374,7 @@ export var Block = [
394
374
  [0, 1, 0, 0, 1, 1, 1, 1, () => Geometry, 0, () => RelationshipList, 64 | 0, 0, 1, () => Query],
395
375
  ];
396
376
  export var BoundingBox = [3, n0, _BB, 0, [_W, _H, _L, _To], [1, 1, 1, 1]];
397
- export var ConflictException = [
398
- -3,
399
- n0,
400
- _CE,
401
- {
402
- [_e]: _c,
403
- },
404
- [_M, _C],
405
- [0, 0],
406
- ];
377
+ export var ConflictException = [-3, n0, _CE, { [_e]: _c }, [_M, _C], [0, 0]];
407
378
  TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
408
379
  export var CreateAdapterRequest = [
409
380
  3,
@@ -448,16 +419,7 @@ export var DocumentGroup = [
448
419
  ];
449
420
  export var DocumentLocation = [3, n0, _DL, 0, [_SO], [() => S3Object]];
450
421
  export var DocumentMetadata = [3, n0, _DM, 0, [_P], [1]];
451
- export var DocumentTooLargeException = [
452
- -3,
453
- n0,
454
- _DTLE,
455
- {
456
- [_e]: _c,
457
- },
458
- [_M, _C],
459
- [0, 0],
460
- ];
422
+ export var DocumentTooLargeException = [-3, n0, _DTLE, { [_e]: _c }, [_M, _C], [0, 0]];
461
423
  TypeRegistry.for(n0).registerError(DocumentTooLargeException, __DocumentTooLargeException);
462
424
  export var EvaluationMetric = [3, n0, _EM, 0, [_FS, _Pr, _Re], [1, 1, 1]];
463
425
  export var ExpenseCurrency = [3, n0, _EC, 0, [_C, _Co], [0, 1]];
@@ -592,24 +554,12 @@ export var HumanLoopQuotaExceededException = [
592
554
  -3,
593
555
  n0,
594
556
  _HLQEE,
595
- {
596
- [_e]: _c,
597
- [_hE]: 402,
598
- },
557
+ { [_e]: _c, [_hE]: 402 },
599
558
  [_RT, _QCu, _SC, _M, _C],
600
559
  [0, 0, 0, 0, 0],
601
560
  ];
602
561
  TypeRegistry.for(n0).registerError(HumanLoopQuotaExceededException, __HumanLoopQuotaExceededException);
603
- export var IdempotentParameterMismatchException = [
604
- -3,
605
- n0,
606
- _IPME,
607
- {
608
- [_e]: _c,
609
- },
610
- [_M, _C],
611
- [0, 0],
612
- ];
562
+ export var IdempotentParameterMismatchException = [-3, n0, _IPME, { [_e]: _c }, [_M, _C], [0, 0]];
613
563
  TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException, __IdempotentParameterMismatchException);
614
564
  export var IdentityDocument = [
615
565
  3,
@@ -627,60 +577,15 @@ export var IdentityDocumentField = [
627
577
  [_Ty, _VD],
628
578
  [() => AnalyzeIDDetections, () => AnalyzeIDDetections],
629
579
  ];
630
- export var InternalServerError = [
631
- -3,
632
- n0,
633
- _ISE,
634
- {
635
- [_e]: _s,
636
- },
637
- [_M, _C],
638
- [0, 0],
639
- ];
580
+ export var InternalServerError = [-3, n0, _ISE, { [_e]: _s }, [_M, _C], [0, 0]];
640
581
  TypeRegistry.for(n0).registerError(InternalServerError, __InternalServerError);
641
- export var InvalidJobIdException = [
642
- -3,
643
- n0,
644
- _IJIE,
645
- {
646
- [_e]: _c,
647
- },
648
- [_M, _C],
649
- [0, 0],
650
- ];
582
+ export var InvalidJobIdException = [-3, n0, _IJIE, { [_e]: _c }, [_M, _C], [0, 0]];
651
583
  TypeRegistry.for(n0).registerError(InvalidJobIdException, __InvalidJobIdException);
652
- export var InvalidKMSKeyException = [
653
- -3,
654
- n0,
655
- _IKMSKE,
656
- {
657
- [_e]: _c,
658
- },
659
- [_M, _C],
660
- [0, 0],
661
- ];
584
+ export var InvalidKMSKeyException = [-3, n0, _IKMSKE, { [_e]: _c }, [_M, _C], [0, 0]];
662
585
  TypeRegistry.for(n0).registerError(InvalidKMSKeyException, __InvalidKMSKeyException);
663
- export var InvalidParameterException = [
664
- -3,
665
- n0,
666
- _IPE,
667
- {
668
- [_e]: _c,
669
- },
670
- [_M, _C],
671
- [0, 0],
672
- ];
586
+ export var InvalidParameterException = [-3, n0, _IPE, { [_e]: _c }, [_M, _C], [0, 0]];
673
587
  TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException);
674
- export var InvalidS3ObjectException = [
675
- -3,
676
- n0,
677
- _ISOE,
678
- {
679
- [_e]: _c,
680
- },
681
- [_M, _C],
682
- [0, 0],
683
- ];
588
+ export var InvalidS3ObjectException = [-3, n0, _ISOE, { [_e]: _c }, [_M, _C], [0, 0]];
684
589
  TypeRegistry.for(n0).registerError(InvalidS3ObjectException, __InvalidS3ObjectException);
685
590
  export var LendingDetection = [3, n0, _LDen, 0, [_T, _SS, _G, _Co], [0, 0, () => Geometry, 1]];
686
591
  export var LendingDocument = [
@@ -708,16 +613,7 @@ export var LendingResult = [
708
613
  [1, () => PageClassification, () => ExtractionList],
709
614
  ];
710
615
  export var LendingSummary = [3, n0, _LS, 0, [_DGo, _UDT], [() => DocumentGroupList, 64 | 0]];
711
- export var LimitExceededException = [
712
- -3,
713
- n0,
714
- _LEE,
715
- {
716
- [_e]: _c,
717
- },
718
- [_M, _C],
719
- [0, 0],
720
- ];
616
+ export var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_M, _C], [0, 0]];
721
617
  TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
722
618
  export var LineItemFields = [3, n0, _LIF, 0, [_LIEF], [() => ExpenseFieldList]];
723
619
  export var LineItemGroup = [3, n0, _LIGi, 0, [_LIGI, _LI], [1, () => LineItemList]];
@@ -754,42 +650,15 @@ export var PageClassification = [
754
650
  ];
755
651
  export var Point = [3, n0, _Poi, 0, [_X, _Y], [1, 1]];
756
652
  export var Prediction = [3, n0, _Pre, 0, [_Va, _Co], [0, 1]];
757
- export var ProvisionedThroughputExceededException = [
758
- -3,
759
- n0,
760
- _PTEE,
761
- {
762
- [_e]: _c,
763
- },
764
- [_M, _C],
765
- [0, 0],
766
- ];
653
+ export var ProvisionedThroughputExceededException = [-3, n0, _PTEE, { [_e]: _c }, [_M, _C], [0, 0]];
767
654
  TypeRegistry.for(n0).registerError(ProvisionedThroughputExceededException, __ProvisionedThroughputExceededException);
768
655
  export var QueriesConfig = [3, n0, _QC, 0, [_Qu], [() => Queries]];
769
656
  export var Query = [3, n0, _Q, 0, [_T, _Al, _P], [0, 0, 64 | 0]];
770
657
  export var Relationship = [3, n0, _Rel, 0, [_Ty, _Id], [0, 64 | 0]];
771
- export var ResourceNotFoundException = [
772
- -3,
773
- n0,
774
- _RNFE,
775
- {
776
- [_e]: _c,
777
- },
778
- [_M, _C],
779
- [0, 0],
780
- ];
658
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_M, _C], [0, 0]];
781
659
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
782
660
  export var S3Object = [3, n0, _SO, 0, [_Bu, _N, _V], [0, 0, 0]];
783
- export var ServiceQuotaExceededException = [
784
- -3,
785
- n0,
786
- _SQEE,
787
- {
788
- [_e]: _c,
789
- },
790
- [_M, _C],
791
- [0, 0],
792
- ];
661
+ export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c }, [_M, _C], [0, 0]];
793
662
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
794
663
  export var SignatureDetection = [3, n0, _SDig, 0, [_Co, _G], [1, () => Geometry]];
795
664
  export var SplitDocument = [3, n0, _SDp, 0, [_In, _P], [1, 64 | 1]];
@@ -841,28 +710,10 @@ export var StartLendingAnalysisRequest = [
841
710
  export var StartLendingAnalysisResponse = [3, n0, _SLARt, 0, [_JI], [0]];
842
711
  export var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _Ta], [0, 128 | 0]];
843
712
  export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
844
- export var ThrottlingException = [
845
- -3,
846
- n0,
847
- _TE,
848
- {
849
- [_e]: _s,
850
- },
851
- [_M, _C],
852
- [0, 0],
853
- ];
713
+ export var ThrottlingException = [-3, n0, _TE, { [_e]: _s }, [_M, _C], [0, 0]];
854
714
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
855
715
  export var UndetectedSignature = [3, n0, _USn, 0, [_Pa], [1]];
856
- export var UnsupportedDocumentException = [
857
- -3,
858
- n0,
859
- _UDE,
860
- {
861
- [_e]: _c,
862
- },
863
- [_M, _C],
864
- [0, 0],
865
- ];
716
+ export var UnsupportedDocumentException = [-3, n0, _UDE, { [_e]: _c }, [_M, _C], [0, 0]];
866
717
  TypeRegistry.for(n0).registerError(UnsupportedDocumentException, __UnsupportedDocumentException);
867
718
  export var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
868
719
  export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -875,19 +726,9 @@ export var UpdateAdapterResponse = [
875
726
  [_AI, _AN, _CT, _De, _FT, _AU],
876
727
  [0, 0, 4, 0, 64 | 0, 0],
877
728
  ];
878
- export var ValidationException = [
879
- -3,
880
- n0,
881
- _VE,
882
- {
883
- [_e]: _c,
884
- },
885
- [_M, _C],
886
- [0, 0],
887
- ];
729
+ export var ValidationException = [-3, n0, _VE, { [_e]: _c }, [_M, _C], [0, 0]];
888
730
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
889
731
  export var Warning = [3, n0, _War, 0, [_ECr, _P], [0, 64 | 1]];
890
- export var __Unit = "unit";
891
732
  export var TextractServiceException = [-3, _sm, "TextractServiceException", 0, [], []];
892
733
  TypeRegistry.for(_sm).registerError(TextractServiceException, __TextractServiceException);
893
734
  export var AdapterList = [1, n0, _AL, 0, () => AdapterOverview];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
3
3
  import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
4
4
  import { AnalyzeIDCommandInput, AnalyzeIDCommandOutput } from "./commands/AnalyzeIDCommand";
@@ -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 { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
11
11
  import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
12
12
  import { AnalyzeIDCommandInput, AnalyzeIDCommandOutput } from "./commands/AnalyzeIDCommand";
@@ -33,7 +33,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
33
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
34
34
  import { UpdateAdapterCommandInput, UpdateAdapterCommandOutput } from "./commands/UpdateAdapterCommand";
35
35
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
36
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
36
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
37
37
  export { __Client };
38
38
  /**
39
39
  * @public