@aws-sdk/client-entityresolution 3.490.0 → 3.496.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 (47) hide show
  1. package/dist-cjs/EntityResolution.js +1 -65
  2. package/dist-cjs/EntityResolutionClient.js +1 -43
  3. package/dist-cjs/commands/CreateIdMappingWorkflowCommand.js +1 -28
  4. package/dist-cjs/commands/CreateMatchingWorkflowCommand.js +1 -28
  5. package/dist-cjs/commands/CreateSchemaMappingCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteIdMappingWorkflowCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteMatchingWorkflowCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteSchemaMappingCommand.js +1 -28
  9. package/dist-cjs/commands/GetIdMappingJobCommand.js +1 -28
  10. package/dist-cjs/commands/GetIdMappingWorkflowCommand.js +1 -28
  11. package/dist-cjs/commands/GetMatchIdCommand.js +1 -29
  12. package/dist-cjs/commands/GetMatchingJobCommand.js +1 -28
  13. package/dist-cjs/commands/GetMatchingWorkflowCommand.js +1 -28
  14. package/dist-cjs/commands/GetProviderServiceCommand.js +1 -28
  15. package/dist-cjs/commands/GetSchemaMappingCommand.js +1 -28
  16. package/dist-cjs/commands/ListIdMappingJobsCommand.js +1 -28
  17. package/dist-cjs/commands/ListIdMappingWorkflowsCommand.js +1 -28
  18. package/dist-cjs/commands/ListMatchingJobsCommand.js +1 -28
  19. package/dist-cjs/commands/ListMatchingWorkflowsCommand.js +1 -28
  20. package/dist-cjs/commands/ListProviderServicesCommand.js +1 -28
  21. package/dist-cjs/commands/ListSchemaMappingsCommand.js +1 -28
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  23. package/dist-cjs/commands/StartIdMappingJobCommand.js +1 -28
  24. package/dist-cjs/commands/StartMatchingJobCommand.js +1 -28
  25. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  26. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateIdMappingWorkflowCommand.js +1 -28
  28. package/dist-cjs/commands/UpdateMatchingWorkflowCommand.js +1 -28
  29. package/dist-cjs/commands/UpdateSchemaMappingCommand.js +1 -28
  30. package/dist-cjs/commands/index.js +1 -30
  31. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  32. package/dist-cjs/extensionConfiguration.js +1 -2
  33. package/dist-cjs/index.js +2830 -11
  34. package/dist-cjs/models/EntityResolutionServiceException.js +1 -12
  35. package/dist-cjs/models/index.js +1 -4
  36. package/dist-cjs/models/models_0.js +1 -162
  37. package/dist-cjs/pagination/Interfaces.js +1 -2
  38. package/dist-cjs/pagination/ListIdMappingJobsPaginator.js +1 -7
  39. package/dist-cjs/pagination/ListIdMappingWorkflowsPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListMatchingJobsPaginator.js +1 -7
  41. package/dist-cjs/pagination/ListMatchingWorkflowsPaginator.js +1 -7
  42. package/dist-cjs/pagination/ListProviderServicesPaginator.js +1 -7
  43. package/dist-cjs/pagination/ListSchemaMappingsPaginator.js +1 -7
  44. package/dist-cjs/pagination/index.js +1 -10
  45. package/dist-cjs/protocols/Aws_restJson1.js +1 -1935
  46. package/dist-cjs/runtimeExtensions.js +1 -22
  47. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,2831 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntityResolutionServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./EntityResolutionClient"), exports);
6
- tslib_1.__exportStar(require("./EntityResolution"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var EntityResolutionServiceException_1 = require("./models/EntityResolutionServiceException");
12
- Object.defineProperty(exports, "EntityResolutionServiceException", { enumerable: true, get: function () { return EntityResolutionServiceException_1.EntityResolutionServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ AttributeMatchingModel: () => AttributeMatchingModel,
26
+ ConflictException: () => ConflictException,
27
+ CreateIdMappingWorkflowCommand: () => CreateIdMappingWorkflowCommand,
28
+ CreateMatchingWorkflowCommand: () => CreateMatchingWorkflowCommand,
29
+ CreateSchemaMappingCommand: () => CreateSchemaMappingCommand,
30
+ DeleteIdMappingWorkflowCommand: () => DeleteIdMappingWorkflowCommand,
31
+ DeleteMatchingWorkflowCommand: () => DeleteMatchingWorkflowCommand,
32
+ DeleteSchemaMappingCommand: () => DeleteSchemaMappingCommand,
33
+ EntityResolution: () => EntityResolution,
34
+ EntityResolutionClient: () => EntityResolutionClient,
35
+ EntityResolutionServiceException: () => EntityResolutionServiceException,
36
+ ExceedsLimitException: () => ExceedsLimitException,
37
+ GetIdMappingJobCommand: () => GetIdMappingJobCommand,
38
+ GetIdMappingWorkflowCommand: () => GetIdMappingWorkflowCommand,
39
+ GetMatchIdCommand: () => GetMatchIdCommand,
40
+ GetMatchIdInputFilterSensitiveLog: () => GetMatchIdInputFilterSensitiveLog,
41
+ GetMatchingJobCommand: () => GetMatchingJobCommand,
42
+ GetMatchingWorkflowCommand: () => GetMatchingWorkflowCommand,
43
+ GetProviderServiceCommand: () => GetProviderServiceCommand,
44
+ GetSchemaMappingCommand: () => GetSchemaMappingCommand,
45
+ IdMappingType: () => IdMappingType,
46
+ IncrementalRunType: () => IncrementalRunType,
47
+ InternalServerException: () => InternalServerException,
48
+ JobStatus: () => JobStatus,
49
+ ListIdMappingJobsCommand: () => ListIdMappingJobsCommand,
50
+ ListIdMappingWorkflowsCommand: () => ListIdMappingWorkflowsCommand,
51
+ ListMatchingJobsCommand: () => ListMatchingJobsCommand,
52
+ ListMatchingWorkflowsCommand: () => ListMatchingWorkflowsCommand,
53
+ ListProviderServicesCommand: () => ListProviderServicesCommand,
54
+ ListSchemaMappingsCommand: () => ListSchemaMappingsCommand,
55
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
56
+ ProviderEndpointConfiguration: () => ProviderEndpointConfiguration,
57
+ ResolutionType: () => ResolutionType,
58
+ ResourceNotFoundException: () => ResourceNotFoundException,
59
+ SchemaAttributeType: () => SchemaAttributeType,
60
+ ServiceType: () => ServiceType,
61
+ StartIdMappingJobCommand: () => StartIdMappingJobCommand,
62
+ StartMatchingJobCommand: () => StartMatchingJobCommand,
63
+ TagResourceCommand: () => TagResourceCommand,
64
+ ThrottlingException: () => ThrottlingException,
65
+ UntagResourceCommand: () => UntagResourceCommand,
66
+ UpdateIdMappingWorkflowCommand: () => UpdateIdMappingWorkflowCommand,
67
+ UpdateMatchingWorkflowCommand: () => UpdateMatchingWorkflowCommand,
68
+ UpdateSchemaMappingCommand: () => UpdateSchemaMappingCommand,
69
+ ValidationException: () => ValidationException,
70
+ __Client: () => import_smithy_client.Client,
71
+ paginateListIdMappingJobs: () => paginateListIdMappingJobs,
72
+ paginateListIdMappingWorkflows: () => paginateListIdMappingWorkflows,
73
+ paginateListMatchingJobs: () => paginateListMatchingJobs,
74
+ paginateListMatchingWorkflows: () => paginateListMatchingWorkflows,
75
+ paginateListProviderServices: () => paginateListProviderServices,
76
+ paginateListSchemaMappings: () => paginateListSchemaMappings
77
+ });
78
+ module.exports = __toCommonJS(src_exports);
79
+
80
+ // src/EntityResolutionClient.ts
81
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
82
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
83
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
84
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
85
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
86
+ var import_config_resolver = require("@smithy/config-resolver");
87
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
88
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
89
+ var import_middleware_retry = require("@smithy/middleware-retry");
90
+
91
+
92
+ // src/endpoint/EndpointParameters.ts
93
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
94
+ return {
95
+ ...options,
96
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
97
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
98
+ defaultSigningName: "entityresolution"
99
+ };
100
+ }, "resolveClientEndpointParameters");
101
+ var commonParams = {
102
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
103
+ Endpoint: { type: "builtInParams", name: "endpoint" },
104
+ Region: { type: "builtInParams", name: "region" },
105
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
106
+ };
107
+
108
+ // src/EntityResolutionClient.ts
109
+ var import_runtimeConfig = require("././runtimeConfig");
110
+
111
+ // src/runtimeExtensions.ts
112
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
113
+ var import_protocol_http = require("@smithy/protocol-http");
114
+ var import_smithy_client = require("@smithy/smithy-client");
115
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
116
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
117
+ const extensionConfiguration = {
118
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
119
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
120
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
121
+ };
122
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
123
+ return {
124
+ ...runtimeConfig,
125
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
126
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
127
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
128
+ };
129
+ }, "resolveRuntimeExtensions");
130
+
131
+ // src/EntityResolutionClient.ts
132
+ var _EntityResolutionClient = class _EntityResolutionClient extends import_smithy_client.Client {
133
+ constructor(...[configuration]) {
134
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
135
+ const _config_1 = resolveClientEndpointParameters(_config_0);
136
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
137
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
138
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
139
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
140
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
141
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
142
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
143
+ super(_config_8);
144
+ this.config = _config_8;
145
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
146
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
147
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
148
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
149
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
150
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
151
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
152
+ }
153
+ /**
154
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
155
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
156
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
157
+ */
158
+ destroy() {
159
+ super.destroy();
160
+ }
161
+ };
162
+ __name(_EntityResolutionClient, "EntityResolutionClient");
163
+ var EntityResolutionClient = _EntityResolutionClient;
164
+
165
+ // src/EntityResolution.ts
166
+
167
+
168
+ // src/commands/CreateIdMappingWorkflowCommand.ts
169
+
170
+ var import_middleware_serde = require("@smithy/middleware-serde");
171
+
172
+ var import_types = require("@smithy/types");
173
+
174
+ // src/protocols/Aws_restJson1.ts
175
+ var import_core = require("@aws-sdk/core");
176
+ var import_core2 = require("@smithy/core");
177
+
178
+
179
+ // src/models/EntityResolutionServiceException.ts
180
+
181
+ var _EntityResolutionServiceException = class _EntityResolutionServiceException extends import_smithy_client.ServiceException {
182
+ /**
183
+ * @internal
184
+ */
185
+ constructor(options) {
186
+ super(options);
187
+ Object.setPrototypeOf(this, _EntityResolutionServiceException.prototype);
188
+ }
189
+ };
190
+ __name(_EntityResolutionServiceException, "EntityResolutionServiceException");
191
+ var EntityResolutionServiceException = _EntityResolutionServiceException;
192
+
193
+ // src/models/models_0.ts
194
+
195
+ var _AccessDeniedException = class _AccessDeniedException extends EntityResolutionServiceException {
196
+ /**
197
+ * @internal
198
+ */
199
+ constructor(opts) {
200
+ super({
201
+ name: "AccessDeniedException",
202
+ $fault: "client",
203
+ ...opts
204
+ });
205
+ this.name = "AccessDeniedException";
206
+ this.$fault = "client";
207
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
208
+ }
209
+ };
210
+ __name(_AccessDeniedException, "AccessDeniedException");
211
+ var AccessDeniedException = _AccessDeniedException;
212
+ var AttributeMatchingModel = {
213
+ MANY_TO_MANY: "MANY_TO_MANY",
214
+ ONE_TO_ONE: "ONE_TO_ONE"
215
+ };
216
+ var _ConflictException = class _ConflictException extends EntityResolutionServiceException {
217
+ /**
218
+ * @internal
219
+ */
220
+ constructor(opts) {
221
+ super({
222
+ name: "ConflictException",
223
+ $fault: "client",
224
+ ...opts
225
+ });
226
+ this.name = "ConflictException";
227
+ this.$fault = "client";
228
+ Object.setPrototypeOf(this, _ConflictException.prototype);
229
+ }
230
+ };
231
+ __name(_ConflictException, "ConflictException");
232
+ var ConflictException = _ConflictException;
233
+ var IdMappingType = {
234
+ PROVIDER: "PROVIDER"
235
+ };
236
+ var _ExceedsLimitException = class _ExceedsLimitException extends EntityResolutionServiceException {
237
+ /**
238
+ * @internal
239
+ */
240
+ constructor(opts) {
241
+ super({
242
+ name: "ExceedsLimitException",
243
+ $fault: "client",
244
+ ...opts
245
+ });
246
+ this.name = "ExceedsLimitException";
247
+ this.$fault = "client";
248
+ Object.setPrototypeOf(this, _ExceedsLimitException.prototype);
249
+ this.quotaName = opts.quotaName;
250
+ this.quotaValue = opts.quotaValue;
251
+ }
252
+ };
253
+ __name(_ExceedsLimitException, "ExceedsLimitException");
254
+ var ExceedsLimitException = _ExceedsLimitException;
255
+ var _InternalServerException = class _InternalServerException extends EntityResolutionServiceException {
256
+ /**
257
+ * @internal
258
+ */
259
+ constructor(opts) {
260
+ super({
261
+ name: "InternalServerException",
262
+ $fault: "server",
263
+ ...opts
264
+ });
265
+ this.name = "InternalServerException";
266
+ this.$fault = "server";
267
+ this.$retryable = {};
268
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
269
+ }
270
+ };
271
+ __name(_InternalServerException, "InternalServerException");
272
+ var InternalServerException = _InternalServerException;
273
+ var _ThrottlingException = class _ThrottlingException extends EntityResolutionServiceException {
274
+ /**
275
+ * @internal
276
+ */
277
+ constructor(opts) {
278
+ super({
279
+ name: "ThrottlingException",
280
+ $fault: "client",
281
+ ...opts
282
+ });
283
+ this.name = "ThrottlingException";
284
+ this.$fault = "client";
285
+ this.$retryable = {
286
+ throttling: true
287
+ };
288
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
289
+ }
290
+ };
291
+ __name(_ThrottlingException, "ThrottlingException");
292
+ var ThrottlingException = _ThrottlingException;
293
+ var _ValidationException = class _ValidationException extends EntityResolutionServiceException {
294
+ /**
295
+ * @internal
296
+ */
297
+ constructor(opts) {
298
+ super({
299
+ name: "ValidationException",
300
+ $fault: "client",
301
+ ...opts
302
+ });
303
+ this.name = "ValidationException";
304
+ this.$fault = "client";
305
+ Object.setPrototypeOf(this, _ValidationException.prototype);
306
+ }
307
+ };
308
+ __name(_ValidationException, "ValidationException");
309
+ var ValidationException = _ValidationException;
310
+ var IncrementalRunType = {
311
+ IMMEDIATE: "IMMEDIATE"
312
+ };
313
+ var ResolutionType = {
314
+ ML_MATCHING: "ML_MATCHING",
315
+ PROVIDER: "PROVIDER",
316
+ RULE_MATCHING: "RULE_MATCHING"
317
+ };
318
+ var SchemaAttributeType = {
319
+ ADDRESS: "ADDRESS",
320
+ ADDRESS_CITY: "ADDRESS_CITY",
321
+ ADDRESS_COUNTRY: "ADDRESS_COUNTRY",
322
+ ADDRESS_POSTALCODE: "ADDRESS_POSTALCODE",
323
+ ADDRESS_STATE: "ADDRESS_STATE",
324
+ ADDRESS_STREET1: "ADDRESS_STREET1",
325
+ ADDRESS_STREET2: "ADDRESS_STREET2",
326
+ ADDRESS_STREET3: "ADDRESS_STREET3",
327
+ DATE: "DATE",
328
+ EMAIL_ADDRESS: "EMAIL_ADDRESS",
329
+ NAME: "NAME",
330
+ NAME_FIRST: "NAME_FIRST",
331
+ NAME_LAST: "NAME_LAST",
332
+ NAME_MIDDLE: "NAME_MIDDLE",
333
+ PHONE: "PHONE",
334
+ PHONE_COUNTRYCODE: "PHONE_COUNTRYCODE",
335
+ PHONE_NUMBER: "PHONE_NUMBER",
336
+ PROVIDER_ID: "PROVIDER_ID",
337
+ STRING: "STRING",
338
+ UNIQUE_ID: "UNIQUE_ID"
339
+ };
340
+ var JobStatus = {
341
+ FAILED: "FAILED",
342
+ QUEUED: "QUEUED",
343
+ RUNNING: "RUNNING",
344
+ SUCCEEDED: "SUCCEEDED"
345
+ };
346
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends EntityResolutionServiceException {
347
+ /**
348
+ * @internal
349
+ */
350
+ constructor(opts) {
351
+ super({
352
+ name: "ResourceNotFoundException",
353
+ $fault: "client",
354
+ ...opts
355
+ });
356
+ this.name = "ResourceNotFoundException";
357
+ this.$fault = "client";
358
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
359
+ }
360
+ };
361
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
362
+ var ResourceNotFoundException = _ResourceNotFoundException;
363
+ var ProviderEndpointConfiguration;
364
+ ((ProviderEndpointConfiguration2) => {
365
+ ProviderEndpointConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
366
+ if (value.marketplaceConfiguration !== void 0)
367
+ return visitor.marketplaceConfiguration(value.marketplaceConfiguration);
368
+ return visitor._(value.$unknown[0], value.$unknown[1]);
369
+ }, "visit");
370
+ })(ProviderEndpointConfiguration || (ProviderEndpointConfiguration = {}));
371
+ var ServiceType = {
372
+ ASSIGNMENT: "ASSIGNMENT",
373
+ ID_MAPPING: "ID_MAPPING"
374
+ };
375
+ var GetMatchIdInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
376
+ ...obj,
377
+ ...obj.record && { record: import_smithy_client.SENSITIVE_STRING }
378
+ }), "GetMatchIdInputFilterSensitiveLog");
379
+
380
+ // src/protocols/Aws_restJson1.ts
381
+ var se_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
382
+ const b = (0, import_core2.requestBuilder)(input, context);
383
+ const headers = {
384
+ "content-type": "application/json"
385
+ };
386
+ b.bp("/idmappingworkflows");
387
+ let body;
388
+ body = JSON.stringify(
389
+ (0, import_smithy_client.take)(input, {
390
+ description: [],
391
+ idMappingTechniques: (_) => se_IdMappingTechniques(_, context),
392
+ inputSourceConfig: (_) => (0, import_smithy_client._json)(_),
393
+ outputSourceConfig: (_) => (0, import_smithy_client._json)(_),
394
+ roleArn: [],
395
+ tags: (_) => (0, import_smithy_client._json)(_),
396
+ workflowName: []
397
+ })
398
+ );
399
+ b.m("POST").h(headers).b(body);
400
+ return b.build();
401
+ }, "se_CreateIdMappingWorkflowCommand");
402
+ var se_CreateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
403
+ const b = (0, import_core2.requestBuilder)(input, context);
404
+ const headers = {
405
+ "content-type": "application/json"
406
+ };
407
+ b.bp("/matchingworkflows");
408
+ let body;
409
+ body = JSON.stringify(
410
+ (0, import_smithy_client.take)(input, {
411
+ description: [],
412
+ incrementalRunConfig: (_) => (0, import_smithy_client._json)(_),
413
+ inputSourceConfig: (_) => (0, import_smithy_client._json)(_),
414
+ outputSourceConfig: (_) => (0, import_smithy_client._json)(_),
415
+ resolutionTechniques: (_) => se_ResolutionTechniques(_, context),
416
+ roleArn: [],
417
+ tags: (_) => (0, import_smithy_client._json)(_),
418
+ workflowName: []
419
+ })
420
+ );
421
+ b.m("POST").h(headers).b(body);
422
+ return b.build();
423
+ }, "se_CreateMatchingWorkflowCommand");
424
+ var se_CreateSchemaMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
425
+ const b = (0, import_core2.requestBuilder)(input, context);
426
+ const headers = {
427
+ "content-type": "application/json"
428
+ };
429
+ b.bp("/schemas");
430
+ let body;
431
+ body = JSON.stringify(
432
+ (0, import_smithy_client.take)(input, {
433
+ description: [],
434
+ mappedInputFields: (_) => (0, import_smithy_client._json)(_),
435
+ schemaName: [],
436
+ tags: (_) => (0, import_smithy_client._json)(_)
437
+ })
438
+ );
439
+ b.m("POST").h(headers).b(body);
440
+ return b.build();
441
+ }, "se_CreateSchemaMappingCommand");
442
+ var se_DeleteIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
443
+ const b = (0, import_core2.requestBuilder)(input, context);
444
+ const headers = {};
445
+ b.bp("/idmappingworkflows/{workflowName}");
446
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
447
+ let body;
448
+ b.m("DELETE").h(headers).b(body);
449
+ return b.build();
450
+ }, "se_DeleteIdMappingWorkflowCommand");
451
+ var se_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
452
+ const b = (0, import_core2.requestBuilder)(input, context);
453
+ const headers = {};
454
+ b.bp("/matchingworkflows/{workflowName}");
455
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
456
+ let body;
457
+ b.m("DELETE").h(headers).b(body);
458
+ return b.build();
459
+ }, "se_DeleteMatchingWorkflowCommand");
460
+ var se_DeleteSchemaMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
461
+ const b = (0, import_core2.requestBuilder)(input, context);
462
+ const headers = {};
463
+ b.bp("/schemas/{schemaName}");
464
+ b.p("schemaName", () => input.schemaName, "{schemaName}", false);
465
+ let body;
466
+ b.m("DELETE").h(headers).b(body);
467
+ return b.build();
468
+ }, "se_DeleteSchemaMappingCommand");
469
+ var se_GetIdMappingJobCommand = /* @__PURE__ */ __name(async (input, context) => {
470
+ const b = (0, import_core2.requestBuilder)(input, context);
471
+ const headers = {};
472
+ b.bp("/idmappingworkflows/{workflowName}/jobs/{jobId}");
473
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
474
+ b.p("jobId", () => input.jobId, "{jobId}", false);
475
+ let body;
476
+ b.m("GET").h(headers).b(body);
477
+ return b.build();
478
+ }, "se_GetIdMappingJobCommand");
479
+ var se_GetIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
480
+ const b = (0, import_core2.requestBuilder)(input, context);
481
+ const headers = {};
482
+ b.bp("/idmappingworkflows/{workflowName}");
483
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
484
+ let body;
485
+ b.m("GET").h(headers).b(body);
486
+ return b.build();
487
+ }, "se_GetIdMappingWorkflowCommand");
488
+ var se_GetMatchIdCommand = /* @__PURE__ */ __name(async (input, context) => {
489
+ const b = (0, import_core2.requestBuilder)(input, context);
490
+ const headers = {
491
+ "content-type": "application/json"
492
+ };
493
+ b.bp("/matchingworkflows/{workflowName}/matches");
494
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
495
+ let body;
496
+ body = JSON.stringify(
497
+ (0, import_smithy_client.take)(input, {
498
+ record: (_) => (0, import_smithy_client._json)(_)
499
+ })
500
+ );
501
+ b.m("POST").h(headers).b(body);
502
+ return b.build();
503
+ }, "se_GetMatchIdCommand");
504
+ var se_GetMatchingJobCommand = /* @__PURE__ */ __name(async (input, context) => {
505
+ const b = (0, import_core2.requestBuilder)(input, context);
506
+ const headers = {};
507
+ b.bp("/matchingworkflows/{workflowName}/jobs/{jobId}");
508
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
509
+ b.p("jobId", () => input.jobId, "{jobId}", false);
510
+ let body;
511
+ b.m("GET").h(headers).b(body);
512
+ return b.build();
513
+ }, "se_GetMatchingJobCommand");
514
+ var se_GetMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
515
+ const b = (0, import_core2.requestBuilder)(input, context);
516
+ const headers = {};
517
+ b.bp("/matchingworkflows/{workflowName}");
518
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
519
+ let body;
520
+ b.m("GET").h(headers).b(body);
521
+ return b.build();
522
+ }, "se_GetMatchingWorkflowCommand");
523
+ var se_GetProviderServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
524
+ const b = (0, import_core2.requestBuilder)(input, context);
525
+ const headers = {};
526
+ b.bp("/providerservices/{providerName}/{providerServiceName}");
527
+ b.p("providerName", () => input.providerName, "{providerName}", false);
528
+ b.p("providerServiceName", () => input.providerServiceName, "{providerServiceName}", false);
529
+ let body;
530
+ b.m("GET").h(headers).b(body);
531
+ return b.build();
532
+ }, "se_GetProviderServiceCommand");
533
+ var se_GetSchemaMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
534
+ const b = (0, import_core2.requestBuilder)(input, context);
535
+ const headers = {};
536
+ b.bp("/schemas/{schemaName}");
537
+ b.p("schemaName", () => input.schemaName, "{schemaName}", false);
538
+ let body;
539
+ b.m("GET").h(headers).b(body);
540
+ return b.build();
541
+ }, "se_GetSchemaMappingCommand");
542
+ var se_ListIdMappingJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
543
+ const b = (0, import_core2.requestBuilder)(input, context);
544
+ const headers = {};
545
+ b.bp("/idmappingworkflows/{workflowName}/jobs");
546
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
547
+ const query = (0, import_smithy_client.map)({
548
+ [_nT]: [, input[_nT]],
549
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
550
+ });
551
+ let body;
552
+ b.m("GET").h(headers).q(query).b(body);
553
+ return b.build();
554
+ }, "se_ListIdMappingJobsCommand");
555
+ var se_ListIdMappingWorkflowsCommand = /* @__PURE__ */ __name(async (input, context) => {
556
+ const b = (0, import_core2.requestBuilder)(input, context);
557
+ const headers = {};
558
+ b.bp("/idmappingworkflows");
559
+ const query = (0, import_smithy_client.map)({
560
+ [_nT]: [, input[_nT]],
561
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
562
+ });
563
+ let body;
564
+ b.m("GET").h(headers).q(query).b(body);
565
+ return b.build();
566
+ }, "se_ListIdMappingWorkflowsCommand");
567
+ var se_ListMatchingJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
568
+ const b = (0, import_core2.requestBuilder)(input, context);
569
+ const headers = {};
570
+ b.bp("/matchingworkflows/{workflowName}/jobs");
571
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
572
+ const query = (0, import_smithy_client.map)({
573
+ [_nT]: [, input[_nT]],
574
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
575
+ });
576
+ let body;
577
+ b.m("GET").h(headers).q(query).b(body);
578
+ return b.build();
579
+ }, "se_ListMatchingJobsCommand");
580
+ var se_ListMatchingWorkflowsCommand = /* @__PURE__ */ __name(async (input, context) => {
581
+ const b = (0, import_core2.requestBuilder)(input, context);
582
+ const headers = {};
583
+ b.bp("/matchingworkflows");
584
+ const query = (0, import_smithy_client.map)({
585
+ [_nT]: [, input[_nT]],
586
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
587
+ });
588
+ let body;
589
+ b.m("GET").h(headers).q(query).b(body);
590
+ return b.build();
591
+ }, "se_ListMatchingWorkflowsCommand");
592
+ var se_ListProviderServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
593
+ const b = (0, import_core2.requestBuilder)(input, context);
594
+ const headers = {};
595
+ b.bp("/providerservices");
596
+ const query = (0, import_smithy_client.map)({
597
+ [_nT]: [, input[_nT]],
598
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
599
+ [_pN]: [, input[_pN]]
600
+ });
601
+ let body;
602
+ b.m("GET").h(headers).q(query).b(body);
603
+ return b.build();
604
+ }, "se_ListProviderServicesCommand");
605
+ var se_ListSchemaMappingsCommand = /* @__PURE__ */ __name(async (input, context) => {
606
+ const b = (0, import_core2.requestBuilder)(input, context);
607
+ const headers = {};
608
+ b.bp("/schemas");
609
+ const query = (0, import_smithy_client.map)({
610
+ [_nT]: [, input[_nT]],
611
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
612
+ });
613
+ let body;
614
+ b.m("GET").h(headers).q(query).b(body);
615
+ return b.build();
616
+ }, "se_ListSchemaMappingsCommand");
617
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
618
+ const b = (0, import_core2.requestBuilder)(input, context);
619
+ const headers = {};
620
+ b.bp("/tags/{resourceArn}");
621
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
622
+ let body;
623
+ b.m("GET").h(headers).b(body);
624
+ return b.build();
625
+ }, "se_ListTagsForResourceCommand");
626
+ var se_StartIdMappingJobCommand = /* @__PURE__ */ __name(async (input, context) => {
627
+ const b = (0, import_core2.requestBuilder)(input, context);
628
+ const headers = {};
629
+ b.bp("/idmappingworkflows/{workflowName}/jobs");
630
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
631
+ let body;
632
+ b.m("POST").h(headers).b(body);
633
+ return b.build();
634
+ }, "se_StartIdMappingJobCommand");
635
+ var se_StartMatchingJobCommand = /* @__PURE__ */ __name(async (input, context) => {
636
+ const b = (0, import_core2.requestBuilder)(input, context);
637
+ const headers = {};
638
+ b.bp("/matchingworkflows/{workflowName}/jobs");
639
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
640
+ let body;
641
+ b.m("POST").h(headers).b(body);
642
+ return b.build();
643
+ }, "se_StartMatchingJobCommand");
644
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
645
+ const b = (0, import_core2.requestBuilder)(input, context);
646
+ const headers = {
647
+ "content-type": "application/json"
648
+ };
649
+ b.bp("/tags/{resourceArn}");
650
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
651
+ let body;
652
+ body = JSON.stringify(
653
+ (0, import_smithy_client.take)(input, {
654
+ tags: (_) => (0, import_smithy_client._json)(_)
655
+ })
656
+ );
657
+ b.m("POST").h(headers).b(body);
658
+ return b.build();
659
+ }, "se_TagResourceCommand");
660
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
661
+ const b = (0, import_core2.requestBuilder)(input, context);
662
+ const headers = {};
663
+ b.bp("/tags/{resourceArn}");
664
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
665
+ const query = (0, import_smithy_client.map)({
666
+ [_tK]: [
667
+ (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
668
+ () => (input[_tK] || []).map((_entry) => _entry)
669
+ ]
670
+ });
671
+ let body;
672
+ b.m("DELETE").h(headers).q(query).b(body);
673
+ return b.build();
674
+ }, "se_UntagResourceCommand");
675
+ var se_UpdateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
676
+ const b = (0, import_core2.requestBuilder)(input, context);
677
+ const headers = {
678
+ "content-type": "application/json"
679
+ };
680
+ b.bp("/idmappingworkflows/{workflowName}");
681
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
682
+ let body;
683
+ body = JSON.stringify(
684
+ (0, import_smithy_client.take)(input, {
685
+ description: [],
686
+ idMappingTechniques: (_) => se_IdMappingTechniques(_, context),
687
+ inputSourceConfig: (_) => (0, import_smithy_client._json)(_),
688
+ outputSourceConfig: (_) => (0, import_smithy_client._json)(_),
689
+ roleArn: []
690
+ })
691
+ );
692
+ b.m("PUT").h(headers).b(body);
693
+ return b.build();
694
+ }, "se_UpdateIdMappingWorkflowCommand");
695
+ var se_UpdateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
696
+ const b = (0, import_core2.requestBuilder)(input, context);
697
+ const headers = {
698
+ "content-type": "application/json"
699
+ };
700
+ b.bp("/matchingworkflows/{workflowName}");
701
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
702
+ let body;
703
+ body = JSON.stringify(
704
+ (0, import_smithy_client.take)(input, {
705
+ description: [],
706
+ incrementalRunConfig: (_) => (0, import_smithy_client._json)(_),
707
+ inputSourceConfig: (_) => (0, import_smithy_client._json)(_),
708
+ outputSourceConfig: (_) => (0, import_smithy_client._json)(_),
709
+ resolutionTechniques: (_) => se_ResolutionTechniques(_, context),
710
+ roleArn: []
711
+ })
712
+ );
713
+ b.m("PUT").h(headers).b(body);
714
+ return b.build();
715
+ }, "se_UpdateMatchingWorkflowCommand");
716
+ var se_UpdateSchemaMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
717
+ const b = (0, import_core2.requestBuilder)(input, context);
718
+ const headers = {
719
+ "content-type": "application/json"
720
+ };
721
+ b.bp("/schemas/{schemaName}");
722
+ b.p("schemaName", () => input.schemaName, "{schemaName}", false);
723
+ let body;
724
+ body = JSON.stringify(
725
+ (0, import_smithy_client.take)(input, {
726
+ description: [],
727
+ mappedInputFields: (_) => (0, import_smithy_client._json)(_)
728
+ })
729
+ );
730
+ b.m("PUT").h(headers).b(body);
731
+ return b.build();
732
+ }, "se_UpdateSchemaMappingCommand");
733
+ var de_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
734
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
735
+ return de_CreateIdMappingWorkflowCommandError(output, context);
736
+ }
737
+ const contents = (0, import_smithy_client.map)({
738
+ $metadata: deserializeMetadata(output)
739
+ });
740
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
741
+ const doc = (0, import_smithy_client.take)(data, {
742
+ description: import_smithy_client.expectString,
743
+ idMappingTechniques: (_) => de_IdMappingTechniques(_, context),
744
+ inputSourceConfig: import_smithy_client._json,
745
+ outputSourceConfig: import_smithy_client._json,
746
+ roleArn: import_smithy_client.expectString,
747
+ workflowArn: import_smithy_client.expectString,
748
+ workflowName: import_smithy_client.expectString
749
+ });
750
+ Object.assign(contents, doc);
751
+ return contents;
752
+ }, "de_CreateIdMappingWorkflowCommand");
753
+ var de_CreateIdMappingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
754
+ const parsedOutput = {
755
+ ...output,
756
+ body: await parseErrorBody(output.body, context)
757
+ };
758
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
759
+ switch (errorCode) {
760
+ case "AccessDeniedException":
761
+ case "com.amazonaws.entityresolution#AccessDeniedException":
762
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
763
+ case "ConflictException":
764
+ case "com.amazonaws.entityresolution#ConflictException":
765
+ throw await de_ConflictExceptionRes(parsedOutput, context);
766
+ case "ExceedsLimitException":
767
+ case "com.amazonaws.entityresolution#ExceedsLimitException":
768
+ throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
769
+ case "InternalServerException":
770
+ case "com.amazonaws.entityresolution#InternalServerException":
771
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
772
+ case "ThrottlingException":
773
+ case "com.amazonaws.entityresolution#ThrottlingException":
774
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
775
+ case "ValidationException":
776
+ case "com.amazonaws.entityresolution#ValidationException":
777
+ throw await de_ValidationExceptionRes(parsedOutput, context);
778
+ default:
779
+ const parsedBody = parsedOutput.body;
780
+ return throwDefaultError({
781
+ output,
782
+ parsedBody,
783
+ errorCode
784
+ });
785
+ }
786
+ }, "de_CreateIdMappingWorkflowCommandError");
787
+ var de_CreateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
788
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
789
+ return de_CreateMatchingWorkflowCommandError(output, context);
790
+ }
791
+ const contents = (0, import_smithy_client.map)({
792
+ $metadata: deserializeMetadata(output)
793
+ });
794
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
795
+ const doc = (0, import_smithy_client.take)(data, {
796
+ description: import_smithy_client.expectString,
797
+ incrementalRunConfig: import_smithy_client._json,
798
+ inputSourceConfig: import_smithy_client._json,
799
+ outputSourceConfig: import_smithy_client._json,
800
+ resolutionTechniques: (_) => de_ResolutionTechniques(_, context),
801
+ roleArn: import_smithy_client.expectString,
802
+ workflowArn: import_smithy_client.expectString,
803
+ workflowName: import_smithy_client.expectString
804
+ });
805
+ Object.assign(contents, doc);
806
+ return contents;
807
+ }, "de_CreateMatchingWorkflowCommand");
808
+ var de_CreateMatchingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
809
+ const parsedOutput = {
810
+ ...output,
811
+ body: await parseErrorBody(output.body, context)
812
+ };
813
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
814
+ switch (errorCode) {
815
+ case "AccessDeniedException":
816
+ case "com.amazonaws.entityresolution#AccessDeniedException":
817
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
818
+ case "ConflictException":
819
+ case "com.amazonaws.entityresolution#ConflictException":
820
+ throw await de_ConflictExceptionRes(parsedOutput, context);
821
+ case "ExceedsLimitException":
822
+ case "com.amazonaws.entityresolution#ExceedsLimitException":
823
+ throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
824
+ case "InternalServerException":
825
+ case "com.amazonaws.entityresolution#InternalServerException":
826
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
827
+ case "ThrottlingException":
828
+ case "com.amazonaws.entityresolution#ThrottlingException":
829
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
830
+ case "ValidationException":
831
+ case "com.amazonaws.entityresolution#ValidationException":
832
+ throw await de_ValidationExceptionRes(parsedOutput, context);
833
+ default:
834
+ const parsedBody = parsedOutput.body;
835
+ return throwDefaultError({
836
+ output,
837
+ parsedBody,
838
+ errorCode
839
+ });
840
+ }
841
+ }, "de_CreateMatchingWorkflowCommandError");
842
+ var de_CreateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
843
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
844
+ return de_CreateSchemaMappingCommandError(output, context);
845
+ }
846
+ const contents = (0, import_smithy_client.map)({
847
+ $metadata: deserializeMetadata(output)
848
+ });
849
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
850
+ const doc = (0, import_smithy_client.take)(data, {
851
+ description: import_smithy_client.expectString,
852
+ mappedInputFields: import_smithy_client._json,
853
+ schemaArn: import_smithy_client.expectString,
854
+ schemaName: import_smithy_client.expectString
855
+ });
856
+ Object.assign(contents, doc);
857
+ return contents;
858
+ }, "de_CreateSchemaMappingCommand");
859
+ var de_CreateSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, context) => {
860
+ const parsedOutput = {
861
+ ...output,
862
+ body: await parseErrorBody(output.body, context)
863
+ };
864
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
865
+ switch (errorCode) {
866
+ case "AccessDeniedException":
867
+ case "com.amazonaws.entityresolution#AccessDeniedException":
868
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
869
+ case "ConflictException":
870
+ case "com.amazonaws.entityresolution#ConflictException":
871
+ throw await de_ConflictExceptionRes(parsedOutput, context);
872
+ case "ExceedsLimitException":
873
+ case "com.amazonaws.entityresolution#ExceedsLimitException":
874
+ throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
875
+ case "InternalServerException":
876
+ case "com.amazonaws.entityresolution#InternalServerException":
877
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
878
+ case "ThrottlingException":
879
+ case "com.amazonaws.entityresolution#ThrottlingException":
880
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
881
+ case "ValidationException":
882
+ case "com.amazonaws.entityresolution#ValidationException":
883
+ throw await de_ValidationExceptionRes(parsedOutput, context);
884
+ default:
885
+ const parsedBody = parsedOutput.body;
886
+ return throwDefaultError({
887
+ output,
888
+ parsedBody,
889
+ errorCode
890
+ });
891
+ }
892
+ }, "de_CreateSchemaMappingCommandError");
893
+ var de_DeleteIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
894
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
895
+ return de_DeleteIdMappingWorkflowCommandError(output, context);
896
+ }
897
+ const contents = (0, import_smithy_client.map)({
898
+ $metadata: deserializeMetadata(output)
899
+ });
900
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
901
+ const doc = (0, import_smithy_client.take)(data, {
902
+ message: import_smithy_client.expectString
903
+ });
904
+ Object.assign(contents, doc);
905
+ return contents;
906
+ }, "de_DeleteIdMappingWorkflowCommand");
907
+ var de_DeleteIdMappingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
908
+ const parsedOutput = {
909
+ ...output,
910
+ body: await parseErrorBody(output.body, context)
911
+ };
912
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
913
+ switch (errorCode) {
914
+ case "AccessDeniedException":
915
+ case "com.amazonaws.entityresolution#AccessDeniedException":
916
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
917
+ case "InternalServerException":
918
+ case "com.amazonaws.entityresolution#InternalServerException":
919
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
920
+ case "ThrottlingException":
921
+ case "com.amazonaws.entityresolution#ThrottlingException":
922
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
923
+ case "ValidationException":
924
+ case "com.amazonaws.entityresolution#ValidationException":
925
+ throw await de_ValidationExceptionRes(parsedOutput, context);
926
+ default:
927
+ const parsedBody = parsedOutput.body;
928
+ return throwDefaultError({
929
+ output,
930
+ parsedBody,
931
+ errorCode
932
+ });
933
+ }
934
+ }, "de_DeleteIdMappingWorkflowCommandError");
935
+ var de_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
936
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
937
+ return de_DeleteMatchingWorkflowCommandError(output, context);
938
+ }
939
+ const contents = (0, import_smithy_client.map)({
940
+ $metadata: deserializeMetadata(output)
941
+ });
942
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
943
+ const doc = (0, import_smithy_client.take)(data, {
944
+ message: import_smithy_client.expectString
945
+ });
946
+ Object.assign(contents, doc);
947
+ return contents;
948
+ }, "de_DeleteMatchingWorkflowCommand");
949
+ var de_DeleteMatchingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
950
+ const parsedOutput = {
951
+ ...output,
952
+ body: await parseErrorBody(output.body, context)
953
+ };
954
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
955
+ switch (errorCode) {
956
+ case "AccessDeniedException":
957
+ case "com.amazonaws.entityresolution#AccessDeniedException":
958
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
959
+ case "InternalServerException":
960
+ case "com.amazonaws.entityresolution#InternalServerException":
961
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
962
+ case "ThrottlingException":
963
+ case "com.amazonaws.entityresolution#ThrottlingException":
964
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
965
+ case "ValidationException":
966
+ case "com.amazonaws.entityresolution#ValidationException":
967
+ throw await de_ValidationExceptionRes(parsedOutput, context);
968
+ default:
969
+ const parsedBody = parsedOutput.body;
970
+ return throwDefaultError({
971
+ output,
972
+ parsedBody,
973
+ errorCode
974
+ });
975
+ }
976
+ }, "de_DeleteMatchingWorkflowCommandError");
977
+ var de_DeleteSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
978
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
979
+ return de_DeleteSchemaMappingCommandError(output, context);
980
+ }
981
+ const contents = (0, import_smithy_client.map)({
982
+ $metadata: deserializeMetadata(output)
983
+ });
984
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
985
+ const doc = (0, import_smithy_client.take)(data, {
986
+ message: import_smithy_client.expectString
987
+ });
988
+ Object.assign(contents, doc);
989
+ return contents;
990
+ }, "de_DeleteSchemaMappingCommand");
991
+ var de_DeleteSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, context) => {
992
+ const parsedOutput = {
993
+ ...output,
994
+ body: await parseErrorBody(output.body, context)
995
+ };
996
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
997
+ switch (errorCode) {
998
+ case "AccessDeniedException":
999
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1000
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1001
+ case "ConflictException":
1002
+ case "com.amazonaws.entityresolution#ConflictException":
1003
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1004
+ case "InternalServerException":
1005
+ case "com.amazonaws.entityresolution#InternalServerException":
1006
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1007
+ case "ThrottlingException":
1008
+ case "com.amazonaws.entityresolution#ThrottlingException":
1009
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1010
+ case "ValidationException":
1011
+ case "com.amazonaws.entityresolution#ValidationException":
1012
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1013
+ default:
1014
+ const parsedBody = parsedOutput.body;
1015
+ return throwDefaultError({
1016
+ output,
1017
+ parsedBody,
1018
+ errorCode
1019
+ });
1020
+ }
1021
+ }, "de_DeleteSchemaMappingCommandError");
1022
+ var de_GetIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1023
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1024
+ return de_GetIdMappingJobCommandError(output, context);
1025
+ }
1026
+ const contents = (0, import_smithy_client.map)({
1027
+ $metadata: deserializeMetadata(output)
1028
+ });
1029
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1030
+ const doc = (0, import_smithy_client.take)(data, {
1031
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1032
+ errorDetails: import_smithy_client._json,
1033
+ jobId: import_smithy_client.expectString,
1034
+ metrics: import_smithy_client._json,
1035
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1036
+ status: import_smithy_client.expectString
1037
+ });
1038
+ Object.assign(contents, doc);
1039
+ return contents;
1040
+ }, "de_GetIdMappingJobCommand");
1041
+ var de_GetIdMappingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1042
+ const parsedOutput = {
1043
+ ...output,
1044
+ body: await parseErrorBody(output.body, context)
1045
+ };
1046
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1047
+ switch (errorCode) {
1048
+ case "AccessDeniedException":
1049
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1050
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1051
+ case "InternalServerException":
1052
+ case "com.amazonaws.entityresolution#InternalServerException":
1053
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1054
+ case "ResourceNotFoundException":
1055
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1056
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1057
+ case "ThrottlingException":
1058
+ case "com.amazonaws.entityresolution#ThrottlingException":
1059
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1060
+ case "ValidationException":
1061
+ case "com.amazonaws.entityresolution#ValidationException":
1062
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1063
+ default:
1064
+ const parsedBody = parsedOutput.body;
1065
+ return throwDefaultError({
1066
+ output,
1067
+ parsedBody,
1068
+ errorCode
1069
+ });
1070
+ }
1071
+ }, "de_GetIdMappingJobCommandError");
1072
+ var de_GetIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1073
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1074
+ return de_GetIdMappingWorkflowCommandError(output, context);
1075
+ }
1076
+ const contents = (0, import_smithy_client.map)({
1077
+ $metadata: deserializeMetadata(output)
1078
+ });
1079
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1080
+ const doc = (0, import_smithy_client.take)(data, {
1081
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1082
+ description: import_smithy_client.expectString,
1083
+ idMappingTechniques: (_) => de_IdMappingTechniques(_, context),
1084
+ inputSourceConfig: import_smithy_client._json,
1085
+ outputSourceConfig: import_smithy_client._json,
1086
+ roleArn: import_smithy_client.expectString,
1087
+ tags: import_smithy_client._json,
1088
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1089
+ workflowArn: import_smithy_client.expectString,
1090
+ workflowName: import_smithy_client.expectString
1091
+ });
1092
+ Object.assign(contents, doc);
1093
+ return contents;
1094
+ }, "de_GetIdMappingWorkflowCommand");
1095
+ var de_GetIdMappingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
1096
+ const parsedOutput = {
1097
+ ...output,
1098
+ body: await parseErrorBody(output.body, context)
1099
+ };
1100
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1101
+ switch (errorCode) {
1102
+ case "AccessDeniedException":
1103
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1104
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1105
+ case "InternalServerException":
1106
+ case "com.amazonaws.entityresolution#InternalServerException":
1107
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1108
+ case "ResourceNotFoundException":
1109
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1110
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1111
+ case "ThrottlingException":
1112
+ case "com.amazonaws.entityresolution#ThrottlingException":
1113
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1114
+ case "ValidationException":
1115
+ case "com.amazonaws.entityresolution#ValidationException":
1116
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1117
+ default:
1118
+ const parsedBody = parsedOutput.body;
1119
+ return throwDefaultError({
1120
+ output,
1121
+ parsedBody,
1122
+ errorCode
1123
+ });
1124
+ }
1125
+ }, "de_GetIdMappingWorkflowCommandError");
1126
+ var de_GetMatchIdCommand = /* @__PURE__ */ __name(async (output, context) => {
1127
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1128
+ return de_GetMatchIdCommandError(output, context);
1129
+ }
1130
+ const contents = (0, import_smithy_client.map)({
1131
+ $metadata: deserializeMetadata(output)
1132
+ });
1133
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1134
+ const doc = (0, import_smithy_client.take)(data, {
1135
+ matchId: import_smithy_client.expectString
1136
+ });
1137
+ Object.assign(contents, doc);
1138
+ return contents;
1139
+ }, "de_GetMatchIdCommand");
1140
+ var de_GetMatchIdCommandError = /* @__PURE__ */ __name(async (output, context) => {
1141
+ const parsedOutput = {
1142
+ ...output,
1143
+ body: await parseErrorBody(output.body, context)
1144
+ };
1145
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1146
+ switch (errorCode) {
1147
+ case "AccessDeniedException":
1148
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1149
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1150
+ case "InternalServerException":
1151
+ case "com.amazonaws.entityresolution#InternalServerException":
1152
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1153
+ case "ResourceNotFoundException":
1154
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1155
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1156
+ case "ThrottlingException":
1157
+ case "com.amazonaws.entityresolution#ThrottlingException":
1158
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1159
+ case "ValidationException":
1160
+ case "com.amazonaws.entityresolution#ValidationException":
1161
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1162
+ default:
1163
+ const parsedBody = parsedOutput.body;
1164
+ return throwDefaultError({
1165
+ output,
1166
+ parsedBody,
1167
+ errorCode
1168
+ });
1169
+ }
1170
+ }, "de_GetMatchIdCommandError");
1171
+ var de_GetMatchingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1172
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1173
+ return de_GetMatchingJobCommandError(output, context);
1174
+ }
1175
+ const contents = (0, import_smithy_client.map)({
1176
+ $metadata: deserializeMetadata(output)
1177
+ });
1178
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1179
+ const doc = (0, import_smithy_client.take)(data, {
1180
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1181
+ errorDetails: import_smithy_client._json,
1182
+ jobId: import_smithy_client.expectString,
1183
+ metrics: import_smithy_client._json,
1184
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1185
+ status: import_smithy_client.expectString
1186
+ });
1187
+ Object.assign(contents, doc);
1188
+ return contents;
1189
+ }, "de_GetMatchingJobCommand");
1190
+ var de_GetMatchingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1191
+ const parsedOutput = {
1192
+ ...output,
1193
+ body: await parseErrorBody(output.body, context)
1194
+ };
1195
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1196
+ switch (errorCode) {
1197
+ case "AccessDeniedException":
1198
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1199
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1200
+ case "InternalServerException":
1201
+ case "com.amazonaws.entityresolution#InternalServerException":
1202
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1203
+ case "ResourceNotFoundException":
1204
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1205
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1206
+ case "ThrottlingException":
1207
+ case "com.amazonaws.entityresolution#ThrottlingException":
1208
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1209
+ case "ValidationException":
1210
+ case "com.amazonaws.entityresolution#ValidationException":
1211
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1212
+ default:
1213
+ const parsedBody = parsedOutput.body;
1214
+ return throwDefaultError({
1215
+ output,
1216
+ parsedBody,
1217
+ errorCode
1218
+ });
1219
+ }
1220
+ }, "de_GetMatchingJobCommandError");
1221
+ var de_GetMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1222
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1223
+ return de_GetMatchingWorkflowCommandError(output, context);
1224
+ }
1225
+ const contents = (0, import_smithy_client.map)({
1226
+ $metadata: deserializeMetadata(output)
1227
+ });
1228
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1229
+ const doc = (0, import_smithy_client.take)(data, {
1230
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1231
+ description: import_smithy_client.expectString,
1232
+ incrementalRunConfig: import_smithy_client._json,
1233
+ inputSourceConfig: import_smithy_client._json,
1234
+ outputSourceConfig: import_smithy_client._json,
1235
+ resolutionTechniques: (_) => de_ResolutionTechniques(_, context),
1236
+ roleArn: import_smithy_client.expectString,
1237
+ tags: import_smithy_client._json,
1238
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1239
+ workflowArn: import_smithy_client.expectString,
1240
+ workflowName: import_smithy_client.expectString
1241
+ });
1242
+ Object.assign(contents, doc);
1243
+ return contents;
1244
+ }, "de_GetMatchingWorkflowCommand");
1245
+ var de_GetMatchingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
1246
+ const parsedOutput = {
1247
+ ...output,
1248
+ body: await parseErrorBody(output.body, context)
1249
+ };
1250
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1251
+ switch (errorCode) {
1252
+ case "AccessDeniedException":
1253
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1254
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1255
+ case "InternalServerException":
1256
+ case "com.amazonaws.entityresolution#InternalServerException":
1257
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1258
+ case "ResourceNotFoundException":
1259
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1260
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1261
+ case "ThrottlingException":
1262
+ case "com.amazonaws.entityresolution#ThrottlingException":
1263
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1264
+ case "ValidationException":
1265
+ case "com.amazonaws.entityresolution#ValidationException":
1266
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1267
+ default:
1268
+ const parsedBody = parsedOutput.body;
1269
+ return throwDefaultError({
1270
+ output,
1271
+ parsedBody,
1272
+ errorCode
1273
+ });
1274
+ }
1275
+ }, "de_GetMatchingWorkflowCommandError");
1276
+ var de_GetProviderServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
1277
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1278
+ return de_GetProviderServiceCommandError(output, context);
1279
+ }
1280
+ const contents = (0, import_smithy_client.map)({
1281
+ $metadata: deserializeMetadata(output)
1282
+ });
1283
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1284
+ const doc = (0, import_smithy_client.take)(data, {
1285
+ anonymizedOutput: import_smithy_client.expectBoolean,
1286
+ providerConfigurationDefinition: (_) => de_Document(_, context),
1287
+ providerEndpointConfiguration: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1288
+ providerEntityOutputDefinition: (_) => de_Document(_, context),
1289
+ providerIntermediateDataAccessConfiguration: import_smithy_client._json,
1290
+ providerName: import_smithy_client.expectString,
1291
+ providerServiceArn: import_smithy_client.expectString,
1292
+ providerServiceDisplayName: import_smithy_client.expectString,
1293
+ providerServiceName: import_smithy_client.expectString,
1294
+ providerServiceType: import_smithy_client.expectString
1295
+ });
1296
+ Object.assign(contents, doc);
1297
+ return contents;
1298
+ }, "de_GetProviderServiceCommand");
1299
+ var de_GetProviderServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1300
+ const parsedOutput = {
1301
+ ...output,
1302
+ body: await parseErrorBody(output.body, context)
1303
+ };
1304
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1305
+ switch (errorCode) {
1306
+ case "AccessDeniedException":
1307
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1308
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1309
+ case "InternalServerException":
1310
+ case "com.amazonaws.entityresolution#InternalServerException":
1311
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1312
+ case "ResourceNotFoundException":
1313
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1314
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1315
+ case "ThrottlingException":
1316
+ case "com.amazonaws.entityresolution#ThrottlingException":
1317
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1318
+ case "ValidationException":
1319
+ case "com.amazonaws.entityresolution#ValidationException":
1320
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1321
+ default:
1322
+ const parsedBody = parsedOutput.body;
1323
+ return throwDefaultError({
1324
+ output,
1325
+ parsedBody,
1326
+ errorCode
1327
+ });
1328
+ }
1329
+ }, "de_GetProviderServiceCommandError");
1330
+ var de_GetSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
1331
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1332
+ return de_GetSchemaMappingCommandError(output, context);
1333
+ }
1334
+ const contents = (0, import_smithy_client.map)({
1335
+ $metadata: deserializeMetadata(output)
1336
+ });
1337
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1338
+ const doc = (0, import_smithy_client.take)(data, {
1339
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1340
+ description: import_smithy_client.expectString,
1341
+ hasWorkflows: import_smithy_client.expectBoolean,
1342
+ mappedInputFields: import_smithy_client._json,
1343
+ schemaArn: import_smithy_client.expectString,
1344
+ schemaName: import_smithy_client.expectString,
1345
+ tags: import_smithy_client._json,
1346
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1347
+ });
1348
+ Object.assign(contents, doc);
1349
+ return contents;
1350
+ }, "de_GetSchemaMappingCommand");
1351
+ var de_GetSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, context) => {
1352
+ const parsedOutput = {
1353
+ ...output,
1354
+ body: await parseErrorBody(output.body, context)
1355
+ };
1356
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1357
+ switch (errorCode) {
1358
+ case "AccessDeniedException":
1359
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1360
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1361
+ case "InternalServerException":
1362
+ case "com.amazonaws.entityresolution#InternalServerException":
1363
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1364
+ case "ResourceNotFoundException":
1365
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1366
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1367
+ case "ThrottlingException":
1368
+ case "com.amazonaws.entityresolution#ThrottlingException":
1369
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1370
+ case "ValidationException":
1371
+ case "com.amazonaws.entityresolution#ValidationException":
1372
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1373
+ default:
1374
+ const parsedBody = parsedOutput.body;
1375
+ return throwDefaultError({
1376
+ output,
1377
+ parsedBody,
1378
+ errorCode
1379
+ });
1380
+ }
1381
+ }, "de_GetSchemaMappingCommandError");
1382
+ var de_ListIdMappingJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1383
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1384
+ return de_ListIdMappingJobsCommandError(output, context);
1385
+ }
1386
+ const contents = (0, import_smithy_client.map)({
1387
+ $metadata: deserializeMetadata(output)
1388
+ });
1389
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1390
+ const doc = (0, import_smithy_client.take)(data, {
1391
+ jobs: (_) => de_JobList(_, context),
1392
+ nextToken: import_smithy_client.expectString
1393
+ });
1394
+ Object.assign(contents, doc);
1395
+ return contents;
1396
+ }, "de_ListIdMappingJobsCommand");
1397
+ var de_ListIdMappingJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1398
+ const parsedOutput = {
1399
+ ...output,
1400
+ body: await parseErrorBody(output.body, context)
1401
+ };
1402
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1403
+ switch (errorCode) {
1404
+ case "AccessDeniedException":
1405
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1406
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1407
+ case "InternalServerException":
1408
+ case "com.amazonaws.entityresolution#InternalServerException":
1409
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1410
+ case "ResourceNotFoundException":
1411
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1412
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1413
+ case "ThrottlingException":
1414
+ case "com.amazonaws.entityresolution#ThrottlingException":
1415
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1416
+ case "ValidationException":
1417
+ case "com.amazonaws.entityresolution#ValidationException":
1418
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1419
+ default:
1420
+ const parsedBody = parsedOutput.body;
1421
+ return throwDefaultError({
1422
+ output,
1423
+ parsedBody,
1424
+ errorCode
1425
+ });
1426
+ }
1427
+ }, "de_ListIdMappingJobsCommandError");
1428
+ var de_ListIdMappingWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {
1429
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1430
+ return de_ListIdMappingWorkflowsCommandError(output, context);
1431
+ }
1432
+ const contents = (0, import_smithy_client.map)({
1433
+ $metadata: deserializeMetadata(output)
1434
+ });
1435
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1436
+ const doc = (0, import_smithy_client.take)(data, {
1437
+ nextToken: import_smithy_client.expectString,
1438
+ workflowSummaries: (_) => de_IdMappingWorkflowList(_, context)
1439
+ });
1440
+ Object.assign(contents, doc);
1441
+ return contents;
1442
+ }, "de_ListIdMappingWorkflowsCommand");
1443
+ var de_ListIdMappingWorkflowsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1444
+ const parsedOutput = {
1445
+ ...output,
1446
+ body: await parseErrorBody(output.body, context)
1447
+ };
1448
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1449
+ switch (errorCode) {
1450
+ case "AccessDeniedException":
1451
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1452
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1453
+ case "InternalServerException":
1454
+ case "com.amazonaws.entityresolution#InternalServerException":
1455
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1456
+ case "ThrottlingException":
1457
+ case "com.amazonaws.entityresolution#ThrottlingException":
1458
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1459
+ case "ValidationException":
1460
+ case "com.amazonaws.entityresolution#ValidationException":
1461
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1462
+ default:
1463
+ const parsedBody = parsedOutput.body;
1464
+ return throwDefaultError({
1465
+ output,
1466
+ parsedBody,
1467
+ errorCode
1468
+ });
1469
+ }
1470
+ }, "de_ListIdMappingWorkflowsCommandError");
1471
+ var de_ListMatchingJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1472
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1473
+ return de_ListMatchingJobsCommandError(output, context);
1474
+ }
1475
+ const contents = (0, import_smithy_client.map)({
1476
+ $metadata: deserializeMetadata(output)
1477
+ });
1478
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1479
+ const doc = (0, import_smithy_client.take)(data, {
1480
+ jobs: (_) => de_JobList(_, context),
1481
+ nextToken: import_smithy_client.expectString
1482
+ });
1483
+ Object.assign(contents, doc);
1484
+ return contents;
1485
+ }, "de_ListMatchingJobsCommand");
1486
+ var de_ListMatchingJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1487
+ const parsedOutput = {
1488
+ ...output,
1489
+ body: await parseErrorBody(output.body, context)
1490
+ };
1491
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1492
+ switch (errorCode) {
1493
+ case "AccessDeniedException":
1494
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1495
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1496
+ case "InternalServerException":
1497
+ case "com.amazonaws.entityresolution#InternalServerException":
1498
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1499
+ case "ResourceNotFoundException":
1500
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1501
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1502
+ case "ThrottlingException":
1503
+ case "com.amazonaws.entityresolution#ThrottlingException":
1504
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1505
+ case "ValidationException":
1506
+ case "com.amazonaws.entityresolution#ValidationException":
1507
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1508
+ default:
1509
+ const parsedBody = parsedOutput.body;
1510
+ return throwDefaultError({
1511
+ output,
1512
+ parsedBody,
1513
+ errorCode
1514
+ });
1515
+ }
1516
+ }, "de_ListMatchingJobsCommandError");
1517
+ var de_ListMatchingWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {
1518
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1519
+ return de_ListMatchingWorkflowsCommandError(output, context);
1520
+ }
1521
+ const contents = (0, import_smithy_client.map)({
1522
+ $metadata: deserializeMetadata(output)
1523
+ });
1524
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1525
+ const doc = (0, import_smithy_client.take)(data, {
1526
+ nextToken: import_smithy_client.expectString,
1527
+ workflowSummaries: (_) => de_MatchingWorkflowList(_, context)
1528
+ });
1529
+ Object.assign(contents, doc);
1530
+ return contents;
1531
+ }, "de_ListMatchingWorkflowsCommand");
1532
+ var de_ListMatchingWorkflowsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1533
+ const parsedOutput = {
1534
+ ...output,
1535
+ body: await parseErrorBody(output.body, context)
1536
+ };
1537
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1538
+ switch (errorCode) {
1539
+ case "AccessDeniedException":
1540
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1541
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1542
+ case "InternalServerException":
1543
+ case "com.amazonaws.entityresolution#InternalServerException":
1544
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1545
+ case "ThrottlingException":
1546
+ case "com.amazonaws.entityresolution#ThrottlingException":
1547
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1548
+ case "ValidationException":
1549
+ case "com.amazonaws.entityresolution#ValidationException":
1550
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1551
+ default:
1552
+ const parsedBody = parsedOutput.body;
1553
+ return throwDefaultError({
1554
+ output,
1555
+ parsedBody,
1556
+ errorCode
1557
+ });
1558
+ }
1559
+ }, "de_ListMatchingWorkflowsCommandError");
1560
+ var de_ListProviderServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
1561
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1562
+ return de_ListProviderServicesCommandError(output, context);
1563
+ }
1564
+ const contents = (0, import_smithy_client.map)({
1565
+ $metadata: deserializeMetadata(output)
1566
+ });
1567
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1568
+ const doc = (0, import_smithy_client.take)(data, {
1569
+ nextToken: import_smithy_client.expectString,
1570
+ providerServiceSummaries: import_smithy_client._json
1571
+ });
1572
+ Object.assign(contents, doc);
1573
+ return contents;
1574
+ }, "de_ListProviderServicesCommand");
1575
+ var de_ListProviderServicesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1576
+ const parsedOutput = {
1577
+ ...output,
1578
+ body: await parseErrorBody(output.body, context)
1579
+ };
1580
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1581
+ switch (errorCode) {
1582
+ case "AccessDeniedException":
1583
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1584
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1585
+ case "InternalServerException":
1586
+ case "com.amazonaws.entityresolution#InternalServerException":
1587
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1588
+ case "ThrottlingException":
1589
+ case "com.amazonaws.entityresolution#ThrottlingException":
1590
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1591
+ case "ValidationException":
1592
+ case "com.amazonaws.entityresolution#ValidationException":
1593
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1594
+ default:
1595
+ const parsedBody = parsedOutput.body;
1596
+ return throwDefaultError({
1597
+ output,
1598
+ parsedBody,
1599
+ errorCode
1600
+ });
1601
+ }
1602
+ }, "de_ListProviderServicesCommandError");
1603
+ var de_ListSchemaMappingsCommand = /* @__PURE__ */ __name(async (output, context) => {
1604
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1605
+ return de_ListSchemaMappingsCommandError(output, context);
1606
+ }
1607
+ const contents = (0, import_smithy_client.map)({
1608
+ $metadata: deserializeMetadata(output)
1609
+ });
1610
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1611
+ const doc = (0, import_smithy_client.take)(data, {
1612
+ nextToken: import_smithy_client.expectString,
1613
+ schemaList: (_) => de_SchemaMappingList(_, context)
1614
+ });
1615
+ Object.assign(contents, doc);
1616
+ return contents;
1617
+ }, "de_ListSchemaMappingsCommand");
1618
+ var de_ListSchemaMappingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1619
+ const parsedOutput = {
1620
+ ...output,
1621
+ body: await parseErrorBody(output.body, context)
1622
+ };
1623
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1624
+ switch (errorCode) {
1625
+ case "AccessDeniedException":
1626
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1627
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1628
+ case "InternalServerException":
1629
+ case "com.amazonaws.entityresolution#InternalServerException":
1630
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1631
+ case "ThrottlingException":
1632
+ case "com.amazonaws.entityresolution#ThrottlingException":
1633
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1634
+ case "ValidationException":
1635
+ case "com.amazonaws.entityresolution#ValidationException":
1636
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1637
+ default:
1638
+ const parsedBody = parsedOutput.body;
1639
+ return throwDefaultError({
1640
+ output,
1641
+ parsedBody,
1642
+ errorCode
1643
+ });
1644
+ }
1645
+ }, "de_ListSchemaMappingsCommandError");
1646
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1647
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1648
+ return de_ListTagsForResourceCommandError(output, context);
1649
+ }
1650
+ const contents = (0, import_smithy_client.map)({
1651
+ $metadata: deserializeMetadata(output)
1652
+ });
1653
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1654
+ const doc = (0, import_smithy_client.take)(data, {
1655
+ tags: import_smithy_client._json
1656
+ });
1657
+ Object.assign(contents, doc);
1658
+ return contents;
1659
+ }, "de_ListTagsForResourceCommand");
1660
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1661
+ const parsedOutput = {
1662
+ ...output,
1663
+ body: await parseErrorBody(output.body, context)
1664
+ };
1665
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1666
+ switch (errorCode) {
1667
+ case "InternalServerException":
1668
+ case "com.amazonaws.entityresolution#InternalServerException":
1669
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1670
+ case "ResourceNotFoundException":
1671
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1672
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1673
+ case "ValidationException":
1674
+ case "com.amazonaws.entityresolution#ValidationException":
1675
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1676
+ default:
1677
+ const parsedBody = parsedOutput.body;
1678
+ return throwDefaultError({
1679
+ output,
1680
+ parsedBody,
1681
+ errorCode
1682
+ });
1683
+ }
1684
+ }, "de_ListTagsForResourceCommandError");
1685
+ var de_StartIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1686
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1687
+ return de_StartIdMappingJobCommandError(output, context);
1688
+ }
1689
+ const contents = (0, import_smithy_client.map)({
1690
+ $metadata: deserializeMetadata(output)
1691
+ });
1692
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1693
+ const doc = (0, import_smithy_client.take)(data, {
1694
+ jobId: import_smithy_client.expectString
1695
+ });
1696
+ Object.assign(contents, doc);
1697
+ return contents;
1698
+ }, "de_StartIdMappingJobCommand");
1699
+ var de_StartIdMappingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1700
+ const parsedOutput = {
1701
+ ...output,
1702
+ body: await parseErrorBody(output.body, context)
1703
+ };
1704
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1705
+ switch (errorCode) {
1706
+ case "AccessDeniedException":
1707
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1708
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1709
+ case "ConflictException":
1710
+ case "com.amazonaws.entityresolution#ConflictException":
1711
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1712
+ case "ExceedsLimitException":
1713
+ case "com.amazonaws.entityresolution#ExceedsLimitException":
1714
+ throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
1715
+ case "InternalServerException":
1716
+ case "com.amazonaws.entityresolution#InternalServerException":
1717
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1718
+ case "ResourceNotFoundException":
1719
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1720
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1721
+ case "ThrottlingException":
1722
+ case "com.amazonaws.entityresolution#ThrottlingException":
1723
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1724
+ case "ValidationException":
1725
+ case "com.amazonaws.entityresolution#ValidationException":
1726
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1727
+ default:
1728
+ const parsedBody = parsedOutput.body;
1729
+ return throwDefaultError({
1730
+ output,
1731
+ parsedBody,
1732
+ errorCode
1733
+ });
1734
+ }
1735
+ }, "de_StartIdMappingJobCommandError");
1736
+ var de_StartMatchingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1737
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1738
+ return de_StartMatchingJobCommandError(output, context);
1739
+ }
1740
+ const contents = (0, import_smithy_client.map)({
1741
+ $metadata: deserializeMetadata(output)
1742
+ });
1743
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1744
+ const doc = (0, import_smithy_client.take)(data, {
1745
+ jobId: import_smithy_client.expectString
1746
+ });
1747
+ Object.assign(contents, doc);
1748
+ return contents;
1749
+ }, "de_StartMatchingJobCommand");
1750
+ var de_StartMatchingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1751
+ const parsedOutput = {
1752
+ ...output,
1753
+ body: await parseErrorBody(output.body, context)
1754
+ };
1755
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1756
+ switch (errorCode) {
1757
+ case "AccessDeniedException":
1758
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1759
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1760
+ case "ConflictException":
1761
+ case "com.amazonaws.entityresolution#ConflictException":
1762
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1763
+ case "ExceedsLimitException":
1764
+ case "com.amazonaws.entityresolution#ExceedsLimitException":
1765
+ throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
1766
+ case "InternalServerException":
1767
+ case "com.amazonaws.entityresolution#InternalServerException":
1768
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1769
+ case "ResourceNotFoundException":
1770
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1771
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1772
+ case "ThrottlingException":
1773
+ case "com.amazonaws.entityresolution#ThrottlingException":
1774
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1775
+ case "ValidationException":
1776
+ case "com.amazonaws.entityresolution#ValidationException":
1777
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1778
+ default:
1779
+ const parsedBody = parsedOutput.body;
1780
+ return throwDefaultError({
1781
+ output,
1782
+ parsedBody,
1783
+ errorCode
1784
+ });
1785
+ }
1786
+ }, "de_StartMatchingJobCommandError");
1787
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1788
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1789
+ return de_TagResourceCommandError(output, context);
1790
+ }
1791
+ const contents = (0, import_smithy_client.map)({
1792
+ $metadata: deserializeMetadata(output)
1793
+ });
1794
+ await (0, import_smithy_client.collectBody)(output.body, context);
1795
+ return contents;
1796
+ }, "de_TagResourceCommand");
1797
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1798
+ const parsedOutput = {
1799
+ ...output,
1800
+ body: await parseErrorBody(output.body, context)
1801
+ };
1802
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1803
+ switch (errorCode) {
1804
+ case "InternalServerException":
1805
+ case "com.amazonaws.entityresolution#InternalServerException":
1806
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1807
+ case "ResourceNotFoundException":
1808
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1809
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1810
+ case "ValidationException":
1811
+ case "com.amazonaws.entityresolution#ValidationException":
1812
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1813
+ default:
1814
+ const parsedBody = parsedOutput.body;
1815
+ return throwDefaultError({
1816
+ output,
1817
+ parsedBody,
1818
+ errorCode
1819
+ });
1820
+ }
1821
+ }, "de_TagResourceCommandError");
1822
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1823
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1824
+ return de_UntagResourceCommandError(output, context);
1825
+ }
1826
+ const contents = (0, import_smithy_client.map)({
1827
+ $metadata: deserializeMetadata(output)
1828
+ });
1829
+ await (0, import_smithy_client.collectBody)(output.body, context);
1830
+ return contents;
1831
+ }, "de_UntagResourceCommand");
1832
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1833
+ const parsedOutput = {
1834
+ ...output,
1835
+ body: await parseErrorBody(output.body, context)
1836
+ };
1837
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1838
+ switch (errorCode) {
1839
+ case "InternalServerException":
1840
+ case "com.amazonaws.entityresolution#InternalServerException":
1841
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1842
+ case "ResourceNotFoundException":
1843
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1844
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1845
+ default:
1846
+ const parsedBody = parsedOutput.body;
1847
+ return throwDefaultError({
1848
+ output,
1849
+ parsedBody,
1850
+ errorCode
1851
+ });
1852
+ }
1853
+ }, "de_UntagResourceCommandError");
1854
+ var de_UpdateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1855
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1856
+ return de_UpdateIdMappingWorkflowCommandError(output, context);
1857
+ }
1858
+ const contents = (0, import_smithy_client.map)({
1859
+ $metadata: deserializeMetadata(output)
1860
+ });
1861
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1862
+ const doc = (0, import_smithy_client.take)(data, {
1863
+ description: import_smithy_client.expectString,
1864
+ idMappingTechniques: (_) => de_IdMappingTechniques(_, context),
1865
+ inputSourceConfig: import_smithy_client._json,
1866
+ outputSourceConfig: import_smithy_client._json,
1867
+ roleArn: import_smithy_client.expectString,
1868
+ workflowArn: import_smithy_client.expectString,
1869
+ workflowName: import_smithy_client.expectString
1870
+ });
1871
+ Object.assign(contents, doc);
1872
+ return contents;
1873
+ }, "de_UpdateIdMappingWorkflowCommand");
1874
+ var de_UpdateIdMappingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
1875
+ const parsedOutput = {
1876
+ ...output,
1877
+ body: await parseErrorBody(output.body, context)
1878
+ };
1879
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1880
+ switch (errorCode) {
1881
+ case "AccessDeniedException":
1882
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1883
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1884
+ case "InternalServerException":
1885
+ case "com.amazonaws.entityresolution#InternalServerException":
1886
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1887
+ case "ResourceNotFoundException":
1888
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1889
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1890
+ case "ThrottlingException":
1891
+ case "com.amazonaws.entityresolution#ThrottlingException":
1892
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1893
+ case "ValidationException":
1894
+ case "com.amazonaws.entityresolution#ValidationException":
1895
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1896
+ default:
1897
+ const parsedBody = parsedOutput.body;
1898
+ return throwDefaultError({
1899
+ output,
1900
+ parsedBody,
1901
+ errorCode
1902
+ });
1903
+ }
1904
+ }, "de_UpdateIdMappingWorkflowCommandError");
1905
+ var de_UpdateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1906
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1907
+ return de_UpdateMatchingWorkflowCommandError(output, context);
1908
+ }
1909
+ const contents = (0, import_smithy_client.map)({
1910
+ $metadata: deserializeMetadata(output)
1911
+ });
1912
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1913
+ const doc = (0, import_smithy_client.take)(data, {
1914
+ description: import_smithy_client.expectString,
1915
+ incrementalRunConfig: import_smithy_client._json,
1916
+ inputSourceConfig: import_smithy_client._json,
1917
+ outputSourceConfig: import_smithy_client._json,
1918
+ resolutionTechniques: (_) => de_ResolutionTechniques(_, context),
1919
+ roleArn: import_smithy_client.expectString,
1920
+ workflowName: import_smithy_client.expectString
1921
+ });
1922
+ Object.assign(contents, doc);
1923
+ return contents;
1924
+ }, "de_UpdateMatchingWorkflowCommand");
1925
+ var de_UpdateMatchingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
1926
+ const parsedOutput = {
1927
+ ...output,
1928
+ body: await parseErrorBody(output.body, context)
1929
+ };
1930
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1931
+ switch (errorCode) {
1932
+ case "AccessDeniedException":
1933
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1934
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1935
+ case "InternalServerException":
1936
+ case "com.amazonaws.entityresolution#InternalServerException":
1937
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1938
+ case "ResourceNotFoundException":
1939
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1940
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1941
+ case "ThrottlingException":
1942
+ case "com.amazonaws.entityresolution#ThrottlingException":
1943
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1944
+ case "ValidationException":
1945
+ case "com.amazonaws.entityresolution#ValidationException":
1946
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1947
+ default:
1948
+ const parsedBody = parsedOutput.body;
1949
+ return throwDefaultError({
1950
+ output,
1951
+ parsedBody,
1952
+ errorCode
1953
+ });
1954
+ }
1955
+ }, "de_UpdateMatchingWorkflowCommandError");
1956
+ var de_UpdateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
1957
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1958
+ return de_UpdateSchemaMappingCommandError(output, context);
1959
+ }
1960
+ const contents = (0, import_smithy_client.map)({
1961
+ $metadata: deserializeMetadata(output)
1962
+ });
1963
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1964
+ const doc = (0, import_smithy_client.take)(data, {
1965
+ description: import_smithy_client.expectString,
1966
+ mappedInputFields: import_smithy_client._json,
1967
+ schemaArn: import_smithy_client.expectString,
1968
+ schemaName: import_smithy_client.expectString
1969
+ });
1970
+ Object.assign(contents, doc);
1971
+ return contents;
1972
+ }, "de_UpdateSchemaMappingCommand");
1973
+ var de_UpdateSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, context) => {
1974
+ const parsedOutput = {
1975
+ ...output,
1976
+ body: await parseErrorBody(output.body, context)
1977
+ };
1978
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1979
+ switch (errorCode) {
1980
+ case "AccessDeniedException":
1981
+ case "com.amazonaws.entityresolution#AccessDeniedException":
1982
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1983
+ case "ConflictException":
1984
+ case "com.amazonaws.entityresolution#ConflictException":
1985
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1986
+ case "InternalServerException":
1987
+ case "com.amazonaws.entityresolution#InternalServerException":
1988
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1989
+ case "ResourceNotFoundException":
1990
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1991
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1992
+ case "ThrottlingException":
1993
+ case "com.amazonaws.entityresolution#ThrottlingException":
1994
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1995
+ case "ValidationException":
1996
+ case "com.amazonaws.entityresolution#ValidationException":
1997
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1998
+ default:
1999
+ const parsedBody = parsedOutput.body;
2000
+ return throwDefaultError({
2001
+ output,
2002
+ parsedBody,
2003
+ errorCode
2004
+ });
2005
+ }
2006
+ }, "de_UpdateSchemaMappingCommandError");
2007
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(EntityResolutionServiceException);
2008
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2009
+ const contents = (0, import_smithy_client.map)({});
2010
+ const data = parsedOutput.body;
2011
+ const doc = (0, import_smithy_client.take)(data, {
2012
+ message: import_smithy_client.expectString
2013
+ });
2014
+ Object.assign(contents, doc);
2015
+ const exception = new AccessDeniedException({
2016
+ $metadata: deserializeMetadata(parsedOutput),
2017
+ ...contents
2018
+ });
2019
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2020
+ }, "de_AccessDeniedExceptionRes");
2021
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2022
+ const contents = (0, import_smithy_client.map)({});
2023
+ const data = parsedOutput.body;
2024
+ const doc = (0, import_smithy_client.take)(data, {
2025
+ message: import_smithy_client.expectString
2026
+ });
2027
+ Object.assign(contents, doc);
2028
+ const exception = new ConflictException({
2029
+ $metadata: deserializeMetadata(parsedOutput),
2030
+ ...contents
2031
+ });
2032
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2033
+ }, "de_ConflictExceptionRes");
2034
+ var de_ExceedsLimitExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2035
+ const contents = (0, import_smithy_client.map)({});
2036
+ const data = parsedOutput.body;
2037
+ const doc = (0, import_smithy_client.take)(data, {
2038
+ message: import_smithy_client.expectString,
2039
+ quotaName: import_smithy_client.expectString,
2040
+ quotaValue: import_smithy_client.expectInt32
2041
+ });
2042
+ Object.assign(contents, doc);
2043
+ const exception = new ExceedsLimitException({
2044
+ $metadata: deserializeMetadata(parsedOutput),
2045
+ ...contents
2046
+ });
2047
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2048
+ }, "de_ExceedsLimitExceptionRes");
2049
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2050
+ const contents = (0, import_smithy_client.map)({});
2051
+ const data = parsedOutput.body;
2052
+ const doc = (0, import_smithy_client.take)(data, {
2053
+ message: import_smithy_client.expectString
2054
+ });
2055
+ Object.assign(contents, doc);
2056
+ const exception = new InternalServerException({
2057
+ $metadata: deserializeMetadata(parsedOutput),
2058
+ ...contents
2059
+ });
2060
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2061
+ }, "de_InternalServerExceptionRes");
2062
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2063
+ const contents = (0, import_smithy_client.map)({});
2064
+ const data = parsedOutput.body;
2065
+ const doc = (0, import_smithy_client.take)(data, {
2066
+ message: import_smithy_client.expectString
2067
+ });
2068
+ Object.assign(contents, doc);
2069
+ const exception = new ResourceNotFoundException({
2070
+ $metadata: deserializeMetadata(parsedOutput),
2071
+ ...contents
2072
+ });
2073
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2074
+ }, "de_ResourceNotFoundExceptionRes");
2075
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2076
+ const contents = (0, import_smithy_client.map)({});
2077
+ const data = parsedOutput.body;
2078
+ const doc = (0, import_smithy_client.take)(data, {
2079
+ message: import_smithy_client.expectString
2080
+ });
2081
+ Object.assign(contents, doc);
2082
+ const exception = new ThrottlingException({
2083
+ $metadata: deserializeMetadata(parsedOutput),
2084
+ ...contents
2085
+ });
2086
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2087
+ }, "de_ThrottlingExceptionRes");
2088
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2089
+ const contents = (0, import_smithy_client.map)({});
2090
+ const data = parsedOutput.body;
2091
+ const doc = (0, import_smithy_client.take)(data, {
2092
+ message: import_smithy_client.expectString
2093
+ });
2094
+ Object.assign(contents, doc);
2095
+ const exception = new ValidationException({
2096
+ $metadata: deserializeMetadata(parsedOutput),
2097
+ ...contents
2098
+ });
2099
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2100
+ }, "de_ValidationExceptionRes");
2101
+ var se_IdMappingTechniques = /* @__PURE__ */ __name((input, context) => {
2102
+ return (0, import_smithy_client.take)(input, {
2103
+ idMappingType: [],
2104
+ providerProperties: (_) => se_ProviderProperties(_, context)
2105
+ });
2106
+ }, "se_IdMappingTechniques");
2107
+ var se_ProviderProperties = /* @__PURE__ */ __name((input, context) => {
2108
+ return (0, import_smithy_client.take)(input, {
2109
+ intermediateSourceConfiguration: import_smithy_client._json,
2110
+ providerConfiguration: (_) => se_Document(_, context),
2111
+ providerServiceArn: []
2112
+ });
2113
+ }, "se_ProviderProperties");
2114
+ var se_ResolutionTechniques = /* @__PURE__ */ __name((input, context) => {
2115
+ return (0, import_smithy_client.take)(input, {
2116
+ providerProperties: (_) => se_ProviderProperties(_, context),
2117
+ resolutionType: [],
2118
+ ruleBasedProperties: import_smithy_client._json
2119
+ });
2120
+ }, "se_ResolutionTechniques");
2121
+ var se_Document = /* @__PURE__ */ __name((input, context) => {
2122
+ return input;
2123
+ }, "se_Document");
2124
+ var de_IdMappingTechniques = /* @__PURE__ */ __name((output, context) => {
2125
+ return (0, import_smithy_client.take)(output, {
2126
+ idMappingType: import_smithy_client.expectString,
2127
+ providerProperties: (_) => de_ProviderProperties(_, context)
2128
+ });
2129
+ }, "de_IdMappingTechniques");
2130
+ var de_IdMappingWorkflowList = /* @__PURE__ */ __name((output, context) => {
2131
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2132
+ return de_IdMappingWorkflowSummary(entry, context);
2133
+ });
2134
+ return retVal;
2135
+ }, "de_IdMappingWorkflowList");
2136
+ var de_IdMappingWorkflowSummary = /* @__PURE__ */ __name((output, context) => {
2137
+ return (0, import_smithy_client.take)(output, {
2138
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2139
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2140
+ workflowArn: import_smithy_client.expectString,
2141
+ workflowName: import_smithy_client.expectString
2142
+ });
2143
+ }, "de_IdMappingWorkflowSummary");
2144
+ var de_JobList = /* @__PURE__ */ __name((output, context) => {
2145
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2146
+ return de_JobSummary(entry, context);
2147
+ });
2148
+ return retVal;
2149
+ }, "de_JobList");
2150
+ var de_JobSummary = /* @__PURE__ */ __name((output, context) => {
2151
+ return (0, import_smithy_client.take)(output, {
2152
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2153
+ jobId: import_smithy_client.expectString,
2154
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2155
+ status: import_smithy_client.expectString
2156
+ });
2157
+ }, "de_JobSummary");
2158
+ var de_MatchingWorkflowList = /* @__PURE__ */ __name((output, context) => {
2159
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2160
+ return de_MatchingWorkflowSummary(entry, context);
2161
+ });
2162
+ return retVal;
2163
+ }, "de_MatchingWorkflowList");
2164
+ var de_MatchingWorkflowSummary = /* @__PURE__ */ __name((output, context) => {
2165
+ return (0, import_smithy_client.take)(output, {
2166
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2167
+ resolutionType: import_smithy_client.expectString,
2168
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2169
+ workflowArn: import_smithy_client.expectString,
2170
+ workflowName: import_smithy_client.expectString
2171
+ });
2172
+ }, "de_MatchingWorkflowSummary");
2173
+ var de_ProviderProperties = /* @__PURE__ */ __name((output, context) => {
2174
+ return (0, import_smithy_client.take)(output, {
2175
+ intermediateSourceConfiguration: import_smithy_client._json,
2176
+ providerConfiguration: (_) => de_Document(_, context),
2177
+ providerServiceArn: import_smithy_client.expectString
2178
+ });
2179
+ }, "de_ProviderProperties");
2180
+ var de_ResolutionTechniques = /* @__PURE__ */ __name((output, context) => {
2181
+ return (0, import_smithy_client.take)(output, {
2182
+ providerProperties: (_) => de_ProviderProperties(_, context),
2183
+ resolutionType: import_smithy_client.expectString,
2184
+ ruleBasedProperties: import_smithy_client._json
2185
+ });
2186
+ }, "de_ResolutionTechniques");
2187
+ var de_SchemaMappingList = /* @__PURE__ */ __name((output, context) => {
2188
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2189
+ return de_SchemaMappingSummary(entry, context);
2190
+ });
2191
+ return retVal;
2192
+ }, "de_SchemaMappingList");
2193
+ var de_SchemaMappingSummary = /* @__PURE__ */ __name((output, context) => {
2194
+ return (0, import_smithy_client.take)(output, {
2195
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2196
+ hasWorkflows: import_smithy_client.expectBoolean,
2197
+ schemaArn: import_smithy_client.expectString,
2198
+ schemaName: import_smithy_client.expectString,
2199
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2200
+ });
2201
+ }, "de_SchemaMappingSummary");
2202
+ var de_Document = /* @__PURE__ */ __name((output, context) => {
2203
+ return output;
2204
+ }, "de_Document");
2205
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2206
+ httpStatusCode: output.statusCode,
2207
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2208
+ extendedRequestId: output.headers["x-amz-id-2"],
2209
+ cfId: output.headers["x-amz-cf-id"]
2210
+ }), "deserializeMetadata");
2211
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2212
+ var _mR = "maxResults";
2213
+ var _nT = "nextToken";
2214
+ var _pN = "providerName";
2215
+ var _tK = "tagKeys";
2216
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2217
+ if (encoded.length) {
2218
+ return JSON.parse(encoded);
2219
+ }
2220
+ return {};
2221
+ }), "parseBody");
2222
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2223
+ const value = await parseBody(errorBody, context);
2224
+ value.message = value.message ?? value.Message;
2225
+ return value;
2226
+ }, "parseErrorBody");
2227
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2228
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2229
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2230
+ let cleanValue = rawValue;
2231
+ if (typeof cleanValue === "number") {
2232
+ cleanValue = cleanValue.toString();
2233
+ }
2234
+ if (cleanValue.indexOf(",") >= 0) {
2235
+ cleanValue = cleanValue.split(",")[0];
2236
+ }
2237
+ if (cleanValue.indexOf(":") >= 0) {
2238
+ cleanValue = cleanValue.split(":")[0];
2239
+ }
2240
+ if (cleanValue.indexOf("#") >= 0) {
2241
+ cleanValue = cleanValue.split("#")[1];
2242
+ }
2243
+ return cleanValue;
2244
+ }, "sanitizeErrorCode");
2245
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2246
+ if (headerKey !== void 0) {
2247
+ return sanitizeErrorCode(output.headers[headerKey]);
2248
+ }
2249
+ if (data.code !== void 0) {
2250
+ return sanitizeErrorCode(data.code);
2251
+ }
2252
+ if (data["__type"] !== void 0) {
2253
+ return sanitizeErrorCode(data["__type"]);
2254
+ }
2255
+ }, "loadRestJsonErrorCode");
2256
+
2257
+ // src/commands/CreateIdMappingWorkflowCommand.ts
2258
+ var _CreateIdMappingWorkflowCommand = class _CreateIdMappingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
2259
+ ...commonParams
2260
+ }).m(function(Command, cs, config, o) {
2261
+ return [
2262
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2263
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2264
+ ];
2265
+ }).s("AWSVeniceService", "CreateIdMappingWorkflow", {}).n("EntityResolutionClient", "CreateIdMappingWorkflowCommand").f(void 0, void 0).ser(se_CreateIdMappingWorkflowCommand).de(de_CreateIdMappingWorkflowCommand).build() {
2266
+ };
2267
+ __name(_CreateIdMappingWorkflowCommand, "CreateIdMappingWorkflowCommand");
2268
+ var CreateIdMappingWorkflowCommand = _CreateIdMappingWorkflowCommand;
2269
+
2270
+ // src/commands/CreateMatchingWorkflowCommand.ts
2271
+
2272
+
2273
+
2274
+
2275
+ var _CreateMatchingWorkflowCommand = class _CreateMatchingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
2276
+ ...commonParams
2277
+ }).m(function(Command, cs, config, o) {
2278
+ return [
2279
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2280
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2281
+ ];
2282
+ }).s("AWSVeniceService", "CreateMatchingWorkflow", {}).n("EntityResolutionClient", "CreateMatchingWorkflowCommand").f(void 0, void 0).ser(se_CreateMatchingWorkflowCommand).de(de_CreateMatchingWorkflowCommand).build() {
2283
+ };
2284
+ __name(_CreateMatchingWorkflowCommand, "CreateMatchingWorkflowCommand");
2285
+ var CreateMatchingWorkflowCommand = _CreateMatchingWorkflowCommand;
2286
+
2287
+ // src/commands/CreateSchemaMappingCommand.ts
2288
+
2289
+
2290
+
2291
+
2292
+ var _CreateSchemaMappingCommand = class _CreateSchemaMappingCommand extends import_smithy_client.Command.classBuilder().ep({
2293
+ ...commonParams
2294
+ }).m(function(Command, cs, config, o) {
2295
+ return [
2296
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2297
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2298
+ ];
2299
+ }).s("AWSVeniceService", "CreateSchemaMapping", {}).n("EntityResolutionClient", "CreateSchemaMappingCommand").f(void 0, void 0).ser(se_CreateSchemaMappingCommand).de(de_CreateSchemaMappingCommand).build() {
2300
+ };
2301
+ __name(_CreateSchemaMappingCommand, "CreateSchemaMappingCommand");
2302
+ var CreateSchemaMappingCommand = _CreateSchemaMappingCommand;
2303
+
2304
+ // src/commands/DeleteIdMappingWorkflowCommand.ts
2305
+
2306
+
2307
+
2308
+
2309
+ var _DeleteIdMappingWorkflowCommand = class _DeleteIdMappingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
2310
+ ...commonParams
2311
+ }).m(function(Command, cs, config, o) {
2312
+ return [
2313
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2314
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2315
+ ];
2316
+ }).s("AWSVeniceService", "DeleteIdMappingWorkflow", {}).n("EntityResolutionClient", "DeleteIdMappingWorkflowCommand").f(void 0, void 0).ser(se_DeleteIdMappingWorkflowCommand).de(de_DeleteIdMappingWorkflowCommand).build() {
2317
+ };
2318
+ __name(_DeleteIdMappingWorkflowCommand, "DeleteIdMappingWorkflowCommand");
2319
+ var DeleteIdMappingWorkflowCommand = _DeleteIdMappingWorkflowCommand;
2320
+
2321
+ // src/commands/DeleteMatchingWorkflowCommand.ts
2322
+
2323
+
2324
+
2325
+
2326
+ var _DeleteMatchingWorkflowCommand = class _DeleteMatchingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
2327
+ ...commonParams
2328
+ }).m(function(Command, cs, config, o) {
2329
+ return [
2330
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2331
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2332
+ ];
2333
+ }).s("AWSVeniceService", "DeleteMatchingWorkflow", {}).n("EntityResolutionClient", "DeleteMatchingWorkflowCommand").f(void 0, void 0).ser(se_DeleteMatchingWorkflowCommand).de(de_DeleteMatchingWorkflowCommand).build() {
2334
+ };
2335
+ __name(_DeleteMatchingWorkflowCommand, "DeleteMatchingWorkflowCommand");
2336
+ var DeleteMatchingWorkflowCommand = _DeleteMatchingWorkflowCommand;
2337
+
2338
+ // src/commands/DeleteSchemaMappingCommand.ts
2339
+
2340
+
2341
+
2342
+
2343
+ var _DeleteSchemaMappingCommand = class _DeleteSchemaMappingCommand extends import_smithy_client.Command.classBuilder().ep({
2344
+ ...commonParams
2345
+ }).m(function(Command, cs, config, o) {
2346
+ return [
2347
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2348
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2349
+ ];
2350
+ }).s("AWSVeniceService", "DeleteSchemaMapping", {}).n("EntityResolutionClient", "DeleteSchemaMappingCommand").f(void 0, void 0).ser(se_DeleteSchemaMappingCommand).de(de_DeleteSchemaMappingCommand).build() {
2351
+ };
2352
+ __name(_DeleteSchemaMappingCommand, "DeleteSchemaMappingCommand");
2353
+ var DeleteSchemaMappingCommand = _DeleteSchemaMappingCommand;
2354
+
2355
+ // src/commands/GetIdMappingJobCommand.ts
2356
+
2357
+
2358
+
2359
+
2360
+ var _GetIdMappingJobCommand = class _GetIdMappingJobCommand extends import_smithy_client.Command.classBuilder().ep({
2361
+ ...commonParams
2362
+ }).m(function(Command, cs, config, o) {
2363
+ return [
2364
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2365
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2366
+ ];
2367
+ }).s("AWSVeniceService", "GetIdMappingJob", {}).n("EntityResolutionClient", "GetIdMappingJobCommand").f(void 0, void 0).ser(se_GetIdMappingJobCommand).de(de_GetIdMappingJobCommand).build() {
2368
+ };
2369
+ __name(_GetIdMappingJobCommand, "GetIdMappingJobCommand");
2370
+ var GetIdMappingJobCommand = _GetIdMappingJobCommand;
2371
+
2372
+ // src/commands/GetIdMappingWorkflowCommand.ts
2373
+
2374
+
2375
+
2376
+
2377
+ var _GetIdMappingWorkflowCommand = class _GetIdMappingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
2378
+ ...commonParams
2379
+ }).m(function(Command, cs, config, o) {
2380
+ return [
2381
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2382
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2383
+ ];
2384
+ }).s("AWSVeniceService", "GetIdMappingWorkflow", {}).n("EntityResolutionClient", "GetIdMappingWorkflowCommand").f(void 0, void 0).ser(se_GetIdMappingWorkflowCommand).de(de_GetIdMappingWorkflowCommand).build() {
2385
+ };
2386
+ __name(_GetIdMappingWorkflowCommand, "GetIdMappingWorkflowCommand");
2387
+ var GetIdMappingWorkflowCommand = _GetIdMappingWorkflowCommand;
2388
+
2389
+ // src/commands/GetMatchIdCommand.ts
2390
+
2391
+
2392
+
2393
+
2394
+ var _GetMatchIdCommand = class _GetMatchIdCommand extends import_smithy_client.Command.classBuilder().ep({
2395
+ ...commonParams
2396
+ }).m(function(Command, cs, config, o) {
2397
+ return [
2398
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2399
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2400
+ ];
2401
+ }).s("AWSVeniceService", "GetMatchId", {}).n("EntityResolutionClient", "GetMatchIdCommand").f(GetMatchIdInputFilterSensitiveLog, void 0).ser(se_GetMatchIdCommand).de(de_GetMatchIdCommand).build() {
2402
+ };
2403
+ __name(_GetMatchIdCommand, "GetMatchIdCommand");
2404
+ var GetMatchIdCommand = _GetMatchIdCommand;
2405
+
2406
+ // src/commands/GetMatchingJobCommand.ts
2407
+
2408
+
2409
+
2410
+
2411
+ var _GetMatchingJobCommand = class _GetMatchingJobCommand extends import_smithy_client.Command.classBuilder().ep({
2412
+ ...commonParams
2413
+ }).m(function(Command, cs, config, o) {
2414
+ return [
2415
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2416
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2417
+ ];
2418
+ }).s("AWSVeniceService", "GetMatchingJob", {}).n("EntityResolutionClient", "GetMatchingJobCommand").f(void 0, void 0).ser(se_GetMatchingJobCommand).de(de_GetMatchingJobCommand).build() {
2419
+ };
2420
+ __name(_GetMatchingJobCommand, "GetMatchingJobCommand");
2421
+ var GetMatchingJobCommand = _GetMatchingJobCommand;
2422
+
2423
+ // src/commands/GetMatchingWorkflowCommand.ts
2424
+
2425
+
2426
+
2427
+
2428
+ var _GetMatchingWorkflowCommand = class _GetMatchingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
2429
+ ...commonParams
2430
+ }).m(function(Command, cs, config, o) {
2431
+ return [
2432
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2433
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2434
+ ];
2435
+ }).s("AWSVeniceService", "GetMatchingWorkflow", {}).n("EntityResolutionClient", "GetMatchingWorkflowCommand").f(void 0, void 0).ser(se_GetMatchingWorkflowCommand).de(de_GetMatchingWorkflowCommand).build() {
2436
+ };
2437
+ __name(_GetMatchingWorkflowCommand, "GetMatchingWorkflowCommand");
2438
+ var GetMatchingWorkflowCommand = _GetMatchingWorkflowCommand;
2439
+
2440
+ // src/commands/GetProviderServiceCommand.ts
2441
+
2442
+
2443
+
2444
+
2445
+ var _GetProviderServiceCommand = class _GetProviderServiceCommand extends import_smithy_client.Command.classBuilder().ep({
2446
+ ...commonParams
2447
+ }).m(function(Command, cs, config, o) {
2448
+ return [
2449
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2450
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2451
+ ];
2452
+ }).s("AWSVeniceService", "GetProviderService", {}).n("EntityResolutionClient", "GetProviderServiceCommand").f(void 0, void 0).ser(se_GetProviderServiceCommand).de(de_GetProviderServiceCommand).build() {
2453
+ };
2454
+ __name(_GetProviderServiceCommand, "GetProviderServiceCommand");
2455
+ var GetProviderServiceCommand = _GetProviderServiceCommand;
2456
+
2457
+ // src/commands/GetSchemaMappingCommand.ts
2458
+
2459
+
2460
+
2461
+
2462
+ var _GetSchemaMappingCommand = class _GetSchemaMappingCommand extends import_smithy_client.Command.classBuilder().ep({
2463
+ ...commonParams
2464
+ }).m(function(Command, cs, config, o) {
2465
+ return [
2466
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2467
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2468
+ ];
2469
+ }).s("AWSVeniceService", "GetSchemaMapping", {}).n("EntityResolutionClient", "GetSchemaMappingCommand").f(void 0, void 0).ser(se_GetSchemaMappingCommand).de(de_GetSchemaMappingCommand).build() {
2470
+ };
2471
+ __name(_GetSchemaMappingCommand, "GetSchemaMappingCommand");
2472
+ var GetSchemaMappingCommand = _GetSchemaMappingCommand;
2473
+
2474
+ // src/commands/ListIdMappingJobsCommand.ts
2475
+
2476
+
2477
+
2478
+
2479
+ var _ListIdMappingJobsCommand = class _ListIdMappingJobsCommand extends import_smithy_client.Command.classBuilder().ep({
2480
+ ...commonParams
2481
+ }).m(function(Command, cs, config, o) {
2482
+ return [
2483
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2484
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2485
+ ];
2486
+ }).s("AWSVeniceService", "ListIdMappingJobs", {}).n("EntityResolutionClient", "ListIdMappingJobsCommand").f(void 0, void 0).ser(se_ListIdMappingJobsCommand).de(de_ListIdMappingJobsCommand).build() {
2487
+ };
2488
+ __name(_ListIdMappingJobsCommand, "ListIdMappingJobsCommand");
2489
+ var ListIdMappingJobsCommand = _ListIdMappingJobsCommand;
2490
+
2491
+ // src/commands/ListIdMappingWorkflowsCommand.ts
2492
+
2493
+
2494
+
2495
+
2496
+ var _ListIdMappingWorkflowsCommand = class _ListIdMappingWorkflowsCommand extends import_smithy_client.Command.classBuilder().ep({
2497
+ ...commonParams
2498
+ }).m(function(Command, cs, config, o) {
2499
+ return [
2500
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2501
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2502
+ ];
2503
+ }).s("AWSVeniceService", "ListIdMappingWorkflows", {}).n("EntityResolutionClient", "ListIdMappingWorkflowsCommand").f(void 0, void 0).ser(se_ListIdMappingWorkflowsCommand).de(de_ListIdMappingWorkflowsCommand).build() {
2504
+ };
2505
+ __name(_ListIdMappingWorkflowsCommand, "ListIdMappingWorkflowsCommand");
2506
+ var ListIdMappingWorkflowsCommand = _ListIdMappingWorkflowsCommand;
2507
+
2508
+ // src/commands/ListMatchingJobsCommand.ts
2509
+
2510
+
2511
+
2512
+
2513
+ var _ListMatchingJobsCommand = class _ListMatchingJobsCommand extends import_smithy_client.Command.classBuilder().ep({
2514
+ ...commonParams
2515
+ }).m(function(Command, cs, config, o) {
2516
+ return [
2517
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2518
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2519
+ ];
2520
+ }).s("AWSVeniceService", "ListMatchingJobs", {}).n("EntityResolutionClient", "ListMatchingJobsCommand").f(void 0, void 0).ser(se_ListMatchingJobsCommand).de(de_ListMatchingJobsCommand).build() {
2521
+ };
2522
+ __name(_ListMatchingJobsCommand, "ListMatchingJobsCommand");
2523
+ var ListMatchingJobsCommand = _ListMatchingJobsCommand;
2524
+
2525
+ // src/commands/ListMatchingWorkflowsCommand.ts
2526
+
2527
+
2528
+
2529
+
2530
+ var _ListMatchingWorkflowsCommand = class _ListMatchingWorkflowsCommand extends import_smithy_client.Command.classBuilder().ep({
2531
+ ...commonParams
2532
+ }).m(function(Command, cs, config, o) {
2533
+ return [
2534
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2535
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2536
+ ];
2537
+ }).s("AWSVeniceService", "ListMatchingWorkflows", {}).n("EntityResolutionClient", "ListMatchingWorkflowsCommand").f(void 0, void 0).ser(se_ListMatchingWorkflowsCommand).de(de_ListMatchingWorkflowsCommand).build() {
2538
+ };
2539
+ __name(_ListMatchingWorkflowsCommand, "ListMatchingWorkflowsCommand");
2540
+ var ListMatchingWorkflowsCommand = _ListMatchingWorkflowsCommand;
2541
+
2542
+ // src/commands/ListProviderServicesCommand.ts
2543
+
2544
+
2545
+
2546
+
2547
+ var _ListProviderServicesCommand = class _ListProviderServicesCommand extends import_smithy_client.Command.classBuilder().ep({
2548
+ ...commonParams
2549
+ }).m(function(Command, cs, config, o) {
2550
+ return [
2551
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2552
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2553
+ ];
2554
+ }).s("AWSVeniceService", "ListProviderServices", {}).n("EntityResolutionClient", "ListProviderServicesCommand").f(void 0, void 0).ser(se_ListProviderServicesCommand).de(de_ListProviderServicesCommand).build() {
2555
+ };
2556
+ __name(_ListProviderServicesCommand, "ListProviderServicesCommand");
2557
+ var ListProviderServicesCommand = _ListProviderServicesCommand;
2558
+
2559
+ // src/commands/ListSchemaMappingsCommand.ts
2560
+
2561
+
2562
+
2563
+
2564
+ var _ListSchemaMappingsCommand = class _ListSchemaMappingsCommand extends import_smithy_client.Command.classBuilder().ep({
2565
+ ...commonParams
2566
+ }).m(function(Command, cs, config, o) {
2567
+ return [
2568
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2569
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2570
+ ];
2571
+ }).s("AWSVeniceService", "ListSchemaMappings", {}).n("EntityResolutionClient", "ListSchemaMappingsCommand").f(void 0, void 0).ser(se_ListSchemaMappingsCommand).de(de_ListSchemaMappingsCommand).build() {
2572
+ };
2573
+ __name(_ListSchemaMappingsCommand, "ListSchemaMappingsCommand");
2574
+ var ListSchemaMappingsCommand = _ListSchemaMappingsCommand;
2575
+
2576
+ // src/commands/ListTagsForResourceCommand.ts
2577
+
2578
+
2579
+
2580
+
2581
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2582
+ ...commonParams
2583
+ }).m(function(Command, cs, config, o) {
2584
+ return [
2585
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2586
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2587
+ ];
2588
+ }).s("AWSVeniceService", "ListTagsForResource", {}).n("EntityResolutionClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2589
+ };
2590
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2591
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2592
+
2593
+ // src/commands/StartIdMappingJobCommand.ts
2594
+
2595
+
2596
+
2597
+
2598
+ var _StartIdMappingJobCommand = class _StartIdMappingJobCommand extends import_smithy_client.Command.classBuilder().ep({
2599
+ ...commonParams
2600
+ }).m(function(Command, cs, config, o) {
2601
+ return [
2602
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2603
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2604
+ ];
2605
+ }).s("AWSVeniceService", "StartIdMappingJob", {}).n("EntityResolutionClient", "StartIdMappingJobCommand").f(void 0, void 0).ser(se_StartIdMappingJobCommand).de(de_StartIdMappingJobCommand).build() {
2606
+ };
2607
+ __name(_StartIdMappingJobCommand, "StartIdMappingJobCommand");
2608
+ var StartIdMappingJobCommand = _StartIdMappingJobCommand;
2609
+
2610
+ // src/commands/StartMatchingJobCommand.ts
2611
+
2612
+
2613
+
2614
+
2615
+ var _StartMatchingJobCommand = class _StartMatchingJobCommand extends import_smithy_client.Command.classBuilder().ep({
2616
+ ...commonParams
2617
+ }).m(function(Command, cs, config, o) {
2618
+ return [
2619
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2620
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2621
+ ];
2622
+ }).s("AWSVeniceService", "StartMatchingJob", {}).n("EntityResolutionClient", "StartMatchingJobCommand").f(void 0, void 0).ser(se_StartMatchingJobCommand).de(de_StartMatchingJobCommand).build() {
2623
+ };
2624
+ __name(_StartMatchingJobCommand, "StartMatchingJobCommand");
2625
+ var StartMatchingJobCommand = _StartMatchingJobCommand;
2626
+
2627
+ // src/commands/TagResourceCommand.ts
2628
+
2629
+
2630
+
2631
+
2632
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2633
+ ...commonParams
2634
+ }).m(function(Command, cs, config, o) {
2635
+ return [
2636
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2637
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2638
+ ];
2639
+ }).s("AWSVeniceService", "TagResource", {}).n("EntityResolutionClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2640
+ };
2641
+ __name(_TagResourceCommand, "TagResourceCommand");
2642
+ var TagResourceCommand = _TagResourceCommand;
2643
+
2644
+ // src/commands/UntagResourceCommand.ts
2645
+
2646
+
2647
+
2648
+
2649
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2650
+ ...commonParams
2651
+ }).m(function(Command, cs, config, o) {
2652
+ return [
2653
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2654
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2655
+ ];
2656
+ }).s("AWSVeniceService", "UntagResource", {}).n("EntityResolutionClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2657
+ };
2658
+ __name(_UntagResourceCommand, "UntagResourceCommand");
2659
+ var UntagResourceCommand = _UntagResourceCommand;
2660
+
2661
+ // src/commands/UpdateIdMappingWorkflowCommand.ts
2662
+
2663
+
2664
+
2665
+
2666
+ var _UpdateIdMappingWorkflowCommand = class _UpdateIdMappingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
2667
+ ...commonParams
2668
+ }).m(function(Command, cs, config, o) {
2669
+ return [
2670
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2671
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2672
+ ];
2673
+ }).s("AWSVeniceService", "UpdateIdMappingWorkflow", {}).n("EntityResolutionClient", "UpdateIdMappingWorkflowCommand").f(void 0, void 0).ser(se_UpdateIdMappingWorkflowCommand).de(de_UpdateIdMappingWorkflowCommand).build() {
2674
+ };
2675
+ __name(_UpdateIdMappingWorkflowCommand, "UpdateIdMappingWorkflowCommand");
2676
+ var UpdateIdMappingWorkflowCommand = _UpdateIdMappingWorkflowCommand;
2677
+
2678
+ // src/commands/UpdateMatchingWorkflowCommand.ts
2679
+
2680
+
2681
+
2682
+
2683
+ var _UpdateMatchingWorkflowCommand = class _UpdateMatchingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
2684
+ ...commonParams
2685
+ }).m(function(Command, cs, config, o) {
2686
+ return [
2687
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2688
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2689
+ ];
2690
+ }).s("AWSVeniceService", "UpdateMatchingWorkflow", {}).n("EntityResolutionClient", "UpdateMatchingWorkflowCommand").f(void 0, void 0).ser(se_UpdateMatchingWorkflowCommand).de(de_UpdateMatchingWorkflowCommand).build() {
2691
+ };
2692
+ __name(_UpdateMatchingWorkflowCommand, "UpdateMatchingWorkflowCommand");
2693
+ var UpdateMatchingWorkflowCommand = _UpdateMatchingWorkflowCommand;
2694
+
2695
+ // src/commands/UpdateSchemaMappingCommand.ts
2696
+
2697
+
2698
+
2699
+
2700
+ var _UpdateSchemaMappingCommand = class _UpdateSchemaMappingCommand extends import_smithy_client.Command.classBuilder().ep({
2701
+ ...commonParams
2702
+ }).m(function(Command, cs, config, o) {
2703
+ return [
2704
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2705
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2706
+ ];
2707
+ }).s("AWSVeniceService", "UpdateSchemaMapping", {}).n("EntityResolutionClient", "UpdateSchemaMappingCommand").f(void 0, void 0).ser(se_UpdateSchemaMappingCommand).de(de_UpdateSchemaMappingCommand).build() {
2708
+ };
2709
+ __name(_UpdateSchemaMappingCommand, "UpdateSchemaMappingCommand");
2710
+ var UpdateSchemaMappingCommand = _UpdateSchemaMappingCommand;
2711
+
2712
+ // src/EntityResolution.ts
2713
+ var commands = {
2714
+ CreateIdMappingWorkflowCommand,
2715
+ CreateMatchingWorkflowCommand,
2716
+ CreateSchemaMappingCommand,
2717
+ DeleteIdMappingWorkflowCommand,
2718
+ DeleteMatchingWorkflowCommand,
2719
+ DeleteSchemaMappingCommand,
2720
+ GetIdMappingJobCommand,
2721
+ GetIdMappingWorkflowCommand,
2722
+ GetMatchIdCommand,
2723
+ GetMatchingJobCommand,
2724
+ GetMatchingWorkflowCommand,
2725
+ GetProviderServiceCommand,
2726
+ GetSchemaMappingCommand,
2727
+ ListIdMappingJobsCommand,
2728
+ ListIdMappingWorkflowsCommand,
2729
+ ListMatchingJobsCommand,
2730
+ ListMatchingWorkflowsCommand,
2731
+ ListProviderServicesCommand,
2732
+ ListSchemaMappingsCommand,
2733
+ ListTagsForResourceCommand,
2734
+ StartIdMappingJobCommand,
2735
+ StartMatchingJobCommand,
2736
+ TagResourceCommand,
2737
+ UntagResourceCommand,
2738
+ UpdateIdMappingWorkflowCommand,
2739
+ UpdateMatchingWorkflowCommand,
2740
+ UpdateSchemaMappingCommand
2741
+ };
2742
+ var _EntityResolution = class _EntityResolution extends EntityResolutionClient {
2743
+ };
2744
+ __name(_EntityResolution, "EntityResolution");
2745
+ var EntityResolution = _EntityResolution;
2746
+ (0, import_smithy_client.createAggregatedClient)(commands, EntityResolution);
2747
+
2748
+ // src/pagination/ListIdMappingJobsPaginator.ts
2749
+ var import_core3 = require("@smithy/core");
2750
+ var paginateListIdMappingJobs = (0, import_core3.createPaginator)(EntityResolutionClient, ListIdMappingJobsCommand, "nextToken", "nextToken", "maxResults");
2751
+
2752
+ // src/pagination/ListIdMappingWorkflowsPaginator.ts
2753
+ var import_core4 = require("@smithy/core");
2754
+ var paginateListIdMappingWorkflows = (0, import_core4.createPaginator)(EntityResolutionClient, ListIdMappingWorkflowsCommand, "nextToken", "nextToken", "maxResults");
2755
+
2756
+ // src/pagination/ListMatchingJobsPaginator.ts
2757
+ var import_core5 = require("@smithy/core");
2758
+ var paginateListMatchingJobs = (0, import_core5.createPaginator)(EntityResolutionClient, ListMatchingJobsCommand, "nextToken", "nextToken", "maxResults");
2759
+
2760
+ // src/pagination/ListMatchingWorkflowsPaginator.ts
2761
+ var import_core6 = require("@smithy/core");
2762
+ var paginateListMatchingWorkflows = (0, import_core6.createPaginator)(EntityResolutionClient, ListMatchingWorkflowsCommand, "nextToken", "nextToken", "maxResults");
2763
+
2764
+ // src/pagination/ListProviderServicesPaginator.ts
2765
+ var import_core7 = require("@smithy/core");
2766
+ var paginateListProviderServices = (0, import_core7.createPaginator)(EntityResolutionClient, ListProviderServicesCommand, "nextToken", "nextToken", "maxResults");
2767
+
2768
+ // src/pagination/ListSchemaMappingsPaginator.ts
2769
+ var import_core8 = require("@smithy/core");
2770
+ var paginateListSchemaMappings = (0, import_core8.createPaginator)(EntityResolutionClient, ListSchemaMappingsCommand, "nextToken", "nextToken", "maxResults");
2771
+
2772
+ // src/index.ts
2773
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
2774
+ // Annotate the CommonJS export names for ESM import in node:
2775
+
2776
+ 0 && (module.exports = {
2777
+ AccessDeniedException,
2778
+ AttributeMatchingModel,
2779
+ ConflictException,
2780
+ CreateIdMappingWorkflowCommand,
2781
+ CreateMatchingWorkflowCommand,
2782
+ CreateSchemaMappingCommand,
2783
+ DeleteIdMappingWorkflowCommand,
2784
+ DeleteMatchingWorkflowCommand,
2785
+ DeleteSchemaMappingCommand,
2786
+ EntityResolution,
2787
+ EntityResolutionClient,
2788
+ EntityResolutionServiceException,
2789
+ ExceedsLimitException,
2790
+ GetIdMappingJobCommand,
2791
+ GetIdMappingWorkflowCommand,
2792
+ GetMatchIdCommand,
2793
+ GetMatchIdInputFilterSensitiveLog,
2794
+ GetMatchingJobCommand,
2795
+ GetMatchingWorkflowCommand,
2796
+ GetProviderServiceCommand,
2797
+ GetSchemaMappingCommand,
2798
+ IdMappingType,
2799
+ IncrementalRunType,
2800
+ InternalServerException,
2801
+ JobStatus,
2802
+ ListIdMappingJobsCommand,
2803
+ ListIdMappingWorkflowsCommand,
2804
+ ListMatchingJobsCommand,
2805
+ ListMatchingWorkflowsCommand,
2806
+ ListProviderServicesCommand,
2807
+ ListSchemaMappingsCommand,
2808
+ ListTagsForResourceCommand,
2809
+ ProviderEndpointConfiguration,
2810
+ ResolutionType,
2811
+ ResourceNotFoundException,
2812
+ SchemaAttributeType,
2813
+ ServiceType,
2814
+ StartIdMappingJobCommand,
2815
+ StartMatchingJobCommand,
2816
+ TagResourceCommand,
2817
+ ThrottlingException,
2818
+ UntagResourceCommand,
2819
+ UpdateIdMappingWorkflowCommand,
2820
+ UpdateMatchingWorkflowCommand,
2821
+ UpdateSchemaMappingCommand,
2822
+ ValidationException,
2823
+ __Client,
2824
+ paginateListIdMappingJobs,
2825
+ paginateListIdMappingWorkflows,
2826
+ paginateListMatchingJobs,
2827
+ paginateListMatchingWorkflows,
2828
+ paginateListProviderServices,
2829
+ paginateListSchemaMappings
2830
+ });
2831
+