@aws-sdk/client-entityresolution 3.554.0 → 3.562.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 (63) hide show
  1. package/README.md +87 -7
  2. package/dist-cjs/index.js +683 -56
  3. package/dist-es/EntityResolution.js +20 -0
  4. package/dist-es/commands/AddPolicyStatementCommand.js +24 -0
  5. package/dist-es/commands/BatchDeleteUniqueIdCommand.js +24 -0
  6. package/dist-es/commands/CreateIdNamespaceCommand.js +24 -0
  7. package/dist-es/commands/DeleteIdNamespaceCommand.js +24 -0
  8. package/dist-es/commands/DeletePolicyStatementCommand.js +24 -0
  9. package/dist-es/commands/GetIdNamespaceCommand.js +24 -0
  10. package/dist-es/commands/GetPolicyCommand.js +24 -0
  11. package/dist-es/commands/ListIdNamespacesCommand.js +24 -0
  12. package/dist-es/commands/PutPolicyCommand.js +24 -0
  13. package/dist-es/commands/UpdateIdNamespaceCommand.js +24 -0
  14. package/dist-es/commands/index.js +10 -0
  15. package/dist-es/models/models_0.js +48 -32
  16. package/dist-es/pagination/ListIdNamespacesPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +1 -0
  18. package/dist-es/protocols/Aws_restJson1.js +399 -7
  19. package/dist-types/EntityResolution.d.ts +71 -0
  20. package/dist-types/EntityResolutionClient.d.ts +12 -2
  21. package/dist-types/commands/AddPolicyStatementCommand.d.ts +101 -0
  22. package/dist-types/commands/BatchDeleteUniqueIdCommand.d.ts +91 -0
  23. package/dist-types/commands/CreateIdMappingWorkflowCommand.d.ts +6 -4
  24. package/dist-types/commands/CreateIdNamespaceCommand.d.ts +138 -0
  25. package/dist-types/commands/DeleteIdMappingWorkflowCommand.d.ts +6 -0
  26. package/dist-types/commands/DeleteIdNamespaceCommand.d.ts +79 -0
  27. package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +6 -0
  28. package/dist-types/commands/DeletePolicyStatementCommand.d.ts +92 -0
  29. package/dist-types/commands/GetIdMappingJobCommand.d.ts +7 -0
  30. package/dist-types/commands/GetIdMappingWorkflowCommand.d.ts +3 -2
  31. package/dist-types/commands/GetIdNamespaceCommand.d.ts +107 -0
  32. package/dist-types/commands/GetMatchIdCommand.d.ts +2 -0
  33. package/dist-types/commands/GetMatchingJobCommand.d.ts +7 -0
  34. package/dist-types/commands/GetPolicyCommand.d.ts +85 -0
  35. package/dist-types/commands/GetProviderServiceCommand.d.ts +21 -0
  36. package/dist-types/commands/ListIdNamespacesCommand.d.ts +90 -0
  37. package/dist-types/commands/PutPolicyCommand.d.ts +93 -0
  38. package/dist-types/commands/StartIdMappingJobCommand.d.ts +14 -0
  39. package/dist-types/commands/UpdateIdMappingWorkflowCommand.d.ts +6 -4
  40. package/dist-types/commands/UpdateIdNamespaceCommand.d.ts +121 -0
  41. package/dist-types/commands/index.d.ts +10 -0
  42. package/dist-types/models/models_0.d.ts +972 -83
  43. package/dist-types/pagination/ListIdNamespacesPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +1 -0
  45. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  46. package/dist-types/ts3.4/EntityResolution.d.ts +171 -0
  47. package/dist-types/ts3.4/EntityResolutionClient.d.ts +60 -0
  48. package/dist-types/ts3.4/commands/AddPolicyStatementCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/BatchDeleteUniqueIdCommand.d.ts +39 -0
  50. package/dist-types/ts3.4/commands/CreateIdNamespaceCommand.d.ts +38 -0
  51. package/dist-types/ts3.4/commands/DeleteIdNamespaceCommand.d.ts +38 -0
  52. package/dist-types/ts3.4/commands/DeletePolicyStatementCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/GetIdNamespaceCommand.d.ts +35 -0
  54. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +35 -0
  55. package/dist-types/ts3.4/commands/ListIdNamespacesCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +35 -0
  57. package/dist-types/ts3.4/commands/UpdateIdNamespaceCommand.d.ts +38 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +245 -40
  60. package/dist-types/ts3.4/pagination/ListIdNamespacesPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  62. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  63. package/package.json +4 -4
@@ -36,11 +36,25 @@ declare const StartIdMappingJobCommand_base: {
36
36
  * const client = new EntityResolutionClient(config);
37
37
  * const input = { // StartIdMappingJobInput
38
38
  * workflowName: "STRING_VALUE", // required
39
+ * outputSourceConfig: [ // IdMappingJobOutputSourceConfig
40
+ * { // IdMappingJobOutputSource
41
+ * roleArn: "STRING_VALUE", // required
42
+ * outputS3Path: "STRING_VALUE", // required
43
+ * KMSArn: "STRING_VALUE",
44
+ * },
45
+ * ],
39
46
  * };
40
47
  * const command = new StartIdMappingJobCommand(input);
41
48
  * const response = await client.send(command);
42
49
  * // { // StartIdMappingJobOutput
43
50
  * // jobId: "STRING_VALUE", // required
51
+ * // outputSourceConfig: [ // IdMappingJobOutputSourceConfig
52
+ * // { // IdMappingJobOutputSource
53
+ * // roleArn: "STRING_VALUE", // required
54
+ * // outputS3Path: "STRING_VALUE", // required
55
+ * // KMSArn: "STRING_VALUE",
56
+ * // },
57
+ * // ],
44
58
  * // };
45
59
  *
46
60
  * ```
@@ -42,10 +42,11 @@ declare const UpdateIdMappingWorkflowCommand_base: {
42
42
  * inputSourceConfig: [ // IdMappingWorkflowInputSourceConfig // required
43
43
  * { // IdMappingWorkflowInputSource
44
44
  * inputSourceARN: "STRING_VALUE", // required
45
- * schemaName: "STRING_VALUE", // required
45
+ * schemaName: "STRING_VALUE",
46
+ * type: "SOURCE" || "TARGET",
46
47
  * },
47
48
  * ],
48
- * outputSourceConfig: [ // IdMappingWorkflowOutputSourceConfig // required
49
+ * outputSourceConfig: [ // IdMappingWorkflowOutputSourceConfig
49
50
  * { // IdMappingWorkflowOutputSource
50
51
  * outputS3Path: "STRING_VALUE", // required
51
52
  * KMSArn: "STRING_VALUE",
@@ -72,10 +73,11 @@ declare const UpdateIdMappingWorkflowCommand_base: {
72
73
  * // inputSourceConfig: [ // IdMappingWorkflowInputSourceConfig // required
73
74
  * // { // IdMappingWorkflowInputSource
74
75
  * // inputSourceARN: "STRING_VALUE", // required
75
- * // schemaName: "STRING_VALUE", // required
76
+ * // schemaName: "STRING_VALUE",
77
+ * // type: "SOURCE" || "TARGET",
76
78
  * // },
77
79
  * // ],
78
- * // outputSourceConfig: [ // IdMappingWorkflowOutputSourceConfig // required
80
+ * // outputSourceConfig: [ // IdMappingWorkflowOutputSourceConfig
79
81
  * // { // IdMappingWorkflowOutputSource
80
82
  * // outputS3Path: "STRING_VALUE", // required
81
83
  * // KMSArn: "STRING_VALUE",
@@ -0,0 +1,121 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EntityResolutionClient";
4
+ import { UpdateIdNamespaceInput, UpdateIdNamespaceOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link UpdateIdNamespaceCommand}.
13
+ */
14
+ export interface UpdateIdNamespaceCommandInput extends UpdateIdNamespaceInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link UpdateIdNamespaceCommand}.
20
+ */
21
+ export interface UpdateIdNamespaceCommandOutput extends UpdateIdNamespaceOutput, __MetadataBearer {
22
+ }
23
+ declare const UpdateIdNamespaceCommand_base: {
24
+ new (input: UpdateIdNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateIdNamespaceCommandInput, UpdateIdNamespaceCommandOutput, EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateIdNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateIdNamespaceCommandInput, UpdateIdNamespaceCommandOutput, EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Updates an existing ID namespace.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { EntityResolutionClient, UpdateIdNamespaceCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
34
+ * // const { EntityResolutionClient, UpdateIdNamespaceCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
35
+ * const client = new EntityResolutionClient(config);
36
+ * const input = { // UpdateIdNamespaceInput
37
+ * idNamespaceName: "STRING_VALUE", // required
38
+ * description: "STRING_VALUE",
39
+ * inputSourceConfig: [ // IdNamespaceInputSourceConfig
40
+ * { // IdNamespaceInputSource
41
+ * inputSourceARN: "STRING_VALUE", // required
42
+ * schemaName: "STRING_VALUE",
43
+ * },
44
+ * ],
45
+ * idMappingWorkflowProperties: [ // IdNamespaceIdMappingWorkflowPropertiesList
46
+ * { // IdNamespaceIdMappingWorkflowProperties
47
+ * idMappingType: "PROVIDER", // required
48
+ * providerProperties: { // NamespaceProviderProperties
49
+ * providerServiceArn: "STRING_VALUE", // required
50
+ * providerConfiguration: "DOCUMENT_VALUE",
51
+ * },
52
+ * },
53
+ * ],
54
+ * roleArn: "STRING_VALUE",
55
+ * };
56
+ * const command = new UpdateIdNamespaceCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // UpdateIdNamespaceOutput
59
+ * // idNamespaceName: "STRING_VALUE", // required
60
+ * // idNamespaceArn: "STRING_VALUE", // required
61
+ * // description: "STRING_VALUE",
62
+ * // inputSourceConfig: [ // IdNamespaceInputSourceConfig
63
+ * // { // IdNamespaceInputSource
64
+ * // inputSourceARN: "STRING_VALUE", // required
65
+ * // schemaName: "STRING_VALUE",
66
+ * // },
67
+ * // ],
68
+ * // idMappingWorkflowProperties: [ // IdNamespaceIdMappingWorkflowPropertiesList
69
+ * // { // IdNamespaceIdMappingWorkflowProperties
70
+ * // idMappingType: "PROVIDER", // required
71
+ * // providerProperties: { // NamespaceProviderProperties
72
+ * // providerServiceArn: "STRING_VALUE", // required
73
+ * // providerConfiguration: "DOCUMENT_VALUE",
74
+ * // },
75
+ * // },
76
+ * // ],
77
+ * // type: "SOURCE" || "TARGET", // required
78
+ * // roleArn: "STRING_VALUE",
79
+ * // createdAt: new Date("TIMESTAMP"), // required
80
+ * // updatedAt: new Date("TIMESTAMP"), // required
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param UpdateIdNamespaceCommandInput - {@link UpdateIdNamespaceCommandInput}
86
+ * @returns {@link UpdateIdNamespaceCommandOutput}
87
+ * @see {@link UpdateIdNamespaceCommandInput} for command's `input` shape.
88
+ * @see {@link UpdateIdNamespaceCommandOutput} for command's `response` shape.
89
+ * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
90
+ *
91
+ * @throws {@link AccessDeniedException} (client fault)
92
+ * <p>You do not have sufficient access to perform this action. <code>HTTP Status Code:
93
+ * 403</code>
94
+ * </p>
95
+ *
96
+ * @throws {@link InternalServerException} (server fault)
97
+ * <p>This exception occurs when there is an internal failure in the Entity Resolution
98
+ * service. <code>HTTP Status Code: 500</code>
99
+ * </p>
100
+ *
101
+ * @throws {@link ResourceNotFoundException} (client fault)
102
+ * <p>The resource could not be found. <code>HTTP Status Code: 404</code>
103
+ * </p>
104
+ *
105
+ * @throws {@link ThrottlingException} (client fault)
106
+ * <p>The request was denied due to request throttling. <code>HTTP Status Code:
107
+ * 429</code>
108
+ * </p>
109
+ *
110
+ * @throws {@link ValidationException} (client fault)
111
+ * <p>The input fails to satisfy the constraints specified by Entity Resolution. <code>HTTP
112
+ * 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
+ * @public
119
+ */
120
+ export declare class UpdateIdNamespaceCommand extends UpdateIdNamespaceCommand_base {
121
+ }
@@ -1,27 +1,37 @@
1
+ export * from "./AddPolicyStatementCommand";
2
+ export * from "./BatchDeleteUniqueIdCommand";
1
3
  export * from "./CreateIdMappingWorkflowCommand";
4
+ export * from "./CreateIdNamespaceCommand";
2
5
  export * from "./CreateMatchingWorkflowCommand";
3
6
  export * from "./CreateSchemaMappingCommand";
4
7
  export * from "./DeleteIdMappingWorkflowCommand";
8
+ export * from "./DeleteIdNamespaceCommand";
5
9
  export * from "./DeleteMatchingWorkflowCommand";
10
+ export * from "./DeletePolicyStatementCommand";
6
11
  export * from "./DeleteSchemaMappingCommand";
7
12
  export * from "./GetIdMappingJobCommand";
8
13
  export * from "./GetIdMappingWorkflowCommand";
14
+ export * from "./GetIdNamespaceCommand";
9
15
  export * from "./GetMatchIdCommand";
10
16
  export * from "./GetMatchingJobCommand";
11
17
  export * from "./GetMatchingWorkflowCommand";
18
+ export * from "./GetPolicyCommand";
12
19
  export * from "./GetProviderServiceCommand";
13
20
  export * from "./GetSchemaMappingCommand";
14
21
  export * from "./ListIdMappingJobsCommand";
15
22
  export * from "./ListIdMappingWorkflowsCommand";
23
+ export * from "./ListIdNamespacesCommand";
16
24
  export * from "./ListMatchingJobsCommand";
17
25
  export * from "./ListMatchingWorkflowsCommand";
18
26
  export * from "./ListProviderServicesCommand";
19
27
  export * from "./ListSchemaMappingsCommand";
20
28
  export * from "./ListTagsForResourceCommand";
29
+ export * from "./PutPolicyCommand";
21
30
  export * from "./StartIdMappingJobCommand";
22
31
  export * from "./StartMatchingJobCommand";
23
32
  export * from "./TagResourceCommand";
24
33
  export * from "./UntagResourceCommand";
25
34
  export * from "./UpdateIdMappingWorkflowCommand";
35
+ export * from "./UpdateIdNamespaceCommand";
26
36
  export * from "./UpdateMatchingWorkflowCommand";
27
37
  export * from "./UpdateSchemaMappingCommand";