aws-sdk-entityresolution 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.7.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -72,6 +72,23 @@ 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
+
75
92
  interface _CreateIdMappingWorkflowResponseSuccess
76
93
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIdMappingWorkflowOutput]
77
94
  def description: () -> ::String
@@ -94,15 +111,16 @@ module Aws
94
111
  provider_configuration: {
95
112
  }?,
96
113
  provider_service_arn: ::String
97
- }
114
+ }?
98
115
  },
99
116
  input_source_config: Array[
100
117
  {
101
118
  input_source_arn: ::String,
102
- schema_name: ::String
119
+ schema_name: ::String?,
120
+ type: ("SOURCE" | "TARGET")?
103
121
  },
104
122
  ],
105
- output_source_config: Array[
123
+ ?output_source_config: Array[
106
124
  {
107
125
  kms_arn: ::String?,
108
126
  output_s3_path: ::String
@@ -114,6 +132,45 @@ module Aws
114
132
  ) -> _CreateIdMappingWorkflowResponseSuccess
115
133
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIdMappingWorkflowResponseSuccess
116
134
 
135
+ interface _CreateIdNamespaceResponseSuccess
136
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateIdNamespaceOutput]
137
+ def created_at: () -> ::Time
138
+ def description: () -> ::String
139
+ def id_mapping_workflow_properties: () -> ::Array[Types::IdNamespaceIdMappingWorkflowProperties]
140
+ def id_namespace_arn: () -> ::String
141
+ def id_namespace_name: () -> ::String
142
+ def input_source_config: () -> ::Array[Types::IdNamespaceInputSource]
143
+ def role_arn: () -> ::String
144
+ def tags: () -> ::Hash[::String, ::String]
145
+ def type: () -> ("SOURCE" | "TARGET")
146
+ def updated_at: () -> ::Time
147
+ end
148
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#create_id_namespace-instance_method
149
+ def create_id_namespace: (
150
+ ?description: ::String,
151
+ ?id_mapping_workflow_properties: Array[
152
+ {
153
+ id_mapping_type: ("PROVIDER"),
154
+ provider_properties: {
155
+ provider_configuration: {
156
+ }?,
157
+ provider_service_arn: ::String
158
+ }?
159
+ },
160
+ ],
161
+ id_namespace_name: ::String,
162
+ ?input_source_config: Array[
163
+ {
164
+ input_source_arn: ::String,
165
+ schema_name: ::String?
166
+ },
167
+ ],
168
+ ?role_arn: ::String,
169
+ ?tags: Hash[::String, ::String],
170
+ type: ("SOURCE" | "TARGET")
171
+ ) -> _CreateIdNamespaceResponseSuccess
172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIdNamespaceResponseSuccess
173
+
117
174
  interface _CreateMatchingWorkflowResponseSuccess
118
175
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateMatchingWorkflowOutput]
119
176
  def description: () -> ::String
@@ -211,6 +268,16 @@ module Aws
211
268
  ) -> _DeleteIdMappingWorkflowResponseSuccess
212
269
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIdMappingWorkflowResponseSuccess
213
270
 
271
+ interface _DeleteIdNamespaceResponseSuccess
272
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIdNamespaceOutput]
273
+ def message: () -> ::String
274
+ end
275
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#delete_id_namespace-instance_method
276
+ def delete_id_namespace: (
277
+ id_namespace_name: ::String
278
+ ) -> _DeleteIdNamespaceResponseSuccess
279
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIdNamespaceResponseSuccess
280
+
214
281
  interface _DeleteMatchingWorkflowResponseSuccess
215
282
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMatchingWorkflowOutput]
216
283
  def message: () -> ::String
@@ -221,6 +288,19 @@ module Aws
221
288
  ) -> _DeleteMatchingWorkflowResponseSuccess
222
289
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMatchingWorkflowResponseSuccess
223
290
 
291
+ interface _DeletePolicyStatementResponseSuccess
292
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePolicyStatementOutput]
293
+ def arn: () -> ::String
294
+ def policy: () -> ::String
295
+ def token: () -> ::String
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#delete_policy_statement-instance_method
298
+ def delete_policy_statement: (
299
+ arn: ::String,
300
+ statement_id: ::String
301
+ ) -> _DeletePolicyStatementResponseSuccess
302
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyStatementResponseSuccess
303
+
224
304
  interface _DeleteSchemaMappingResponseSuccess
225
305
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSchemaMappingOutput]
226
306
  def message: () -> ::String
@@ -237,6 +317,7 @@ module Aws
237
317
  def error_details: () -> Types::ErrorDetails
238
318
  def job_id: () -> ::String
239
319
  def metrics: () -> Types::IdMappingJobMetrics
320
+ def output_source_config: () -> ::Array[Types::IdMappingJobOutputSource]
240
321
  def start_time: () -> ::Time
241
322
  def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "QUEUED")
242
323
  end
@@ -266,12 +347,33 @@ module Aws
266
347
  ) -> _GetIdMappingWorkflowResponseSuccess
267
348
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdMappingWorkflowResponseSuccess
268
349
 
350
+ interface _GetIdNamespaceResponseSuccess
351
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIdNamespaceOutput]
352
+ def created_at: () -> ::Time
353
+ def description: () -> ::String
354
+ def id_mapping_workflow_properties: () -> ::Array[Types::IdNamespaceIdMappingWorkflowProperties]
355
+ def id_namespace_arn: () -> ::String
356
+ def id_namespace_name: () -> ::String
357
+ def input_source_config: () -> ::Array[Types::IdNamespaceInputSource]
358
+ def role_arn: () -> ::String
359
+ def tags: () -> ::Hash[::String, ::String]
360
+ def type: () -> ("SOURCE" | "TARGET")
361
+ def updated_at: () -> ::Time
362
+ end
363
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#get_id_namespace-instance_method
364
+ def get_id_namespace: (
365
+ id_namespace_name: ::String
366
+ ) -> _GetIdNamespaceResponseSuccess
367
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdNamespaceResponseSuccess
368
+
269
369
  interface _GetMatchIdResponseSuccess
270
370
  include ::Seahorse::Client::_ResponseSuccess[Types::GetMatchIdOutput]
271
371
  def match_id: () -> ::String
372
+ def match_rule: () -> ::String
272
373
  end
273
374
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#get_match_id-instance_method
274
375
  def get_match_id: (
376
+ ?apply_normalization: bool,
275
377
  record: Hash[::String, ::String],
276
378
  workflow_name: ::String
277
379
  ) -> _GetMatchIdResponseSuccess
@@ -283,6 +385,7 @@ module Aws
283
385
  def error_details: () -> Types::ErrorDetails
284
386
  def job_id: () -> ::String
285
387
  def metrics: () -> Types::JobMetrics
388
+ def output_source_config: () -> ::Array[Types::JobOutputSource]
286
389
  def start_time: () -> ::Time
287
390
  def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "QUEUED")
288
391
  end
@@ -313,13 +416,28 @@ module Aws
313
416
  ) -> _GetMatchingWorkflowResponseSuccess
314
417
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMatchingWorkflowResponseSuccess
315
418
 
419
+ interface _GetPolicyResponseSuccess
420
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyOutput]
421
+ def arn: () -> ::String
422
+ def policy: () -> ::String
423
+ def token: () -> ::String
424
+ end
425
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#get_policy-instance_method
426
+ def get_policy: (
427
+ arn: ::String
428
+ ) -> _GetPolicyResponseSuccess
429
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyResponseSuccess
430
+
316
431
  interface _GetProviderServiceResponseSuccess
317
432
  include ::Seahorse::Client::_ResponseSuccess[Types::GetProviderServiceOutput]
318
433
  def anonymized_output: () -> bool
434
+ def provider_component_schema: () -> Types::ProviderComponentSchema
319
435
  def provider_configuration_definition: () -> untyped
320
436
  def provider_endpoint_configuration: () -> Types::ProviderEndpointConfiguration
321
437
  def provider_entity_output_definition: () -> untyped
438
+ def provider_id_name_space_configuration: () -> Types::ProviderIdNameSpaceConfiguration
322
439
  def provider_intermediate_data_access_configuration: () -> Types::ProviderIntermediateDataAccessConfiguration
440
+ def provider_job_configuration: () -> untyped
323
441
  def provider_name: () -> ::String
324
442
  def provider_service_arn: () -> ::String
325
443
  def provider_service_display_name: () -> ::String
@@ -375,6 +493,18 @@ module Aws
375
493
  ) -> _ListIdMappingWorkflowsResponseSuccess
376
494
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIdMappingWorkflowsResponseSuccess
377
495
 
496
+ interface _ListIdNamespacesResponseSuccess
497
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIdNamespacesOutput]
498
+ def id_namespace_summaries: () -> ::Array[Types::IdNamespaceSummary]
499
+ def next_token: () -> ::String
500
+ end
501
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#list_id_namespaces-instance_method
502
+ def list_id_namespaces: (
503
+ ?max_results: ::Integer,
504
+ ?next_token: ::String
505
+ ) -> _ListIdNamespacesResponseSuccess
506
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIdNamespacesResponseSuccess
507
+
378
508
  interface _ListMatchingJobsResponseSuccess
379
509
  include ::Seahorse::Client::_ResponseSuccess[Types::ListMatchingJobsOutput]
380
510
  def jobs: () -> ::Array[Types::JobSummary]
@@ -435,12 +565,34 @@ module Aws
435
565
  ) -> _ListTagsForResourceResponseSuccess
436
566
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
437
567
 
568
+ interface _PutPolicyResponseSuccess
569
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutPolicyOutput]
570
+ def arn: () -> ::String
571
+ def policy: () -> ::String
572
+ def token: () -> ::String
573
+ end
574
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#put_policy-instance_method
575
+ def put_policy: (
576
+ arn: ::String,
577
+ policy: ::String,
578
+ ?token: ::String
579
+ ) -> _PutPolicyResponseSuccess
580
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPolicyResponseSuccess
581
+
438
582
  interface _StartIdMappingJobResponseSuccess
439
583
  include ::Seahorse::Client::_ResponseSuccess[Types::StartIdMappingJobOutput]
440
584
  def job_id: () -> ::String
585
+ def output_source_config: () -> ::Array[Types::IdMappingJobOutputSource]
441
586
  end
442
587
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#start_id_mapping_job-instance_method
443
588
  def start_id_mapping_job: (
589
+ ?output_source_config: Array[
590
+ {
591
+ kms_arn: ::String?,
592
+ output_s3_path: ::String,
593
+ role_arn: ::String
594
+ },
595
+ ],
444
596
  workflow_name: ::String
445
597
  ) -> _StartIdMappingJobResponseSuccess
446
598
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartIdMappingJobResponseSuccess
@@ -497,15 +649,16 @@ module Aws
497
649
  provider_configuration: {
498
650
  }?,
499
651
  provider_service_arn: ::String
500
- }
652
+ }?
501
653
  },
502
654
  input_source_config: Array[
503
655
  {
504
656
  input_source_arn: ::String,
505
- schema_name: ::String
657
+ schema_name: ::String?,
658
+ type: ("SOURCE" | "TARGET")?
506
659
  },
507
660
  ],
508
- output_source_config: Array[
661
+ ?output_source_config: Array[
509
662
  {
510
663
  kms_arn: ::String?,
511
664
  output_s3_path: ::String
@@ -516,6 +669,42 @@ module Aws
516
669
  ) -> _UpdateIdMappingWorkflowResponseSuccess
517
670
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIdMappingWorkflowResponseSuccess
518
671
 
672
+ interface _UpdateIdNamespaceResponseSuccess
673
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdNamespaceOutput]
674
+ def created_at: () -> ::Time
675
+ def description: () -> ::String
676
+ def id_mapping_workflow_properties: () -> ::Array[Types::IdNamespaceIdMappingWorkflowProperties]
677
+ def id_namespace_arn: () -> ::String
678
+ def id_namespace_name: () -> ::String
679
+ def input_source_config: () -> ::Array[Types::IdNamespaceInputSource]
680
+ def role_arn: () -> ::String
681
+ def type: () -> ("SOURCE" | "TARGET")
682
+ def updated_at: () -> ::Time
683
+ end
684
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EntityResolution/Client.html#update_id_namespace-instance_method
685
+ def update_id_namespace: (
686
+ ?description: ::String,
687
+ ?id_mapping_workflow_properties: Array[
688
+ {
689
+ id_mapping_type: ("PROVIDER"),
690
+ provider_properties: {
691
+ provider_configuration: {
692
+ }?,
693
+ provider_service_arn: ::String
694
+ }?
695
+ },
696
+ ],
697
+ id_namespace_name: ::String,
698
+ ?input_source_config: Array[
699
+ {
700
+ input_source_arn: ::String,
701
+ schema_name: ::String?
702
+ },
703
+ ],
704
+ ?role_arn: ::String
705
+ ) -> _UpdateIdNamespaceResponseSuccess
706
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIdNamespaceResponseSuccess
707
+
519
708
  interface _UpdateMatchingWorkflowResponseSuccess
520
709
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMatchingWorkflowOutput]
521
710
  def description: () -> ::String