@aws-sdk/client-entityresolution 3.556.0 → 3.563.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.
package/README.md CHANGED
@@ -220,6 +220,14 @@ AddPolicyStatement
220
220
 
221
221
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/entityresolution/command/AddPolicyStatementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-entityresolution/Interface/AddPolicyStatementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-entityresolution/Interface/AddPolicyStatementCommandOutput/)
222
222
 
223
+ </details>
224
+ <details>
225
+ <summary>
226
+ BatchDeleteUniqueId
227
+ </summary>
228
+
229
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/entityresolution/command/BatchDeleteUniqueIdCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-entityresolution/Interface/BatchDeleteUniqueIdCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-entityresolution/Interface/BatchDeleteUniqueIdCommandOutput/)
230
+
223
231
  </details>
224
232
  <details>
225
233
  <summary>
package/dist-cjs/index.js CHANGED
@@ -24,6 +24,7 @@ __export(src_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AddPolicyStatementCommand: () => AddPolicyStatementCommand,
26
26
  AttributeMatchingModel: () => AttributeMatchingModel,
27
+ BatchDeleteUniqueIdCommand: () => BatchDeleteUniqueIdCommand,
27
28
  ConflictException: () => ConflictException,
28
29
  CreateIdMappingWorkflowCommand: () => CreateIdMappingWorkflowCommand,
29
30
  CreateIdNamespaceCommand: () => CreateIdNamespaceCommand,
@@ -34,6 +35,8 @@ __export(src_exports, {
34
35
  DeleteMatchingWorkflowCommand: () => DeleteMatchingWorkflowCommand,
35
36
  DeletePolicyStatementCommand: () => DeletePolicyStatementCommand,
36
37
  DeleteSchemaMappingCommand: () => DeleteSchemaMappingCommand,
38
+ DeleteUniqueIdErrorType: () => DeleteUniqueIdErrorType,
39
+ DeleteUniqueIdStatus: () => DeleteUniqueIdStatus,
37
40
  EntityResolution: () => EntityResolution,
38
41
  EntityResolutionClient: () => EntityResolutionClient,
39
42
  EntityResolutionServiceException: () => EntityResolutionServiceException,
@@ -376,6 +379,14 @@ var AttributeMatchingModel = {
376
379
  MANY_TO_MANY: "MANY_TO_MANY",
377
380
  ONE_TO_ONE: "ONE_TO_ONE"
378
381
  };
382
+ var DeleteUniqueIdErrorType = {
383
+ SERVICE_ERROR: "SERVICE_ERROR",
384
+ VALIDATION_ERROR: "VALIDATION_ERROR"
385
+ };
386
+ var DeleteUniqueIdStatus = {
387
+ ACCEPTED: "ACCEPTED",
388
+ COMPLETED: "COMPLETED"
389
+ };
379
390
  var IdMappingType = {
380
391
  PROVIDER: "PROVIDER"
381
392
  };
@@ -476,6 +487,21 @@ var se_AddPolicyStatementCommand = /* @__PURE__ */ __name(async (input, context)
476
487
  b.m("POST").h(headers).b(body);
477
488
  return b.build();
478
489
  }, "se_AddPolicyStatementCommand");
490
+ var se_BatchDeleteUniqueIdCommand = /* @__PURE__ */ __name(async (input, context) => {
491
+ const b = (0, import_core.requestBuilder)(input, context);
492
+ const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
493
+ [_i]: input[_iS],
494
+ [_u]: [
495
+ () => isSerializableHeaderValue(input[_uI]),
496
+ () => (input[_uI] || []).map((_entry) => _entry).join(", ")
497
+ ]
498
+ });
499
+ b.bp("/matchingworkflows/{workflowName}/uniqueids");
500
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
501
+ let body;
502
+ b.m("DELETE").h(headers).b(body);
503
+ return b.build();
504
+ }, "se_BatchDeleteUniqueIdCommand");
479
505
  var se_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
480
506
  const b = (0, import_core.requestBuilder)(input, context);
481
507
  const headers = {
@@ -958,6 +984,23 @@ var de_AddPolicyStatementCommand = /* @__PURE__ */ __name(async (output, context
958
984
  Object.assign(contents, doc);
959
985
  return contents;
960
986
  }, "de_AddPolicyStatementCommand");
987
+ var de_BatchDeleteUniqueIdCommand = /* @__PURE__ */ __name(async (output, context) => {
988
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
989
+ return de_CommandError(output, context);
990
+ }
991
+ const contents = (0, import_smithy_client.map)({
992
+ $metadata: deserializeMetadata(output)
993
+ });
994
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
995
+ const doc = (0, import_smithy_client.take)(data, {
996
+ deleted: import_smithy_client._json,
997
+ disconnectedUniqueIds: import_smithy_client._json,
998
+ errors: import_smithy_client._json,
999
+ status: import_smithy_client.expectString
1000
+ });
1001
+ Object.assign(contents, doc);
1002
+ return contents;
1003
+ }, "de_BatchDeleteUniqueIdCommand");
961
1004
  var de_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
962
1005
  if (output.statusCode !== 200 && output.statusCode >= 300) {
963
1006
  return de_CommandError(output, context);
@@ -1861,10 +1904,15 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1861
1904
  extendedRequestId: output.headers["x-amz-id-2"],
1862
1905
  cfId: output.headers["x-amz-cf-id"]
1863
1906
  }), "deserializeMetadata");
1907
+ var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
1908
+ var _i = "inputsource";
1909
+ var _iS = "inputSource";
1864
1910
  var _mR = "maxResults";
1865
1911
  var _nT = "nextToken";
1866
1912
  var _pN = "providerName";
1867
1913
  var _tK = "tagKeys";
1914
+ var _u = "uniqueids";
1915
+ var _uI = "uniqueIds";
1868
1916
 
1869
1917
  // src/commands/AddPolicyStatementCommand.ts
1870
1918
  var _AddPolicyStatementCommand = class _AddPolicyStatementCommand extends import_smithy_client.Command.classBuilder().ep({
@@ -1879,6 +1927,23 @@ var _AddPolicyStatementCommand = class _AddPolicyStatementCommand extends import
1879
1927
  __name(_AddPolicyStatementCommand, "AddPolicyStatementCommand");
1880
1928
  var AddPolicyStatementCommand = _AddPolicyStatementCommand;
1881
1929
 
1930
+ // src/commands/BatchDeleteUniqueIdCommand.ts
1931
+
1932
+
1933
+
1934
+
1935
+ var _BatchDeleteUniqueIdCommand = class _BatchDeleteUniqueIdCommand extends import_smithy_client.Command.classBuilder().ep({
1936
+ ...commonParams
1937
+ }).m(function(Command, cs, config, o) {
1938
+ return [
1939
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1940
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1941
+ ];
1942
+ }).s("AWSVeniceService", "BatchDeleteUniqueId", {}).n("EntityResolutionClient", "BatchDeleteUniqueIdCommand").f(void 0, void 0).ser(se_BatchDeleteUniqueIdCommand).de(de_BatchDeleteUniqueIdCommand).build() {
1943
+ };
1944
+ __name(_BatchDeleteUniqueIdCommand, "BatchDeleteUniqueIdCommand");
1945
+ var BatchDeleteUniqueIdCommand = _BatchDeleteUniqueIdCommand;
1946
+
1882
1947
  // src/commands/CreateIdMappingWorkflowCommand.ts
1883
1948
 
1884
1949
 
@@ -2477,6 +2542,7 @@ var UpdateSchemaMappingCommand = _UpdateSchemaMappingCommand;
2477
2542
  // src/EntityResolution.ts
2478
2543
  var commands = {
2479
2544
  AddPolicyStatementCommand,
2545
+ BatchDeleteUniqueIdCommand,
2480
2546
  CreateIdMappingWorkflowCommand,
2481
2547
  CreateIdNamespaceCommand,
2482
2548
  CreateMatchingWorkflowCommand,
@@ -2555,6 +2621,7 @@ var paginateListSchemaMappings = (0, import_core.createPaginator)(EntityResoluti
2555
2621
  EntityResolution,
2556
2622
  $Command,
2557
2623
  AddPolicyStatementCommand,
2624
+ BatchDeleteUniqueIdCommand,
2558
2625
  CreateIdMappingWorkflowCommand,
2559
2626
  CreateIdNamespaceCommand,
2560
2627
  CreateMatchingWorkflowCommand,
@@ -2605,6 +2672,8 @@ var paginateListSchemaMappings = (0, import_core.createPaginator)(EntityResoluti
2605
2672
  ThrottlingException,
2606
2673
  ValidationException,
2607
2674
  AttributeMatchingModel,
2675
+ DeleteUniqueIdErrorType,
2676
+ DeleteUniqueIdStatus,
2608
2677
  IdMappingType,
2609
2678
  IdNamespaceType,
2610
2679
  ExceedsLimitException,
@@ -1,5 +1,6 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AddPolicyStatementCommand, } from "./commands/AddPolicyStatementCommand";
3
+ import { BatchDeleteUniqueIdCommand, } from "./commands/BatchDeleteUniqueIdCommand";
3
4
  import { CreateIdMappingWorkflowCommand, } from "./commands/CreateIdMappingWorkflowCommand";
4
5
  import { CreateIdNamespaceCommand, } from "./commands/CreateIdNamespaceCommand";
5
6
  import { CreateMatchingWorkflowCommand, } from "./commands/CreateMatchingWorkflowCommand";
@@ -38,6 +39,7 @@ import { UpdateSchemaMappingCommand, } from "./commands/UpdateSchemaMappingComma
38
39
  import { EntityResolutionClient } from "./EntityResolutionClient";
39
40
  const commands = {
40
41
  AddPolicyStatementCommand,
42
+ BatchDeleteUniqueIdCommand,
41
43
  CreateIdMappingWorkflowCommand,
42
44
  CreateIdNamespaceCommand,
43
45
  CreateMatchingWorkflowCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_BatchDeleteUniqueIdCommand, se_BatchDeleteUniqueIdCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class BatchDeleteUniqueIdCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSVeniceService", "BatchDeleteUniqueId", {})
19
+ .n("EntityResolutionClient", "BatchDeleteUniqueIdCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchDeleteUniqueIdCommand)
22
+ .de(de_BatchDeleteUniqueIdCommand)
23
+ .build() {
24
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./AddPolicyStatementCommand";
2
+ export * from "./BatchDeleteUniqueIdCommand";
2
3
  export * from "./CreateIdMappingWorkflowCommand";
3
4
  export * from "./CreateIdNamespaceCommand";
4
5
  export * from "./CreateMatchingWorkflowCommand";
@@ -84,6 +84,14 @@ export const AttributeMatchingModel = {
84
84
  MANY_TO_MANY: "MANY_TO_MANY",
85
85
  ONE_TO_ONE: "ONE_TO_ONE",
86
86
  };
87
+ export const DeleteUniqueIdErrorType = {
88
+ SERVICE_ERROR: "SERVICE_ERROR",
89
+ VALIDATION_ERROR: "VALIDATION_ERROR",
90
+ };
91
+ export const DeleteUniqueIdStatus = {
92
+ ACCEPTED: "ACCEPTED",
93
+ COMPLETED: "COMPLETED",
94
+ };
87
95
  export const IdMappingType = {
88
96
  PROVIDER: "PROVIDER",
89
97
  };
@@ -21,6 +21,21 @@ export const se_AddPolicyStatementCommand = async (input, context) => {
21
21
  b.m("POST").h(headers).b(body);
22
22
  return b.build();
23
23
  };
24
+ export const se_BatchDeleteUniqueIdCommand = async (input, context) => {
25
+ const b = rb(input, context);
26
+ const headers = map({}, isSerializableHeaderValue, {
27
+ [_i]: input[_iS],
28
+ [_u]: [
29
+ () => isSerializableHeaderValue(input[_uI]),
30
+ () => (input[_uI] || []).map((_entry) => _entry).join(", "),
31
+ ],
32
+ });
33
+ b.bp("/matchingworkflows/{workflowName}/uniqueids");
34
+ b.p("workflowName", () => input.workflowName, "{workflowName}", false);
35
+ let body;
36
+ b.m("DELETE").h(headers).b(body);
37
+ return b.build();
38
+ };
24
39
  export const se_CreateIdMappingWorkflowCommand = async (input, context) => {
25
40
  const b = rb(input, context);
26
41
  const headers = {
@@ -479,6 +494,23 @@ export const de_AddPolicyStatementCommand = async (output, context) => {
479
494
  Object.assign(contents, doc);
480
495
  return contents;
481
496
  };
497
+ export const de_BatchDeleteUniqueIdCommand = async (output, context) => {
498
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
499
+ return de_CommandError(output, context);
500
+ }
501
+ const contents = map({
502
+ $metadata: deserializeMetadata(output),
503
+ });
504
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
505
+ const doc = take(data, {
506
+ deleted: _json,
507
+ disconnectedUniqueIds: _json,
508
+ errors: _json,
509
+ status: __expectString,
510
+ });
511
+ Object.assign(contents, doc);
512
+ return contents;
513
+ };
482
514
  export const de_CreateIdMappingWorkflowCommand = async (output, context) => {
483
515
  if (output.statusCode !== 200 && output.statusCode >= 300) {
484
516
  return de_CommandError(output, context);
@@ -1402,7 +1434,11 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1402
1434
  value !== "" &&
1403
1435
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
1404
1436
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1437
+ const _i = "inputsource";
1438
+ const _iS = "inputSource";
1405
1439
  const _mR = "maxResults";
1406
1440
  const _nT = "nextToken";
1407
1441
  const _pN = "providerName";
1408
1442
  const _tK = "tagKeys";
1443
+ const _u = "uniqueids";
1444
+ const _uI = "uniqueIds";
@@ -1,5 +1,6 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AddPolicyStatementCommandInput, AddPolicyStatementCommandOutput } from "./commands/AddPolicyStatementCommand";
3
+ import { BatchDeleteUniqueIdCommandInput, BatchDeleteUniqueIdCommandOutput } from "./commands/BatchDeleteUniqueIdCommand";
3
4
  import { CreateIdMappingWorkflowCommandInput, CreateIdMappingWorkflowCommandOutput } from "./commands/CreateIdMappingWorkflowCommand";
4
5
  import { CreateIdNamespaceCommandInput, CreateIdNamespaceCommandOutput } from "./commands/CreateIdNamespaceCommand";
5
6
  import { CreateMatchingWorkflowCommandInput, CreateMatchingWorkflowCommandOutput } from "./commands/CreateMatchingWorkflowCommand";
@@ -43,6 +44,12 @@ export interface EntityResolution {
43
44
  addPolicyStatement(args: AddPolicyStatementCommandInput, options?: __HttpHandlerOptions): Promise<AddPolicyStatementCommandOutput>;
44
45
  addPolicyStatement(args: AddPolicyStatementCommandInput, cb: (err: any, data?: AddPolicyStatementCommandOutput) => void): void;
45
46
  addPolicyStatement(args: AddPolicyStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPolicyStatementCommandOutput) => void): void;
47
+ /**
48
+ * @see {@link BatchDeleteUniqueIdCommand}
49
+ */
50
+ batchDeleteUniqueId(args: BatchDeleteUniqueIdCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteUniqueIdCommandOutput>;
51
+ batchDeleteUniqueId(args: BatchDeleteUniqueIdCommandInput, cb: (err: any, data?: BatchDeleteUniqueIdCommandOutput) => void): void;
52
+ batchDeleteUniqueId(args: BatchDeleteUniqueIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteUniqueIdCommandOutput) => void): void;
46
53
  /**
47
54
  * @see {@link CreateIdMappingWorkflowCommand}
48
55
  */
@@ -8,6 +8,7 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AddPolicyStatementCommandInput, AddPolicyStatementCommandOutput } from "./commands/AddPolicyStatementCommand";
11
+ import { BatchDeleteUniqueIdCommandInput, BatchDeleteUniqueIdCommandOutput } from "./commands/BatchDeleteUniqueIdCommand";
11
12
  import { CreateIdMappingWorkflowCommandInput, CreateIdMappingWorkflowCommandOutput } from "./commands/CreateIdMappingWorkflowCommand";
12
13
  import { CreateIdNamespaceCommandInput, CreateIdNamespaceCommandOutput } from "./commands/CreateIdNamespaceCommand";
13
14
  import { CreateMatchingWorkflowCommandInput, CreateMatchingWorkflowCommandOutput } from "./commands/CreateMatchingWorkflowCommand";
@@ -49,11 +50,11 @@ export { __Client };
49
50
  /**
50
51
  * @public
51
52
  */
52
- export type ServiceInputTypes = AddPolicyStatementCommandInput | CreateIdMappingWorkflowCommandInput | CreateIdNamespaceCommandInput | CreateMatchingWorkflowCommandInput | CreateSchemaMappingCommandInput | DeleteIdMappingWorkflowCommandInput | DeleteIdNamespaceCommandInput | DeleteMatchingWorkflowCommandInput | DeletePolicyStatementCommandInput | DeleteSchemaMappingCommandInput | GetIdMappingJobCommandInput | GetIdMappingWorkflowCommandInput | GetIdNamespaceCommandInput | GetMatchIdCommandInput | GetMatchingJobCommandInput | GetMatchingWorkflowCommandInput | GetPolicyCommandInput | GetProviderServiceCommandInput | GetSchemaMappingCommandInput | ListIdMappingJobsCommandInput | ListIdMappingWorkflowsCommandInput | ListIdNamespacesCommandInput | ListMatchingJobsCommandInput | ListMatchingWorkflowsCommandInput | ListProviderServicesCommandInput | ListSchemaMappingsCommandInput | ListTagsForResourceCommandInput | PutPolicyCommandInput | StartIdMappingJobCommandInput | StartMatchingJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIdMappingWorkflowCommandInput | UpdateIdNamespaceCommandInput | UpdateMatchingWorkflowCommandInput | UpdateSchemaMappingCommandInput;
53
+ export type ServiceInputTypes = AddPolicyStatementCommandInput | BatchDeleteUniqueIdCommandInput | CreateIdMappingWorkflowCommandInput | CreateIdNamespaceCommandInput | CreateMatchingWorkflowCommandInput | CreateSchemaMappingCommandInput | DeleteIdMappingWorkflowCommandInput | DeleteIdNamespaceCommandInput | DeleteMatchingWorkflowCommandInput | DeletePolicyStatementCommandInput | DeleteSchemaMappingCommandInput | GetIdMappingJobCommandInput | GetIdMappingWorkflowCommandInput | GetIdNamespaceCommandInput | GetMatchIdCommandInput | GetMatchingJobCommandInput | GetMatchingWorkflowCommandInput | GetPolicyCommandInput | GetProviderServiceCommandInput | GetSchemaMappingCommandInput | ListIdMappingJobsCommandInput | ListIdMappingWorkflowsCommandInput | ListIdNamespacesCommandInput | ListMatchingJobsCommandInput | ListMatchingWorkflowsCommandInput | ListProviderServicesCommandInput | ListSchemaMappingsCommandInput | ListTagsForResourceCommandInput | PutPolicyCommandInput | StartIdMappingJobCommandInput | StartMatchingJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIdMappingWorkflowCommandInput | UpdateIdNamespaceCommandInput | UpdateMatchingWorkflowCommandInput | UpdateSchemaMappingCommandInput;
53
54
  /**
54
55
  * @public
55
56
  */
56
- export type ServiceOutputTypes = AddPolicyStatementCommandOutput | CreateIdMappingWorkflowCommandOutput | CreateIdNamespaceCommandOutput | CreateMatchingWorkflowCommandOutput | CreateSchemaMappingCommandOutput | DeleteIdMappingWorkflowCommandOutput | DeleteIdNamespaceCommandOutput | DeleteMatchingWorkflowCommandOutput | DeletePolicyStatementCommandOutput | DeleteSchemaMappingCommandOutput | GetIdMappingJobCommandOutput | GetIdMappingWorkflowCommandOutput | GetIdNamespaceCommandOutput | GetMatchIdCommandOutput | GetMatchingJobCommandOutput | GetMatchingWorkflowCommandOutput | GetPolicyCommandOutput | GetProviderServiceCommandOutput | GetSchemaMappingCommandOutput | ListIdMappingJobsCommandOutput | ListIdMappingWorkflowsCommandOutput | ListIdNamespacesCommandOutput | ListMatchingJobsCommandOutput | ListMatchingWorkflowsCommandOutput | ListProviderServicesCommandOutput | ListSchemaMappingsCommandOutput | ListTagsForResourceCommandOutput | PutPolicyCommandOutput | StartIdMappingJobCommandOutput | StartMatchingJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIdMappingWorkflowCommandOutput | UpdateIdNamespaceCommandOutput | UpdateMatchingWorkflowCommandOutput | UpdateSchemaMappingCommandOutput;
57
+ export type ServiceOutputTypes = AddPolicyStatementCommandOutput | BatchDeleteUniqueIdCommandOutput | CreateIdMappingWorkflowCommandOutput | CreateIdNamespaceCommandOutput | CreateMatchingWorkflowCommandOutput | CreateSchemaMappingCommandOutput | DeleteIdMappingWorkflowCommandOutput | DeleteIdNamespaceCommandOutput | DeleteMatchingWorkflowCommandOutput | DeletePolicyStatementCommandOutput | DeleteSchemaMappingCommandOutput | GetIdMappingJobCommandOutput | GetIdMappingWorkflowCommandOutput | GetIdNamespaceCommandOutput | GetMatchIdCommandOutput | GetMatchingJobCommandOutput | GetMatchingWorkflowCommandOutput | GetPolicyCommandOutput | GetProviderServiceCommandOutput | GetSchemaMappingCommandOutput | ListIdMappingJobsCommandOutput | ListIdMappingWorkflowsCommandOutput | ListIdNamespacesCommandOutput | ListMatchingJobsCommandOutput | ListMatchingWorkflowsCommandOutput | ListProviderServicesCommandOutput | ListSchemaMappingsCommandOutput | ListTagsForResourceCommandOutput | PutPolicyCommandOutput | StartIdMappingJobCommandOutput | StartMatchingJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIdMappingWorkflowCommandOutput | UpdateIdNamespaceCommandOutput | UpdateMatchingWorkflowCommandOutput | UpdateSchemaMappingCommandOutput;
57
58
  /**
58
59
  * @public
59
60
  */
@@ -0,0 +1,91 @@
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 { BatchDeleteUniqueIdInput, BatchDeleteUniqueIdOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link BatchDeleteUniqueIdCommand}.
13
+ */
14
+ export interface BatchDeleteUniqueIdCommandInput extends BatchDeleteUniqueIdInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link BatchDeleteUniqueIdCommand}.
20
+ */
21
+ export interface BatchDeleteUniqueIdCommandOutput extends BatchDeleteUniqueIdOutput, __MetadataBearer {
22
+ }
23
+ declare const BatchDeleteUniqueIdCommand_base: {
24
+ new (input: BatchDeleteUniqueIdCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteUniqueIdCommandInput, BatchDeleteUniqueIdCommandOutput, EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: BatchDeleteUniqueIdCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteUniqueIdCommandInput, BatchDeleteUniqueIdCommandOutput, EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Deletes multiple unique IDs in a matching workflow.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { EntityResolutionClient, BatchDeleteUniqueIdCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
34
+ * // const { EntityResolutionClient, BatchDeleteUniqueIdCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
35
+ * const client = new EntityResolutionClient(config);
36
+ * const input = { // BatchDeleteUniqueIdInput
37
+ * workflowName: "STRING_VALUE", // required
38
+ * inputSource: "STRING_VALUE",
39
+ * uniqueIds: [ // UniqueIdList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new BatchDeleteUniqueIdCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // BatchDeleteUniqueIdOutput
46
+ * // status: "COMPLETED" || "ACCEPTED", // required
47
+ * // errors: [ // DeleteUniqueIdErrorsList // required
48
+ * // { // DeleteUniqueIdError
49
+ * // uniqueId: "STRING_VALUE", // required
50
+ * // errorType: "SERVICE_ERROR" || "VALIDATION_ERROR", // required
51
+ * // },
52
+ * // ],
53
+ * // deleted: [ // DeletedUniqueIdList // required
54
+ * // { // DeletedUniqueId
55
+ * // uniqueId: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // disconnectedUniqueIds: [ // DisconnectedUniqueIdsList // required
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param BatchDeleteUniqueIdCommandInput - {@link BatchDeleteUniqueIdCommandInput}
66
+ * @returns {@link BatchDeleteUniqueIdCommandOutput}
67
+ * @see {@link BatchDeleteUniqueIdCommandInput} for command's `input` shape.
68
+ * @see {@link BatchDeleteUniqueIdCommandOutput} for command's `response` shape.
69
+ * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>This exception occurs when there is an internal failure in the Entity Resolution
73
+ * service. <code>HTTP Status Code: 500</code>
74
+ * </p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The resource could not be found. <code>HTTP Status Code: 404</code>
78
+ * </p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by Entity Resolution. <code>HTTP
82
+ * Status Code: 400</code>
83
+ * </p>
84
+ *
85
+ * @throws {@link EntityResolutionServiceException}
86
+ * <p>Base exception class for all service exceptions from EntityResolution service.</p>
87
+ *
88
+ * @public
89
+ */
90
+ export declare class BatchDeleteUniqueIdCommand extends BatchDeleteUniqueIdCommand_base {
91
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./AddPolicyStatementCommand";
2
+ export * from "./BatchDeleteUniqueIdCommand";
2
3
  export * from "./CreateIdMappingWorkflowCommand";
3
4
  export * from "./CreateIdNamespaceCommand";
4
5
  export * from "./CreateMatchingWorkflowCommand";
@@ -175,6 +175,102 @@ export declare const AttributeMatchingModel: {
175
175
  * @public
176
176
  */
177
177
  export type AttributeMatchingModel = (typeof AttributeMatchingModel)[keyof typeof AttributeMatchingModel];
178
+ /**
179
+ * @public
180
+ */
181
+ export interface BatchDeleteUniqueIdInput {
182
+ /**
183
+ * <p>The name of the workflow.</p>
184
+ * @public
185
+ */
186
+ workflowName: string | undefined;
187
+ /**
188
+ * <p>The input source for the batch delete unique ID operation.</p>
189
+ * @public
190
+ */
191
+ inputSource?: string;
192
+ /**
193
+ * <p>The unique IDs to delete.</p>
194
+ * @public
195
+ */
196
+ uniqueIds: string[] | undefined;
197
+ }
198
+ /**
199
+ * <p>The deleted unique ID.</p>
200
+ * @public
201
+ */
202
+ export interface DeletedUniqueId {
203
+ /**
204
+ * <p> The unique ID of the deleted item.</p>
205
+ * @public
206
+ */
207
+ uniqueId: string | undefined;
208
+ }
209
+ /**
210
+ * @public
211
+ * @enum
212
+ */
213
+ export declare const DeleteUniqueIdErrorType: {
214
+ readonly SERVICE_ERROR: "SERVICE_ERROR";
215
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
216
+ };
217
+ /**
218
+ * @public
219
+ */
220
+ export type DeleteUniqueIdErrorType = (typeof DeleteUniqueIdErrorType)[keyof typeof DeleteUniqueIdErrorType];
221
+ /**
222
+ * <p>The Delete Unique Id error.</p>
223
+ * @public
224
+ */
225
+ export interface DeleteUniqueIdError {
226
+ /**
227
+ * <p>The unique ID that could not be deleted.</p>
228
+ * @public
229
+ */
230
+ uniqueId: string | undefined;
231
+ /**
232
+ * <p> The error type for the batch delete unique ID operation.</p>
233
+ * @public
234
+ */
235
+ errorType: DeleteUniqueIdErrorType | undefined;
236
+ }
237
+ /**
238
+ * @public
239
+ * @enum
240
+ */
241
+ export declare const DeleteUniqueIdStatus: {
242
+ readonly ACCEPTED: "ACCEPTED";
243
+ readonly COMPLETED: "COMPLETED";
244
+ };
245
+ /**
246
+ * @public
247
+ */
248
+ export type DeleteUniqueIdStatus = (typeof DeleteUniqueIdStatus)[keyof typeof DeleteUniqueIdStatus];
249
+ /**
250
+ * @public
251
+ */
252
+ export interface BatchDeleteUniqueIdOutput {
253
+ /**
254
+ * <p>The status of the batch delete unique ID operation.</p>
255
+ * @public
256
+ */
257
+ status: DeleteUniqueIdStatus | undefined;
258
+ /**
259
+ * <p> The errors from deleting multiple unique IDs.</p>
260
+ * @public
261
+ */
262
+ errors: DeleteUniqueIdError[] | undefined;
263
+ /**
264
+ * <p>The unique IDs that were deleted.</p>
265
+ * @public
266
+ */
267
+ deleted: DeletedUniqueId[] | undefined;
268
+ /**
269
+ * <p>The unique IDs that were disconnected.</p>
270
+ * @public
271
+ */
272
+ disconnectedUniqueIds: string[] | undefined;
273
+ }
178
274
  /**
179
275
  * @public
180
276
  * @enum
@@ -1,6 +1,7 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AddPolicyStatementCommandInput, AddPolicyStatementCommandOutput } from "../commands/AddPolicyStatementCommand";
4
+ import { BatchDeleteUniqueIdCommandInput, BatchDeleteUniqueIdCommandOutput } from "../commands/BatchDeleteUniqueIdCommand";
4
5
  import { CreateIdMappingWorkflowCommandInput, CreateIdMappingWorkflowCommandOutput } from "../commands/CreateIdMappingWorkflowCommand";
5
6
  import { CreateIdNamespaceCommandInput, CreateIdNamespaceCommandOutput } from "../commands/CreateIdNamespaceCommand";
6
7
  import { CreateMatchingWorkflowCommandInput, CreateMatchingWorkflowCommandOutput } from "../commands/CreateMatchingWorkflowCommand";
@@ -40,6 +41,10 @@ import { UpdateSchemaMappingCommandInput, UpdateSchemaMappingCommandOutput } fro
40
41
  * serializeAws_restJson1AddPolicyStatementCommand
41
42
  */
42
43
  export declare const se_AddPolicyStatementCommand: (input: AddPolicyStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
+ /**
45
+ * serializeAws_restJson1BatchDeleteUniqueIdCommand
46
+ */
47
+ export declare const se_BatchDeleteUniqueIdCommand: (input: BatchDeleteUniqueIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
48
  /**
44
49
  * serializeAws_restJson1CreateIdMappingWorkflowCommand
45
50
  */
@@ -184,6 +189,10 @@ export declare const se_UpdateSchemaMappingCommand: (input: UpdateSchemaMappingC
184
189
  * deserializeAws_restJson1AddPolicyStatementCommand
185
190
  */
186
191
  export declare const de_AddPolicyStatementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddPolicyStatementCommandOutput>;
192
+ /**
193
+ * deserializeAws_restJson1BatchDeleteUniqueIdCommand
194
+ */
195
+ export declare const de_BatchDeleteUniqueIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDeleteUniqueIdCommandOutput>;
187
196
  /**
188
197
  * deserializeAws_restJson1CreateIdMappingWorkflowCommand
189
198
  */
@@ -3,6 +3,10 @@ import {
3
3
  AddPolicyStatementCommandInput,
4
4
  AddPolicyStatementCommandOutput,
5
5
  } from "./commands/AddPolicyStatementCommand";
6
+ import {
7
+ BatchDeleteUniqueIdCommandInput,
8
+ BatchDeleteUniqueIdCommandOutput,
9
+ } from "./commands/BatchDeleteUniqueIdCommand";
6
10
  import {
7
11
  CreateIdMappingWorkflowCommandInput,
8
12
  CreateIdMappingWorkflowCommandOutput,
@@ -158,6 +162,19 @@ export interface EntityResolution {
158
162
  options: __HttpHandlerOptions,
159
163
  cb: (err: any, data?: AddPolicyStatementCommandOutput) => void
160
164
  ): void;
165
+ batchDeleteUniqueId(
166
+ args: BatchDeleteUniqueIdCommandInput,
167
+ options?: __HttpHandlerOptions
168
+ ): Promise<BatchDeleteUniqueIdCommandOutput>;
169
+ batchDeleteUniqueId(
170
+ args: BatchDeleteUniqueIdCommandInput,
171
+ cb: (err: any, data?: BatchDeleteUniqueIdCommandOutput) => void
172
+ ): void;
173
+ batchDeleteUniqueId(
174
+ args: BatchDeleteUniqueIdCommandInput,
175
+ options: __HttpHandlerOptions,
176
+ cb: (err: any, data?: BatchDeleteUniqueIdCommandOutput) => void
177
+ ): void;
161
178
  createIdMappingWorkflow(
162
179
  args: CreateIdMappingWorkflowCommandInput,
163
180
  options?: __HttpHandlerOptions
@@ -49,6 +49,10 @@ import {
49
49
  AddPolicyStatementCommandInput,
50
50
  AddPolicyStatementCommandOutput,
51
51
  } from "./commands/AddPolicyStatementCommand";
52
+ import {
53
+ BatchDeleteUniqueIdCommandInput,
54
+ BatchDeleteUniqueIdCommandOutput,
55
+ } from "./commands/BatchDeleteUniqueIdCommand";
52
56
  import {
53
57
  CreateIdMappingWorkflowCommandInput,
54
58
  CreateIdMappingWorkflowCommandOutput,
@@ -198,6 +202,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
198
202
  export { __Client };
199
203
  export type ServiceInputTypes =
200
204
  | AddPolicyStatementCommandInput
205
+ | BatchDeleteUniqueIdCommandInput
201
206
  | CreateIdMappingWorkflowCommandInput
202
207
  | CreateIdNamespaceCommandInput
203
208
  | CreateMatchingWorkflowCommandInput
@@ -235,6 +240,7 @@ export type ServiceInputTypes =
235
240
  | UpdateSchemaMappingCommandInput;
236
241
  export type ServiceOutputTypes =
237
242
  | AddPolicyStatementCommandOutput
243
+ | BatchDeleteUniqueIdCommandOutput
238
244
  | CreateIdMappingWorkflowCommandOutput
239
245
  | CreateIdNamespaceCommandOutput
240
246
  | CreateMatchingWorkflowCommandOutput
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EntityResolutionClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EntityResolutionClient";
8
+ import {
9
+ BatchDeleteUniqueIdInput,
10
+ BatchDeleteUniqueIdOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface BatchDeleteUniqueIdCommandInput
14
+ extends BatchDeleteUniqueIdInput {}
15
+ export interface BatchDeleteUniqueIdCommandOutput
16
+ extends BatchDeleteUniqueIdOutput,
17
+ __MetadataBearer {}
18
+ declare const BatchDeleteUniqueIdCommand_base: {
19
+ new (
20
+ input: BatchDeleteUniqueIdCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ BatchDeleteUniqueIdCommandInput,
23
+ BatchDeleteUniqueIdCommandOutput,
24
+ EntityResolutionClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: BatchDeleteUniqueIdCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ BatchDeleteUniqueIdCommandInput,
32
+ BatchDeleteUniqueIdCommandOutput,
33
+ EntityResolutionClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class BatchDeleteUniqueIdCommand extends BatchDeleteUniqueIdCommand_base {}
@@ -1,4 +1,5 @@
1
1
  export * from "./AddPolicyStatementCommand";
2
+ export * from "./BatchDeleteUniqueIdCommand";
2
3
  export * from "./CreateIdMappingWorkflowCommand";
3
4
  export * from "./CreateIdNamespaceCommand";
4
5
  export * from "./CreateMatchingWorkflowCommand";
@@ -70,6 +70,36 @@ export declare const AttributeMatchingModel: {
70
70
  };
71
71
  export type AttributeMatchingModel =
72
72
  (typeof AttributeMatchingModel)[keyof typeof AttributeMatchingModel];
73
+ export interface BatchDeleteUniqueIdInput {
74
+ workflowName: string | undefined;
75
+ inputSource?: string;
76
+ uniqueIds: string[] | undefined;
77
+ }
78
+ export interface DeletedUniqueId {
79
+ uniqueId: string | undefined;
80
+ }
81
+ export declare const DeleteUniqueIdErrorType: {
82
+ readonly SERVICE_ERROR: "SERVICE_ERROR";
83
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
84
+ };
85
+ export type DeleteUniqueIdErrorType =
86
+ (typeof DeleteUniqueIdErrorType)[keyof typeof DeleteUniqueIdErrorType];
87
+ export interface DeleteUniqueIdError {
88
+ uniqueId: string | undefined;
89
+ errorType: DeleteUniqueIdErrorType | undefined;
90
+ }
91
+ export declare const DeleteUniqueIdStatus: {
92
+ readonly ACCEPTED: "ACCEPTED";
93
+ readonly COMPLETED: "COMPLETED";
94
+ };
95
+ export type DeleteUniqueIdStatus =
96
+ (typeof DeleteUniqueIdStatus)[keyof typeof DeleteUniqueIdStatus];
97
+ export interface BatchDeleteUniqueIdOutput {
98
+ status: DeleteUniqueIdStatus | undefined;
99
+ errors: DeleteUniqueIdError[] | undefined;
100
+ deleted: DeletedUniqueId[] | undefined;
101
+ disconnectedUniqueIds: string[] | undefined;
102
+ }
73
103
  export declare const IdMappingType: {
74
104
  readonly PROVIDER: "PROVIDER";
75
105
  };
@@ -7,6 +7,10 @@ import {
7
7
  AddPolicyStatementCommandInput,
8
8
  AddPolicyStatementCommandOutput,
9
9
  } from "../commands/AddPolicyStatementCommand";
10
+ import {
11
+ BatchDeleteUniqueIdCommandInput,
12
+ BatchDeleteUniqueIdCommandOutput,
13
+ } from "../commands/BatchDeleteUniqueIdCommand";
10
14
  import {
11
15
  CreateIdMappingWorkflowCommandInput,
12
16
  CreateIdMappingWorkflowCommandOutput,
@@ -151,6 +155,10 @@ export declare const se_AddPolicyStatementCommand: (
151
155
  input: AddPolicyStatementCommandInput,
152
156
  context: __SerdeContext
153
157
  ) => Promise<__HttpRequest>;
158
+ export declare const se_BatchDeleteUniqueIdCommand: (
159
+ input: BatchDeleteUniqueIdCommandInput,
160
+ context: __SerdeContext
161
+ ) => Promise<__HttpRequest>;
154
162
  export declare const se_CreateIdMappingWorkflowCommand: (
155
163
  input: CreateIdMappingWorkflowCommandInput,
156
164
  context: __SerdeContext
@@ -295,6 +303,10 @@ export declare const de_AddPolicyStatementCommand: (
295
303
  output: __HttpResponse,
296
304
  context: __SerdeContext
297
305
  ) => Promise<AddPolicyStatementCommandOutput>;
306
+ export declare const de_BatchDeleteUniqueIdCommand: (
307
+ output: __HttpResponse,
308
+ context: __SerdeContext
309
+ ) => Promise<BatchDeleteUniqueIdCommandOutput>;
298
310
  export declare const de_CreateIdMappingWorkflowCommand: (
299
311
  output: __HttpResponse,
300
312
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-entityresolution",
3
3
  "description": "AWS SDK for JavaScript Entityresolution Client for Node.js, Browser and React Native",
4
- "version": "3.556.0",
4
+ "version": "3.563.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-entityresolution",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
23
  "@aws-sdk/client-sts": "3.556.0",
24
24
  "@aws-sdk/core": "3.556.0",
25
- "@aws-sdk/credential-provider-node": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.563.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",