aws-sdk-entityresolution 1.1.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-entityresolution/client.rb +646 -18
- data/lib/aws-sdk-entityresolution/client_api.rb +411 -0
- data/lib/aws-sdk-entityresolution/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-entityresolution/endpoints.rb +154 -0
- data/lib/aws-sdk-entityresolution/plugins/endpoints.rb +22 -0
- data/lib/aws-sdk-entityresolution/types.rb +945 -43
- data/lib/aws-sdk-entityresolution.rb +2 -2
- metadata +4 -4
@@ -32,7 +32,7 @@ module Aws::EntityResolution
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://entityresolution-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -12,6 +12,20 @@ module Aws::EntityResolution
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class CreateIdMappingWorkflow
|
16
|
+
def self.build(context)
|
17
|
+
unless context.config.regional_endpoint
|
18
|
+
endpoint = context.config.endpoint.to_s
|
19
|
+
end
|
20
|
+
Aws::EntityResolution::EndpointParameters.new(
|
21
|
+
region: context.config.region,
|
22
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
23
|
+
use_fips: context.config.use_fips_endpoint,
|
24
|
+
endpoint: endpoint,
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
15
29
|
class CreateMatchingWorkflow
|
16
30
|
def self.build(context)
|
17
31
|
unless context.config.regional_endpoint
|
@@ -40,6 +54,20 @@ module Aws::EntityResolution
|
|
40
54
|
end
|
41
55
|
end
|
42
56
|
|
57
|
+
class DeleteIdMappingWorkflow
|
58
|
+
def self.build(context)
|
59
|
+
unless context.config.regional_endpoint
|
60
|
+
endpoint = context.config.endpoint.to_s
|
61
|
+
end
|
62
|
+
Aws::EntityResolution::EndpointParameters.new(
|
63
|
+
region: context.config.region,
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
66
|
+
endpoint: endpoint,
|
67
|
+
)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
43
71
|
class DeleteMatchingWorkflow
|
44
72
|
def self.build(context)
|
45
73
|
unless context.config.regional_endpoint
|
@@ -68,6 +96,34 @@ module Aws::EntityResolution
|
|
68
96
|
end
|
69
97
|
end
|
70
98
|
|
99
|
+
class GetIdMappingJob
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::EntityResolution::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
class GetIdMappingWorkflow
|
114
|
+
def self.build(context)
|
115
|
+
unless context.config.regional_endpoint
|
116
|
+
endpoint = context.config.endpoint.to_s
|
117
|
+
end
|
118
|
+
Aws::EntityResolution::EndpointParameters.new(
|
119
|
+
region: context.config.region,
|
120
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
endpoint: endpoint,
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
71
127
|
class GetMatchId
|
72
128
|
def self.build(context)
|
73
129
|
unless context.config.regional_endpoint
|
@@ -110,6 +166,20 @@ module Aws::EntityResolution
|
|
110
166
|
end
|
111
167
|
end
|
112
168
|
|
169
|
+
class GetProviderService
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::EntityResolution::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
113
183
|
class GetSchemaMapping
|
114
184
|
def self.build(context)
|
115
185
|
unless context.config.regional_endpoint
|
@@ -124,6 +194,34 @@ module Aws::EntityResolution
|
|
124
194
|
end
|
125
195
|
end
|
126
196
|
|
197
|
+
class ListIdMappingJobs
|
198
|
+
def self.build(context)
|
199
|
+
unless context.config.regional_endpoint
|
200
|
+
endpoint = context.config.endpoint.to_s
|
201
|
+
end
|
202
|
+
Aws::EntityResolution::EndpointParameters.new(
|
203
|
+
region: context.config.region,
|
204
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
205
|
+
use_fips: context.config.use_fips_endpoint,
|
206
|
+
endpoint: endpoint,
|
207
|
+
)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
class ListIdMappingWorkflows
|
212
|
+
def self.build(context)
|
213
|
+
unless context.config.regional_endpoint
|
214
|
+
endpoint = context.config.endpoint.to_s
|
215
|
+
end
|
216
|
+
Aws::EntityResolution::EndpointParameters.new(
|
217
|
+
region: context.config.region,
|
218
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
219
|
+
use_fips: context.config.use_fips_endpoint,
|
220
|
+
endpoint: endpoint,
|
221
|
+
)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
127
225
|
class ListMatchingJobs
|
128
226
|
def self.build(context)
|
129
227
|
unless context.config.regional_endpoint
|
@@ -152,6 +250,20 @@ module Aws::EntityResolution
|
|
152
250
|
end
|
153
251
|
end
|
154
252
|
|
253
|
+
class ListProviderServices
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::EntityResolution::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
155
267
|
class ListSchemaMappings
|
156
268
|
def self.build(context)
|
157
269
|
unless context.config.regional_endpoint
|
@@ -180,6 +292,20 @@ module Aws::EntityResolution
|
|
180
292
|
end
|
181
293
|
end
|
182
294
|
|
295
|
+
class StartIdMappingJob
|
296
|
+
def self.build(context)
|
297
|
+
unless context.config.regional_endpoint
|
298
|
+
endpoint = context.config.endpoint.to_s
|
299
|
+
end
|
300
|
+
Aws::EntityResolution::EndpointParameters.new(
|
301
|
+
region: context.config.region,
|
302
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
303
|
+
use_fips: context.config.use_fips_endpoint,
|
304
|
+
endpoint: endpoint,
|
305
|
+
)
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
183
309
|
class StartMatchingJob
|
184
310
|
def self.build(context)
|
185
311
|
unless context.config.regional_endpoint
|
@@ -222,6 +348,20 @@ module Aws::EntityResolution
|
|
222
348
|
end
|
223
349
|
end
|
224
350
|
|
351
|
+
class UpdateIdMappingWorkflow
|
352
|
+
def self.build(context)
|
353
|
+
unless context.config.regional_endpoint
|
354
|
+
endpoint = context.config.endpoint.to_s
|
355
|
+
end
|
356
|
+
Aws::EntityResolution::EndpointParameters.new(
|
357
|
+
region: context.config.region,
|
358
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
359
|
+
use_fips: context.config.use_fips_endpoint,
|
360
|
+
endpoint: endpoint,
|
361
|
+
)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
225
365
|
class UpdateMatchingWorkflow
|
226
366
|
def self.build(context)
|
227
367
|
unless context.config.regional_endpoint
|
@@ -236,5 +376,19 @@ module Aws::EntityResolution
|
|
236
376
|
end
|
237
377
|
end
|
238
378
|
|
379
|
+
class UpdateSchemaMapping
|
380
|
+
def self.build(context)
|
381
|
+
unless context.config.regional_endpoint
|
382
|
+
endpoint = context.config.endpoint.to_s
|
383
|
+
end
|
384
|
+
Aws::EntityResolution::EndpointParameters.new(
|
385
|
+
region: context.config.region,
|
386
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
387
|
+
use_fips: context.config.use_fips_endpoint,
|
388
|
+
endpoint: endpoint,
|
389
|
+
)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
239
393
|
end
|
240
394
|
end
|
@@ -56,38 +56,60 @@ module Aws::EntityResolution
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :create_id_mapping_workflow
|
60
|
+
Aws::EntityResolution::Endpoints::CreateIdMappingWorkflow.build(context)
|
59
61
|
when :create_matching_workflow
|
60
62
|
Aws::EntityResolution::Endpoints::CreateMatchingWorkflow.build(context)
|
61
63
|
when :create_schema_mapping
|
62
64
|
Aws::EntityResolution::Endpoints::CreateSchemaMapping.build(context)
|
65
|
+
when :delete_id_mapping_workflow
|
66
|
+
Aws::EntityResolution::Endpoints::DeleteIdMappingWorkflow.build(context)
|
63
67
|
when :delete_matching_workflow
|
64
68
|
Aws::EntityResolution::Endpoints::DeleteMatchingWorkflow.build(context)
|
65
69
|
when :delete_schema_mapping
|
66
70
|
Aws::EntityResolution::Endpoints::DeleteSchemaMapping.build(context)
|
71
|
+
when :get_id_mapping_job
|
72
|
+
Aws::EntityResolution::Endpoints::GetIdMappingJob.build(context)
|
73
|
+
when :get_id_mapping_workflow
|
74
|
+
Aws::EntityResolution::Endpoints::GetIdMappingWorkflow.build(context)
|
67
75
|
when :get_match_id
|
68
76
|
Aws::EntityResolution::Endpoints::GetMatchId.build(context)
|
69
77
|
when :get_matching_job
|
70
78
|
Aws::EntityResolution::Endpoints::GetMatchingJob.build(context)
|
71
79
|
when :get_matching_workflow
|
72
80
|
Aws::EntityResolution::Endpoints::GetMatchingWorkflow.build(context)
|
81
|
+
when :get_provider_service
|
82
|
+
Aws::EntityResolution::Endpoints::GetProviderService.build(context)
|
73
83
|
when :get_schema_mapping
|
74
84
|
Aws::EntityResolution::Endpoints::GetSchemaMapping.build(context)
|
85
|
+
when :list_id_mapping_jobs
|
86
|
+
Aws::EntityResolution::Endpoints::ListIdMappingJobs.build(context)
|
87
|
+
when :list_id_mapping_workflows
|
88
|
+
Aws::EntityResolution::Endpoints::ListIdMappingWorkflows.build(context)
|
75
89
|
when :list_matching_jobs
|
76
90
|
Aws::EntityResolution::Endpoints::ListMatchingJobs.build(context)
|
77
91
|
when :list_matching_workflows
|
78
92
|
Aws::EntityResolution::Endpoints::ListMatchingWorkflows.build(context)
|
93
|
+
when :list_provider_services
|
94
|
+
Aws::EntityResolution::Endpoints::ListProviderServices.build(context)
|
79
95
|
when :list_schema_mappings
|
80
96
|
Aws::EntityResolution::Endpoints::ListSchemaMappings.build(context)
|
81
97
|
when :list_tags_for_resource
|
82
98
|
Aws::EntityResolution::Endpoints::ListTagsForResource.build(context)
|
99
|
+
when :start_id_mapping_job
|
100
|
+
Aws::EntityResolution::Endpoints::StartIdMappingJob.build(context)
|
83
101
|
when :start_matching_job
|
84
102
|
Aws::EntityResolution::Endpoints::StartMatchingJob.build(context)
|
85
103
|
when :tag_resource
|
86
104
|
Aws::EntityResolution::Endpoints::TagResource.build(context)
|
87
105
|
when :untag_resource
|
88
106
|
Aws::EntityResolution::Endpoints::UntagResource.build(context)
|
107
|
+
when :update_id_mapping_workflow
|
108
|
+
Aws::EntityResolution::Endpoints::UpdateIdMappingWorkflow.build(context)
|
89
109
|
when :update_matching_workflow
|
90
110
|
Aws::EntityResolution::Endpoints::UpdateMatchingWorkflow.build(context)
|
111
|
+
when :update_schema_mapping
|
112
|
+
Aws::EntityResolution::Endpoints::UpdateSchemaMapping.build(context)
|
91
113
|
end
|
92
114
|
end
|
93
115
|
end
|