@aws-sdk/client-entityresolution 3.428.0 → 3.430.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 (99) hide show
  1. package/README.md +104 -17
  2. package/dist-cjs/EntityResolution.js +22 -0
  3. package/dist-cjs/commands/CreateIdMappingWorkflowCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteIdMappingWorkflowCommand.js +51 -0
  5. package/dist-cjs/commands/GetIdMappingJobCommand.js +51 -0
  6. package/dist-cjs/commands/GetIdMappingWorkflowCommand.js +51 -0
  7. package/dist-cjs/commands/GetProviderServiceCommand.js +51 -0
  8. package/dist-cjs/commands/ListIdMappingJobsCommand.js +51 -0
  9. package/dist-cjs/commands/ListIdMappingWorkflowsCommand.js +51 -0
  10. package/dist-cjs/commands/ListProviderServicesCommand.js +51 -0
  11. package/dist-cjs/commands/StartIdMappingJobCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateIdMappingWorkflowCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateSchemaMappingCommand.js +51 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/endpoint/ruleset.js +3 -3
  16. package/dist-cjs/models/models_0.js +29 -12
  17. package/dist-cjs/pagination/ListIdMappingJobsPaginator.js +29 -0
  18. package/dist-cjs/pagination/ListIdMappingWorkflowsPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListProviderServicesPaginator.js +29 -0
  20. package/dist-cjs/pagination/index.js +3 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +917 -71
  22. package/dist-es/EntityResolution.js +22 -0
  23. package/dist-es/commands/CreateIdMappingWorkflowCommand.js +47 -0
  24. package/dist-es/commands/DeleteIdMappingWorkflowCommand.js +47 -0
  25. package/dist-es/commands/GetIdMappingJobCommand.js +47 -0
  26. package/dist-es/commands/GetIdMappingWorkflowCommand.js +47 -0
  27. package/dist-es/commands/GetProviderServiceCommand.js +47 -0
  28. package/dist-es/commands/ListIdMappingJobsCommand.js +47 -0
  29. package/dist-es/commands/ListIdMappingWorkflowsCommand.js +47 -0
  30. package/dist-es/commands/ListProviderServicesCommand.js +47 -0
  31. package/dist-es/commands/StartIdMappingJobCommand.js +47 -0
  32. package/dist-es/commands/UpdateIdMappingWorkflowCommand.js +47 -0
  33. package/dist-es/commands/UpdateSchemaMappingCommand.js +47 -0
  34. package/dist-es/commands/index.js +11 -0
  35. package/dist-es/endpoint/ruleset.js +3 -3
  36. package/dist-es/models/models_0.js +28 -11
  37. package/dist-es/pagination/ListIdMappingJobsPaginator.js +25 -0
  38. package/dist-es/pagination/ListIdMappingWorkflowsPaginator.js +25 -0
  39. package/dist-es/pagination/ListProviderServicesPaginator.js +25 -0
  40. package/dist-es/pagination/index.js +3 -0
  41. package/dist-es/protocols/Aws_restJson1.js +908 -85
  42. package/dist-types/EntityResolution.d.ts +86 -10
  43. package/dist-types/EntityResolutionClient.d.ts +22 -12
  44. package/dist-types/commands/CreateIdMappingWorkflowCommand.d.ts +160 -0
  45. package/dist-types/commands/CreateMatchingWorkflowCommand.d.ts +34 -13
  46. package/dist-types/commands/CreateSchemaMappingCommand.d.ts +18 -10
  47. package/dist-types/commands/DeleteIdMappingWorkflowCommand.d.ts +94 -0
  48. package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +10 -6
  49. package/dist-types/commands/DeleteSchemaMappingCommand.d.ts +15 -9
  50. package/dist-types/commands/GetIdMappingJobCommand.d.ts +110 -0
  51. package/dist-types/commands/GetIdMappingWorkflowCommand.d.ts +127 -0
  52. package/dist-types/commands/GetMatchIdCommand.d.ts +10 -5
  53. package/dist-types/commands/GetMatchingJobCommand.d.ts +10 -5
  54. package/dist-types/commands/GetMatchingWorkflowCommand.d.ts +16 -5
  55. package/dist-types/commands/GetProviderServiceCommand.d.ts +121 -0
  56. package/dist-types/commands/GetSchemaMappingCommand.d.ts +11 -5
  57. package/dist-types/commands/ListIdMappingJobsCommand.d.ts +107 -0
  58. package/dist-types/commands/ListIdMappingWorkflowsCommand.d.ts +103 -0
  59. package/dist-types/commands/ListMatchingJobsCommand.d.ts +8 -4
  60. package/dist-types/commands/ListMatchingWorkflowsCommand.d.ts +11 -5
  61. package/dist-types/commands/ListProviderServicesCommand.d.ts +105 -0
  62. package/dist-types/commands/ListSchemaMappingsCommand.d.ts +11 -5
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -5
  64. package/dist-types/commands/StartIdMappingJobCommand.d.ts +110 -0
  65. package/dist-types/commands/StartMatchingJobCommand.d.ts +16 -10
  66. package/dist-types/commands/TagResourceCommand.d.ts +11 -9
  67. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  68. package/dist-types/commands/UpdateIdMappingWorkflowCommand.d.ts +149 -0
  69. package/dist-types/commands/UpdateMatchingWorkflowCommand.d.ts +27 -9
  70. package/dist-types/commands/UpdateSchemaMappingCommand.d.ts +128 -0
  71. package/dist-types/commands/index.d.ts +11 -0
  72. package/dist-types/index.d.ts +9 -10
  73. package/dist-types/models/models_0.d.ts +1128 -234
  74. package/dist-types/pagination/ListIdMappingJobsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListIdMappingWorkflowsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListProviderServicesPaginator.d.ts +7 -0
  77. package/dist-types/pagination/index.d.ts +3 -0
  78. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  79. package/dist-types/ts3.4/EntityResolution.d.ts +187 -0
  80. package/dist-types/ts3.4/EntityResolutionClient.d.ts +68 -2
  81. package/dist-types/ts3.4/commands/CreateIdMappingWorkflowCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/DeleteIdMappingWorkflowCommand.d.ts +42 -0
  83. package/dist-types/ts3.4/commands/GetIdMappingJobCommand.d.ts +38 -0
  84. package/dist-types/ts3.4/commands/GetIdMappingWorkflowCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/GetProviderServiceCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/ListIdMappingJobsCommand.d.ts +38 -0
  87. package/dist-types/ts3.4/commands/ListIdMappingWorkflowsCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/ListProviderServicesCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/StartIdMappingJobCommand.d.ts +38 -0
  90. package/dist-types/ts3.4/commands/UpdateIdMappingWorkflowCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/UpdateSchemaMappingCommand.d.ts +39 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +268 -55
  94. package/dist-types/ts3.4/pagination/ListIdMappingJobsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/ListIdMappingWorkflowsPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListProviderServicesPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  98. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  99. package/package.json +11 -11
@@ -1,7 +1,33 @@
1
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { EntityResolutionServiceException as __BaseException } from "../models/EntityResolutionServiceException";
4
4
  import { AccessDeniedException, ConflictException, ExceedsLimitException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
5
+ export const se_CreateIdMappingWorkflowCommand = async (input, context) => {
6
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
+ const headers = {
8
+ "content-type": "application/json",
9
+ };
10
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/idmappingworkflows";
11
+ let body;
12
+ body = JSON.stringify(take(input, {
13
+ description: [],
14
+ idMappingTechniques: (_) => se_IdMappingTechniques(_, context),
15
+ inputSourceConfig: (_) => _json(_),
16
+ outputSourceConfig: (_) => _json(_),
17
+ roleArn: [],
18
+ tags: (_) => _json(_),
19
+ workflowName: [],
20
+ }));
21
+ return new __HttpRequest({
22
+ protocol,
23
+ hostname,
24
+ port,
25
+ method: "POST",
26
+ headers,
27
+ path: resolvedPath,
28
+ body,
29
+ });
30
+ };
5
31
  export const se_CreateMatchingWorkflowCommand = async (input, context) => {
6
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
33
  const headers = {
@@ -14,7 +40,7 @@ export const se_CreateMatchingWorkflowCommand = async (input, context) => {
14
40
  incrementalRunConfig: (_) => _json(_),
15
41
  inputSourceConfig: (_) => _json(_),
16
42
  outputSourceConfig: (_) => _json(_),
17
- resolutionTechniques: (_) => _json(_),
43
+ resolutionTechniques: (_) => se_ResolutionTechniques(_, context),
18
44
  roleArn: [],
19
45
  tags: (_) => _json(_),
20
46
  workflowName: [],
@@ -52,6 +78,22 @@ export const se_CreateSchemaMappingCommand = async (input, context) => {
52
78
  body,
53
79
  });
54
80
  };
81
+ export const se_DeleteIdMappingWorkflowCommand = async (input, context) => {
82
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
83
+ const headers = {};
84
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/idmappingworkflows/{workflowName}";
85
+ resolvedPath = __resolvedPath(resolvedPath, input, "workflowName", () => input.workflowName, "{workflowName}", false);
86
+ let body;
87
+ return new __HttpRequest({
88
+ protocol,
89
+ hostname,
90
+ port,
91
+ method: "DELETE",
92
+ headers,
93
+ path: resolvedPath,
94
+ body,
95
+ });
96
+ };
55
97
  export const se_DeleteMatchingWorkflowCommand = async (input, context) => {
56
98
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
57
99
  const headers = {};
@@ -84,6 +126,40 @@ export const se_DeleteSchemaMappingCommand = async (input, context) => {
84
126
  body,
85
127
  });
86
128
  };
129
+ export const se_GetIdMappingJobCommand = async (input, context) => {
130
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
131
+ const headers = {};
132
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
133
+ "/idmappingworkflows/{workflowName}/jobs/{jobId}";
134
+ resolvedPath = __resolvedPath(resolvedPath, input, "workflowName", () => input.workflowName, "{workflowName}", false);
135
+ resolvedPath = __resolvedPath(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
136
+ let body;
137
+ return new __HttpRequest({
138
+ protocol,
139
+ hostname,
140
+ port,
141
+ method: "GET",
142
+ headers,
143
+ path: resolvedPath,
144
+ body,
145
+ });
146
+ };
147
+ export const se_GetIdMappingWorkflowCommand = async (input, context) => {
148
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
149
+ const headers = {};
150
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/idmappingworkflows/{workflowName}";
151
+ resolvedPath = __resolvedPath(resolvedPath, input, "workflowName", () => input.workflowName, "{workflowName}", false);
152
+ let body;
153
+ return new __HttpRequest({
154
+ protocol,
155
+ hostname,
156
+ port,
157
+ method: "GET",
158
+ headers,
159
+ path: resolvedPath,
160
+ body,
161
+ });
162
+ };
87
163
  export const se_GetMatchIdCommand = async (input, context) => {
88
164
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
89
165
  const headers = {
@@ -139,6 +215,24 @@ export const se_GetMatchingWorkflowCommand = async (input, context) => {
139
215
  body,
140
216
  });
141
217
  };
218
+ export const se_GetProviderServiceCommand = async (input, context) => {
219
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
220
+ const headers = {};
221
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
222
+ "/providerservices/{providerName}/{providerServiceName}";
223
+ resolvedPath = __resolvedPath(resolvedPath, input, "providerName", () => input.providerName, "{providerName}", false);
224
+ resolvedPath = __resolvedPath(resolvedPath, input, "providerServiceName", () => input.providerServiceName, "{providerServiceName}", false);
225
+ let body;
226
+ return new __HttpRequest({
227
+ protocol,
228
+ hostname,
229
+ port,
230
+ method: "GET",
231
+ headers,
232
+ path: resolvedPath,
233
+ body,
234
+ });
235
+ };
142
236
  export const se_GetSchemaMappingCommand = async (input, context) => {
143
237
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
144
238
  const headers = {};
@@ -155,6 +249,47 @@ export const se_GetSchemaMappingCommand = async (input, context) => {
155
249
  body,
156
250
  });
157
251
  };
252
+ export const se_ListIdMappingJobsCommand = async (input, context) => {
253
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
254
+ const headers = {};
255
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/idmappingworkflows/{workflowName}/jobs";
256
+ resolvedPath = __resolvedPath(resolvedPath, input, "workflowName", () => input.workflowName, "{workflowName}", false);
257
+ const query = map({
258
+ nextToken: [, input.nextToken],
259
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
260
+ });
261
+ let body;
262
+ return new __HttpRequest({
263
+ protocol,
264
+ hostname,
265
+ port,
266
+ method: "GET",
267
+ headers,
268
+ path: resolvedPath,
269
+ query,
270
+ body,
271
+ });
272
+ };
273
+ export const se_ListIdMappingWorkflowsCommand = async (input, context) => {
274
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
275
+ const headers = {};
276
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/idmappingworkflows";
277
+ const query = map({
278
+ nextToken: [, input.nextToken],
279
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
280
+ });
281
+ let body;
282
+ return new __HttpRequest({
283
+ protocol,
284
+ hostname,
285
+ port,
286
+ method: "GET",
287
+ headers,
288
+ path: resolvedPath,
289
+ query,
290
+ body,
291
+ });
292
+ };
158
293
  export const se_ListMatchingJobsCommand = async (input, context) => {
159
294
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
160
295
  const headers = {};
@@ -196,6 +331,27 @@ export const se_ListMatchingWorkflowsCommand = async (input, context) => {
196
331
  body,
197
332
  });
198
333
  };
334
+ export const se_ListProviderServicesCommand = async (input, context) => {
335
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
336
+ const headers = {};
337
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/providerservices";
338
+ const query = map({
339
+ nextToken: [, input.nextToken],
340
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
341
+ providerName: [, input.providerName],
342
+ });
343
+ let body;
344
+ return new __HttpRequest({
345
+ protocol,
346
+ hostname,
347
+ port,
348
+ method: "GET",
349
+ headers,
350
+ path: resolvedPath,
351
+ query,
352
+ body,
353
+ });
354
+ };
199
355
  export const se_ListSchemaMappingsCommand = async (input, context) => {
200
356
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
201
357
  const headers = {};
@@ -232,6 +388,22 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
232
388
  body,
233
389
  });
234
390
  };
391
+ export const se_StartIdMappingJobCommand = async (input, context) => {
392
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
393
+ const headers = {};
394
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/idmappingworkflows/{workflowName}/jobs";
395
+ resolvedPath = __resolvedPath(resolvedPath, input, "workflowName", () => input.workflowName, "{workflowName}", false);
396
+ let body;
397
+ return new __HttpRequest({
398
+ protocol,
399
+ hostname,
400
+ port,
401
+ method: "POST",
402
+ headers,
403
+ path: resolvedPath,
404
+ body,
405
+ });
406
+ };
235
407
  export const se_StartMatchingJobCommand = async (input, context) => {
236
408
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
237
409
  const headers = {};
@@ -292,6 +464,31 @@ export const se_UntagResourceCommand = async (input, context) => {
292
464
  body,
293
465
  });
294
466
  };
467
+ export const se_UpdateIdMappingWorkflowCommand = async (input, context) => {
468
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
469
+ const headers = {
470
+ "content-type": "application/json",
471
+ };
472
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/idmappingworkflows/{workflowName}";
473
+ resolvedPath = __resolvedPath(resolvedPath, input, "workflowName", () => input.workflowName, "{workflowName}", false);
474
+ let body;
475
+ body = JSON.stringify(take(input, {
476
+ description: [],
477
+ idMappingTechniques: (_) => se_IdMappingTechniques(_, context),
478
+ inputSourceConfig: (_) => _json(_),
479
+ outputSourceConfig: (_) => _json(_),
480
+ roleArn: [],
481
+ }));
482
+ return new __HttpRequest({
483
+ protocol,
484
+ hostname,
485
+ port,
486
+ method: "PUT",
487
+ headers,
488
+ path: resolvedPath,
489
+ body,
490
+ });
491
+ };
295
492
  export const se_UpdateMatchingWorkflowCommand = async (input, context) => {
296
493
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
297
494
  const headers = {
@@ -305,7 +502,7 @@ export const se_UpdateMatchingWorkflowCommand = async (input, context) => {
305
502
  incrementalRunConfig: (_) => _json(_),
306
503
  inputSourceConfig: (_) => _json(_),
307
504
  outputSourceConfig: (_) => _json(_),
308
- resolutionTechniques: (_) => _json(_),
505
+ resolutionTechniques: (_) => se_ResolutionTechniques(_, context),
309
506
  roleArn: [],
310
507
  }));
311
508
  return new __HttpRequest({
@@ -318,6 +515,82 @@ export const se_UpdateMatchingWorkflowCommand = async (input, context) => {
318
515
  body,
319
516
  });
320
517
  };
518
+ export const se_UpdateSchemaMappingCommand = async (input, context) => {
519
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
520
+ const headers = {
521
+ "content-type": "application/json",
522
+ };
523
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schemas/{schemaName}";
524
+ resolvedPath = __resolvedPath(resolvedPath, input, "schemaName", () => input.schemaName, "{schemaName}", false);
525
+ let body;
526
+ body = JSON.stringify(take(input, {
527
+ description: [],
528
+ mappedInputFields: (_) => _json(_),
529
+ }));
530
+ return new __HttpRequest({
531
+ protocol,
532
+ hostname,
533
+ port,
534
+ method: "PUT",
535
+ headers,
536
+ path: resolvedPath,
537
+ body,
538
+ });
539
+ };
540
+ export const de_CreateIdMappingWorkflowCommand = async (output, context) => {
541
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
542
+ return de_CreateIdMappingWorkflowCommandError(output, context);
543
+ }
544
+ const contents = map({
545
+ $metadata: deserializeMetadata(output),
546
+ });
547
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
548
+ const doc = take(data, {
549
+ description: __expectString,
550
+ idMappingTechniques: (_) => de_IdMappingTechniques(_, context),
551
+ inputSourceConfig: _json,
552
+ outputSourceConfig: _json,
553
+ roleArn: __expectString,
554
+ workflowArn: __expectString,
555
+ workflowName: __expectString,
556
+ });
557
+ Object.assign(contents, doc);
558
+ return contents;
559
+ };
560
+ const de_CreateIdMappingWorkflowCommandError = async (output, context) => {
561
+ const parsedOutput = {
562
+ ...output,
563
+ body: await parseErrorBody(output.body, context),
564
+ };
565
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
566
+ switch (errorCode) {
567
+ case "AccessDeniedException":
568
+ case "com.amazonaws.entityresolution#AccessDeniedException":
569
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
570
+ case "ConflictException":
571
+ case "com.amazonaws.entityresolution#ConflictException":
572
+ throw await de_ConflictExceptionRes(parsedOutput, context);
573
+ case "ExceedsLimitException":
574
+ case "com.amazonaws.entityresolution#ExceedsLimitException":
575
+ throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
576
+ case "InternalServerException":
577
+ case "com.amazonaws.entityresolution#InternalServerException":
578
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
579
+ case "ThrottlingException":
580
+ case "com.amazonaws.entityresolution#ThrottlingException":
581
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
582
+ case "ValidationException":
583
+ case "com.amazonaws.entityresolution#ValidationException":
584
+ throw await de_ValidationExceptionRes(parsedOutput, context);
585
+ default:
586
+ const parsedBody = parsedOutput.body;
587
+ return throwDefaultError({
588
+ output,
589
+ parsedBody,
590
+ errorCode,
591
+ });
592
+ }
593
+ };
321
594
  export const de_CreateMatchingWorkflowCommand = async (output, context) => {
322
595
  if (output.statusCode !== 200 && output.statusCode >= 300) {
323
596
  return de_CreateMatchingWorkflowCommandError(output, context);
@@ -331,7 +604,7 @@ export const de_CreateMatchingWorkflowCommand = async (output, context) => {
331
604
  incrementalRunConfig: _json,
332
605
  inputSourceConfig: _json,
333
606
  outputSourceConfig: _json,
334
- resolutionTechniques: _json,
607
+ resolutionTechniques: (_) => de_ResolutionTechniques(_, context),
335
608
  roleArn: __expectString,
336
609
  workflowArn: __expectString,
337
610
  workflowName: __expectString,
@@ -424,21 +697,413 @@ const de_CreateSchemaMappingCommandError = async (output, context) => {
424
697
  });
425
698
  }
426
699
  };
427
- export const de_DeleteMatchingWorkflowCommand = async (output, context) => {
700
+ export const de_DeleteIdMappingWorkflowCommand = async (output, context) => {
701
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
702
+ return de_DeleteIdMappingWorkflowCommandError(output, context);
703
+ }
704
+ const contents = map({
705
+ $metadata: deserializeMetadata(output),
706
+ });
707
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
708
+ const doc = take(data, {
709
+ message: __expectString,
710
+ });
711
+ Object.assign(contents, doc);
712
+ return contents;
713
+ };
714
+ const de_DeleteIdMappingWorkflowCommandError = async (output, context) => {
715
+ const parsedOutput = {
716
+ ...output,
717
+ body: await parseErrorBody(output.body, context),
718
+ };
719
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
720
+ switch (errorCode) {
721
+ case "AccessDeniedException":
722
+ case "com.amazonaws.entityresolution#AccessDeniedException":
723
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
724
+ case "InternalServerException":
725
+ case "com.amazonaws.entityresolution#InternalServerException":
726
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
727
+ case "ThrottlingException":
728
+ case "com.amazonaws.entityresolution#ThrottlingException":
729
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
730
+ case "ValidationException":
731
+ case "com.amazonaws.entityresolution#ValidationException":
732
+ throw await de_ValidationExceptionRes(parsedOutput, context);
733
+ default:
734
+ const parsedBody = parsedOutput.body;
735
+ return throwDefaultError({
736
+ output,
737
+ parsedBody,
738
+ errorCode,
739
+ });
740
+ }
741
+ };
742
+ export const de_DeleteMatchingWorkflowCommand = async (output, context) => {
743
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
744
+ return de_DeleteMatchingWorkflowCommandError(output, context);
745
+ }
746
+ const contents = map({
747
+ $metadata: deserializeMetadata(output),
748
+ });
749
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
750
+ const doc = take(data, {
751
+ message: __expectString,
752
+ });
753
+ Object.assign(contents, doc);
754
+ return contents;
755
+ };
756
+ const de_DeleteMatchingWorkflowCommandError = async (output, context) => {
757
+ const parsedOutput = {
758
+ ...output,
759
+ body: await parseErrorBody(output.body, context),
760
+ };
761
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
762
+ switch (errorCode) {
763
+ case "AccessDeniedException":
764
+ case "com.amazonaws.entityresolution#AccessDeniedException":
765
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
766
+ case "InternalServerException":
767
+ case "com.amazonaws.entityresolution#InternalServerException":
768
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
769
+ case "ThrottlingException":
770
+ case "com.amazonaws.entityresolution#ThrottlingException":
771
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
772
+ case "ValidationException":
773
+ case "com.amazonaws.entityresolution#ValidationException":
774
+ throw await de_ValidationExceptionRes(parsedOutput, context);
775
+ default:
776
+ const parsedBody = parsedOutput.body;
777
+ return throwDefaultError({
778
+ output,
779
+ parsedBody,
780
+ errorCode,
781
+ });
782
+ }
783
+ };
784
+ export const de_DeleteSchemaMappingCommand = async (output, context) => {
785
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
786
+ return de_DeleteSchemaMappingCommandError(output, context);
787
+ }
788
+ const contents = map({
789
+ $metadata: deserializeMetadata(output),
790
+ });
791
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
792
+ const doc = take(data, {
793
+ message: __expectString,
794
+ });
795
+ Object.assign(contents, doc);
796
+ return contents;
797
+ };
798
+ const de_DeleteSchemaMappingCommandError = async (output, context) => {
799
+ const parsedOutput = {
800
+ ...output,
801
+ body: await parseErrorBody(output.body, context),
802
+ };
803
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
804
+ switch (errorCode) {
805
+ case "AccessDeniedException":
806
+ case "com.amazonaws.entityresolution#AccessDeniedException":
807
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
808
+ case "ConflictException":
809
+ case "com.amazonaws.entityresolution#ConflictException":
810
+ throw await de_ConflictExceptionRes(parsedOutput, context);
811
+ case "InternalServerException":
812
+ case "com.amazonaws.entityresolution#InternalServerException":
813
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
814
+ case "ThrottlingException":
815
+ case "com.amazonaws.entityresolution#ThrottlingException":
816
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
817
+ case "ValidationException":
818
+ case "com.amazonaws.entityresolution#ValidationException":
819
+ throw await de_ValidationExceptionRes(parsedOutput, context);
820
+ default:
821
+ const parsedBody = parsedOutput.body;
822
+ return throwDefaultError({
823
+ output,
824
+ parsedBody,
825
+ errorCode,
826
+ });
827
+ }
828
+ };
829
+ export const de_GetIdMappingJobCommand = async (output, context) => {
830
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
831
+ return de_GetIdMappingJobCommandError(output, context);
832
+ }
833
+ const contents = map({
834
+ $metadata: deserializeMetadata(output),
835
+ });
836
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
837
+ const doc = take(data, {
838
+ endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
839
+ errorDetails: _json,
840
+ jobId: __expectString,
841
+ metrics: _json,
842
+ startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
843
+ status: __expectString,
844
+ });
845
+ Object.assign(contents, doc);
846
+ return contents;
847
+ };
848
+ const de_GetIdMappingJobCommandError = async (output, context) => {
849
+ const parsedOutput = {
850
+ ...output,
851
+ body: await parseErrorBody(output.body, context),
852
+ };
853
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
854
+ switch (errorCode) {
855
+ case "AccessDeniedException":
856
+ case "com.amazonaws.entityresolution#AccessDeniedException":
857
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
858
+ case "InternalServerException":
859
+ case "com.amazonaws.entityresolution#InternalServerException":
860
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
861
+ case "ResourceNotFoundException":
862
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
863
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
864
+ case "ThrottlingException":
865
+ case "com.amazonaws.entityresolution#ThrottlingException":
866
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
867
+ case "ValidationException":
868
+ case "com.amazonaws.entityresolution#ValidationException":
869
+ throw await de_ValidationExceptionRes(parsedOutput, context);
870
+ default:
871
+ const parsedBody = parsedOutput.body;
872
+ return throwDefaultError({
873
+ output,
874
+ parsedBody,
875
+ errorCode,
876
+ });
877
+ }
878
+ };
879
+ export const de_GetIdMappingWorkflowCommand = async (output, context) => {
880
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
881
+ return de_GetIdMappingWorkflowCommandError(output, context);
882
+ }
883
+ const contents = map({
884
+ $metadata: deserializeMetadata(output),
885
+ });
886
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
887
+ const doc = take(data, {
888
+ createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
889
+ description: __expectString,
890
+ idMappingTechniques: (_) => de_IdMappingTechniques(_, context),
891
+ inputSourceConfig: _json,
892
+ outputSourceConfig: _json,
893
+ roleArn: __expectString,
894
+ tags: _json,
895
+ updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
896
+ workflowArn: __expectString,
897
+ workflowName: __expectString,
898
+ });
899
+ Object.assign(contents, doc);
900
+ return contents;
901
+ };
902
+ const de_GetIdMappingWorkflowCommandError = async (output, context) => {
903
+ const parsedOutput = {
904
+ ...output,
905
+ body: await parseErrorBody(output.body, context),
906
+ };
907
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
908
+ switch (errorCode) {
909
+ case "AccessDeniedException":
910
+ case "com.amazonaws.entityresolution#AccessDeniedException":
911
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
912
+ case "InternalServerException":
913
+ case "com.amazonaws.entityresolution#InternalServerException":
914
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
915
+ case "ResourceNotFoundException":
916
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
917
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
918
+ case "ThrottlingException":
919
+ case "com.amazonaws.entityresolution#ThrottlingException":
920
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
921
+ case "ValidationException":
922
+ case "com.amazonaws.entityresolution#ValidationException":
923
+ throw await de_ValidationExceptionRes(parsedOutput, context);
924
+ default:
925
+ const parsedBody = parsedOutput.body;
926
+ return throwDefaultError({
927
+ output,
928
+ parsedBody,
929
+ errorCode,
930
+ });
931
+ }
932
+ };
933
+ export const de_GetMatchIdCommand = async (output, context) => {
934
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
935
+ return de_GetMatchIdCommandError(output, context);
936
+ }
937
+ const contents = map({
938
+ $metadata: deserializeMetadata(output),
939
+ });
940
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
941
+ const doc = take(data, {
942
+ matchId: __expectString,
943
+ });
944
+ Object.assign(contents, doc);
945
+ return contents;
946
+ };
947
+ const de_GetMatchIdCommandError = async (output, context) => {
948
+ const parsedOutput = {
949
+ ...output,
950
+ body: await parseErrorBody(output.body, context),
951
+ };
952
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
953
+ switch (errorCode) {
954
+ case "AccessDeniedException":
955
+ case "com.amazonaws.entityresolution#AccessDeniedException":
956
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
957
+ case "InternalServerException":
958
+ case "com.amazonaws.entityresolution#InternalServerException":
959
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
960
+ case "ResourceNotFoundException":
961
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
962
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
963
+ case "ThrottlingException":
964
+ case "com.amazonaws.entityresolution#ThrottlingException":
965
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
966
+ case "ValidationException":
967
+ case "com.amazonaws.entityresolution#ValidationException":
968
+ throw await de_ValidationExceptionRes(parsedOutput, context);
969
+ default:
970
+ const parsedBody = parsedOutput.body;
971
+ return throwDefaultError({
972
+ output,
973
+ parsedBody,
974
+ errorCode,
975
+ });
976
+ }
977
+ };
978
+ export const de_GetMatchingJobCommand = async (output, context) => {
979
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
980
+ return de_GetMatchingJobCommandError(output, context);
981
+ }
982
+ const contents = map({
983
+ $metadata: deserializeMetadata(output),
984
+ });
985
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
986
+ const doc = take(data, {
987
+ endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
988
+ errorDetails: _json,
989
+ jobId: __expectString,
990
+ metrics: _json,
991
+ startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
992
+ status: __expectString,
993
+ });
994
+ Object.assign(contents, doc);
995
+ return contents;
996
+ };
997
+ const de_GetMatchingJobCommandError = async (output, context) => {
998
+ const parsedOutput = {
999
+ ...output,
1000
+ body: await parseErrorBody(output.body, context),
1001
+ };
1002
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1003
+ switch (errorCode) {
1004
+ case "AccessDeniedException":
1005
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1006
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1007
+ case "InternalServerException":
1008
+ case "com.amazonaws.entityresolution#InternalServerException":
1009
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1010
+ case "ResourceNotFoundException":
1011
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1012
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1013
+ case "ThrottlingException":
1014
+ case "com.amazonaws.entityresolution#ThrottlingException":
1015
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1016
+ case "ValidationException":
1017
+ case "com.amazonaws.entityresolution#ValidationException":
1018
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1019
+ default:
1020
+ const parsedBody = parsedOutput.body;
1021
+ return throwDefaultError({
1022
+ output,
1023
+ parsedBody,
1024
+ errorCode,
1025
+ });
1026
+ }
1027
+ };
1028
+ export const de_GetMatchingWorkflowCommand = async (output, context) => {
1029
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1030
+ return de_GetMatchingWorkflowCommandError(output, context);
1031
+ }
1032
+ const contents = map({
1033
+ $metadata: deserializeMetadata(output),
1034
+ });
1035
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1036
+ const doc = take(data, {
1037
+ createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1038
+ description: __expectString,
1039
+ incrementalRunConfig: _json,
1040
+ inputSourceConfig: _json,
1041
+ outputSourceConfig: _json,
1042
+ resolutionTechniques: (_) => de_ResolutionTechniques(_, context),
1043
+ roleArn: __expectString,
1044
+ tags: _json,
1045
+ updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1046
+ workflowArn: __expectString,
1047
+ workflowName: __expectString,
1048
+ });
1049
+ Object.assign(contents, doc);
1050
+ return contents;
1051
+ };
1052
+ const de_GetMatchingWorkflowCommandError = async (output, context) => {
1053
+ const parsedOutput = {
1054
+ ...output,
1055
+ body: await parseErrorBody(output.body, context),
1056
+ };
1057
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1058
+ switch (errorCode) {
1059
+ case "AccessDeniedException":
1060
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1061
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1062
+ case "InternalServerException":
1063
+ case "com.amazonaws.entityresolution#InternalServerException":
1064
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1065
+ case "ResourceNotFoundException":
1066
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1067
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1068
+ case "ThrottlingException":
1069
+ case "com.amazonaws.entityresolution#ThrottlingException":
1070
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1071
+ case "ValidationException":
1072
+ case "com.amazonaws.entityresolution#ValidationException":
1073
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1074
+ default:
1075
+ const parsedBody = parsedOutput.body;
1076
+ return throwDefaultError({
1077
+ output,
1078
+ parsedBody,
1079
+ errorCode,
1080
+ });
1081
+ }
1082
+ };
1083
+ export const de_GetProviderServiceCommand = async (output, context) => {
428
1084
  if (output.statusCode !== 200 && output.statusCode >= 300) {
429
- return de_DeleteMatchingWorkflowCommandError(output, context);
1085
+ return de_GetProviderServiceCommandError(output, context);
430
1086
  }
431
1087
  const contents = map({
432
1088
  $metadata: deserializeMetadata(output),
433
1089
  });
434
1090
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
435
1091
  const doc = take(data, {
436
- message: __expectString,
1092
+ anonymizedOutput: __expectBoolean,
1093
+ providerConfigurationDefinition: (_) => de_Document(_, context),
1094
+ providerEndpointConfiguration: (_) => _json(__expectUnion(_)),
1095
+ providerEntityOutputDefinition: (_) => de_Document(_, context),
1096
+ providerIntermediateDataAccessConfiguration: _json,
1097
+ providerName: __expectString,
1098
+ providerServiceArn: __expectString,
1099
+ providerServiceDisplayName: __expectString,
1100
+ providerServiceName: __expectString,
1101
+ providerServiceType: __expectString,
437
1102
  });
438
1103
  Object.assign(contents, doc);
439
1104
  return contents;
440
1105
  };
441
- const de_DeleteMatchingWorkflowCommandError = async (output, context) => {
1106
+ const de_GetProviderServiceCommandError = async (output, context) => {
442
1107
  const parsedOutput = {
443
1108
  ...output,
444
1109
  body: await parseErrorBody(output.body, context),
@@ -451,6 +1116,9 @@ const de_DeleteMatchingWorkflowCommandError = async (output, context) => {
451
1116
  case "InternalServerException":
452
1117
  case "com.amazonaws.entityresolution#InternalServerException":
453
1118
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1119
+ case "ResourceNotFoundException":
1120
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1121
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
454
1122
  case "ThrottlingException":
455
1123
  case "com.amazonaws.entityresolution#ThrottlingException":
456
1124
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -466,21 +1134,28 @@ const de_DeleteMatchingWorkflowCommandError = async (output, context) => {
466
1134
  });
467
1135
  }
468
1136
  };
469
- export const de_DeleteSchemaMappingCommand = async (output, context) => {
1137
+ export const de_GetSchemaMappingCommand = async (output, context) => {
470
1138
  if (output.statusCode !== 200 && output.statusCode >= 300) {
471
- return de_DeleteSchemaMappingCommandError(output, context);
1139
+ return de_GetSchemaMappingCommandError(output, context);
472
1140
  }
473
1141
  const contents = map({
474
1142
  $metadata: deserializeMetadata(output),
475
1143
  });
476
1144
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
477
1145
  const doc = take(data, {
478
- message: __expectString,
1146
+ createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1147
+ description: __expectString,
1148
+ hasWorkflows: __expectBoolean,
1149
+ mappedInputFields: _json,
1150
+ schemaArn: __expectString,
1151
+ schemaName: __expectString,
1152
+ tags: _json,
1153
+ updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
479
1154
  });
480
1155
  Object.assign(contents, doc);
481
1156
  return contents;
482
1157
  };
483
- const de_DeleteSchemaMappingCommandError = async (output, context) => {
1158
+ const de_GetSchemaMappingCommandError = async (output, context) => {
484
1159
  const parsedOutput = {
485
1160
  ...output,
486
1161
  body: await parseErrorBody(output.body, context),
@@ -490,12 +1165,12 @@ const de_DeleteSchemaMappingCommandError = async (output, context) => {
490
1165
  case "AccessDeniedException":
491
1166
  case "com.amazonaws.entityresolution#AccessDeniedException":
492
1167
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
493
- case "ConflictException":
494
- case "com.amazonaws.entityresolution#ConflictException":
495
- throw await de_ConflictExceptionRes(parsedOutput, context);
496
1168
  case "InternalServerException":
497
1169
  case "com.amazonaws.entityresolution#InternalServerException":
498
1170
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1171
+ case "ResourceNotFoundException":
1172
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1173
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
499
1174
  case "ThrottlingException":
500
1175
  case "com.amazonaws.entityresolution#ThrottlingException":
501
1176
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -511,21 +1186,22 @@ const de_DeleteSchemaMappingCommandError = async (output, context) => {
511
1186
  });
512
1187
  }
513
1188
  };
514
- export const de_GetMatchIdCommand = async (output, context) => {
1189
+ export const de_ListIdMappingJobsCommand = async (output, context) => {
515
1190
  if (output.statusCode !== 200 && output.statusCode >= 300) {
516
- return de_GetMatchIdCommandError(output, context);
1191
+ return de_ListIdMappingJobsCommandError(output, context);
517
1192
  }
518
1193
  const contents = map({
519
1194
  $metadata: deserializeMetadata(output),
520
1195
  });
521
1196
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
522
1197
  const doc = take(data, {
523
- matchId: __expectString,
1198
+ jobs: (_) => de_JobList(_, context),
1199
+ nextToken: __expectString,
524
1200
  });
525
1201
  Object.assign(contents, doc);
526
1202
  return contents;
527
1203
  };
528
- const de_GetMatchIdCommandError = async (output, context) => {
1204
+ const de_ListIdMappingJobsCommandError = async (output, context) => {
529
1205
  const parsedOutput = {
530
1206
  ...output,
531
1207
  body: await parseErrorBody(output.body, context),
@@ -556,26 +1232,22 @@ const de_GetMatchIdCommandError = async (output, context) => {
556
1232
  });
557
1233
  }
558
1234
  };
559
- export const de_GetMatchingJobCommand = async (output, context) => {
1235
+ export const de_ListIdMappingWorkflowsCommand = async (output, context) => {
560
1236
  if (output.statusCode !== 200 && output.statusCode >= 300) {
561
- return de_GetMatchingJobCommandError(output, context);
1237
+ return de_ListIdMappingWorkflowsCommandError(output, context);
562
1238
  }
563
1239
  const contents = map({
564
1240
  $metadata: deserializeMetadata(output),
565
1241
  });
566
1242
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
567
1243
  const doc = take(data, {
568
- endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
569
- errorDetails: _json,
570
- jobId: __expectString,
571
- metrics: _json,
572
- startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
573
- status: __expectString,
1244
+ nextToken: __expectString,
1245
+ workflowSummaries: (_) => de_IdMappingWorkflowList(_, context),
574
1246
  });
575
1247
  Object.assign(contents, doc);
576
1248
  return contents;
577
1249
  };
578
- const de_GetMatchingJobCommandError = async (output, context) => {
1250
+ const de_ListIdMappingWorkflowsCommandError = async (output, context) => {
579
1251
  const parsedOutput = {
580
1252
  ...output,
581
1253
  body: await parseErrorBody(output.body, context),
@@ -588,9 +1260,6 @@ const de_GetMatchingJobCommandError = async (output, context) => {
588
1260
  case "InternalServerException":
589
1261
  case "com.amazonaws.entityresolution#InternalServerException":
590
1262
  throw await de_InternalServerExceptionRes(parsedOutput, context);
591
- case "ResourceNotFoundException":
592
- case "com.amazonaws.entityresolution#ResourceNotFoundException":
593
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
594
1263
  case "ThrottlingException":
595
1264
  case "com.amazonaws.entityresolution#ThrottlingException":
596
1265
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -606,31 +1275,22 @@ const de_GetMatchingJobCommandError = async (output, context) => {
606
1275
  });
607
1276
  }
608
1277
  };
609
- export const de_GetMatchingWorkflowCommand = async (output, context) => {
1278
+ export const de_ListMatchingJobsCommand = async (output, context) => {
610
1279
  if (output.statusCode !== 200 && output.statusCode >= 300) {
611
- return de_GetMatchingWorkflowCommandError(output, context);
1280
+ return de_ListMatchingJobsCommandError(output, context);
612
1281
  }
613
1282
  const contents = map({
614
1283
  $metadata: deserializeMetadata(output),
615
1284
  });
616
1285
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
617
1286
  const doc = take(data, {
618
- createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
619
- description: __expectString,
620
- incrementalRunConfig: _json,
621
- inputSourceConfig: _json,
622
- outputSourceConfig: _json,
623
- resolutionTechniques: _json,
624
- roleArn: __expectString,
625
- tags: _json,
626
- updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
627
- workflowArn: __expectString,
628
- workflowName: __expectString,
1287
+ jobs: (_) => de_JobList(_, context),
1288
+ nextToken: __expectString,
629
1289
  });
630
1290
  Object.assign(contents, doc);
631
1291
  return contents;
632
1292
  };
633
- const de_GetMatchingWorkflowCommandError = async (output, context) => {
1293
+ const de_ListMatchingJobsCommandError = async (output, context) => {
634
1294
  const parsedOutput = {
635
1295
  ...output,
636
1296
  body: await parseErrorBody(output.body, context),
@@ -661,27 +1321,22 @@ const de_GetMatchingWorkflowCommandError = async (output, context) => {
661
1321
  });
662
1322
  }
663
1323
  };
664
- export const de_GetSchemaMappingCommand = async (output, context) => {
1324
+ export const de_ListMatchingWorkflowsCommand = async (output, context) => {
665
1325
  if (output.statusCode !== 200 && output.statusCode >= 300) {
666
- return de_GetSchemaMappingCommandError(output, context);
1326
+ return de_ListMatchingWorkflowsCommandError(output, context);
667
1327
  }
668
1328
  const contents = map({
669
1329
  $metadata: deserializeMetadata(output),
670
1330
  });
671
1331
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
672
1332
  const doc = take(data, {
673
- createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
674
- description: __expectString,
675
- mappedInputFields: _json,
676
- schemaArn: __expectString,
677
- schemaName: __expectString,
678
- tags: _json,
679
- updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1333
+ nextToken: __expectString,
1334
+ workflowSummaries: (_) => de_MatchingWorkflowList(_, context),
680
1335
  });
681
1336
  Object.assign(contents, doc);
682
1337
  return contents;
683
1338
  };
684
- const de_GetSchemaMappingCommandError = async (output, context) => {
1339
+ const de_ListMatchingWorkflowsCommandError = async (output, context) => {
685
1340
  const parsedOutput = {
686
1341
  ...output,
687
1342
  body: await parseErrorBody(output.body, context),
@@ -694,9 +1349,6 @@ const de_GetSchemaMappingCommandError = async (output, context) => {
694
1349
  case "InternalServerException":
695
1350
  case "com.amazonaws.entityresolution#InternalServerException":
696
1351
  throw await de_InternalServerExceptionRes(parsedOutput, context);
697
- case "ResourceNotFoundException":
698
- case "com.amazonaws.entityresolution#ResourceNotFoundException":
699
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
700
1352
  case "ThrottlingException":
701
1353
  case "com.amazonaws.entityresolution#ThrottlingException":
702
1354
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -712,22 +1364,22 @@ const de_GetSchemaMappingCommandError = async (output, context) => {
712
1364
  });
713
1365
  }
714
1366
  };
715
- export const de_ListMatchingJobsCommand = async (output, context) => {
1367
+ export const de_ListProviderServicesCommand = async (output, context) => {
716
1368
  if (output.statusCode !== 200 && output.statusCode >= 300) {
717
- return de_ListMatchingJobsCommandError(output, context);
1369
+ return de_ListProviderServicesCommandError(output, context);
718
1370
  }
719
1371
  const contents = map({
720
1372
  $metadata: deserializeMetadata(output),
721
1373
  });
722
1374
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
723
1375
  const doc = take(data, {
724
- jobs: (_) => de_JobList(_, context),
725
1376
  nextToken: __expectString,
1377
+ providerServiceSummaries: _json,
726
1378
  });
727
1379
  Object.assign(contents, doc);
728
1380
  return contents;
729
1381
  };
730
- const de_ListMatchingJobsCommandError = async (output, context) => {
1382
+ const de_ListProviderServicesCommandError = async (output, context) => {
731
1383
  const parsedOutput = {
732
1384
  ...output,
733
1385
  body: await parseErrorBody(output.body, context),
@@ -740,9 +1392,6 @@ const de_ListMatchingJobsCommandError = async (output, context) => {
740
1392
  case "InternalServerException":
741
1393
  case "com.amazonaws.entityresolution#InternalServerException":
742
1394
  throw await de_InternalServerExceptionRes(parsedOutput, context);
743
- case "ResourceNotFoundException":
744
- case "com.amazonaws.entityresolution#ResourceNotFoundException":
745
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
746
1395
  case "ThrottlingException":
747
1396
  case "com.amazonaws.entityresolution#ThrottlingException":
748
1397
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -758,9 +1407,9 @@ const de_ListMatchingJobsCommandError = async (output, context) => {
758
1407
  });
759
1408
  }
760
1409
  };
761
- export const de_ListMatchingWorkflowsCommand = async (output, context) => {
1410
+ export const de_ListSchemaMappingsCommand = async (output, context) => {
762
1411
  if (output.statusCode !== 200 && output.statusCode >= 300) {
763
- return de_ListMatchingWorkflowsCommandError(output, context);
1412
+ return de_ListSchemaMappingsCommandError(output, context);
764
1413
  }
765
1414
  const contents = map({
766
1415
  $metadata: deserializeMetadata(output),
@@ -768,12 +1417,12 @@ export const de_ListMatchingWorkflowsCommand = async (output, context) => {
768
1417
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
769
1418
  const doc = take(data, {
770
1419
  nextToken: __expectString,
771
- workflowSummaries: (_) => de_MatchingWorkflowList(_, context),
1420
+ schemaList: (_) => de_SchemaMappingList(_, context),
772
1421
  });
773
1422
  Object.assign(contents, doc);
774
1423
  return contents;
775
1424
  };
776
- const de_ListMatchingWorkflowsCommandError = async (output, context) => {
1425
+ const de_ListSchemaMappingsCommandError = async (output, context) => {
777
1426
  const parsedOutput = {
778
1427
  ...output,
779
1428
  body: await parseErrorBody(output.body, context),
@@ -801,37 +1450,33 @@ const de_ListMatchingWorkflowsCommandError = async (output, context) => {
801
1450
  });
802
1451
  }
803
1452
  };
804
- export const de_ListSchemaMappingsCommand = async (output, context) => {
1453
+ export const de_ListTagsForResourceCommand = async (output, context) => {
805
1454
  if (output.statusCode !== 200 && output.statusCode >= 300) {
806
- return de_ListSchemaMappingsCommandError(output, context);
1455
+ return de_ListTagsForResourceCommandError(output, context);
807
1456
  }
808
1457
  const contents = map({
809
1458
  $metadata: deserializeMetadata(output),
810
1459
  });
811
1460
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
812
1461
  const doc = take(data, {
813
- nextToken: __expectString,
814
- schemaList: (_) => de_SchemaMappingList(_, context),
1462
+ tags: _json,
815
1463
  });
816
1464
  Object.assign(contents, doc);
817
1465
  return contents;
818
1466
  };
819
- const de_ListSchemaMappingsCommandError = async (output, context) => {
1467
+ const de_ListTagsForResourceCommandError = async (output, context) => {
820
1468
  const parsedOutput = {
821
1469
  ...output,
822
1470
  body: await parseErrorBody(output.body, context),
823
1471
  };
824
1472
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
825
1473
  switch (errorCode) {
826
- case "AccessDeniedException":
827
- case "com.amazonaws.entityresolution#AccessDeniedException":
828
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
829
1474
  case "InternalServerException":
830
1475
  case "com.amazonaws.entityresolution#InternalServerException":
831
1476
  throw await de_InternalServerExceptionRes(parsedOutput, context);
832
- case "ThrottlingException":
833
- case "com.amazonaws.entityresolution#ThrottlingException":
834
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1477
+ case "ResourceNotFoundException":
1478
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1479
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
835
1480
  case "ValidationException":
836
1481
  case "com.amazonaws.entityresolution#ValidationException":
837
1482
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -844,33 +1489,45 @@ const de_ListSchemaMappingsCommandError = async (output, context) => {
844
1489
  });
845
1490
  }
846
1491
  };
847
- export const de_ListTagsForResourceCommand = async (output, context) => {
1492
+ export const de_StartIdMappingJobCommand = async (output, context) => {
848
1493
  if (output.statusCode !== 200 && output.statusCode >= 300) {
849
- return de_ListTagsForResourceCommandError(output, context);
1494
+ return de_StartIdMappingJobCommandError(output, context);
850
1495
  }
851
1496
  const contents = map({
852
1497
  $metadata: deserializeMetadata(output),
853
1498
  });
854
1499
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
855
1500
  const doc = take(data, {
856
- tags: _json,
1501
+ jobId: __expectString,
857
1502
  });
858
1503
  Object.assign(contents, doc);
859
1504
  return contents;
860
1505
  };
861
- const de_ListTagsForResourceCommandError = async (output, context) => {
1506
+ const de_StartIdMappingJobCommandError = async (output, context) => {
862
1507
  const parsedOutput = {
863
1508
  ...output,
864
1509
  body: await parseErrorBody(output.body, context),
865
1510
  };
866
1511
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
867
1512
  switch (errorCode) {
1513
+ case "AccessDeniedException":
1514
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1515
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1516
+ case "ConflictException":
1517
+ case "com.amazonaws.entityresolution#ConflictException":
1518
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1519
+ case "ExceedsLimitException":
1520
+ case "com.amazonaws.entityresolution#ExceedsLimitException":
1521
+ throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
868
1522
  case "InternalServerException":
869
1523
  case "com.amazonaws.entityresolution#InternalServerException":
870
1524
  throw await de_InternalServerExceptionRes(parsedOutput, context);
871
1525
  case "ResourceNotFoundException":
872
1526
  case "com.amazonaws.entityresolution#ResourceNotFoundException":
873
1527
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1528
+ case "ThrottlingException":
1529
+ case "com.amazonaws.entityresolution#ThrottlingException":
1530
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
874
1531
  case "ValidationException":
875
1532
  case "com.amazonaws.entityresolution#ValidationException":
876
1533
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -1001,6 +1658,57 @@ const de_UntagResourceCommandError = async (output, context) => {
1001
1658
  });
1002
1659
  }
1003
1660
  };
1661
+ export const de_UpdateIdMappingWorkflowCommand = async (output, context) => {
1662
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1663
+ return de_UpdateIdMappingWorkflowCommandError(output, context);
1664
+ }
1665
+ const contents = map({
1666
+ $metadata: deserializeMetadata(output),
1667
+ });
1668
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1669
+ const doc = take(data, {
1670
+ description: __expectString,
1671
+ idMappingTechniques: (_) => de_IdMappingTechniques(_, context),
1672
+ inputSourceConfig: _json,
1673
+ outputSourceConfig: _json,
1674
+ roleArn: __expectString,
1675
+ workflowArn: __expectString,
1676
+ workflowName: __expectString,
1677
+ });
1678
+ Object.assign(contents, doc);
1679
+ return contents;
1680
+ };
1681
+ const de_UpdateIdMappingWorkflowCommandError = async (output, context) => {
1682
+ const parsedOutput = {
1683
+ ...output,
1684
+ body: await parseErrorBody(output.body, context),
1685
+ };
1686
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1687
+ switch (errorCode) {
1688
+ case "AccessDeniedException":
1689
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1690
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1691
+ case "InternalServerException":
1692
+ case "com.amazonaws.entityresolution#InternalServerException":
1693
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1694
+ case "ResourceNotFoundException":
1695
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1696
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1697
+ case "ThrottlingException":
1698
+ case "com.amazonaws.entityresolution#ThrottlingException":
1699
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1700
+ case "ValidationException":
1701
+ case "com.amazonaws.entityresolution#ValidationException":
1702
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1703
+ default:
1704
+ const parsedBody = parsedOutput.body;
1705
+ return throwDefaultError({
1706
+ output,
1707
+ parsedBody,
1708
+ errorCode,
1709
+ });
1710
+ }
1711
+ };
1004
1712
  export const de_UpdateMatchingWorkflowCommand = async (output, context) => {
1005
1713
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1006
1714
  return de_UpdateMatchingWorkflowCommandError(output, context);
@@ -1014,7 +1722,7 @@ export const de_UpdateMatchingWorkflowCommand = async (output, context) => {
1014
1722
  incrementalRunConfig: _json,
1015
1723
  inputSourceConfig: _json,
1016
1724
  outputSourceConfig: _json,
1017
- resolutionTechniques: _json,
1725
+ resolutionTechniques: (_) => de_ResolutionTechniques(_, context),
1018
1726
  roleArn: __expectString,
1019
1727
  workflowName: __expectString,
1020
1728
  });
@@ -1052,6 +1760,57 @@ const de_UpdateMatchingWorkflowCommandError = async (output, context) => {
1052
1760
  });
1053
1761
  }
1054
1762
  };
1763
+ export const de_UpdateSchemaMappingCommand = async (output, context) => {
1764
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1765
+ return de_UpdateSchemaMappingCommandError(output, context);
1766
+ }
1767
+ const contents = map({
1768
+ $metadata: deserializeMetadata(output),
1769
+ });
1770
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1771
+ const doc = take(data, {
1772
+ description: __expectString,
1773
+ mappedInputFields: _json,
1774
+ schemaArn: __expectString,
1775
+ schemaName: __expectString,
1776
+ });
1777
+ Object.assign(contents, doc);
1778
+ return contents;
1779
+ };
1780
+ const de_UpdateSchemaMappingCommandError = async (output, context) => {
1781
+ const parsedOutput = {
1782
+ ...output,
1783
+ body: await parseErrorBody(output.body, context),
1784
+ };
1785
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1786
+ switch (errorCode) {
1787
+ case "AccessDeniedException":
1788
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1789
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1790
+ case "ConflictException":
1791
+ case "com.amazonaws.entityresolution#ConflictException":
1792
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1793
+ case "InternalServerException":
1794
+ case "com.amazonaws.entityresolution#InternalServerException":
1795
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1796
+ case "ResourceNotFoundException":
1797
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1798
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1799
+ case "ThrottlingException":
1800
+ case "com.amazonaws.entityresolution#ThrottlingException":
1801
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1802
+ case "ValidationException":
1803
+ case "com.amazonaws.entityresolution#ValidationException":
1804
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1805
+ default:
1806
+ const parsedBody = parsedOutput.body;
1807
+ return throwDefaultError({
1808
+ output,
1809
+ parsedBody,
1810
+ errorCode,
1811
+ });
1812
+ }
1813
+ };
1055
1814
  const throwDefaultError = withBaseException(__BaseException);
1056
1815
  const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1057
1816
  const contents = map({});
@@ -1146,6 +1905,51 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1146
1905
  });
1147
1906
  return __decorateServiceException(exception, parsedOutput.body);
1148
1907
  };
1908
+ const se_IdMappingTechniques = (input, context) => {
1909
+ return take(input, {
1910
+ idMappingType: [],
1911
+ providerProperties: (_) => se_ProviderProperties(_, context),
1912
+ });
1913
+ };
1914
+ const se_ProviderProperties = (input, context) => {
1915
+ return take(input, {
1916
+ intermediateSourceConfiguration: _json,
1917
+ providerConfiguration: (_) => se_Document(_, context),
1918
+ providerServiceArn: [],
1919
+ });
1920
+ };
1921
+ const se_ResolutionTechniques = (input, context) => {
1922
+ return take(input, {
1923
+ providerProperties: (_) => se_ProviderProperties(_, context),
1924
+ resolutionType: [],
1925
+ ruleBasedProperties: _json,
1926
+ });
1927
+ };
1928
+ const se_Document = (input, context) => {
1929
+ return input;
1930
+ };
1931
+ const de_IdMappingTechniques = (output, context) => {
1932
+ return take(output, {
1933
+ idMappingType: __expectString,
1934
+ providerProperties: (_) => de_ProviderProperties(_, context),
1935
+ });
1936
+ };
1937
+ const de_IdMappingWorkflowList = (output, context) => {
1938
+ const retVal = (output || [])
1939
+ .filter((e) => e != null)
1940
+ .map((entry) => {
1941
+ return de_IdMappingWorkflowSummary(entry, context);
1942
+ });
1943
+ return retVal;
1944
+ };
1945
+ const de_IdMappingWorkflowSummary = (output, context) => {
1946
+ return take(output, {
1947
+ createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1948
+ updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1949
+ workflowArn: __expectString,
1950
+ workflowName: __expectString,
1951
+ });
1952
+ };
1149
1953
  const de_JobList = (output, context) => {
1150
1954
  const retVal = (output || [])
1151
1955
  .filter((e) => e != null)
@@ -1173,11 +1977,26 @@ const de_MatchingWorkflowList = (output, context) => {
1173
1977
  const de_MatchingWorkflowSummary = (output, context) => {
1174
1978
  return take(output, {
1175
1979
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1980
+ resolutionType: __expectString,
1176
1981
  updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1177
1982
  workflowArn: __expectString,
1178
1983
  workflowName: __expectString,
1179
1984
  });
1180
1985
  };
1986
+ const de_ProviderProperties = (output, context) => {
1987
+ return take(output, {
1988
+ intermediateSourceConfiguration: _json,
1989
+ providerConfiguration: (_) => de_Document(_, context),
1990
+ providerServiceArn: __expectString,
1991
+ });
1992
+ };
1993
+ const de_ResolutionTechniques = (output, context) => {
1994
+ return take(output, {
1995
+ providerProperties: (_) => de_ProviderProperties(_, context),
1996
+ resolutionType: __expectString,
1997
+ ruleBasedProperties: _json,
1998
+ });
1999
+ };
1181
2000
  const de_SchemaMappingList = (output, context) => {
1182
2001
  const retVal = (output || [])
1183
2002
  .filter((e) => e != null)
@@ -1189,11 +2008,15 @@ const de_SchemaMappingList = (output, context) => {
1189
2008
  const de_SchemaMappingSummary = (output, context) => {
1190
2009
  return take(output, {
1191
2010
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2011
+ hasWorkflows: __expectBoolean,
1192
2012
  schemaArn: __expectString,
1193
2013
  schemaName: __expectString,
1194
2014
  updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1195
2015
  });
1196
2016
  };
2017
+ const de_Document = (output, context) => {
2018
+ return output;
2019
+ };
1197
2020
  const deserializeMetadata = (output) => ({
1198
2021
  httpStatusCode: output.statusCode,
1199
2022
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],