@aws-sdk/client-entityresolution 3.523.0 → 3.529.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 (49) hide show
  1. package/dist-cjs/index.js +27 -68
  2. package/dist-es/protocols/Aws_restJson1.js +1 -41
  3. package/package.json +17 -17
  4. package/dist-cjs/EntityResolution.js +0 -1
  5. package/dist-cjs/EntityResolutionClient.js +0 -1
  6. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
  7. package/dist-cjs/commands/CreateIdMappingWorkflowCommand.js +0 -1
  8. package/dist-cjs/commands/CreateMatchingWorkflowCommand.js +0 -1
  9. package/dist-cjs/commands/CreateSchemaMappingCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteIdMappingWorkflowCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteMatchingWorkflowCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteSchemaMappingCommand.js +0 -1
  13. package/dist-cjs/commands/GetIdMappingJobCommand.js +0 -1
  14. package/dist-cjs/commands/GetIdMappingWorkflowCommand.js +0 -1
  15. package/dist-cjs/commands/GetMatchIdCommand.js +0 -1
  16. package/dist-cjs/commands/GetMatchingJobCommand.js +0 -1
  17. package/dist-cjs/commands/GetMatchingWorkflowCommand.js +0 -1
  18. package/dist-cjs/commands/GetProviderServiceCommand.js +0 -1
  19. package/dist-cjs/commands/GetSchemaMappingCommand.js +0 -1
  20. package/dist-cjs/commands/ListIdMappingJobsCommand.js +0 -1
  21. package/dist-cjs/commands/ListIdMappingWorkflowsCommand.js +0 -1
  22. package/dist-cjs/commands/ListMatchingJobsCommand.js +0 -1
  23. package/dist-cjs/commands/ListMatchingWorkflowsCommand.js +0 -1
  24. package/dist-cjs/commands/ListProviderServicesCommand.js +0 -1
  25. package/dist-cjs/commands/ListSchemaMappingsCommand.js +0 -1
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  27. package/dist-cjs/commands/StartIdMappingJobCommand.js +0 -1
  28. package/dist-cjs/commands/StartMatchingJobCommand.js +0 -1
  29. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  30. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  31. package/dist-cjs/commands/UpdateIdMappingWorkflowCommand.js +0 -1
  32. package/dist-cjs/commands/UpdateMatchingWorkflowCommand.js +0 -1
  33. package/dist-cjs/commands/UpdateSchemaMappingCommand.js +0 -1
  34. package/dist-cjs/commands/index.js +0 -1
  35. package/dist-cjs/endpoint/EndpointParameters.js +0 -1
  36. package/dist-cjs/extensionConfiguration.js +0 -1
  37. package/dist-cjs/models/EntityResolutionServiceException.js +0 -1
  38. package/dist-cjs/models/index.js +0 -1
  39. package/dist-cjs/models/models_0.js +0 -1
  40. package/dist-cjs/pagination/Interfaces.js +0 -1
  41. package/dist-cjs/pagination/ListIdMappingJobsPaginator.js +0 -1
  42. package/dist-cjs/pagination/ListIdMappingWorkflowsPaginator.js +0 -1
  43. package/dist-cjs/pagination/ListMatchingJobsPaginator.js +0 -1
  44. package/dist-cjs/pagination/ListMatchingWorkflowsPaginator.js +0 -1
  45. package/dist-cjs/pagination/ListProviderServicesPaginator.js +0 -1
  46. package/dist-cjs/pagination/ListSchemaMappingsPaginator.js +0 -1
  47. package/dist-cjs/pagination/index.js +0 -1
  48. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  49. package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js CHANGED
@@ -795,7 +795,7 @@ var de_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
795
795
  const contents = (0, import_smithy_client.map)({
796
796
  $metadata: deserializeMetadata(output)
797
797
  });
798
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
798
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
799
799
  const doc = (0, import_smithy_client.take)(data, {
800
800
  description: import_smithy_client.expectString,
801
801
  idMappingTechniques: (_) => de_IdMappingTechniques(_, context),
@@ -815,7 +815,7 @@ var de_CreateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, con
815
815
  const contents = (0, import_smithy_client.map)({
816
816
  $metadata: deserializeMetadata(output)
817
817
  });
818
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
818
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
819
819
  const doc = (0, import_smithy_client.take)(data, {
820
820
  description: import_smithy_client.expectString,
821
821
  incrementalRunConfig: import_smithy_client._json,
@@ -836,7 +836,7 @@ var de_CreateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, contex
836
836
  const contents = (0, import_smithy_client.map)({
837
837
  $metadata: deserializeMetadata(output)
838
838
  });
839
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
839
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
840
840
  const doc = (0, import_smithy_client.take)(data, {
841
841
  description: import_smithy_client.expectString,
842
842
  mappedInputFields: import_smithy_client._json,
@@ -853,7 +853,7 @@ var de_DeleteIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
853
853
  const contents = (0, import_smithy_client.map)({
854
854
  $metadata: deserializeMetadata(output)
855
855
  });
856
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
856
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
857
857
  const doc = (0, import_smithy_client.take)(data, {
858
858
  message: import_smithy_client.expectString
859
859
  });
@@ -867,7 +867,7 @@ var de_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, con
867
867
  const contents = (0, import_smithy_client.map)({
868
868
  $metadata: deserializeMetadata(output)
869
869
  });
870
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
870
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
871
871
  const doc = (0, import_smithy_client.take)(data, {
872
872
  message: import_smithy_client.expectString
873
873
  });
@@ -881,7 +881,7 @@ var de_DeleteSchemaMappingCommand = /* @__PURE__ */ __name(async (output, contex
881
881
  const contents = (0, import_smithy_client.map)({
882
882
  $metadata: deserializeMetadata(output)
883
883
  });
884
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
884
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
885
885
  const doc = (0, import_smithy_client.take)(data, {
886
886
  message: import_smithy_client.expectString
887
887
  });
@@ -895,7 +895,7 @@ var de_GetIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context) =
895
895
  const contents = (0, import_smithy_client.map)({
896
896
  $metadata: deserializeMetadata(output)
897
897
  });
898
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
898
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
899
899
  const doc = (0, import_smithy_client.take)(data, {
900
900
  endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
901
901
  errorDetails: import_smithy_client._json,
@@ -914,7 +914,7 @@ var de_GetIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, conte
914
914
  const contents = (0, import_smithy_client.map)({
915
915
  $metadata: deserializeMetadata(output)
916
916
  });
917
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
917
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
918
918
  const doc = (0, import_smithy_client.take)(data, {
919
919
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
920
920
  description: import_smithy_client.expectString,
@@ -937,7 +937,7 @@ var de_GetMatchIdCommand = /* @__PURE__ */ __name(async (output, context) => {
937
937
  const contents = (0, import_smithy_client.map)({
938
938
  $metadata: deserializeMetadata(output)
939
939
  });
940
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
940
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
941
941
  const doc = (0, import_smithy_client.take)(data, {
942
942
  matchId: import_smithy_client.expectString
943
943
  });
@@ -951,7 +951,7 @@ var de_GetMatchingJobCommand = /* @__PURE__ */ __name(async (output, context) =>
951
951
  const contents = (0, import_smithy_client.map)({
952
952
  $metadata: deserializeMetadata(output)
953
953
  });
954
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
954
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
955
955
  const doc = (0, import_smithy_client.take)(data, {
956
956
  endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
957
957
  errorDetails: import_smithy_client._json,
@@ -970,7 +970,7 @@ var de_GetMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, contex
970
970
  const contents = (0, import_smithy_client.map)({
971
971
  $metadata: deserializeMetadata(output)
972
972
  });
973
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
973
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
974
974
  const doc = (0, import_smithy_client.take)(data, {
975
975
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
976
976
  description: import_smithy_client.expectString,
@@ -994,7 +994,7 @@ var de_GetProviderServiceCommand = /* @__PURE__ */ __name(async (output, context
994
994
  const contents = (0, import_smithy_client.map)({
995
995
  $metadata: deserializeMetadata(output)
996
996
  });
997
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
997
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
998
998
  const doc = (0, import_smithy_client.take)(data, {
999
999
  anonymizedOutput: import_smithy_client.expectBoolean,
1000
1000
  providerConfigurationDefinition: (_) => de_Document(_, context),
@@ -1017,7 +1017,7 @@ var de_GetSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context)
1017
1017
  const contents = (0, import_smithy_client.map)({
1018
1018
  $metadata: deserializeMetadata(output)
1019
1019
  });
1020
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1020
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1021
1021
  const doc = (0, import_smithy_client.take)(data, {
1022
1022
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1023
1023
  description: import_smithy_client.expectString,
@@ -1038,7 +1038,7 @@ var de_ListIdMappingJobsCommand = /* @__PURE__ */ __name(async (output, context)
1038
1038
  const contents = (0, import_smithy_client.map)({
1039
1039
  $metadata: deserializeMetadata(output)
1040
1040
  });
1041
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1041
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1042
1042
  const doc = (0, import_smithy_client.take)(data, {
1043
1043
  jobs: (_) => de_JobList(_, context),
1044
1044
  nextToken: import_smithy_client.expectString
@@ -1053,7 +1053,7 @@ var de_ListIdMappingWorkflowsCommand = /* @__PURE__ */ __name(async (output, con
1053
1053
  const contents = (0, import_smithy_client.map)({
1054
1054
  $metadata: deserializeMetadata(output)
1055
1055
  });
1056
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1056
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1057
1057
  const doc = (0, import_smithy_client.take)(data, {
1058
1058
  nextToken: import_smithy_client.expectString,
1059
1059
  workflowSummaries: (_) => de_IdMappingWorkflowList(_, context)
@@ -1068,7 +1068,7 @@ var de_ListMatchingJobsCommand = /* @__PURE__ */ __name(async (output, context)
1068
1068
  const contents = (0, import_smithy_client.map)({
1069
1069
  $metadata: deserializeMetadata(output)
1070
1070
  });
1071
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1071
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1072
1072
  const doc = (0, import_smithy_client.take)(data, {
1073
1073
  jobs: (_) => de_JobList(_, context),
1074
1074
  nextToken: import_smithy_client.expectString
@@ -1083,7 +1083,7 @@ var de_ListMatchingWorkflowsCommand = /* @__PURE__ */ __name(async (output, cont
1083
1083
  const contents = (0, import_smithy_client.map)({
1084
1084
  $metadata: deserializeMetadata(output)
1085
1085
  });
1086
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1086
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1087
1087
  const doc = (0, import_smithy_client.take)(data, {
1088
1088
  nextToken: import_smithy_client.expectString,
1089
1089
  workflowSummaries: (_) => de_MatchingWorkflowList(_, context)
@@ -1098,7 +1098,7 @@ var de_ListProviderServicesCommand = /* @__PURE__ */ __name(async (output, conte
1098
1098
  const contents = (0, import_smithy_client.map)({
1099
1099
  $metadata: deserializeMetadata(output)
1100
1100
  });
1101
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1101
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1102
1102
  const doc = (0, import_smithy_client.take)(data, {
1103
1103
  nextToken: import_smithy_client.expectString,
1104
1104
  providerServiceSummaries: import_smithy_client._json
@@ -1113,7 +1113,7 @@ var de_ListSchemaMappingsCommand = /* @__PURE__ */ __name(async (output, context
1113
1113
  const contents = (0, import_smithy_client.map)({
1114
1114
  $metadata: deserializeMetadata(output)
1115
1115
  });
1116
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1116
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1117
1117
  const doc = (0, import_smithy_client.take)(data, {
1118
1118
  nextToken: import_smithy_client.expectString,
1119
1119
  schemaList: (_) => de_SchemaMappingList(_, context)
@@ -1128,7 +1128,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
1128
1128
  const contents = (0, import_smithy_client.map)({
1129
1129
  $metadata: deserializeMetadata(output)
1130
1130
  });
1131
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1131
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1132
1132
  const doc = (0, import_smithy_client.take)(data, {
1133
1133
  tags: import_smithy_client._json
1134
1134
  });
@@ -1142,7 +1142,7 @@ var de_StartIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context)
1142
1142
  const contents = (0, import_smithy_client.map)({
1143
1143
  $metadata: deserializeMetadata(output)
1144
1144
  });
1145
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1145
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1146
1146
  const doc = (0, import_smithy_client.take)(data, {
1147
1147
  jobId: import_smithy_client.expectString
1148
1148
  });
@@ -1156,7 +1156,7 @@ var de_StartMatchingJobCommand = /* @__PURE__ */ __name(async (output, context)
1156
1156
  const contents = (0, import_smithy_client.map)({
1157
1157
  $metadata: deserializeMetadata(output)
1158
1158
  });
1159
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1159
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1160
1160
  const doc = (0, import_smithy_client.take)(data, {
1161
1161
  jobId: import_smithy_client.expectString
1162
1162
  });
@@ -1190,7 +1190,7 @@ var de_UpdateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
1190
1190
  const contents = (0, import_smithy_client.map)({
1191
1191
  $metadata: deserializeMetadata(output)
1192
1192
  });
1193
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1193
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1194
1194
  const doc = (0, import_smithy_client.take)(data, {
1195
1195
  description: import_smithy_client.expectString,
1196
1196
  idMappingTechniques: (_) => de_IdMappingTechniques(_, context),
@@ -1210,7 +1210,7 @@ var de_UpdateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, con
1210
1210
  const contents = (0, import_smithy_client.map)({
1211
1211
  $metadata: deserializeMetadata(output)
1212
1212
  });
1213
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1213
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1214
1214
  const doc = (0, import_smithy_client.take)(data, {
1215
1215
  description: import_smithy_client.expectString,
1216
1216
  incrementalRunConfig: import_smithy_client._json,
@@ -1230,7 +1230,7 @@ var de_UpdateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, contex
1230
1230
  const contents = (0, import_smithy_client.map)({
1231
1231
  $metadata: deserializeMetadata(output)
1232
1232
  });
1233
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1233
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1234
1234
  const doc = (0, import_smithy_client.take)(data, {
1235
1235
  description: import_smithy_client.expectString,
1236
1236
  mappedInputFields: import_smithy_client._json,
@@ -1243,9 +1243,9 @@ var de_UpdateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, contex
1243
1243
  var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1244
1244
  const parsedOutput = {
1245
1245
  ...output,
1246
- body: await parseErrorBody(output.body, context)
1246
+ body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1247
1247
  };
1248
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1248
+ const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1249
1249
  switch (errorCode) {
1250
1250
  case "AccessDeniedException":
1251
1251
  case "com.amazonaws.entityresolution#AccessDeniedException":
@@ -1481,51 +1481,10 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1481
1481
  extendedRequestId: output.headers["x-amz-id-2"],
1482
1482
  cfId: output.headers["x-amz-cf-id"]
1483
1483
  }), "deserializeMetadata");
1484
- var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
1485
1484
  var _mR = "maxResults";
1486
1485
  var _nT = "nextToken";
1487
1486
  var _pN = "providerName";
1488
1487
  var _tK = "tagKeys";
1489
- var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1490
- if (encoded.length) {
1491
- return JSON.parse(encoded);
1492
- }
1493
- return {};
1494
- }), "parseBody");
1495
- var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
1496
- const value = await parseBody(errorBody, context);
1497
- value.message = value.message ?? value.Message;
1498
- return value;
1499
- }, "parseErrorBody");
1500
- var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
1501
- const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
1502
- const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
1503
- let cleanValue = rawValue;
1504
- if (typeof cleanValue === "number") {
1505
- cleanValue = cleanValue.toString();
1506
- }
1507
- if (cleanValue.indexOf(",") >= 0) {
1508
- cleanValue = cleanValue.split(",")[0];
1509
- }
1510
- if (cleanValue.indexOf(":") >= 0) {
1511
- cleanValue = cleanValue.split(":")[0];
1512
- }
1513
- if (cleanValue.indexOf("#") >= 0) {
1514
- cleanValue = cleanValue.split("#")[1];
1515
- }
1516
- return cleanValue;
1517
- }, "sanitizeErrorCode");
1518
- const headerKey = findKey(output.headers, "x-amzn-errortype");
1519
- if (headerKey !== void 0) {
1520
- return sanitizeErrorCode(output.headers[headerKey]);
1521
- }
1522
- if (data.code !== void 0) {
1523
- return sanitizeErrorCode(data.code);
1524
- }
1525
- if (data["__type"] !== void 0) {
1526
- return sanitizeErrorCode(data["__type"]);
1527
- }
1528
- }, "loadRestJsonErrorCode");
1529
1488
 
1530
1489
  // src/commands/CreateIdMappingWorkflowCommand.ts
1531
1490
  var _CreateIdMappingWorkflowCommand = class _CreateIdMappingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
@@ -1,4 +1,4 @@
1
- import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
1
+ import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { EntityResolutionServiceException as __BaseException } from "../models/EntityResolutionServiceException";
@@ -1050,43 +1050,3 @@ const _mR = "maxResults";
1050
1050
  const _nT = "nextToken";
1051
1051
  const _pN = "providerName";
1052
1052
  const _tK = "tagKeys";
1053
- const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1054
- if (encoded.length) {
1055
- return JSON.parse(encoded);
1056
- }
1057
- return {};
1058
- });
1059
- const parseErrorBody = async (errorBody, context) => {
1060
- const value = await parseBody(errorBody, context);
1061
- value.message = value.message ?? value.Message;
1062
- return value;
1063
- };
1064
- const loadRestJsonErrorCode = (output, data) => {
1065
- const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
1066
- const sanitizeErrorCode = (rawValue) => {
1067
- let cleanValue = rawValue;
1068
- if (typeof cleanValue === "number") {
1069
- cleanValue = cleanValue.toString();
1070
- }
1071
- if (cleanValue.indexOf(",") >= 0) {
1072
- cleanValue = cleanValue.split(",")[0];
1073
- }
1074
- if (cleanValue.indexOf(":") >= 0) {
1075
- cleanValue = cleanValue.split(":")[0];
1076
- }
1077
- if (cleanValue.indexOf("#") >= 0) {
1078
- cleanValue = cleanValue.split("#")[1];
1079
- }
1080
- return cleanValue;
1081
- };
1082
- const headerKey = findKey(output.headers, "x-amzn-errortype");
1083
- if (headerKey !== undefined) {
1084
- return sanitizeErrorCode(output.headers[headerKey]);
1085
- }
1086
- if (data.code !== undefined) {
1087
- return sanitizeErrorCode(data.code);
1088
- }
1089
- if (data["__type"] !== undefined) {
1090
- return sanitizeErrorCode(data["__type"]);
1091
- }
1092
- };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-entityresolution",
3
3
  "description": "AWS SDK for JavaScript Entityresolution Client for Node.js, Browser and React Native",
4
- "version": "3.523.0",
4
+ "version": "3.529.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-entityresolution",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.523.0",
24
- "@aws-sdk/core": "3.523.0",
25
- "@aws-sdk/credential-provider-node": "3.523.0",
23
+ "@aws-sdk/client-sts": "3.529.0",
24
+ "@aws-sdk/core": "3.529.0",
25
+ "@aws-sdk/credential-provider-node": "3.529.0",
26
26
  "@aws-sdk/middleware-host-header": "3.523.0",
27
27
  "@aws-sdk/middleware-logger": "3.523.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.523.0",
30
- "@aws-sdk/region-config-resolver": "3.523.0",
29
+ "@aws-sdk/middleware-user-agent": "3.525.0",
30
+ "@aws-sdk/region-config-resolver": "3.525.0",
31
31
  "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.523.0",
32
+ "@aws-sdk/util-endpoints": "3.525.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.523.0",
35
- "@smithy/config-resolver": "^2.1.3",
36
- "@smithy/core": "^1.3.4",
34
+ "@aws-sdk/util-user-agent-node": "3.525.0",
35
+ "@smithy/config-resolver": "^2.1.4",
36
+ "@smithy/core": "^1.3.5",
37
37
  "@smithy/fetch-http-handler": "^2.4.3",
38
38
  "@smithy/hash-node": "^2.1.3",
39
39
  "@smithy/invalid-dependency": "^2.1.3",
40
40
  "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.3",
42
- "@smithy/middleware-retry": "^2.1.3",
41
+ "@smithy/middleware-endpoint": "^2.4.4",
42
+ "@smithy/middleware-retry": "^2.1.4",
43
43
  "@smithy/middleware-serde": "^2.1.3",
44
44
  "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.3",
45
+ "@smithy/node-config-provider": "^2.2.4",
46
46
  "@smithy/node-http-handler": "^2.4.1",
47
47
  "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.1",
48
+ "@smithy/smithy-client": "^2.4.2",
49
49
  "@smithy/types": "^2.10.1",
50
50
  "@smithy/url-parser": "^2.1.3",
51
51
  "@smithy/util-base64": "^2.1.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
53
  "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.3",
55
- "@smithy/util-defaults-mode-node": "^2.2.2",
56
- "@smithy/util-endpoints": "^1.1.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.4",
55
+ "@smithy/util-defaults-mode-node": "^2.2.3",
56
+ "@smithy/util-endpoints": "^1.1.4",
57
57
  "@smithy/util-middleware": "^2.1.3",
58
58
  "@smithy/util-retry": "^2.1.3",
59
59
  "@smithy/util-utf8": "^2.1.1",
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");