aws-sdk-entityresolution 1.7.0 → 1.8.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58be38f048eb7f90b5c80e1832fb342b7d8bea2dbf1f6fa8504869956d017733
4
- data.tar.gz: 2295a738cba602ce6382d372d5cd741225d83922175fd3935a378725272e0d9e
3
+ metadata.gz: 634796381e186fabfaa30d74614028f76dc1a60b68488c0a7765433ae39f6c03
4
+ data.tar.gz: d24d5989e7f0d0d1b319d0b76e3f62362a32f5e2259a8845c0fcbbb6ed070a47
5
5
  SHA512:
6
- metadata.gz: 0433c8f7dfa05d2fa6c6c029ba7e31d6728a59eb9acf33a539a40484a426cb19035a426f328a2acd2c6574a56d0f166ca7010a84cad07600136e52f7f998ebac
7
- data.tar.gz: 9ae18c230e42231750d7b55720ab61fe84ff54e060ba19bd31b4cfc5d74f5aaa52ffd663808efee1efca38094fc582e461fab8c255b6d05cd528eaf42a44f303
6
+ metadata.gz: 6059ca157fe7a717ded9c6ff66b6c3a8e5696bc71d9ba94b6818d036729ea12ec8aed5814d4bb1e5511f562d9a7cd46b296f58662ff83ed0e893c42338590e8e
7
+ data.tar.gz: 59a020a754fc0e7c4c4cb331927b9721cec4ce78867be77cc1128887284a74682814bcc8f2120ebab070b9782b7966bf4bfc1f6007384386ad3fcd7b2bc4d68f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2024-04-24)
5
+ ------------------
6
+
7
+ * Feature - Support Batch Unique IDs Deletion.
8
+
4
9
  1.7.0 (2024-04-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.8.0
@@ -448,6 +448,52 @@ module Aws::EntityResolution
448
448
  req.send_request(options)
449
449
  end
450
450
 
451
+ # Deletes multiple unique IDs in a matching workflow.
452
+ #
453
+ # @option params [String] :input_source
454
+ # The input source for the batch delete unique ID operation.
455
+ #
456
+ # @option params [required, Array<String>] :unique_ids
457
+ # The unique IDs to delete.
458
+ #
459
+ # @option params [required, String] :workflow_name
460
+ # The name of the workflow.
461
+ #
462
+ # @return [Types::BatchDeleteUniqueIdOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
463
+ #
464
+ # * {Types::BatchDeleteUniqueIdOutput#deleted #deleted} => Array&lt;Types::DeletedUniqueId&gt;
465
+ # * {Types::BatchDeleteUniqueIdOutput#disconnected_unique_ids #disconnected_unique_ids} => Array&lt;String&gt;
466
+ # * {Types::BatchDeleteUniqueIdOutput#errors #errors} => Array&lt;Types::DeleteUniqueIdError&gt;
467
+ # * {Types::BatchDeleteUniqueIdOutput#status #status} => String
468
+ #
469
+ # @example Request syntax with placeholder values
470
+ #
471
+ # resp = client.batch_delete_unique_id({
472
+ # input_source: "BatchDeleteUniqueIdInputInputSourceString",
473
+ # unique_ids: ["UniqueId"], # required
474
+ # workflow_name: "EntityName", # required
475
+ # })
476
+ #
477
+ # @example Response structure
478
+ #
479
+ # resp.deleted #=> Array
480
+ # resp.deleted[0].unique_id #=> String
481
+ # resp.disconnected_unique_ids #=> Array
482
+ # resp.disconnected_unique_ids[0] #=> String
483
+ # resp.errors #=> Array
484
+ # resp.errors[0].error_type #=> String, one of "SERVICE_ERROR", "VALIDATION_ERROR"
485
+ # resp.errors[0].unique_id #=> String
486
+ # resp.status #=> String, one of "COMPLETED", "ACCEPTED"
487
+ #
488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/BatchDeleteUniqueId AWS API Documentation
489
+ #
490
+ # @overload batch_delete_unique_id(params = {})
491
+ # @param [Hash] params ({})
492
+ def batch_delete_unique_id(params = {}, options = {})
493
+ req = build_request(:batch_delete_unique_id, params)
494
+ req.send_request(options)
495
+ end
496
+
451
497
  # Creates an `IdMappingWorkflow` object which stores the configuration
452
498
  # of the data processing job to be run. Each `IdMappingWorkflow` must
453
499
  # have a unique workflow name. To modify an existing workflow, use the
@@ -2372,7 +2418,7 @@ module Aws::EntityResolution
2372
2418
  params: params,
2373
2419
  config: config)
2374
2420
  context[:gem_name] = 'aws-sdk-entityresolution'
2375
- context[:gem_version] = '1.7.0'
2421
+ context[:gem_version] = '1.8.0'
2376
2422
  Seahorse::Client::Request.new(handlers, context)
2377
2423
  end
2378
2424
 
@@ -20,6 +20,9 @@ module Aws::EntityResolution
20
20
  AttributeName = Shapes::StringShape.new(name: 'AttributeName')
21
21
  AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
22
22
  AwsAccountIdList = Shapes::ListShape.new(name: 'AwsAccountIdList')
23
+ BatchDeleteUniqueIdInput = Shapes::StructureShape.new(name: 'BatchDeleteUniqueIdInput')
24
+ BatchDeleteUniqueIdInputInputSourceString = Shapes::StringShape.new(name: 'BatchDeleteUniqueIdInputInputSourceString')
25
+ BatchDeleteUniqueIdOutput = Shapes::StructureShape.new(name: 'BatchDeleteUniqueIdOutput')
23
26
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
24
27
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
25
28
  CreateIdMappingWorkflowInput = Shapes::StructureShape.new(name: 'CreateIdMappingWorkflowInput')
@@ -40,7 +43,14 @@ module Aws::EntityResolution
40
43
  DeletePolicyStatementOutput = Shapes::StructureShape.new(name: 'DeletePolicyStatementOutput')
41
44
  DeleteSchemaMappingInput = Shapes::StructureShape.new(name: 'DeleteSchemaMappingInput')
42
45
  DeleteSchemaMappingOutput = Shapes::StructureShape.new(name: 'DeleteSchemaMappingOutput')
46
+ DeleteUniqueIdError = Shapes::StructureShape.new(name: 'DeleteUniqueIdError')
47
+ DeleteUniqueIdErrorType = Shapes::StringShape.new(name: 'DeleteUniqueIdErrorType')
48
+ DeleteUniqueIdErrorsList = Shapes::ListShape.new(name: 'DeleteUniqueIdErrorsList')
49
+ DeleteUniqueIdStatus = Shapes::StringShape.new(name: 'DeleteUniqueIdStatus')
50
+ DeletedUniqueId = Shapes::StructureShape.new(name: 'DeletedUniqueId')
51
+ DeletedUniqueIdList = Shapes::ListShape.new(name: 'DeletedUniqueIdList')
43
52
  Description = Shapes::StringShape.new(name: 'Description')
53
+ DisconnectedUniqueIdsList = Shapes::ListShape.new(name: 'DisconnectedUniqueIdsList')
44
54
  Document = Shapes::DocumentShape.new(name: 'Document', document: true)
45
55
  EntityName = Shapes::StringShape.new(name: 'EntityName')
46
56
  EntityNameOrIdMappingWorkflowArn = Shapes::StringShape.new(name: 'EntityNameOrIdMappingWorkflowArn')
@@ -195,6 +205,8 @@ module Aws::EntityResolution
195
205
  TagValue = Shapes::StringShape.new(name: 'TagValue')
196
206
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
197
207
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
208
+ UniqueId = Shapes::StringShape.new(name: 'UniqueId')
209
+ UniqueIdList = Shapes::ListShape.new(name: 'UniqueIdList')
198
210
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
199
211
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
200
212
  UpdateIdMappingWorkflowInput = Shapes::StructureShape.new(name: 'UpdateIdMappingWorkflowInput')
@@ -226,6 +238,17 @@ module Aws::EntityResolution
226
238
 
227
239
  AwsAccountIdList.member = Shapes::ShapeRef.new(shape: AwsAccountId)
228
240
 
241
+ BatchDeleteUniqueIdInput.add_member(:input_source, Shapes::ShapeRef.new(shape: BatchDeleteUniqueIdInputInputSourceString, location: "header", location_name: "inputSource"))
242
+ BatchDeleteUniqueIdInput.add_member(:unique_ids, Shapes::ShapeRef.new(shape: UniqueIdList, required: true, location: "header", location_name: "uniqueIds"))
243
+ BatchDeleteUniqueIdInput.add_member(:workflow_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location: "uri", location_name: "workflowName"))
244
+ BatchDeleteUniqueIdInput.struct_class = Types::BatchDeleteUniqueIdInput
245
+
246
+ BatchDeleteUniqueIdOutput.add_member(:deleted, Shapes::ShapeRef.new(shape: DeletedUniqueIdList, required: true, location_name: "deleted"))
247
+ BatchDeleteUniqueIdOutput.add_member(:disconnected_unique_ids, Shapes::ShapeRef.new(shape: DisconnectedUniqueIdsList, required: true, location_name: "disconnectedUniqueIds"))
248
+ BatchDeleteUniqueIdOutput.add_member(:errors, Shapes::ShapeRef.new(shape: DeleteUniqueIdErrorsList, required: true, location_name: "errors"))
249
+ BatchDeleteUniqueIdOutput.add_member(:status, Shapes::ShapeRef.new(shape: DeleteUniqueIdStatus, required: true, location_name: "status"))
250
+ BatchDeleteUniqueIdOutput.struct_class = Types::BatchDeleteUniqueIdOutput
251
+
229
252
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
230
253
  ConflictException.struct_class = Types::ConflictException
231
254
 
@@ -333,6 +356,19 @@ module Aws::EntityResolution
333
356
  DeleteSchemaMappingOutput.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
334
357
  DeleteSchemaMappingOutput.struct_class = Types::DeleteSchemaMappingOutput
335
358
 
359
+ DeleteUniqueIdError.add_member(:error_type, Shapes::ShapeRef.new(shape: DeleteUniqueIdErrorType, required: true, location_name: "errorType"))
360
+ DeleteUniqueIdError.add_member(:unique_id, Shapes::ShapeRef.new(shape: UniqueId, required: true, location_name: "uniqueId"))
361
+ DeleteUniqueIdError.struct_class = Types::DeleteUniqueIdError
362
+
363
+ DeleteUniqueIdErrorsList.member = Shapes::ShapeRef.new(shape: DeleteUniqueIdError)
364
+
365
+ DeletedUniqueId.add_member(:unique_id, Shapes::ShapeRef.new(shape: UniqueId, required: true, location_name: "uniqueId"))
366
+ DeletedUniqueId.struct_class = Types::DeletedUniqueId
367
+
368
+ DeletedUniqueIdList.member = Shapes::ShapeRef.new(shape: DeletedUniqueId)
369
+
370
+ DisconnectedUniqueIdsList.member = Shapes::ShapeRef.new(shape: UniqueId)
371
+
336
372
  ErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
337
373
  ErrorDetails.struct_class = Types::ErrorDetails
338
374
 
@@ -786,6 +822,8 @@ module Aws::EntityResolution
786
822
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
787
823
  ThrottlingException.struct_class = Types::ThrottlingException
788
824
 
825
+ UniqueIdList.member = Shapes::ShapeRef.new(shape: UniqueId)
826
+
789
827
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: VeniceGlobalArn, required: true, location: "uri", location_name: "resourceArn"))
790
828
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
791
829
  UntagResourceInput.struct_class = Types::UntagResourceInput
@@ -892,6 +930,17 @@ module Aws::EntityResolution
892
930
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
893
931
  end)
894
932
 
933
+ api.add_operation(:batch_delete_unique_id, Seahorse::Model::Operation.new.tap do |o|
934
+ o.name = "BatchDeleteUniqueId"
935
+ o.http_method = "DELETE"
936
+ o.http_request_uri = "/matchingworkflows/{workflowName}/uniqueids"
937
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteUniqueIdInput)
938
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteUniqueIdOutput)
939
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
940
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
941
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
942
+ end)
943
+
895
944
  api.add_operation(:create_id_mapping_workflow, Seahorse::Model::Operation.new.tap do |o|
896
945
  o.name = "CreateIdMappingWorkflow"
897
946
  o.http_method = "POST"
@@ -26,6 +26,20 @@ module Aws::EntityResolution
26
26
  end
27
27
  end
28
28
 
29
+ class BatchDeleteUniqueId
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::EntityResolution::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
29
43
  class CreateIdMappingWorkflow
30
44
  def self.build(context)
31
45
  unless context.config.regional_endpoint
@@ -60,6 +60,8 @@ module Aws::EntityResolution
60
60
  case context.operation_name
61
61
  when :add_policy_statement
62
62
  Aws::EntityResolution::Endpoints::AddPolicyStatement.build(context)
63
+ when :batch_delete_unique_id
64
+ Aws::EntityResolution::Endpoints::BatchDeleteUniqueId.build(context)
63
65
  when :create_id_mapping_workflow
64
66
  Aws::EntityResolution::Endpoints::CreateIdMappingWorkflow.build(context)
65
67
  when :create_id_namespace
@@ -91,6 +91,55 @@ module Aws::EntityResolution
91
91
  include Aws::Structure
92
92
  end
93
93
 
94
+ # @!attribute [rw] input_source
95
+ # The input source for the batch delete unique ID operation.
96
+ # @return [String]
97
+ #
98
+ # @!attribute [rw] unique_ids
99
+ # The unique IDs to delete.
100
+ # @return [Array<String>]
101
+ #
102
+ # @!attribute [rw] workflow_name
103
+ # The name of the workflow.
104
+ # @return [String]
105
+ #
106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/BatchDeleteUniqueIdInput AWS API Documentation
107
+ #
108
+ class BatchDeleteUniqueIdInput < Struct.new(
109
+ :input_source,
110
+ :unique_ids,
111
+ :workflow_name)
112
+ SENSITIVE = []
113
+ include Aws::Structure
114
+ end
115
+
116
+ # @!attribute [rw] deleted
117
+ # The unique IDs that were deleted.
118
+ # @return [Array<Types::DeletedUniqueId>]
119
+ #
120
+ # @!attribute [rw] disconnected_unique_ids
121
+ # The unique IDs that were disconnected.
122
+ # @return [Array<String>]
123
+ #
124
+ # @!attribute [rw] errors
125
+ # The errors from deleting multiple unique IDs.
126
+ # @return [Array<Types::DeleteUniqueIdError>]
127
+ #
128
+ # @!attribute [rw] status
129
+ # The status of the batch delete unique ID operation.
130
+ # @return [String]
131
+ #
132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/BatchDeleteUniqueIdOutput AWS API Documentation
133
+ #
134
+ class BatchDeleteUniqueIdOutput < Struct.new(
135
+ :deleted,
136
+ :disconnected_unique_ids,
137
+ :errors,
138
+ :status)
139
+ SENSITIVE = []
140
+ include Aws::Structure
141
+ end
142
+
94
143
  # The request could not be processed because of conflict in the current
95
144
  # state of the resource. Example: Workflow already exists, Schema
96
145
  # already exists, Workflow is currently running, etc. `HTTP Status Code:
@@ -633,6 +682,39 @@ module Aws::EntityResolution
633
682
  include Aws::Structure
634
683
  end
635
684
 
685
+ # The Delete Unique Id error.
686
+ #
687
+ # @!attribute [rw] error_type
688
+ # The error type for the batch delete unique ID operation.
689
+ # @return [String]
690
+ #
691
+ # @!attribute [rw] unique_id
692
+ # The unique ID that could not be deleted.
693
+ # @return [String]
694
+ #
695
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteUniqueIdError AWS API Documentation
696
+ #
697
+ class DeleteUniqueIdError < Struct.new(
698
+ :error_type,
699
+ :unique_id)
700
+ SENSITIVE = []
701
+ include Aws::Structure
702
+ end
703
+
704
+ # The deleted unique ID.
705
+ #
706
+ # @!attribute [rw] unique_id
707
+ # The unique ID of the deleted item.
708
+ # @return [String]
709
+ #
710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeletedUniqueId AWS API Documentation
711
+ #
712
+ class DeletedUniqueId < Struct.new(
713
+ :unique_id)
714
+ SENSITIVE = []
715
+ include Aws::Structure
716
+ end
717
+
636
718
  # An object containing an error message, if there was an error.
637
719
  #
638
720
  # @!attribute [rw] error_message
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-entityresolution/customizations'
52
52
  # @!group service
53
53
  module Aws::EntityResolution
54
54
 
55
- GEM_VERSION = '1.7.0'
55
+ GEM_VERSION = '1.8.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -89,6 +89,21 @@ module Aws
89
89
  ) -> _AddPolicyStatementResponseSuccess
90
90
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddPolicyStatementResponseSuccess
91
91
 
92
+ interface _BatchDeleteUniqueIdResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteUniqueIdOutput]
94
+ def deleted: () -> ::Array[Types::DeletedUniqueId]
95
+ def disconnected_unique_ids: () -> ::Array[::String]
96
+ def errors: () -> ::Array[Types::DeleteUniqueIdError]
97
+ def status: () -> ("COMPLETED" | "ACCEPTED")
98
+ end
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#batch_delete_unique_id-instance_method
100
+ def batch_delete_unique_id: (
101
+ ?input_source: ::String,
102
+ unique_ids: Array[::String],
103
+ workflow_name: ::String
104
+ ) -> _BatchDeleteUniqueIdResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteUniqueIdResponseSuccess
106
+
92
107
  interface _CreateIdMappingWorkflowResponseSuccess
93
108
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIdMappingWorkflowOutput]
94
109
  def description: () -> ::String
data/sig/types.rbs CHANGED
@@ -30,6 +30,21 @@ module Aws::EntityResolution
30
30
  SENSITIVE: []
31
31
  end
32
32
 
33
+ class BatchDeleteUniqueIdInput
34
+ attr_accessor input_source: ::String
35
+ attr_accessor unique_ids: ::Array[::String]
36
+ attr_accessor workflow_name: ::String
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class BatchDeleteUniqueIdOutput
41
+ attr_accessor deleted: ::Array[Types::DeletedUniqueId]
42
+ attr_accessor disconnected_unique_ids: ::Array[::String]
43
+ attr_accessor errors: ::Array[Types::DeleteUniqueIdError]
44
+ attr_accessor status: ("COMPLETED" | "ACCEPTED")
45
+ SENSITIVE: []
46
+ end
47
+
33
48
  class ConflictException
34
49
  attr_accessor message: ::String
35
50
  SENSITIVE: []
@@ -175,6 +190,17 @@ module Aws::EntityResolution
175
190
  SENSITIVE: []
176
191
  end
177
192
 
193
+ class DeleteUniqueIdError
194
+ attr_accessor error_type: ("SERVICE_ERROR" | "VALIDATION_ERROR")
195
+ attr_accessor unique_id: ::String
196
+ SENSITIVE: []
197
+ end
198
+
199
+ class DeletedUniqueId
200
+ attr_accessor unique_id: ::String
201
+ SENSITIVE: []
202
+ end
203
+
178
204
  class ErrorDetails
179
205
  attr_accessor error_message: ::String
180
206
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-entityresolution
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-16 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core