@aws-sdk/client-entityresolution 3.552.0 → 3.556.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 (60) hide show
  1. package/README.md +79 -7
  2. package/dist-cjs/index.js +614 -56
  3. package/dist-es/EntityResolution.js +18 -0
  4. package/dist-es/commands/AddPolicyStatementCommand.js +24 -0
  5. package/dist-es/commands/CreateIdNamespaceCommand.js +24 -0
  6. package/dist-es/commands/DeleteIdNamespaceCommand.js +24 -0
  7. package/dist-es/commands/DeletePolicyStatementCommand.js +24 -0
  8. package/dist-es/commands/GetIdNamespaceCommand.js +24 -0
  9. package/dist-es/commands/GetPolicyCommand.js +24 -0
  10. package/dist-es/commands/ListIdNamespacesCommand.js +24 -0
  11. package/dist-es/commands/PutPolicyCommand.js +24 -0
  12. package/dist-es/commands/UpdateIdNamespaceCommand.js +24 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +40 -32
  15. package/dist-es/pagination/ListIdNamespacesPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +363 -7
  18. package/dist-types/EntityResolution.d.ts +64 -0
  19. package/dist-types/EntityResolutionClient.d.ts +11 -2
  20. package/dist-types/commands/AddPolicyStatementCommand.d.ts +101 -0
  21. package/dist-types/commands/CreateIdMappingWorkflowCommand.d.ts +6 -4
  22. package/dist-types/commands/CreateIdNamespaceCommand.d.ts +138 -0
  23. package/dist-types/commands/DeleteIdMappingWorkflowCommand.d.ts +6 -0
  24. package/dist-types/commands/DeleteIdNamespaceCommand.d.ts +79 -0
  25. package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +6 -0
  26. package/dist-types/commands/DeletePolicyStatementCommand.d.ts +92 -0
  27. package/dist-types/commands/GetIdMappingJobCommand.d.ts +7 -0
  28. package/dist-types/commands/GetIdMappingWorkflowCommand.d.ts +3 -2
  29. package/dist-types/commands/GetIdNamespaceCommand.d.ts +107 -0
  30. package/dist-types/commands/GetMatchIdCommand.d.ts +2 -0
  31. package/dist-types/commands/GetMatchingJobCommand.d.ts +7 -0
  32. package/dist-types/commands/GetPolicyCommand.d.ts +85 -0
  33. package/dist-types/commands/GetProviderServiceCommand.d.ts +21 -0
  34. package/dist-types/commands/ListIdNamespacesCommand.d.ts +90 -0
  35. package/dist-types/commands/PutPolicyCommand.d.ts +93 -0
  36. package/dist-types/commands/StartIdMappingJobCommand.d.ts +14 -0
  37. package/dist-types/commands/UpdateIdMappingWorkflowCommand.d.ts +6 -4
  38. package/dist-types/commands/UpdateIdNamespaceCommand.d.ts +121 -0
  39. package/dist-types/commands/index.d.ts +9 -0
  40. package/dist-types/models/models_0.d.ts +876 -83
  41. package/dist-types/pagination/ListIdNamespacesPaginator.d.ts +7 -0
  42. package/dist-types/pagination/index.d.ts +1 -0
  43. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  44. package/dist-types/ts3.4/EntityResolution.d.ts +154 -0
  45. package/dist-types/ts3.4/EntityResolutionClient.d.ts +54 -0
  46. package/dist-types/ts3.4/commands/AddPolicyStatementCommand.d.ts +39 -0
  47. package/dist-types/ts3.4/commands/CreateIdNamespaceCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/DeleteIdNamespaceCommand.d.ts +38 -0
  49. package/dist-types/ts3.4/commands/DeletePolicyStatementCommand.d.ts +39 -0
  50. package/dist-types/ts3.4/commands/GetIdNamespaceCommand.d.ts +35 -0
  51. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +35 -0
  52. package/dist-types/ts3.4/commands/ListIdNamespacesCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +35 -0
  54. package/dist-types/ts3.4/commands/UpdateIdNamespaceCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +216 -41
  57. package/dist-types/ts3.4/pagination/ListIdNamespacesPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  60. package/package.json +4 -4
package/dist-cjs/index.js CHANGED
@@ -22,13 +22,17 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
+ AddPolicyStatementCommand: () => AddPolicyStatementCommand,
25
26
  AttributeMatchingModel: () => AttributeMatchingModel,
26
27
  ConflictException: () => ConflictException,
27
28
  CreateIdMappingWorkflowCommand: () => CreateIdMappingWorkflowCommand,
29
+ CreateIdNamespaceCommand: () => CreateIdNamespaceCommand,
28
30
  CreateMatchingWorkflowCommand: () => CreateMatchingWorkflowCommand,
29
31
  CreateSchemaMappingCommand: () => CreateSchemaMappingCommand,
30
32
  DeleteIdMappingWorkflowCommand: () => DeleteIdMappingWorkflowCommand,
33
+ DeleteIdNamespaceCommand: () => DeleteIdNamespaceCommand,
31
34
  DeleteMatchingWorkflowCommand: () => DeleteMatchingWorkflowCommand,
35
+ DeletePolicyStatementCommand: () => DeletePolicyStatementCommand,
32
36
  DeleteSchemaMappingCommand: () => DeleteSchemaMappingCommand,
33
37
  EntityResolution: () => EntityResolution,
34
38
  EntityResolutionClient: () => EntityResolutionClient,
@@ -36,40 +40,48 @@ __export(src_exports, {
36
40
  ExceedsLimitException: () => ExceedsLimitException,
37
41
  GetIdMappingJobCommand: () => GetIdMappingJobCommand,
38
42
  GetIdMappingWorkflowCommand: () => GetIdMappingWorkflowCommand,
43
+ GetIdNamespaceCommand: () => GetIdNamespaceCommand,
39
44
  GetMatchIdCommand: () => GetMatchIdCommand,
40
45
  GetMatchIdInputFilterSensitiveLog: () => GetMatchIdInputFilterSensitiveLog,
41
46
  GetMatchingJobCommand: () => GetMatchingJobCommand,
42
47
  GetMatchingWorkflowCommand: () => GetMatchingWorkflowCommand,
48
+ GetPolicyCommand: () => GetPolicyCommand,
43
49
  GetProviderServiceCommand: () => GetProviderServiceCommand,
44
50
  GetSchemaMappingCommand: () => GetSchemaMappingCommand,
45
51
  IdMappingType: () => IdMappingType,
52
+ IdNamespaceType: () => IdNamespaceType,
46
53
  IncrementalRunType: () => IncrementalRunType,
47
54
  InternalServerException: () => InternalServerException,
48
55
  JobStatus: () => JobStatus,
49
56
  ListIdMappingJobsCommand: () => ListIdMappingJobsCommand,
50
57
  ListIdMappingWorkflowsCommand: () => ListIdMappingWorkflowsCommand,
58
+ ListIdNamespacesCommand: () => ListIdNamespacesCommand,
51
59
  ListMatchingJobsCommand: () => ListMatchingJobsCommand,
52
60
  ListMatchingWorkflowsCommand: () => ListMatchingWorkflowsCommand,
53
61
  ListProviderServicesCommand: () => ListProviderServicesCommand,
54
62
  ListSchemaMappingsCommand: () => ListSchemaMappingsCommand,
55
63
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
56
64
  ProviderEndpointConfiguration: () => ProviderEndpointConfiguration,
65
+ PutPolicyCommand: () => PutPolicyCommand,
57
66
  ResolutionType: () => ResolutionType,
58
67
  ResourceNotFoundException: () => ResourceNotFoundException,
59
68
  SchemaAttributeType: () => SchemaAttributeType,
60
69
  ServiceType: () => ServiceType,
61
70
  StartIdMappingJobCommand: () => StartIdMappingJobCommand,
62
71
  StartMatchingJobCommand: () => StartMatchingJobCommand,
72
+ StatementEffect: () => StatementEffect,
63
73
  TagResourceCommand: () => TagResourceCommand,
64
74
  ThrottlingException: () => ThrottlingException,
65
75
  UntagResourceCommand: () => UntagResourceCommand,
66
76
  UpdateIdMappingWorkflowCommand: () => UpdateIdMappingWorkflowCommand,
77
+ UpdateIdNamespaceCommand: () => UpdateIdNamespaceCommand,
67
78
  UpdateMatchingWorkflowCommand: () => UpdateMatchingWorkflowCommand,
68
79
  UpdateSchemaMappingCommand: () => UpdateSchemaMappingCommand,
69
80
  ValidationException: () => ValidationException,
70
81
  __Client: () => import_smithy_client.Client,
71
82
  paginateListIdMappingJobs: () => paginateListIdMappingJobs,
72
83
  paginateListIdMappingWorkflows: () => paginateListIdMappingWorkflows,
84
+ paginateListIdNamespaces: () => paginateListIdNamespaces,
73
85
  paginateListMatchingJobs: () => paginateListMatchingJobs,
74
86
  paginateListMatchingWorkflows: () => paginateListMatchingWorkflows,
75
87
  paginateListProviderServices: () => paginateListProviderServices,
@@ -223,7 +235,7 @@ var EntityResolutionClient = _EntityResolutionClient;
223
235
  // src/EntityResolution.ts
224
236
 
225
237
 
226
- // src/commands/CreateIdMappingWorkflowCommand.ts
238
+ // src/commands/AddPolicyStatementCommand.ts
227
239
 
228
240
  var import_middleware_serde = require("@smithy/middleware-serde");
229
241
 
@@ -267,9 +279,9 @@ var _AccessDeniedException = class _AccessDeniedException extends EntityResoluti
267
279
  };
268
280
  __name(_AccessDeniedException, "AccessDeniedException");
269
281
  var AccessDeniedException = _AccessDeniedException;
270
- var AttributeMatchingModel = {
271
- MANY_TO_MANY: "MANY_TO_MANY",
272
- ONE_TO_ONE: "ONE_TO_ONE"
282
+ var StatementEffect = {
283
+ Allow: "Allow",
284
+ Deny: "Deny"
273
285
  };
274
286
  var _ConflictException = class _ConflictException extends EntityResolutionServiceException {
275
287
  /**
@@ -288,28 +300,6 @@ var _ConflictException = class _ConflictException extends EntityResolutionServic
288
300
  };
289
301
  __name(_ConflictException, "ConflictException");
290
302
  var ConflictException = _ConflictException;
291
- var IdMappingType = {
292
- PROVIDER: "PROVIDER"
293
- };
294
- var _ExceedsLimitException = class _ExceedsLimitException extends EntityResolutionServiceException {
295
- /**
296
- * @internal
297
- */
298
- constructor(opts) {
299
- super({
300
- name: "ExceedsLimitException",
301
- $fault: "client",
302
- ...opts
303
- });
304
- this.name = "ExceedsLimitException";
305
- this.$fault = "client";
306
- Object.setPrototypeOf(this, _ExceedsLimitException.prototype);
307
- this.quotaName = opts.quotaName;
308
- this.quotaValue = opts.quotaValue;
309
- }
310
- };
311
- __name(_ExceedsLimitException, "ExceedsLimitException");
312
- var ExceedsLimitException = _ExceedsLimitException;
313
303
  var _InternalServerException = class _InternalServerException extends EntityResolutionServiceException {
314
304
  /**
315
305
  * @internal
@@ -328,6 +318,23 @@ var _InternalServerException = class _InternalServerException extends EntityReso
328
318
  };
329
319
  __name(_InternalServerException, "InternalServerException");
330
320
  var InternalServerException = _InternalServerException;
321
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends EntityResolutionServiceException {
322
+ /**
323
+ * @internal
324
+ */
325
+ constructor(opts) {
326
+ super({
327
+ name: "ResourceNotFoundException",
328
+ $fault: "client",
329
+ ...opts
330
+ });
331
+ this.name = "ResourceNotFoundException";
332
+ this.$fault = "client";
333
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
334
+ }
335
+ };
336
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
337
+ var ResourceNotFoundException = _ResourceNotFoundException;
331
338
  var _ThrottlingException = class _ThrottlingException extends EntityResolutionServiceException {
332
339
  /**
333
340
  * @internal
@@ -365,6 +372,36 @@ var _ValidationException = class _ValidationException extends EntityResolutionSe
365
372
  };
366
373
  __name(_ValidationException, "ValidationException");
367
374
  var ValidationException = _ValidationException;
375
+ var AttributeMatchingModel = {
376
+ MANY_TO_MANY: "MANY_TO_MANY",
377
+ ONE_TO_ONE: "ONE_TO_ONE"
378
+ };
379
+ var IdMappingType = {
380
+ PROVIDER: "PROVIDER"
381
+ };
382
+ var IdNamespaceType = {
383
+ SOURCE: "SOURCE",
384
+ TARGET: "TARGET"
385
+ };
386
+ var _ExceedsLimitException = class _ExceedsLimitException extends EntityResolutionServiceException {
387
+ /**
388
+ * @internal
389
+ */
390
+ constructor(opts) {
391
+ super({
392
+ name: "ExceedsLimitException",
393
+ $fault: "client",
394
+ ...opts
395
+ });
396
+ this.name = "ExceedsLimitException";
397
+ this.$fault = "client";
398
+ Object.setPrototypeOf(this, _ExceedsLimitException.prototype);
399
+ this.quotaName = opts.quotaName;
400
+ this.quotaValue = opts.quotaValue;
401
+ }
402
+ };
403
+ __name(_ExceedsLimitException, "ExceedsLimitException");
404
+ var ExceedsLimitException = _ExceedsLimitException;
368
405
  var IncrementalRunType = {
369
406
  IMMEDIATE: "IMMEDIATE"
370
407
  };
@@ -401,23 +438,6 @@ var JobStatus = {
401
438
  RUNNING: "RUNNING",
402
439
  SUCCEEDED: "SUCCEEDED"
403
440
  };
404
- var _ResourceNotFoundException = class _ResourceNotFoundException extends EntityResolutionServiceException {
405
- /**
406
- * @internal
407
- */
408
- constructor(opts) {
409
- super({
410
- name: "ResourceNotFoundException",
411
- $fault: "client",
412
- ...opts
413
- });
414
- this.name = "ResourceNotFoundException";
415
- this.$fault = "client";
416
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
417
- }
418
- };
419
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
420
- var ResourceNotFoundException = _ResourceNotFoundException;
421
441
  var ProviderEndpointConfiguration;
422
442
  ((ProviderEndpointConfiguration2) => {
423
443
  ProviderEndpointConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -436,6 +456,26 @@ var GetMatchIdInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
436
456
  }), "GetMatchIdInputFilterSensitiveLog");
437
457
 
438
458
  // src/protocols/Aws_restJson1.ts
459
+ var se_AddPolicyStatementCommand = /* @__PURE__ */ __name(async (input, context) => {
460
+ const b = (0, import_core.requestBuilder)(input, context);
461
+ const headers = {
462
+ "content-type": "application/json"
463
+ };
464
+ b.bp("/policies/{arn}/{statementId}");
465
+ b.p("arn", () => input.arn, "{arn}", false);
466
+ b.p("statementId", () => input.statementId, "{statementId}", false);
467
+ let body;
468
+ body = JSON.stringify(
469
+ (0, import_smithy_client.take)(input, {
470
+ action: (_) => (0, import_smithy_client._json)(_),
471
+ condition: [],
472
+ effect: [],
473
+ principal: (_) => (0, import_smithy_client._json)(_)
474
+ })
475
+ );
476
+ b.m("POST").h(headers).b(body);
477
+ return b.build();
478
+ }, "se_AddPolicyStatementCommand");
439
479
  var se_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
440
480
  const b = (0, import_core.requestBuilder)(input, context);
441
481
  const headers = {
@@ -457,6 +497,27 @@ var se_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, con
457
497
  b.m("POST").h(headers).b(body);
458
498
  return b.build();
459
499
  }, "se_CreateIdMappingWorkflowCommand");
500
+ var se_CreateIdNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
501
+ const b = (0, import_core.requestBuilder)(input, context);
502
+ const headers = {
503
+ "content-type": "application/json"
504
+ };
505
+ b.bp("/idnamespaces");
506
+ let body;
507
+ body = JSON.stringify(
508
+ (0, import_smithy_client.take)(input, {
509
+ description: [],
510
+ idMappingWorkflowProperties: (_) => se_IdNamespaceIdMappingWorkflowPropertiesList(_, context),
511
+ idNamespaceName: [],
512
+ inputSourceConfig: (_) => (0, import_smithy_client._json)(_),
513
+ roleArn: [],
514
+ tags: (_) => (0, import_smithy_client._json)(_),
515
+ type: []
516
+ })
517
+ );
518
+ b.m("POST").h(headers).b(body);
519
+ return b.build();
520
+ }, "se_CreateIdNamespaceCommand");
460
521
  var se_CreateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
461
522
  const b = (0, import_core.requestBuilder)(input, context);
462
523
  const headers = {
@@ -506,6 +567,15 @@ var se_DeleteIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, con
506
567
  b.m("DELETE").h(headers).b(body);
507
568
  return b.build();
508
569
  }, "se_DeleteIdMappingWorkflowCommand");
570
+ var se_DeleteIdNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
571
+ const b = (0, import_core.requestBuilder)(input, context);
572
+ const headers = {};
573
+ b.bp("/idnamespaces/{idNamespaceName}");
574
+ b.p("idNamespaceName", () => input.idNamespaceName, "{idNamespaceName}", false);
575
+ let body;
576
+ b.m("DELETE").h(headers).b(body);
577
+ return b.build();
578
+ }, "se_DeleteIdNamespaceCommand");
509
579
  var se_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
510
580
  const b = (0, import_core.requestBuilder)(input, context);
511
581
  const headers = {};
@@ -515,6 +585,16 @@ var se_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, cont
515
585
  b.m("DELETE").h(headers).b(body);
516
586
  return b.build();
517
587
  }, "se_DeleteMatchingWorkflowCommand");
588
+ var se_DeletePolicyStatementCommand = /* @__PURE__ */ __name(async (input, context) => {
589
+ const b = (0, import_core.requestBuilder)(input, context);
590
+ const headers = {};
591
+ b.bp("/policies/{arn}/{statementId}");
592
+ b.p("arn", () => input.arn, "{arn}", false);
593
+ b.p("statementId", () => input.statementId, "{statementId}", false);
594
+ let body;
595
+ b.m("DELETE").h(headers).b(body);
596
+ return b.build();
597
+ }, "se_DeletePolicyStatementCommand");
518
598
  var se_DeleteSchemaMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
519
599
  const b = (0, import_core.requestBuilder)(input, context);
520
600
  const headers = {};
@@ -543,6 +623,15 @@ var se_GetIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, contex
543
623
  b.m("GET").h(headers).b(body);
544
624
  return b.build();
545
625
  }, "se_GetIdMappingWorkflowCommand");
626
+ var se_GetIdNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
627
+ const b = (0, import_core.requestBuilder)(input, context);
628
+ const headers = {};
629
+ b.bp("/idnamespaces/{idNamespaceName}");
630
+ b.p("idNamespaceName", () => input.idNamespaceName, "{idNamespaceName}", false);
631
+ let body;
632
+ b.m("GET").h(headers).b(body);
633
+ return b.build();
634
+ }, "se_GetIdNamespaceCommand");
546
635
  var se_GetMatchIdCommand = /* @__PURE__ */ __name(async (input, context) => {
547
636
  const b = (0, import_core.requestBuilder)(input, context);
548
637
  const headers = {
@@ -553,6 +642,7 @@ var se_GetMatchIdCommand = /* @__PURE__ */ __name(async (input, context) => {
553
642
  let body;
554
643
  body = JSON.stringify(
555
644
  (0, import_smithy_client.take)(input, {
645
+ applyNormalization: [],
556
646
  record: (_) => (0, import_smithy_client._json)(_)
557
647
  })
558
648
  );
@@ -578,6 +668,15 @@ var se_GetMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, context
578
668
  b.m("GET").h(headers).b(body);
579
669
  return b.build();
580
670
  }, "se_GetMatchingWorkflowCommand");
671
+ var se_GetPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
672
+ const b = (0, import_core.requestBuilder)(input, context);
673
+ const headers = {};
674
+ b.bp("/policies/{arn}");
675
+ b.p("arn", () => input.arn, "{arn}", false);
676
+ let body;
677
+ b.m("GET").h(headers).b(body);
678
+ return b.build();
679
+ }, "se_GetPolicyCommand");
581
680
  var se_GetProviderServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
582
681
  const b = (0, import_core.requestBuilder)(input, context);
583
682
  const headers = {};
@@ -622,6 +721,18 @@ var se_ListIdMappingWorkflowsCommand = /* @__PURE__ */ __name(async (input, cont
622
721
  b.m("GET").h(headers).q(query).b(body);
623
722
  return b.build();
624
723
  }, "se_ListIdMappingWorkflowsCommand");
724
+ var se_ListIdNamespacesCommand = /* @__PURE__ */ __name(async (input, context) => {
725
+ const b = (0, import_core.requestBuilder)(input, context);
726
+ const headers = {};
727
+ b.bp("/idnamespaces");
728
+ const query = (0, import_smithy_client.map)({
729
+ [_nT]: [, input[_nT]],
730
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
731
+ });
732
+ let body;
733
+ b.m("GET").h(headers).q(query).b(body);
734
+ return b.build();
735
+ }, "se_ListIdNamespacesCommand");
625
736
  var se_ListMatchingJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
626
737
  const b = (0, import_core.requestBuilder)(input, context);
627
738
  const headers = {};
@@ -681,12 +792,36 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
681
792
  b.m("GET").h(headers).b(body);
682
793
  return b.build();
683
794
  }, "se_ListTagsForResourceCommand");
795
+ var se_PutPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
796
+ const b = (0, import_core.requestBuilder)(input, context);
797
+ const headers = {
798
+ "content-type": "application/json"
799
+ };
800
+ b.bp("/policies/{arn}");
801
+ b.p("arn", () => input.arn, "{arn}", false);
802
+ let body;
803
+ body = JSON.stringify(
804
+ (0, import_smithy_client.take)(input, {
805
+ policy: [],
806
+ token: []
807
+ })
808
+ );
809
+ b.m("PUT").h(headers).b(body);
810
+ return b.build();
811
+ }, "se_PutPolicyCommand");
684
812
  var se_StartIdMappingJobCommand = /* @__PURE__ */ __name(async (input, context) => {
685
813
  const b = (0, import_core.requestBuilder)(input, context);
686
- const headers = {};
814
+ const headers = {
815
+ "content-type": "application/json"
816
+ };
687
817
  b.bp("/idmappingworkflows/{workflowName}/jobs");
688
818
  b.p("workflowName", () => input.workflowName, "{workflowName}", false);
689
819
  let body;
820
+ body = JSON.stringify(
821
+ (0, import_smithy_client.take)(input, {
822
+ outputSourceConfig: (_) => (0, import_smithy_client._json)(_)
823
+ })
824
+ );
690
825
  b.m("POST").h(headers).b(body);
691
826
  return b.build();
692
827
  }, "se_StartIdMappingJobCommand");
@@ -750,6 +885,25 @@ var se_UpdateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, con
750
885
  b.m("PUT").h(headers).b(body);
751
886
  return b.build();
752
887
  }, "se_UpdateIdMappingWorkflowCommand");
888
+ var se_UpdateIdNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
889
+ const b = (0, import_core.requestBuilder)(input, context);
890
+ const headers = {
891
+ "content-type": "application/json"
892
+ };
893
+ b.bp("/idnamespaces/{idNamespaceName}");
894
+ b.p("idNamespaceName", () => input.idNamespaceName, "{idNamespaceName}", false);
895
+ let body;
896
+ body = JSON.stringify(
897
+ (0, import_smithy_client.take)(input, {
898
+ description: [],
899
+ idMappingWorkflowProperties: (_) => se_IdNamespaceIdMappingWorkflowPropertiesList(_, context),
900
+ inputSourceConfig: (_) => (0, import_smithy_client._json)(_),
901
+ roleArn: []
902
+ })
903
+ );
904
+ b.m("PUT").h(headers).b(body);
905
+ return b.build();
906
+ }, "se_UpdateIdNamespaceCommand");
753
907
  var se_UpdateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
754
908
  const b = (0, import_core.requestBuilder)(input, context);
755
909
  const headers = {
@@ -788,6 +942,22 @@ var se_UpdateSchemaMappingCommand = /* @__PURE__ */ __name(async (input, context
788
942
  b.m("PUT").h(headers).b(body);
789
943
  return b.build();
790
944
  }, "se_UpdateSchemaMappingCommand");
945
+ var de_AddPolicyStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
946
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
947
+ return de_CommandError(output, context);
948
+ }
949
+ const contents = (0, import_smithy_client.map)({
950
+ $metadata: deserializeMetadata(output)
951
+ });
952
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
953
+ const doc = (0, import_smithy_client.take)(data, {
954
+ arn: import_smithy_client.expectString,
955
+ policy: import_smithy_client.expectString,
956
+ token: import_smithy_client.expectString
957
+ });
958
+ Object.assign(contents, doc);
959
+ return contents;
960
+ }, "de_AddPolicyStatementCommand");
791
961
  var de_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
792
962
  if (output.statusCode !== 200 && output.statusCode >= 300) {
793
963
  return de_CommandError(output, context);
@@ -808,6 +978,29 @@ var de_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
808
978
  Object.assign(contents, doc);
809
979
  return contents;
810
980
  }, "de_CreateIdMappingWorkflowCommand");
981
+ var de_CreateIdNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
982
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
983
+ return de_CommandError(output, context);
984
+ }
985
+ const contents = (0, import_smithy_client.map)({
986
+ $metadata: deserializeMetadata(output)
987
+ });
988
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
989
+ const doc = (0, import_smithy_client.take)(data, {
990
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
991
+ description: import_smithy_client.expectString,
992
+ idMappingWorkflowProperties: (_) => de_IdNamespaceIdMappingWorkflowPropertiesList(_, context),
993
+ idNamespaceArn: import_smithy_client.expectString,
994
+ idNamespaceName: import_smithy_client.expectString,
995
+ inputSourceConfig: import_smithy_client._json,
996
+ roleArn: import_smithy_client.expectString,
997
+ tags: import_smithy_client._json,
998
+ type: import_smithy_client.expectString,
999
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1000
+ });
1001
+ Object.assign(contents, doc);
1002
+ return contents;
1003
+ }, "de_CreateIdNamespaceCommand");
811
1004
  var de_CreateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
812
1005
  if (output.statusCode !== 200 && output.statusCode >= 300) {
813
1006
  return de_CommandError(output, context);
@@ -860,6 +1053,20 @@ var de_DeleteIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
860
1053
  Object.assign(contents, doc);
861
1054
  return contents;
862
1055
  }, "de_DeleteIdMappingWorkflowCommand");
1056
+ var de_DeleteIdNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
1057
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1058
+ return de_CommandError(output, context);
1059
+ }
1060
+ const contents = (0, import_smithy_client.map)({
1061
+ $metadata: deserializeMetadata(output)
1062
+ });
1063
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1064
+ const doc = (0, import_smithy_client.take)(data, {
1065
+ message: import_smithy_client.expectString
1066
+ });
1067
+ Object.assign(contents, doc);
1068
+ return contents;
1069
+ }, "de_DeleteIdNamespaceCommand");
863
1070
  var de_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
864
1071
  if (output.statusCode !== 200 && output.statusCode >= 300) {
865
1072
  return de_CommandError(output, context);
@@ -874,6 +1081,22 @@ var de_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, con
874
1081
  Object.assign(contents, doc);
875
1082
  return contents;
876
1083
  }, "de_DeleteMatchingWorkflowCommand");
1084
+ var de_DeletePolicyStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
1085
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1086
+ return de_CommandError(output, context);
1087
+ }
1088
+ const contents = (0, import_smithy_client.map)({
1089
+ $metadata: deserializeMetadata(output)
1090
+ });
1091
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1092
+ const doc = (0, import_smithy_client.take)(data, {
1093
+ arn: import_smithy_client.expectString,
1094
+ policy: import_smithy_client.expectString,
1095
+ token: import_smithy_client.expectString
1096
+ });
1097
+ Object.assign(contents, doc);
1098
+ return contents;
1099
+ }, "de_DeletePolicyStatementCommand");
877
1100
  var de_DeleteSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
878
1101
  if (output.statusCode !== 200 && output.statusCode >= 300) {
879
1102
  return de_CommandError(output, context);
@@ -901,6 +1124,7 @@ var de_GetIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context) =
901
1124
  errorDetails: import_smithy_client._json,
902
1125
  jobId: import_smithy_client.expectString,
903
1126
  metrics: import_smithy_client._json,
1127
+ outputSourceConfig: import_smithy_client._json,
904
1128
  startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
905
1129
  status: import_smithy_client.expectString
906
1130
  });
@@ -930,6 +1154,29 @@ var de_GetIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, conte
930
1154
  Object.assign(contents, doc);
931
1155
  return contents;
932
1156
  }, "de_GetIdMappingWorkflowCommand");
1157
+ var de_GetIdNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
1158
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1159
+ return de_CommandError(output, context);
1160
+ }
1161
+ const contents = (0, import_smithy_client.map)({
1162
+ $metadata: deserializeMetadata(output)
1163
+ });
1164
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1165
+ const doc = (0, import_smithy_client.take)(data, {
1166
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1167
+ description: import_smithy_client.expectString,
1168
+ idMappingWorkflowProperties: (_) => de_IdNamespaceIdMappingWorkflowPropertiesList(_, context),
1169
+ idNamespaceArn: import_smithy_client.expectString,
1170
+ idNamespaceName: import_smithy_client.expectString,
1171
+ inputSourceConfig: import_smithy_client._json,
1172
+ roleArn: import_smithy_client.expectString,
1173
+ tags: import_smithy_client._json,
1174
+ type: import_smithy_client.expectString,
1175
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1176
+ });
1177
+ Object.assign(contents, doc);
1178
+ return contents;
1179
+ }, "de_GetIdNamespaceCommand");
933
1180
  var de_GetMatchIdCommand = /* @__PURE__ */ __name(async (output, context) => {
934
1181
  if (output.statusCode !== 200 && output.statusCode >= 300) {
935
1182
  return de_CommandError(output, context);
@@ -939,7 +1186,8 @@ var de_GetMatchIdCommand = /* @__PURE__ */ __name(async (output, context) => {
939
1186
  });
940
1187
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
941
1188
  const doc = (0, import_smithy_client.take)(data, {
942
- matchId: import_smithy_client.expectString
1189
+ matchId: import_smithy_client.expectString,
1190
+ matchRule: import_smithy_client.expectString
943
1191
  });
944
1192
  Object.assign(contents, doc);
945
1193
  return contents;
@@ -957,6 +1205,7 @@ var de_GetMatchingJobCommand = /* @__PURE__ */ __name(async (output, context) =>
957
1205
  errorDetails: import_smithy_client._json,
958
1206
  jobId: import_smithy_client.expectString,
959
1207
  metrics: import_smithy_client._json,
1208
+ outputSourceConfig: import_smithy_client._json,
960
1209
  startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
961
1210
  status: import_smithy_client.expectString
962
1211
  });
@@ -987,6 +1236,22 @@ var de_GetMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, contex
987
1236
  Object.assign(contents, doc);
988
1237
  return contents;
989
1238
  }, "de_GetMatchingWorkflowCommand");
1239
+ var de_GetPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1240
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1241
+ return de_CommandError(output, context);
1242
+ }
1243
+ const contents = (0, import_smithy_client.map)({
1244
+ $metadata: deserializeMetadata(output)
1245
+ });
1246
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1247
+ const doc = (0, import_smithy_client.take)(data, {
1248
+ arn: import_smithy_client.expectString,
1249
+ policy: import_smithy_client.expectString,
1250
+ token: import_smithy_client.expectString
1251
+ });
1252
+ Object.assign(contents, doc);
1253
+ return contents;
1254
+ }, "de_GetPolicyCommand");
990
1255
  var de_GetProviderServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
991
1256
  if (output.statusCode !== 200 && output.statusCode >= 300) {
992
1257
  return de_CommandError(output, context);
@@ -997,10 +1262,13 @@ var de_GetProviderServiceCommand = /* @__PURE__ */ __name(async (output, context
997
1262
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
998
1263
  const doc = (0, import_smithy_client.take)(data, {
999
1264
  anonymizedOutput: import_smithy_client.expectBoolean,
1265
+ providerComponentSchema: import_smithy_client._json,
1000
1266
  providerConfigurationDefinition: (_) => de_Document(_, context),
1001
1267
  providerEndpointConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1002
1268
  providerEntityOutputDefinition: (_) => de_Document(_, context),
1269
+ providerIdNameSpaceConfiguration: (_) => de_ProviderIdNameSpaceConfiguration(_, context),
1003
1270
  providerIntermediateDataAccessConfiguration: import_smithy_client._json,
1271
+ providerJobConfiguration: (_) => de_Document(_, context),
1004
1272
  providerName: import_smithy_client.expectString,
1005
1273
  providerServiceArn: import_smithy_client.expectString,
1006
1274
  providerServiceDisplayName: import_smithy_client.expectString,
@@ -1061,6 +1329,21 @@ var de_ListIdMappingWorkflowsCommand = /* @__PURE__ */ __name(async (output, con
1061
1329
  Object.assign(contents, doc);
1062
1330
  return contents;
1063
1331
  }, "de_ListIdMappingWorkflowsCommand");
1332
+ var de_ListIdNamespacesCommand = /* @__PURE__ */ __name(async (output, context) => {
1333
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1334
+ return de_CommandError(output, context);
1335
+ }
1336
+ const contents = (0, import_smithy_client.map)({
1337
+ $metadata: deserializeMetadata(output)
1338
+ });
1339
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1340
+ const doc = (0, import_smithy_client.take)(data, {
1341
+ idNamespaceSummaries: (_) => de_IdNamespaceList(_, context),
1342
+ nextToken: import_smithy_client.expectString
1343
+ });
1344
+ Object.assign(contents, doc);
1345
+ return contents;
1346
+ }, "de_ListIdNamespacesCommand");
1064
1347
  var de_ListMatchingJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1065
1348
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1066
1349
  return de_CommandError(output, context);
@@ -1135,6 +1418,22 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
1135
1418
  Object.assign(contents, doc);
1136
1419
  return contents;
1137
1420
  }, "de_ListTagsForResourceCommand");
1421
+ var de_PutPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1422
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1423
+ return de_CommandError(output, context);
1424
+ }
1425
+ const contents = (0, import_smithy_client.map)({
1426
+ $metadata: deserializeMetadata(output)
1427
+ });
1428
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1429
+ const doc = (0, import_smithy_client.take)(data, {
1430
+ arn: import_smithy_client.expectString,
1431
+ policy: import_smithy_client.expectString,
1432
+ token: import_smithy_client.expectString
1433
+ });
1434
+ Object.assign(contents, doc);
1435
+ return contents;
1436
+ }, "de_PutPolicyCommand");
1138
1437
  var de_StartIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1139
1438
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1140
1439
  return de_CommandError(output, context);
@@ -1144,7 +1443,8 @@ var de_StartIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context)
1144
1443
  });
1145
1444
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1146
1445
  const doc = (0, import_smithy_client.take)(data, {
1147
- jobId: import_smithy_client.expectString
1446
+ jobId: import_smithy_client.expectString,
1447
+ outputSourceConfig: import_smithy_client._json
1148
1448
  });
1149
1449
  Object.assign(contents, doc);
1150
1450
  return contents;
@@ -1203,6 +1503,28 @@ var de_UpdateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
1203
1503
  Object.assign(contents, doc);
1204
1504
  return contents;
1205
1505
  }, "de_UpdateIdMappingWorkflowCommand");
1506
+ var de_UpdateIdNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
1507
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1508
+ return de_CommandError(output, context);
1509
+ }
1510
+ const contents = (0, import_smithy_client.map)({
1511
+ $metadata: deserializeMetadata(output)
1512
+ });
1513
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1514
+ const doc = (0, import_smithy_client.take)(data, {
1515
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1516
+ description: import_smithy_client.expectString,
1517
+ idMappingWorkflowProperties: (_) => de_IdNamespaceIdMappingWorkflowPropertiesList(_, context),
1518
+ idNamespaceArn: import_smithy_client.expectString,
1519
+ idNamespaceName: import_smithy_client.expectString,
1520
+ inputSourceConfig: import_smithy_client._json,
1521
+ roleArn: import_smithy_client.expectString,
1522
+ type: import_smithy_client.expectString,
1523
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1524
+ });
1525
+ Object.assign(contents, doc);
1526
+ return contents;
1527
+ }, "de_UpdateIdNamespaceCommand");
1206
1528
  var de_UpdateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1207
1529
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1208
1530
  return de_CommandError(output, context);
@@ -1253,21 +1575,21 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1253
1575
  case "ConflictException":
1254
1576
  case "com.amazonaws.entityresolution#ConflictException":
1255
1577
  throw await de_ConflictExceptionRes(parsedOutput, context);
1256
- case "ExceedsLimitException":
1257
- case "com.amazonaws.entityresolution#ExceedsLimitException":
1258
- throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
1259
1578
  case "InternalServerException":
1260
1579
  case "com.amazonaws.entityresolution#InternalServerException":
1261
1580
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1581
+ case "ResourceNotFoundException":
1582
+ case "com.amazonaws.entityresolution#ResourceNotFoundException":
1583
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1262
1584
  case "ThrottlingException":
1263
1585
  case "com.amazonaws.entityresolution#ThrottlingException":
1264
1586
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
1265
1587
  case "ValidationException":
1266
1588
  case "com.amazonaws.entityresolution#ValidationException":
1267
1589
  throw await de_ValidationExceptionRes(parsedOutput, context);
1268
- case "ResourceNotFoundException":
1269
- case "com.amazonaws.entityresolution#ResourceNotFoundException":
1270
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1590
+ case "ExceedsLimitException":
1591
+ case "com.amazonaws.entityresolution#ExceedsLimitException":
1592
+ throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
1271
1593
  default:
1272
1594
  const parsedBody = parsedOutput.body;
1273
1595
  return throwDefaultError({
@@ -1377,6 +1699,23 @@ var se_IdMappingTechniques = /* @__PURE__ */ __name((input, context) => {
1377
1699
  providerProperties: (_) => se_ProviderProperties(_, context)
1378
1700
  });
1379
1701
  }, "se_IdMappingTechniques");
1702
+ var se_IdNamespaceIdMappingWorkflowProperties = /* @__PURE__ */ __name((input, context) => {
1703
+ return (0, import_smithy_client.take)(input, {
1704
+ idMappingType: [],
1705
+ providerProperties: (_) => se_NamespaceProviderProperties(_, context)
1706
+ });
1707
+ }, "se_IdNamespaceIdMappingWorkflowProperties");
1708
+ var se_IdNamespaceIdMappingWorkflowPropertiesList = /* @__PURE__ */ __name((input, context) => {
1709
+ return input.filter((e) => e != null).map((entry) => {
1710
+ return se_IdNamespaceIdMappingWorkflowProperties(entry, context);
1711
+ });
1712
+ }, "se_IdNamespaceIdMappingWorkflowPropertiesList");
1713
+ var se_NamespaceProviderProperties = /* @__PURE__ */ __name((input, context) => {
1714
+ return (0, import_smithy_client.take)(input, {
1715
+ providerConfiguration: (_) => se_Document(_, context),
1716
+ providerServiceArn: []
1717
+ });
1718
+ }, "se_NamespaceProviderProperties");
1380
1719
  var se_ProviderProperties = /* @__PURE__ */ __name((input, context) => {
1381
1720
  return (0, import_smithy_client.take)(input, {
1382
1721
  intermediateSourceConfiguration: import_smithy_client._json,
@@ -1414,6 +1753,34 @@ var de_IdMappingWorkflowSummary = /* @__PURE__ */ __name((output, context) => {
1414
1753
  workflowName: import_smithy_client.expectString
1415
1754
  });
1416
1755
  }, "de_IdMappingWorkflowSummary");
1756
+ var de_IdNamespaceIdMappingWorkflowProperties = /* @__PURE__ */ __name((output, context) => {
1757
+ return (0, import_smithy_client.take)(output, {
1758
+ idMappingType: import_smithy_client.expectString,
1759
+ providerProperties: (_) => de_NamespaceProviderProperties(_, context)
1760
+ });
1761
+ }, "de_IdNamespaceIdMappingWorkflowProperties");
1762
+ var de_IdNamespaceIdMappingWorkflowPropertiesList = /* @__PURE__ */ __name((output, context) => {
1763
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1764
+ return de_IdNamespaceIdMappingWorkflowProperties(entry, context);
1765
+ });
1766
+ return retVal;
1767
+ }, "de_IdNamespaceIdMappingWorkflowPropertiesList");
1768
+ var de_IdNamespaceList = /* @__PURE__ */ __name((output, context) => {
1769
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1770
+ return de_IdNamespaceSummary(entry, context);
1771
+ });
1772
+ return retVal;
1773
+ }, "de_IdNamespaceList");
1774
+ var de_IdNamespaceSummary = /* @__PURE__ */ __name((output, context) => {
1775
+ return (0, import_smithy_client.take)(output, {
1776
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1777
+ description: import_smithy_client.expectString,
1778
+ idNamespaceArn: import_smithy_client.expectString,
1779
+ idNamespaceName: import_smithy_client.expectString,
1780
+ type: import_smithy_client.expectString,
1781
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1782
+ });
1783
+ }, "de_IdNamespaceSummary");
1417
1784
  var de_JobList = /* @__PURE__ */ __name((output, context) => {
1418
1785
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
1419
1786
  return de_JobSummary(entry, context);
@@ -1443,6 +1810,19 @@ var de_MatchingWorkflowSummary = /* @__PURE__ */ __name((output, context) => {
1443
1810
  workflowName: import_smithy_client.expectString
1444
1811
  });
1445
1812
  }, "de_MatchingWorkflowSummary");
1813
+ var de_NamespaceProviderProperties = /* @__PURE__ */ __name((output, context) => {
1814
+ return (0, import_smithy_client.take)(output, {
1815
+ providerConfiguration: (_) => de_Document(_, context),
1816
+ providerServiceArn: import_smithy_client.expectString
1817
+ });
1818
+ }, "de_NamespaceProviderProperties");
1819
+ var de_ProviderIdNameSpaceConfiguration = /* @__PURE__ */ __name((output, context) => {
1820
+ return (0, import_smithy_client.take)(output, {
1821
+ description: import_smithy_client.expectString,
1822
+ providerSourceConfigurationDefinition: (_) => de_Document(_, context),
1823
+ providerTargetConfigurationDefinition: (_) => de_Document(_, context)
1824
+ });
1825
+ }, "de_ProviderIdNameSpaceConfiguration");
1446
1826
  var de_ProviderProperties = /* @__PURE__ */ __name((output, context) => {
1447
1827
  return (0, import_smithy_client.take)(output, {
1448
1828
  intermediateSourceConfiguration: import_smithy_client._json,
@@ -1486,7 +1866,24 @@ var _nT = "nextToken";
1486
1866
  var _pN = "providerName";
1487
1867
  var _tK = "tagKeys";
1488
1868
 
1869
+ // src/commands/AddPolicyStatementCommand.ts
1870
+ var _AddPolicyStatementCommand = class _AddPolicyStatementCommand extends import_smithy_client.Command.classBuilder().ep({
1871
+ ...commonParams
1872
+ }).m(function(Command, cs, config, o) {
1873
+ return [
1874
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1875
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1876
+ ];
1877
+ }).s("AWSVeniceService", "AddPolicyStatement", {}).n("EntityResolutionClient", "AddPolicyStatementCommand").f(void 0, void 0).ser(se_AddPolicyStatementCommand).de(de_AddPolicyStatementCommand).build() {
1878
+ };
1879
+ __name(_AddPolicyStatementCommand, "AddPolicyStatementCommand");
1880
+ var AddPolicyStatementCommand = _AddPolicyStatementCommand;
1881
+
1489
1882
  // src/commands/CreateIdMappingWorkflowCommand.ts
1883
+
1884
+
1885
+
1886
+
1490
1887
  var _CreateIdMappingWorkflowCommand = class _CreateIdMappingWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
1491
1888
  ...commonParams
1492
1889
  }).m(function(Command, cs, config, o) {
@@ -1499,6 +1896,23 @@ var _CreateIdMappingWorkflowCommand = class _CreateIdMappingWorkflowCommand exte
1499
1896
  __name(_CreateIdMappingWorkflowCommand, "CreateIdMappingWorkflowCommand");
1500
1897
  var CreateIdMappingWorkflowCommand = _CreateIdMappingWorkflowCommand;
1501
1898
 
1899
+ // src/commands/CreateIdNamespaceCommand.ts
1900
+
1901
+
1902
+
1903
+
1904
+ var _CreateIdNamespaceCommand = class _CreateIdNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
1905
+ ...commonParams
1906
+ }).m(function(Command, cs, config, o) {
1907
+ return [
1908
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1909
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1910
+ ];
1911
+ }).s("AWSVeniceService", "CreateIdNamespace", {}).n("EntityResolutionClient", "CreateIdNamespaceCommand").f(void 0, void 0).ser(se_CreateIdNamespaceCommand).de(de_CreateIdNamespaceCommand).build() {
1912
+ };
1913
+ __name(_CreateIdNamespaceCommand, "CreateIdNamespaceCommand");
1914
+ var CreateIdNamespaceCommand = _CreateIdNamespaceCommand;
1915
+
1502
1916
  // src/commands/CreateMatchingWorkflowCommand.ts
1503
1917
 
1504
1918
 
@@ -1550,6 +1964,23 @@ var _DeleteIdMappingWorkflowCommand = class _DeleteIdMappingWorkflowCommand exte
1550
1964
  __name(_DeleteIdMappingWorkflowCommand, "DeleteIdMappingWorkflowCommand");
1551
1965
  var DeleteIdMappingWorkflowCommand = _DeleteIdMappingWorkflowCommand;
1552
1966
 
1967
+ // src/commands/DeleteIdNamespaceCommand.ts
1968
+
1969
+
1970
+
1971
+
1972
+ var _DeleteIdNamespaceCommand = class _DeleteIdNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
1973
+ ...commonParams
1974
+ }).m(function(Command, cs, config, o) {
1975
+ return [
1976
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1977
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1978
+ ];
1979
+ }).s("AWSVeniceService", "DeleteIdNamespace", {}).n("EntityResolutionClient", "DeleteIdNamespaceCommand").f(void 0, void 0).ser(se_DeleteIdNamespaceCommand).de(de_DeleteIdNamespaceCommand).build() {
1980
+ };
1981
+ __name(_DeleteIdNamespaceCommand, "DeleteIdNamespaceCommand");
1982
+ var DeleteIdNamespaceCommand = _DeleteIdNamespaceCommand;
1983
+
1553
1984
  // src/commands/DeleteMatchingWorkflowCommand.ts
1554
1985
 
1555
1986
 
@@ -1567,6 +1998,23 @@ var _DeleteMatchingWorkflowCommand = class _DeleteMatchingWorkflowCommand extend
1567
1998
  __name(_DeleteMatchingWorkflowCommand, "DeleteMatchingWorkflowCommand");
1568
1999
  var DeleteMatchingWorkflowCommand = _DeleteMatchingWorkflowCommand;
1569
2000
 
2001
+ // src/commands/DeletePolicyStatementCommand.ts
2002
+
2003
+
2004
+
2005
+
2006
+ var _DeletePolicyStatementCommand = class _DeletePolicyStatementCommand extends import_smithy_client.Command.classBuilder().ep({
2007
+ ...commonParams
2008
+ }).m(function(Command, cs, config, o) {
2009
+ return [
2010
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2011
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2012
+ ];
2013
+ }).s("AWSVeniceService", "DeletePolicyStatement", {}).n("EntityResolutionClient", "DeletePolicyStatementCommand").f(void 0, void 0).ser(se_DeletePolicyStatementCommand).de(de_DeletePolicyStatementCommand).build() {
2014
+ };
2015
+ __name(_DeletePolicyStatementCommand, "DeletePolicyStatementCommand");
2016
+ var DeletePolicyStatementCommand = _DeletePolicyStatementCommand;
2017
+
1570
2018
  // src/commands/DeleteSchemaMappingCommand.ts
1571
2019
 
1572
2020
 
@@ -1618,6 +2066,23 @@ var _GetIdMappingWorkflowCommand = class _GetIdMappingWorkflowCommand extends im
1618
2066
  __name(_GetIdMappingWorkflowCommand, "GetIdMappingWorkflowCommand");
1619
2067
  var GetIdMappingWorkflowCommand = _GetIdMappingWorkflowCommand;
1620
2068
 
2069
+ // src/commands/GetIdNamespaceCommand.ts
2070
+
2071
+
2072
+
2073
+
2074
+ var _GetIdNamespaceCommand = class _GetIdNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
2075
+ ...commonParams
2076
+ }).m(function(Command, cs, config, o) {
2077
+ return [
2078
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2079
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2080
+ ];
2081
+ }).s("AWSVeniceService", "GetIdNamespace", {}).n("EntityResolutionClient", "GetIdNamespaceCommand").f(void 0, void 0).ser(se_GetIdNamespaceCommand).de(de_GetIdNamespaceCommand).build() {
2082
+ };
2083
+ __name(_GetIdNamespaceCommand, "GetIdNamespaceCommand");
2084
+ var GetIdNamespaceCommand = _GetIdNamespaceCommand;
2085
+
1621
2086
  // src/commands/GetMatchIdCommand.ts
1622
2087
 
1623
2088
 
@@ -1669,6 +2134,23 @@ var _GetMatchingWorkflowCommand = class _GetMatchingWorkflowCommand extends impo
1669
2134
  __name(_GetMatchingWorkflowCommand, "GetMatchingWorkflowCommand");
1670
2135
  var GetMatchingWorkflowCommand = _GetMatchingWorkflowCommand;
1671
2136
 
2137
+ // src/commands/GetPolicyCommand.ts
2138
+
2139
+
2140
+
2141
+
2142
+ var _GetPolicyCommand = class _GetPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2143
+ ...commonParams
2144
+ }).m(function(Command, cs, config, o) {
2145
+ return [
2146
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2147
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2148
+ ];
2149
+ }).s("AWSVeniceService", "GetPolicy", {}).n("EntityResolutionClient", "GetPolicyCommand").f(void 0, void 0).ser(se_GetPolicyCommand).de(de_GetPolicyCommand).build() {
2150
+ };
2151
+ __name(_GetPolicyCommand, "GetPolicyCommand");
2152
+ var GetPolicyCommand = _GetPolicyCommand;
2153
+
1672
2154
  // src/commands/GetProviderServiceCommand.ts
1673
2155
 
1674
2156
 
@@ -1737,6 +2219,23 @@ var _ListIdMappingWorkflowsCommand = class _ListIdMappingWorkflowsCommand extend
1737
2219
  __name(_ListIdMappingWorkflowsCommand, "ListIdMappingWorkflowsCommand");
1738
2220
  var ListIdMappingWorkflowsCommand = _ListIdMappingWorkflowsCommand;
1739
2221
 
2222
+ // src/commands/ListIdNamespacesCommand.ts
2223
+
2224
+
2225
+
2226
+
2227
+ var _ListIdNamespacesCommand = class _ListIdNamespacesCommand extends import_smithy_client.Command.classBuilder().ep({
2228
+ ...commonParams
2229
+ }).m(function(Command, cs, config, o) {
2230
+ return [
2231
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2232
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2233
+ ];
2234
+ }).s("AWSVeniceService", "ListIdNamespaces", {}).n("EntityResolutionClient", "ListIdNamespacesCommand").f(void 0, void 0).ser(se_ListIdNamespacesCommand).de(de_ListIdNamespacesCommand).build() {
2235
+ };
2236
+ __name(_ListIdNamespacesCommand, "ListIdNamespacesCommand");
2237
+ var ListIdNamespacesCommand = _ListIdNamespacesCommand;
2238
+
1740
2239
  // src/commands/ListMatchingJobsCommand.ts
1741
2240
 
1742
2241
 
@@ -1822,6 +2321,23 @@ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends impo
1822
2321
  __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1823
2322
  var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1824
2323
 
2324
+ // src/commands/PutPolicyCommand.ts
2325
+
2326
+
2327
+
2328
+
2329
+ var _PutPolicyCommand = class _PutPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2330
+ ...commonParams
2331
+ }).m(function(Command, cs, config, o) {
2332
+ return [
2333
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2334
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2335
+ ];
2336
+ }).s("AWSVeniceService", "PutPolicy", {}).n("EntityResolutionClient", "PutPolicyCommand").f(void 0, void 0).ser(se_PutPolicyCommand).de(de_PutPolicyCommand).build() {
2337
+ };
2338
+ __name(_PutPolicyCommand, "PutPolicyCommand");
2339
+ var PutPolicyCommand = _PutPolicyCommand;
2340
+
1825
2341
  // src/commands/StartIdMappingJobCommand.ts
1826
2342
 
1827
2343
 
@@ -1907,6 +2423,23 @@ var _UpdateIdMappingWorkflowCommand = class _UpdateIdMappingWorkflowCommand exte
1907
2423
  __name(_UpdateIdMappingWorkflowCommand, "UpdateIdMappingWorkflowCommand");
1908
2424
  var UpdateIdMappingWorkflowCommand = _UpdateIdMappingWorkflowCommand;
1909
2425
 
2426
+ // src/commands/UpdateIdNamespaceCommand.ts
2427
+
2428
+
2429
+
2430
+
2431
+ var _UpdateIdNamespaceCommand = class _UpdateIdNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
2432
+ ...commonParams
2433
+ }).m(function(Command, cs, config, o) {
2434
+ return [
2435
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2436
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2437
+ ];
2438
+ }).s("AWSVeniceService", "UpdateIdNamespace", {}).n("EntityResolutionClient", "UpdateIdNamespaceCommand").f(void 0, void 0).ser(se_UpdateIdNamespaceCommand).de(de_UpdateIdNamespaceCommand).build() {
2439
+ };
2440
+ __name(_UpdateIdNamespaceCommand, "UpdateIdNamespaceCommand");
2441
+ var UpdateIdNamespaceCommand = _UpdateIdNamespaceCommand;
2442
+
1910
2443
  // src/commands/UpdateMatchingWorkflowCommand.ts
1911
2444
 
1912
2445
 
@@ -1943,31 +2476,40 @@ var UpdateSchemaMappingCommand = _UpdateSchemaMappingCommand;
1943
2476
 
1944
2477
  // src/EntityResolution.ts
1945
2478
  var commands = {
2479
+ AddPolicyStatementCommand,
1946
2480
  CreateIdMappingWorkflowCommand,
2481
+ CreateIdNamespaceCommand,
1947
2482
  CreateMatchingWorkflowCommand,
1948
2483
  CreateSchemaMappingCommand,
1949
2484
  DeleteIdMappingWorkflowCommand,
2485
+ DeleteIdNamespaceCommand,
1950
2486
  DeleteMatchingWorkflowCommand,
2487
+ DeletePolicyStatementCommand,
1951
2488
  DeleteSchemaMappingCommand,
1952
2489
  GetIdMappingJobCommand,
1953
2490
  GetIdMappingWorkflowCommand,
2491
+ GetIdNamespaceCommand,
1954
2492
  GetMatchIdCommand,
1955
2493
  GetMatchingJobCommand,
1956
2494
  GetMatchingWorkflowCommand,
2495
+ GetPolicyCommand,
1957
2496
  GetProviderServiceCommand,
1958
2497
  GetSchemaMappingCommand,
1959
2498
  ListIdMappingJobsCommand,
1960
2499
  ListIdMappingWorkflowsCommand,
2500
+ ListIdNamespacesCommand,
1961
2501
  ListMatchingJobsCommand,
1962
2502
  ListMatchingWorkflowsCommand,
1963
2503
  ListProviderServicesCommand,
1964
2504
  ListSchemaMappingsCommand,
1965
2505
  ListTagsForResourceCommand,
2506
+ PutPolicyCommand,
1966
2507
  StartIdMappingJobCommand,
1967
2508
  StartMatchingJobCommand,
1968
2509
  TagResourceCommand,
1969
2510
  UntagResourceCommand,
1970
2511
  UpdateIdMappingWorkflowCommand,
2512
+ UpdateIdNamespaceCommand,
1971
2513
  UpdateMatchingWorkflowCommand,
1972
2514
  UpdateSchemaMappingCommand
1973
2515
  };
@@ -1985,6 +2527,10 @@ var paginateListIdMappingJobs = (0, import_core.createPaginator)(EntityResolutio
1985
2527
 
1986
2528
  var paginateListIdMappingWorkflows = (0, import_core.createPaginator)(EntityResolutionClient, ListIdMappingWorkflowsCommand, "nextToken", "nextToken", "maxResults");
1987
2529
 
2530
+ // src/pagination/ListIdNamespacesPaginator.ts
2531
+
2532
+ var paginateListIdNamespaces = (0, import_core.createPaginator)(EntityResolutionClient, ListIdNamespacesCommand, "nextToken", "nextToken", "maxResults");
2533
+
1988
2534
  // src/pagination/ListMatchingJobsPaginator.ts
1989
2535
 
1990
2536
  var paginateListMatchingJobs = (0, import_core.createPaginator)(EntityResolutionClient, ListMatchingJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -2008,52 +2554,64 @@ var paginateListSchemaMappings = (0, import_core.createPaginator)(EntityResoluti
2008
2554
  EntityResolutionClient,
2009
2555
  EntityResolution,
2010
2556
  $Command,
2557
+ AddPolicyStatementCommand,
2011
2558
  CreateIdMappingWorkflowCommand,
2559
+ CreateIdNamespaceCommand,
2012
2560
  CreateMatchingWorkflowCommand,
2013
2561
  CreateSchemaMappingCommand,
2014
2562
  DeleteIdMappingWorkflowCommand,
2563
+ DeleteIdNamespaceCommand,
2015
2564
  DeleteMatchingWorkflowCommand,
2565
+ DeletePolicyStatementCommand,
2016
2566
  DeleteSchemaMappingCommand,
2017
2567
  GetIdMappingJobCommand,
2018
2568
  GetIdMappingWorkflowCommand,
2569
+ GetIdNamespaceCommand,
2019
2570
  GetMatchIdCommand,
2020
2571
  GetMatchingJobCommand,
2021
2572
  GetMatchingWorkflowCommand,
2573
+ GetPolicyCommand,
2022
2574
  GetProviderServiceCommand,
2023
2575
  GetSchemaMappingCommand,
2024
2576
  ListIdMappingJobsCommand,
2025
2577
  ListIdMappingWorkflowsCommand,
2578
+ ListIdNamespacesCommand,
2026
2579
  ListMatchingJobsCommand,
2027
2580
  ListMatchingWorkflowsCommand,
2028
2581
  ListProviderServicesCommand,
2029
2582
  ListSchemaMappingsCommand,
2030
2583
  ListTagsForResourceCommand,
2584
+ PutPolicyCommand,
2031
2585
  StartIdMappingJobCommand,
2032
2586
  StartMatchingJobCommand,
2033
2587
  TagResourceCommand,
2034
2588
  UntagResourceCommand,
2035
2589
  UpdateIdMappingWorkflowCommand,
2590
+ UpdateIdNamespaceCommand,
2036
2591
  UpdateMatchingWorkflowCommand,
2037
2592
  UpdateSchemaMappingCommand,
2038
2593
  paginateListIdMappingJobs,
2039
2594
  paginateListIdMappingWorkflows,
2595
+ paginateListIdNamespaces,
2040
2596
  paginateListMatchingJobs,
2041
2597
  paginateListMatchingWorkflows,
2042
2598
  paginateListProviderServices,
2043
2599
  paginateListSchemaMappings,
2044
2600
  AccessDeniedException,
2045
- AttributeMatchingModel,
2601
+ StatementEffect,
2046
2602
  ConflictException,
2047
- IdMappingType,
2048
- ExceedsLimitException,
2049
2603
  InternalServerException,
2604
+ ResourceNotFoundException,
2050
2605
  ThrottlingException,
2051
2606
  ValidationException,
2607
+ AttributeMatchingModel,
2608
+ IdMappingType,
2609
+ IdNamespaceType,
2610
+ ExceedsLimitException,
2052
2611
  IncrementalRunType,
2053
2612
  ResolutionType,
2054
2613
  SchemaAttributeType,
2055
2614
  JobStatus,
2056
- ResourceNotFoundException,
2057
2615
  ProviderEndpointConfiguration,
2058
2616
  ServiceType,
2059
2617
  GetMatchIdInputFilterSensitiveLog