@aws-sdk/client-entityresolution 3.378.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 (147) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +346 -0
  3. package/dist-cjs/EntityResolution.js +43 -0
  4. package/dist-cjs/EntityResolutionClient.js +41 -0
  5. package/dist-cjs/commands/CreateMatchingWorkflowCommand.js +46 -0
  6. package/dist-cjs/commands/CreateSchemaMappingCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteMatchingWorkflowCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteSchemaMappingCommand.js +46 -0
  9. package/dist-cjs/commands/GetMatchIdCommand.js +47 -0
  10. package/dist-cjs/commands/GetMatchingJobCommand.js +46 -0
  11. package/dist-cjs/commands/GetMatchingWorkflowCommand.js +46 -0
  12. package/dist-cjs/commands/GetSchemaMappingCommand.js +46 -0
  13. package/dist-cjs/commands/ListMatchingJobsCommand.js +46 -0
  14. package/dist-cjs/commands/ListMatchingWorkflowsCommand.js +46 -0
  15. package/dist-cjs/commands/ListSchemaMappingsCommand.js +46 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  17. package/dist-cjs/commands/StartMatchingJobCommand.js +46 -0
  18. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  19. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  20. package/dist-cjs/commands/UpdateMatchingWorkflowCommand.js +46 -0
  21. package/dist-cjs/commands/index.js +19 -0
  22. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  24. package/dist-cjs/endpoint/ruleset.js +7 -0
  25. package/dist-cjs/index.js +11 -0
  26. package/dist-cjs/models/EntityResolutionServiceException.js +12 -0
  27. package/dist-cjs/models/index.js +4 -0
  28. package/dist-cjs/models/models_0.js +143 -0
  29. package/dist-cjs/pagination/Interfaces.js +2 -0
  30. package/dist-cjs/pagination/ListMatchingJobsPaginator.js +29 -0
  31. package/dist-cjs/pagination/ListMatchingWorkflowsPaginator.js +29 -0
  32. package/dist-cjs/pagination/ListSchemaMappingsPaginator.js +29 -0
  33. package/dist-cjs/pagination/index.js +7 -0
  34. package/dist-cjs/protocols/Aws_restJson1.js +1281 -0
  35. package/dist-cjs/runtimeConfig.browser.js +39 -0
  36. package/dist-cjs/runtimeConfig.js +48 -0
  37. package/dist-cjs/runtimeConfig.native.js +15 -0
  38. package/dist-cjs/runtimeConfig.shared.js +21 -0
  39. package/dist-es/EntityResolution.js +39 -0
  40. package/dist-es/EntityResolutionClient.js +37 -0
  41. package/dist-es/commands/CreateMatchingWorkflowCommand.js +42 -0
  42. package/dist-es/commands/CreateSchemaMappingCommand.js +42 -0
  43. package/dist-es/commands/DeleteMatchingWorkflowCommand.js +42 -0
  44. package/dist-es/commands/DeleteSchemaMappingCommand.js +42 -0
  45. package/dist-es/commands/GetMatchIdCommand.js +43 -0
  46. package/dist-es/commands/GetMatchingJobCommand.js +42 -0
  47. package/dist-es/commands/GetMatchingWorkflowCommand.js +42 -0
  48. package/dist-es/commands/GetSchemaMappingCommand.js +42 -0
  49. package/dist-es/commands/ListMatchingJobsCommand.js +42 -0
  50. package/dist-es/commands/ListMatchingWorkflowsCommand.js +42 -0
  51. package/dist-es/commands/ListSchemaMappingsCommand.js +42 -0
  52. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  53. package/dist-es/commands/StartMatchingJobCommand.js +42 -0
  54. package/dist-es/commands/TagResourceCommand.js +42 -0
  55. package/dist-es/commands/UntagResourceCommand.js +42 -0
  56. package/dist-es/commands/UpdateMatchingWorkflowCommand.js +42 -0
  57. package/dist-es/commands/index.js +16 -0
  58. package/dist-es/endpoint/EndpointParameters.js +8 -0
  59. package/dist-es/endpoint/endpointResolver.js +8 -0
  60. package/dist-es/endpoint/ruleset.js +4 -0
  61. package/dist-es/index.js +6 -0
  62. package/dist-es/models/EntityResolutionServiceException.js +8 -0
  63. package/dist-es/models/index.js +1 -0
  64. package/dist-es/models/models_0.js +132 -0
  65. package/dist-es/pagination/Interfaces.js +1 -0
  66. package/dist-es/pagination/ListMatchingJobsPaginator.js +25 -0
  67. package/dist-es/pagination/ListMatchingWorkflowsPaginator.js +25 -0
  68. package/dist-es/pagination/ListSchemaMappingsPaginator.js +25 -0
  69. package/dist-es/pagination/index.js +4 -0
  70. package/dist-es/protocols/Aws_restJson1.js +1246 -0
  71. package/dist-es/runtimeConfig.browser.js +34 -0
  72. package/dist-es/runtimeConfig.js +43 -0
  73. package/dist-es/runtimeConfig.native.js +11 -0
  74. package/dist-es/runtimeConfig.shared.js +17 -0
  75. package/dist-types/EntityResolution.d.ts +135 -0
  76. package/dist-types/EntityResolutionClient.d.ts +191 -0
  77. package/dist-types/commands/CreateMatchingWorkflowCommand.d.ts +183 -0
  78. package/dist-types/commands/CreateSchemaMappingCommand.d.ts +123 -0
  79. package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +90 -0
  80. package/dist-types/commands/DeleteSchemaMappingCommand.d.ts +96 -0
  81. package/dist-types/commands/GetMatchIdCommand.d.ts +96 -0
  82. package/dist-types/commands/GetMatchingJobCommand.d.ts +106 -0
  83. package/dist-types/commands/GetMatchingWorkflowCommand.d.ts +138 -0
  84. package/dist-types/commands/GetSchemaMappingCommand.d.ts +108 -0
  85. package/dist-types/commands/ListMatchingJobsCommand.d.ts +103 -0
  86. package/dist-types/commands/ListMatchingWorkflowsCommand.d.ts +98 -0
  87. package/dist-types/commands/ListSchemaMappingsCommand.d.ts +98 -0
  88. package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
  89. package/dist-types/commands/StartMatchingJobCommand.d.ts +104 -0
  90. package/dist-types/commands/TagResourceCommand.d.ts +95 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
  92. package/dist-types/commands/UpdateMatchingWorkflowCommand.d.ts +174 -0
  93. package/dist-types/commands/index.d.ts +16 -0
  94. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  95. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  96. package/dist-types/endpoint/ruleset.d.ts +2 -0
  97. package/dist-types/index.d.ts +24 -0
  98. package/dist-types/models/EntityResolutionServiceException.d.ts +13 -0
  99. package/dist-types/models/index.d.ts +1 -0
  100. package/dist-types/models/models_0.d.ts +1017 -0
  101. package/dist-types/pagination/Interfaces.d.ts +8 -0
  102. package/dist-types/pagination/ListMatchingJobsPaginator.d.ts +7 -0
  103. package/dist-types/pagination/ListMatchingWorkflowsPaginator.d.ts +7 -0
  104. package/dist-types/pagination/ListSchemaMappingsPaginator.d.ts +7 -0
  105. package/dist-types/pagination/index.d.ts +4 -0
  106. package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
  107. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  108. package/dist-types/runtimeConfig.d.ts +42 -0
  109. package/dist-types/runtimeConfig.native.d.ts +41 -0
  110. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  111. package/dist-types/ts3.4/EntityResolution.d.ts +279 -0
  112. package/dist-types/ts3.4/EntityResolutionClient.d.ts +209 -0
  113. package/dist-types/ts3.4/commands/CreateMatchingWorkflowCommand.d.ts +42 -0
  114. package/dist-types/ts3.4/commands/CreateSchemaMappingCommand.d.ts +39 -0
  115. package/dist-types/ts3.4/commands/DeleteMatchingWorkflowCommand.d.ts +42 -0
  116. package/dist-types/ts3.4/commands/DeleteSchemaMappingCommand.d.ts +39 -0
  117. package/dist-types/ts3.4/commands/GetMatchIdCommand.d.ts +35 -0
  118. package/dist-types/ts3.4/commands/GetMatchingJobCommand.d.ts +35 -0
  119. package/dist-types/ts3.4/commands/GetMatchingWorkflowCommand.d.ts +39 -0
  120. package/dist-types/ts3.4/commands/GetSchemaMappingCommand.d.ts +38 -0
  121. package/dist-types/ts3.4/commands/ListMatchingJobsCommand.d.ts +38 -0
  122. package/dist-types/ts3.4/commands/ListMatchingWorkflowsCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/ListSchemaMappingsCommand.d.ts +39 -0
  124. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  125. package/dist-types/ts3.4/commands/StartMatchingJobCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  127. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  128. package/dist-types/ts3.4/commands/UpdateMatchingWorkflowCommand.d.ts +42 -0
  129. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  130. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  131. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  132. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  133. package/dist-types/ts3.4/index.d.ts +6 -0
  134. package/dist-types/ts3.4/models/EntityResolutionServiceException.d.ts +8 -0
  135. package/dist-types/ts3.4/models/index.d.ts +1 -0
  136. package/dist-types/ts3.4/models/models_0.d.ts +322 -0
  137. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  138. package/dist-types/ts3.4/pagination/ListMatchingJobsPaginator.d.ts +11 -0
  139. package/dist-types/ts3.4/pagination/ListMatchingWorkflowsPaginator.d.ts +11 -0
  140. package/dist-types/ts3.4/pagination/ListSchemaMappingsPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  142. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
  143. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  144. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  145. package/dist-types/ts3.4/runtimeConfig.native.d.ts +82 -0
  146. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
  147. package/package.json +99 -0
@@ -0,0 +1,123 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EntityResolutionClient";
5
+ import { CreateSchemaMappingInput, CreateSchemaMappingOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateSchemaMappingCommand}.
14
+ */
15
+ export interface CreateSchemaMappingCommandInput extends CreateSchemaMappingInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateSchemaMappingCommand}.
21
+ */
22
+ export interface CreateSchemaMappingCommandOutput extends CreateSchemaMappingOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a schema mapping, which defines the schema of the input customer records table.
27
+ * The <code>SchemaMapping</code> also provides Entity Resolution with some metadata about the
28
+ * table, such as the attribute types of the columns and which columns to match on.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { EntityResolutionClient, CreateSchemaMappingCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
33
+ * // const { EntityResolutionClient, CreateSchemaMappingCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
34
+ * const client = new EntityResolutionClient(config);
35
+ * const input = { // CreateSchemaMappingInput
36
+ * schemaName: "STRING_VALUE", // required
37
+ * description: "STRING_VALUE",
38
+ * mappedInputFields: [ // SchemaInputAttributes
39
+ * { // SchemaInputAttribute
40
+ * fieldName: "STRING_VALUE", // required
41
+ * type: "NAME" || "NAME_FIRST" || "NAME_MIDDLE" || "NAME_LAST" || "ADDRESS" || "ADDRESS_STREET1" || "ADDRESS_STREET2" || "ADDRESS_STREET3" || "ADDRESS_CITY" || "ADDRESS_STATE" || "ADDRESS_COUNTRY" || "ADDRESS_POSTALCODE" || "PHONE" || "PHONE_NUMBER" || "PHONE_COUNTRYCODE" || "EMAIL_ADDRESS" || "UNIQUE_ID" || "DATE" || "STRING", // required
42
+ * groupName: "STRING_VALUE",
43
+ * matchKey: "STRING_VALUE",
44
+ * },
45
+ * ],
46
+ * tags: { // TagMap
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * };
50
+ * const command = new CreateSchemaMappingCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // CreateSchemaMappingOutput
53
+ * // schemaName: "STRING_VALUE", // required
54
+ * // schemaArn: "STRING_VALUE", // required
55
+ * // description: "STRING_VALUE", // required
56
+ * // mappedInputFields: [ // SchemaInputAttributes // required
57
+ * // { // SchemaInputAttribute
58
+ * // fieldName: "STRING_VALUE", // required
59
+ * // type: "NAME" || "NAME_FIRST" || "NAME_MIDDLE" || "NAME_LAST" || "ADDRESS" || "ADDRESS_STREET1" || "ADDRESS_STREET2" || "ADDRESS_STREET3" || "ADDRESS_CITY" || "ADDRESS_STATE" || "ADDRESS_COUNTRY" || "ADDRESS_POSTALCODE" || "PHONE" || "PHONE_NUMBER" || "PHONE_COUNTRYCODE" || "EMAIL_ADDRESS" || "UNIQUE_ID" || "DATE" || "STRING", // required
60
+ * // groupName: "STRING_VALUE",
61
+ * // matchKey: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param CreateSchemaMappingCommandInput - {@link CreateSchemaMappingCommandInput}
69
+ * @returns {@link CreateSchemaMappingCommandOutput}
70
+ * @see {@link CreateSchemaMappingCommandInput} for command's `input` shape.
71
+ * @see {@link CreateSchemaMappingCommandOutput} for command's `response` shape.
72
+ * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You do not have sufficient access to perform this action. <code>HTTP Status Code: 403</code>
76
+ * </p>
77
+ *
78
+ * @throws {@link ConflictException} (client fault)
79
+ * <p>The request could not be processed because of conflict in the current state of the resource. Example: Workflow already exists,
80
+ * Schema already exists, Workflow is currently running, etc. <code>HTTP Status Code: 400</code>
81
+ * </p>
82
+ *
83
+ * @throws {@link ExceedsLimitException} (client fault)
84
+ * <p>The request was rejected because it attempted to create resources beyond the current AWS Entity Resolution account limits.
85
+ * The error message describes the limit exceeded. <code>HTTP Status Code: 402</code>
86
+ * </p>
87
+ *
88
+ * @throws {@link InternalServerException} (server fault)
89
+ * <p>This exception occurs when there is an internal failure in the AWS Entity Resolution service. <code>HTTP Status Code: 500</code>
90
+ * </p>
91
+ *
92
+ * @throws {@link ThrottlingException} (client fault)
93
+ * <p>The request was denied due to request throttling. <code>HTTP Status Code: 429</code>
94
+ * </p>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>The input fails to satisfy the constraints specified by AWS Entity Resolution. <code>HTTP Status Code: 400</code>
98
+ * </p>
99
+ *
100
+ * @throws {@link EntityResolutionServiceException}
101
+ * <p>Base exception class for all service exceptions from EntityResolution service.</p>
102
+ *
103
+ */
104
+ export declare class CreateSchemaMappingCommand extends $Command<CreateSchemaMappingCommandInput, CreateSchemaMappingCommandOutput, EntityResolutionClientResolvedConfig> {
105
+ readonly input: CreateSchemaMappingCommandInput;
106
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
107
+ /**
108
+ * @public
109
+ */
110
+ constructor(input: CreateSchemaMappingCommandInput);
111
+ /**
112
+ * @internal
113
+ */
114
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EntityResolutionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSchemaMappingCommandInput, CreateSchemaMappingCommandOutput>;
115
+ /**
116
+ * @internal
117
+ */
118
+ private serialize;
119
+ /**
120
+ * @internal
121
+ */
122
+ private deserialize;
123
+ }
@@ -0,0 +1,90 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EntityResolutionClient";
5
+ import { DeleteMatchingWorkflowInput, DeleteMatchingWorkflowOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteMatchingWorkflowCommand}.
14
+ */
15
+ export interface DeleteMatchingWorkflowCommandInput extends DeleteMatchingWorkflowInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteMatchingWorkflowCommand}.
21
+ */
22
+ export interface DeleteMatchingWorkflowCommandOutput extends DeleteMatchingWorkflowOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the <code>MatchingWorkflow</code> with a given name. This operation will succeed even if a
27
+ * workflow with the given name does not exist.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EntityResolutionClient, DeleteMatchingWorkflowCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
32
+ * // const { EntityResolutionClient, DeleteMatchingWorkflowCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
33
+ * const client = new EntityResolutionClient(config);
34
+ * const input = { // DeleteMatchingWorkflowInput
35
+ * workflowName: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeleteMatchingWorkflowCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // DeleteMatchingWorkflowOutput
40
+ * // message: "STRING_VALUE", // required
41
+ * // };
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteMatchingWorkflowCommandInput - {@link DeleteMatchingWorkflowCommandInput}
46
+ * @returns {@link DeleteMatchingWorkflowCommandOutput}
47
+ * @see {@link DeleteMatchingWorkflowCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteMatchingWorkflowCommandOutput} for command's `response` shape.
49
+ * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient access to perform this action. <code>HTTP Status Code: 403</code>
53
+ * </p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>This exception occurs when there is an internal failure in the AWS Entity Resolution service. <code>HTTP Status Code: 500</code>
57
+ * </p>
58
+ *
59
+ * @throws {@link ThrottlingException} (client fault)
60
+ * <p>The request was denied due to request throttling. <code>HTTP Status Code: 429</code>
61
+ * </p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>The input fails to satisfy the constraints specified by AWS Entity Resolution. <code>HTTP Status Code: 400</code>
65
+ * </p>
66
+ *
67
+ * @throws {@link EntityResolutionServiceException}
68
+ * <p>Base exception class for all service exceptions from EntityResolution service.</p>
69
+ *
70
+ */
71
+ export declare class DeleteMatchingWorkflowCommand extends $Command<DeleteMatchingWorkflowCommandInput, DeleteMatchingWorkflowCommandOutput, EntityResolutionClientResolvedConfig> {
72
+ readonly input: DeleteMatchingWorkflowCommandInput;
73
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
+ /**
75
+ * @public
76
+ */
77
+ constructor(input: DeleteMatchingWorkflowCommandInput);
78
+ /**
79
+ * @internal
80
+ */
81
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EntityResolutionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMatchingWorkflowCommandInput, DeleteMatchingWorkflowCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -0,0 +1,96 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EntityResolutionClient";
5
+ import { DeleteSchemaMappingInput, DeleteSchemaMappingOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteSchemaMappingCommand}.
14
+ */
15
+ export interface DeleteSchemaMappingCommandInput extends DeleteSchemaMappingInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteSchemaMappingCommand}.
21
+ */
22
+ export interface DeleteSchemaMappingCommandOutput extends DeleteSchemaMappingOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the <code>SchemaMapping</code> with a given name. This operation will succeed even if a schema
27
+ * with the given name does not exist. This operation will fail if there is a <code>DataIntegrationWorkflow</code>
28
+ * object that references the <code>SchemaMapping</code> in the workflow's <code>InputSourceConfig</code>.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { EntityResolutionClient, DeleteSchemaMappingCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
33
+ * // const { EntityResolutionClient, DeleteSchemaMappingCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
34
+ * const client = new EntityResolutionClient(config);
35
+ * const input = { // DeleteSchemaMappingInput
36
+ * schemaName: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new DeleteSchemaMappingCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // DeleteSchemaMappingOutput
41
+ * // message: "STRING_VALUE", // required
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteSchemaMappingCommandInput - {@link DeleteSchemaMappingCommandInput}
47
+ * @returns {@link DeleteSchemaMappingCommandOutput}
48
+ * @see {@link DeleteSchemaMappingCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteSchemaMappingCommandOutput} for command's `response` shape.
50
+ * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You do not have sufficient access to perform this action. <code>HTTP Status Code: 403</code>
54
+ * </p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>The request could not be processed because of conflict in the current state of the resource. Example: Workflow already exists,
58
+ * Schema already exists, Workflow is currently running, etc. <code>HTTP Status Code: 400</code>
59
+ * </p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>This exception occurs when there is an internal failure in the AWS Entity Resolution service. <code>HTTP Status Code: 500</code>
63
+ * </p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling. <code>HTTP Status Code: 429</code>
67
+ * </p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input fails to satisfy the constraints specified by AWS Entity Resolution. <code>HTTP Status Code: 400</code>
71
+ * </p>
72
+ *
73
+ * @throws {@link EntityResolutionServiceException}
74
+ * <p>Base exception class for all service exceptions from EntityResolution service.</p>
75
+ *
76
+ */
77
+ export declare class DeleteSchemaMappingCommand extends $Command<DeleteSchemaMappingCommandInput, DeleteSchemaMappingCommandOutput, EntityResolutionClientResolvedConfig> {
78
+ readonly input: DeleteSchemaMappingCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: DeleteSchemaMappingCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EntityResolutionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSchemaMappingCommandInput, DeleteSchemaMappingCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -0,0 +1,96 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EntityResolutionClient";
5
+ import { GetMatchIdInput, GetMatchIdOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetMatchIdCommand}.
14
+ */
15
+ export interface GetMatchIdCommandInput extends GetMatchIdInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMatchIdCommand}.
21
+ */
22
+ export interface GetMatchIdCommandOutput extends GetMatchIdOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns the corresponding Match ID of a customer record if the record has been processed.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EntityResolutionClient, GetMatchIdCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
31
+ * // const { EntityResolutionClient, GetMatchIdCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
32
+ * const client = new EntityResolutionClient(config);
33
+ * const input = { // GetMatchIdInput
34
+ * workflowName: "STRING_VALUE", // required
35
+ * record: { // RecordAttributeMap // required
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * };
39
+ * const command = new GetMatchIdCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetMatchIdOutput
42
+ * // matchId: "STRING_VALUE",
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param GetMatchIdCommandInput - {@link GetMatchIdCommandInput}
48
+ * @returns {@link GetMatchIdCommandOutput}
49
+ * @see {@link GetMatchIdCommandInput} for command's `input` shape.
50
+ * @see {@link GetMatchIdCommandOutput} for command's `response` shape.
51
+ * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You do not have sufficient access to perform this action. <code>HTTP Status Code: 403</code>
55
+ * </p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>This exception occurs when there is an internal failure in the AWS Entity Resolution service. <code>HTTP Status Code: 500</code>
59
+ * </p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The resource could not be found. <code>HTTP Status Code: 404</code>
63
+ * </p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling. <code>HTTP Status Code: 429</code>
67
+ * </p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input fails to satisfy the constraints specified by AWS Entity Resolution. <code>HTTP Status Code: 400</code>
71
+ * </p>
72
+ *
73
+ * @throws {@link EntityResolutionServiceException}
74
+ * <p>Base exception class for all service exceptions from EntityResolution service.</p>
75
+ *
76
+ */
77
+ export declare class GetMatchIdCommand extends $Command<GetMatchIdCommandInput, GetMatchIdCommandOutput, EntityResolutionClientResolvedConfig> {
78
+ readonly input: GetMatchIdCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: GetMatchIdCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EntityResolutionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMatchIdCommandInput, GetMatchIdCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -0,0 +1,106 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EntityResolutionClient";
5
+ import { GetMatchingJobInput, GetMatchingJobOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetMatchingJobCommand}.
14
+ */
15
+ export interface GetMatchingJobCommandInput extends GetMatchingJobInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMatchingJobCommand}.
21
+ */
22
+ export interface GetMatchingJobCommandOutput extends GetMatchingJobOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Gets the status, metrics, and errors (if there are any) that are associated with a job.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EntityResolutionClient, GetMatchingJobCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
31
+ * // const { EntityResolutionClient, GetMatchingJobCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
32
+ * const client = new EntityResolutionClient(config);
33
+ * const input = { // GetMatchingJobInput
34
+ * workflowName: "STRING_VALUE", // required
35
+ * jobId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetMatchingJobCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetMatchingJobOutput
40
+ * // jobId: "STRING_VALUE", // required
41
+ * // status: "RUNNING" || "SUCCEEDED" || "FAILED" || "QUEUED", // required
42
+ * // startTime: new Date("TIMESTAMP"), // required
43
+ * // endTime: new Date("TIMESTAMP"),
44
+ * // metrics: { // JobMetrics
45
+ * // inputRecords: Number("int"),
46
+ * // totalRecordsProcessed: Number("int"),
47
+ * // matchIDs: Number("int"),
48
+ * // recordsNotProcessed: Number("int"),
49
+ * // },
50
+ * // errorDetails: { // ErrorDetails
51
+ * // errorMessage: "STRING_VALUE",
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param GetMatchingJobCommandInput - {@link GetMatchingJobCommandInput}
58
+ * @returns {@link GetMatchingJobCommandOutput}
59
+ * @see {@link GetMatchingJobCommandInput} for command's `input` shape.
60
+ * @see {@link GetMatchingJobCommandOutput} for command's `response` shape.
61
+ * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You do not have sufficient access to perform this action. <code>HTTP Status Code: 403</code>
65
+ * </p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>This exception occurs when there is an internal failure in the AWS Entity Resolution service. <code>HTTP Status Code: 500</code>
69
+ * </p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The resource could not be found. <code>HTTP Status Code: 404</code>
73
+ * </p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was denied due to request throttling. <code>HTTP Status Code: 429</code>
77
+ * </p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The input fails to satisfy the constraints specified by AWS Entity Resolution. <code>HTTP Status Code: 400</code>
81
+ * </p>
82
+ *
83
+ * @throws {@link EntityResolutionServiceException}
84
+ * <p>Base exception class for all service exceptions from EntityResolution service.</p>
85
+ *
86
+ */
87
+ export declare class GetMatchingJobCommand extends $Command<GetMatchingJobCommandInput, GetMatchingJobCommandOutput, EntityResolutionClientResolvedConfig> {
88
+ readonly input: GetMatchingJobCommandInput;
89
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
+ /**
91
+ * @public
92
+ */
93
+ constructor(input: GetMatchingJobCommandInput);
94
+ /**
95
+ * @internal
96
+ */
97
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EntityResolutionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMatchingJobCommandInput, GetMatchingJobCommandOutput>;
98
+ /**
99
+ * @internal
100
+ */
101
+ private serialize;
102
+ /**
103
+ * @internal
104
+ */
105
+ private deserialize;
106
+ }
@@ -0,0 +1,138 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EntityResolutionClient";
5
+ import { GetMatchingWorkflowInput, GetMatchingWorkflowOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetMatchingWorkflowCommand}.
14
+ */
15
+ export interface GetMatchingWorkflowCommandInput extends GetMatchingWorkflowInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMatchingWorkflowCommand}.
21
+ */
22
+ export interface GetMatchingWorkflowCommandOutput extends GetMatchingWorkflowOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns the <code>MatchingWorkflow</code> with a given name, if it exists.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EntityResolutionClient, GetMatchingWorkflowCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
31
+ * // const { EntityResolutionClient, GetMatchingWorkflowCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
32
+ * const client = new EntityResolutionClient(config);
33
+ * const input = { // GetMatchingWorkflowInput
34
+ * workflowName: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetMatchingWorkflowCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetMatchingWorkflowOutput
39
+ * // workflowName: "STRING_VALUE", // required
40
+ * // workflowArn: "STRING_VALUE", // required
41
+ * // description: "STRING_VALUE",
42
+ * // inputSourceConfig: [ // InputSourceConfig // required
43
+ * // { // InputSource
44
+ * // inputSourceARN: "STRING_VALUE", // required
45
+ * // schemaName: "STRING_VALUE", // required
46
+ * // applyNormalization: true || false,
47
+ * // },
48
+ * // ],
49
+ * // outputSourceConfig: [ // OutputSourceConfig // required
50
+ * // { // OutputSource
51
+ * // outputS3Path: "STRING_VALUE", // required
52
+ * // output: [ // OutputAttributes // required
53
+ * // { // OutputAttribute
54
+ * // name: "STRING_VALUE", // required
55
+ * // hashed: true || false,
56
+ * // },
57
+ * // ],
58
+ * // KMSArn: "STRING_VALUE",
59
+ * // applyNormalization: true || false,
60
+ * // },
61
+ * // ],
62
+ * // resolutionTechniques: { // ResolutionTechniques
63
+ * // resolutionType: "RULE_MATCHING" || "ML_MATCHING",
64
+ * // ruleBasedProperties: { // RuleBasedProperties
65
+ * // rules: [ // RuleList // required
66
+ * // { // Rule
67
+ * // ruleName: "STRING_VALUE", // required
68
+ * // matchingKeys: [ // MatchingKeys // required
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // },
72
+ * // ],
73
+ * // attributeMatchingModel: "ONE_TO_ONE" || "MANY_TO_MANY", // required
74
+ * // },
75
+ * // },
76
+ * // createdAt: new Date("TIMESTAMP"), // required
77
+ * // updatedAt: new Date("TIMESTAMP"), // required
78
+ * // incrementalRunConfig: { // IncrementalRunConfig
79
+ * // incrementalRunType: "IMMEDIATE",
80
+ * // },
81
+ * // roleArn: "STRING_VALUE", // required
82
+ * // tags: { // TagMap
83
+ * // "<keys>": "STRING_VALUE",
84
+ * // },
85
+ * // };
86
+ *
87
+ * ```
88
+ *
89
+ * @param GetMatchingWorkflowCommandInput - {@link GetMatchingWorkflowCommandInput}
90
+ * @returns {@link GetMatchingWorkflowCommandOutput}
91
+ * @see {@link GetMatchingWorkflowCommandInput} for command's `input` shape.
92
+ * @see {@link GetMatchingWorkflowCommandOutput} for command's `response` shape.
93
+ * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
94
+ *
95
+ * @throws {@link AccessDeniedException} (client fault)
96
+ * <p>You do not have sufficient access to perform this action. <code>HTTP Status Code: 403</code>
97
+ * </p>
98
+ *
99
+ * @throws {@link InternalServerException} (server fault)
100
+ * <p>This exception occurs when there is an internal failure in the AWS Entity Resolution service. <code>HTTP Status Code: 500</code>
101
+ * </p>
102
+ *
103
+ * @throws {@link ResourceNotFoundException} (client fault)
104
+ * <p>The resource could not be found. <code>HTTP Status Code: 404</code>
105
+ * </p>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <p>The request was denied due to request throttling. <code>HTTP Status Code: 429</code>
109
+ * </p>
110
+ *
111
+ * @throws {@link ValidationException} (client fault)
112
+ * <p>The input fails to satisfy the constraints specified by AWS Entity Resolution. <code>HTTP Status Code: 400</code>
113
+ * </p>
114
+ *
115
+ * @throws {@link EntityResolutionServiceException}
116
+ * <p>Base exception class for all service exceptions from EntityResolution service.</p>
117
+ *
118
+ */
119
+ export declare class GetMatchingWorkflowCommand extends $Command<GetMatchingWorkflowCommandInput, GetMatchingWorkflowCommandOutput, EntityResolutionClientResolvedConfig> {
120
+ readonly input: GetMatchingWorkflowCommandInput;
121
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
+ /**
123
+ * @public
124
+ */
125
+ constructor(input: GetMatchingWorkflowCommandInput);
126
+ /**
127
+ * @internal
128
+ */
129
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EntityResolutionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMatchingWorkflowCommandInput, GetMatchingWorkflowCommandOutput>;
130
+ /**
131
+ * @internal
132
+ */
133
+ private serialize;
134
+ /**
135
+ * @internal
136
+ */
137
+ private deserialize;
138
+ }