aws-sdk-entityresolution 1.6.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.
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-entityresolution/customizations'
32
32
  # structure.
33
33
  #
34
34
  # entity_resolution = Aws::EntityResolution::Client.new
35
- # resp = entity_resolution.create_id_mapping_workflow(params)
35
+ # resp = entity_resolution.add_policy_statement(params)
36
36
  #
37
37
  # See {Client} for more information.
38
38
  #
@@ -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.6.0'
55
+ GEM_VERSION = '1.8.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -72,6 +72,38 @@ module Aws
72
72
  | (?Hash[Symbol, untyped]) -> instance
73
73
 
74
74
 
75
+ interface _AddPolicyStatementResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddPolicyStatementOutput]
77
+ def arn: () -> ::String
78
+ def policy: () -> ::String
79
+ def token: () -> ::String
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#add_policy_statement-instance_method
82
+ def add_policy_statement: (
83
+ action: Array[::String],
84
+ arn: ::String,
85
+ ?condition: ::String,
86
+ effect: ("Allow" | "Deny"),
87
+ principal: Array[::String],
88
+ statement_id: ::String
89
+ ) -> _AddPolicyStatementResponseSuccess
90
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddPolicyStatementResponseSuccess
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
+
75
107
  interface _CreateIdMappingWorkflowResponseSuccess
76
108
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIdMappingWorkflowOutput]
77
109
  def description: () -> ::String
@@ -94,15 +126,16 @@ module Aws
94
126
  provider_configuration: {
95
127
  }?,
96
128
  provider_service_arn: ::String
97
- }
129
+ }?
98
130
  },
99
131
  input_source_config: Array[
100
132
  {
101
133
  input_source_arn: ::String,
102
- schema_name: ::String
134
+ schema_name: ::String?,
135
+ type: ("SOURCE" | "TARGET")?
103
136
  },
104
137
  ],
105
- output_source_config: Array[
138
+ ?output_source_config: Array[
106
139
  {
107
140
  kms_arn: ::String?,
108
141
  output_s3_path: ::String
@@ -114,6 +147,45 @@ module Aws
114
147
  ) -> _CreateIdMappingWorkflowResponseSuccess
115
148
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIdMappingWorkflowResponseSuccess
116
149
 
150
+ interface _CreateIdNamespaceResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateIdNamespaceOutput]
152
+ def created_at: () -> ::Time
153
+ def description: () -> ::String
154
+ def id_mapping_workflow_properties: () -> ::Array[Types::IdNamespaceIdMappingWorkflowProperties]
155
+ def id_namespace_arn: () -> ::String
156
+ def id_namespace_name: () -> ::String
157
+ def input_source_config: () -> ::Array[Types::IdNamespaceInputSource]
158
+ def role_arn: () -> ::String
159
+ def tags: () -> ::Hash[::String, ::String]
160
+ def type: () -> ("SOURCE" | "TARGET")
161
+ def updated_at: () -> ::Time
162
+ end
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#create_id_namespace-instance_method
164
+ def create_id_namespace: (
165
+ ?description: ::String,
166
+ ?id_mapping_workflow_properties: Array[
167
+ {
168
+ id_mapping_type: ("PROVIDER"),
169
+ provider_properties: {
170
+ provider_configuration: {
171
+ }?,
172
+ provider_service_arn: ::String
173
+ }?
174
+ },
175
+ ],
176
+ id_namespace_name: ::String,
177
+ ?input_source_config: Array[
178
+ {
179
+ input_source_arn: ::String,
180
+ schema_name: ::String?
181
+ },
182
+ ],
183
+ ?role_arn: ::String,
184
+ ?tags: Hash[::String, ::String],
185
+ type: ("SOURCE" | "TARGET")
186
+ ) -> _CreateIdNamespaceResponseSuccess
187
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIdNamespaceResponseSuccess
188
+
117
189
  interface _CreateMatchingWorkflowResponseSuccess
118
190
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateMatchingWorkflowOutput]
119
191
  def description: () -> ::String
@@ -211,6 +283,16 @@ module Aws
211
283
  ) -> _DeleteIdMappingWorkflowResponseSuccess
212
284
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIdMappingWorkflowResponseSuccess
213
285
 
286
+ interface _DeleteIdNamespaceResponseSuccess
287
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIdNamespaceOutput]
288
+ def message: () -> ::String
289
+ end
290
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#delete_id_namespace-instance_method
291
+ def delete_id_namespace: (
292
+ id_namespace_name: ::String
293
+ ) -> _DeleteIdNamespaceResponseSuccess
294
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIdNamespaceResponseSuccess
295
+
214
296
  interface _DeleteMatchingWorkflowResponseSuccess
215
297
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMatchingWorkflowOutput]
216
298
  def message: () -> ::String
@@ -221,6 +303,19 @@ module Aws
221
303
  ) -> _DeleteMatchingWorkflowResponseSuccess
222
304
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMatchingWorkflowResponseSuccess
223
305
 
306
+ interface _DeletePolicyStatementResponseSuccess
307
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePolicyStatementOutput]
308
+ def arn: () -> ::String
309
+ def policy: () -> ::String
310
+ def token: () -> ::String
311
+ end
312
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#delete_policy_statement-instance_method
313
+ def delete_policy_statement: (
314
+ arn: ::String,
315
+ statement_id: ::String
316
+ ) -> _DeletePolicyStatementResponseSuccess
317
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyStatementResponseSuccess
318
+
224
319
  interface _DeleteSchemaMappingResponseSuccess
225
320
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSchemaMappingOutput]
226
321
  def message: () -> ::String
@@ -237,6 +332,7 @@ module Aws
237
332
  def error_details: () -> Types::ErrorDetails
238
333
  def job_id: () -> ::String
239
334
  def metrics: () -> Types::IdMappingJobMetrics
335
+ def output_source_config: () -> ::Array[Types::IdMappingJobOutputSource]
240
336
  def start_time: () -> ::Time
241
337
  def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "QUEUED")
242
338
  end
@@ -266,12 +362,33 @@ module Aws
266
362
  ) -> _GetIdMappingWorkflowResponseSuccess
267
363
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdMappingWorkflowResponseSuccess
268
364
 
365
+ interface _GetIdNamespaceResponseSuccess
366
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIdNamespaceOutput]
367
+ def created_at: () -> ::Time
368
+ def description: () -> ::String
369
+ def id_mapping_workflow_properties: () -> ::Array[Types::IdNamespaceIdMappingWorkflowProperties]
370
+ def id_namespace_arn: () -> ::String
371
+ def id_namespace_name: () -> ::String
372
+ def input_source_config: () -> ::Array[Types::IdNamespaceInputSource]
373
+ def role_arn: () -> ::String
374
+ def tags: () -> ::Hash[::String, ::String]
375
+ def type: () -> ("SOURCE" | "TARGET")
376
+ def updated_at: () -> ::Time
377
+ end
378
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#get_id_namespace-instance_method
379
+ def get_id_namespace: (
380
+ id_namespace_name: ::String
381
+ ) -> _GetIdNamespaceResponseSuccess
382
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdNamespaceResponseSuccess
383
+
269
384
  interface _GetMatchIdResponseSuccess
270
385
  include ::Seahorse::Client::_ResponseSuccess[Types::GetMatchIdOutput]
271
386
  def match_id: () -> ::String
387
+ def match_rule: () -> ::String
272
388
  end
273
389
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#get_match_id-instance_method
274
390
  def get_match_id: (
391
+ ?apply_normalization: bool,
275
392
  record: Hash[::String, ::String],
276
393
  workflow_name: ::String
277
394
  ) -> _GetMatchIdResponseSuccess
@@ -283,6 +400,7 @@ module Aws
283
400
  def error_details: () -> Types::ErrorDetails
284
401
  def job_id: () -> ::String
285
402
  def metrics: () -> Types::JobMetrics
403
+ def output_source_config: () -> ::Array[Types::JobOutputSource]
286
404
  def start_time: () -> ::Time
287
405
  def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "QUEUED")
288
406
  end
@@ -313,13 +431,28 @@ module Aws
313
431
  ) -> _GetMatchingWorkflowResponseSuccess
314
432
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMatchingWorkflowResponseSuccess
315
433
 
434
+ interface _GetPolicyResponseSuccess
435
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyOutput]
436
+ def arn: () -> ::String
437
+ def policy: () -> ::String
438
+ def token: () -> ::String
439
+ end
440
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#get_policy-instance_method
441
+ def get_policy: (
442
+ arn: ::String
443
+ ) -> _GetPolicyResponseSuccess
444
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyResponseSuccess
445
+
316
446
  interface _GetProviderServiceResponseSuccess
317
447
  include ::Seahorse::Client::_ResponseSuccess[Types::GetProviderServiceOutput]
318
448
  def anonymized_output: () -> bool
449
+ def provider_component_schema: () -> Types::ProviderComponentSchema
319
450
  def provider_configuration_definition: () -> untyped
320
451
  def provider_endpoint_configuration: () -> Types::ProviderEndpointConfiguration
321
452
  def provider_entity_output_definition: () -> untyped
453
+ def provider_id_name_space_configuration: () -> Types::ProviderIdNameSpaceConfiguration
322
454
  def provider_intermediate_data_access_configuration: () -> Types::ProviderIntermediateDataAccessConfiguration
455
+ def provider_job_configuration: () -> untyped
323
456
  def provider_name: () -> ::String
324
457
  def provider_service_arn: () -> ::String
325
458
  def provider_service_display_name: () -> ::String
@@ -375,6 +508,18 @@ module Aws
375
508
  ) -> _ListIdMappingWorkflowsResponseSuccess
376
509
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIdMappingWorkflowsResponseSuccess
377
510
 
511
+ interface _ListIdNamespacesResponseSuccess
512
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIdNamespacesOutput]
513
+ def id_namespace_summaries: () -> ::Array[Types::IdNamespaceSummary]
514
+ def next_token: () -> ::String
515
+ end
516
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#list_id_namespaces-instance_method
517
+ def list_id_namespaces: (
518
+ ?max_results: ::Integer,
519
+ ?next_token: ::String
520
+ ) -> _ListIdNamespacesResponseSuccess
521
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIdNamespacesResponseSuccess
522
+
378
523
  interface _ListMatchingJobsResponseSuccess
379
524
  include ::Seahorse::Client::_ResponseSuccess[Types::ListMatchingJobsOutput]
380
525
  def jobs: () -> ::Array[Types::JobSummary]
@@ -435,12 +580,34 @@ module Aws
435
580
  ) -> _ListTagsForResourceResponseSuccess
436
581
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
437
582
 
583
+ interface _PutPolicyResponseSuccess
584
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutPolicyOutput]
585
+ def arn: () -> ::String
586
+ def policy: () -> ::String
587
+ def token: () -> ::String
588
+ end
589
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#put_policy-instance_method
590
+ def put_policy: (
591
+ arn: ::String,
592
+ policy: ::String,
593
+ ?token: ::String
594
+ ) -> _PutPolicyResponseSuccess
595
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPolicyResponseSuccess
596
+
438
597
  interface _StartIdMappingJobResponseSuccess
439
598
  include ::Seahorse::Client::_ResponseSuccess[Types::StartIdMappingJobOutput]
440
599
  def job_id: () -> ::String
600
+ def output_source_config: () -> ::Array[Types::IdMappingJobOutputSource]
441
601
  end
442
602
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#start_id_mapping_job-instance_method
443
603
  def start_id_mapping_job: (
604
+ ?output_source_config: Array[
605
+ {
606
+ kms_arn: ::String?,
607
+ output_s3_path: ::String,
608
+ role_arn: ::String
609
+ },
610
+ ],
444
611
  workflow_name: ::String
445
612
  ) -> _StartIdMappingJobResponseSuccess
446
613
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartIdMappingJobResponseSuccess
@@ -497,15 +664,16 @@ module Aws
497
664
  provider_configuration: {
498
665
  }?,
499
666
  provider_service_arn: ::String
500
- }
667
+ }?
501
668
  },
502
669
  input_source_config: Array[
503
670
  {
504
671
  input_source_arn: ::String,
505
- schema_name: ::String
672
+ schema_name: ::String?,
673
+ type: ("SOURCE" | "TARGET")?
506
674
  },
507
675
  ],
508
- output_source_config: Array[
676
+ ?output_source_config: Array[
509
677
  {
510
678
  kms_arn: ::String?,
511
679
  output_s3_path: ::String
@@ -516,6 +684,42 @@ module Aws
516
684
  ) -> _UpdateIdMappingWorkflowResponseSuccess
517
685
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIdMappingWorkflowResponseSuccess
518
686
 
687
+ interface _UpdateIdNamespaceResponseSuccess
688
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdNamespaceOutput]
689
+ def created_at: () -> ::Time
690
+ def description: () -> ::String
691
+ def id_mapping_workflow_properties: () -> ::Array[Types::IdNamespaceIdMappingWorkflowProperties]
692
+ def id_namespace_arn: () -> ::String
693
+ def id_namespace_name: () -> ::String
694
+ def input_source_config: () -> ::Array[Types::IdNamespaceInputSource]
695
+ def role_arn: () -> ::String
696
+ def type: () -> ("SOURCE" | "TARGET")
697
+ def updated_at: () -> ::Time
698
+ end
699
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#update_id_namespace-instance_method
700
+ def update_id_namespace: (
701
+ ?description: ::String,
702
+ ?id_mapping_workflow_properties: Array[
703
+ {
704
+ id_mapping_type: ("PROVIDER"),
705
+ provider_properties: {
706
+ provider_configuration: {
707
+ }?,
708
+ provider_service_arn: ::String
709
+ }?
710
+ },
711
+ ],
712
+ id_namespace_name: ::String,
713
+ ?input_source_config: Array[
714
+ {
715
+ input_source_arn: ::String,
716
+ schema_name: ::String?
717
+ },
718
+ ],
719
+ ?role_arn: ::String
720
+ ) -> _UpdateIdNamespaceResponseSuccess
721
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIdNamespaceResponseSuccess
722
+
519
723
  interface _UpdateMatchingWorkflowResponseSuccess
520
724
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMatchingWorkflowOutput]
521
725
  def description: () -> ::String