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.
@@ -388,6 +388,66 @@ module Aws::EntityResolution
388
388
 
389
389
  # @!group API Operations
390
390
 
391
+ # Adds a policy statement object. To retrieve a list of existing policy
392
+ # statements, use the `GetPolicy` API.
393
+ #
394
+ # @option params [required, Array<String>] :action
395
+ # The action that the principal can use on the resource.
396
+ #
397
+ # For example, `entityresolution:GetIdMappingJob`,
398
+ # `entityresolution:GetMatchingJob`.
399
+ #
400
+ # @option params [required, String] :arn
401
+ # The Amazon Resource Name (ARN) of the resource that will be accessed
402
+ # by the principal.
403
+ #
404
+ # @option params [String] :condition
405
+ # A set of condition keys that you can use in key policies.
406
+ #
407
+ # @option params [required, String] :effect
408
+ # Determines whether the permissions specified in the policy are to be
409
+ # allowed (`Allow`) or denied (`Deny`).
410
+ #
411
+ # @option params [required, Array<String>] :principal
412
+ # The Amazon Web Services service or Amazon Web Services account that
413
+ # can access the resource defined as ARN.
414
+ #
415
+ # @option params [required, String] :statement_id
416
+ # A statement identifier that differentiates the statement from others
417
+ # in the same policy.
418
+ #
419
+ # @return [Types::AddPolicyStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
420
+ #
421
+ # * {Types::AddPolicyStatementOutput#arn #arn} => String
422
+ # * {Types::AddPolicyStatementOutput#policy #policy} => String
423
+ # * {Types::AddPolicyStatementOutput#token #token} => String
424
+ #
425
+ # @example Request syntax with placeholder values
426
+ #
427
+ # resp = client.add_policy_statement({
428
+ # action: ["StatementAction"], # required
429
+ # arn: "VeniceGlobalArn", # required
430
+ # condition: "StatementCondition",
431
+ # effect: "Allow", # required, accepts Allow, Deny
432
+ # principal: ["StatementPrincipal"], # required
433
+ # statement_id: "StatementId", # required
434
+ # })
435
+ #
436
+ # @example Response structure
437
+ #
438
+ # resp.arn #=> String
439
+ # resp.policy #=> String
440
+ # resp.token #=> String
441
+ #
442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/AddPolicyStatement AWS API Documentation
443
+ #
444
+ # @overload add_policy_statement(params = {})
445
+ # @param [Hash] params ({})
446
+ def add_policy_statement(params = {}, options = {})
447
+ req = build_request(:add_policy_statement, params)
448
+ req.send_request(options)
449
+ end
450
+
391
451
  # Creates an `IdMappingWorkflow` object which stores the configuration
392
452
  # of the data processing job to be run. Each `IdMappingWorkflow` must
393
453
  # have a unique workflow name. To modify an existing workflow, use the
@@ -404,7 +464,7 @@ module Aws::EntityResolution
404
464
  # A list of `InputSource` objects, which have the fields
405
465
  # `InputSourceARN` and `SchemaName`.
406
466
  #
407
- # @option params [required, Array<Types::IdMappingWorkflowOutputSource>] :output_source_config
467
+ # @option params [Array<Types::IdMappingWorkflowOutputSource>] :output_source_config
408
468
  # A list of `IdMappingWorkflowOutputSource` objects, each of which
409
469
  # contains fields `OutputS3Path` and `Output`.
410
470
  #
@@ -436,7 +496,7 @@ module Aws::EntityResolution
436
496
  # description: "Description",
437
497
  # id_mapping_techniques: { # required
438
498
  # id_mapping_type: "PROVIDER", # required, accepts PROVIDER
439
- # provider_properties: { # required
499
+ # provider_properties: {
440
500
  # intermediate_source_configuration: {
441
501
  # intermediate_s3_path: "S3Path", # required
442
502
  # },
@@ -448,10 +508,11 @@ module Aws::EntityResolution
448
508
  # input_source_config: [ # required
449
509
  # {
450
510
  # input_source_arn: "IdMappingWorkflowInputSourceInputSourceARNString", # required
451
- # schema_name: "EntityName", # required
511
+ # schema_name: "EntityName",
512
+ # type: "SOURCE", # accepts SOURCE, TARGET
452
513
  # },
453
514
  # ],
454
- # output_source_config: [ # required
515
+ # output_source_config: [
455
516
  # {
456
517
  # kms_arn: "KMSArn",
457
518
  # output_s3_path: "S3Path", # required
@@ -473,6 +534,7 @@ module Aws::EntityResolution
473
534
  # resp.input_source_config #=> Array
474
535
  # resp.input_source_config[0].input_source_arn #=> String
475
536
  # resp.input_source_config[0].schema_name #=> String
537
+ # resp.input_source_config[0].type #=> String, one of "SOURCE", "TARGET"
476
538
  # resp.output_source_config #=> Array
477
539
  # resp.output_source_config[0].kms_arn #=> String
478
540
  # resp.output_source_config[0].output_s3_path #=> String
@@ -489,6 +551,110 @@ module Aws::EntityResolution
489
551
  req.send_request(options)
490
552
  end
491
553
 
554
+ # Creates an ID namespace object which will help customers provide
555
+ # metadata explaining their dataset and how to use it. Each ID namespace
556
+ # must have a unique name. To modify an existing ID namespace, use the
557
+ # `UpdateIdNamespace` API.
558
+ #
559
+ # @option params [String] :description
560
+ # The description of the ID namespace.
561
+ #
562
+ # @option params [Array<Types::IdNamespaceIdMappingWorkflowProperties>] :id_mapping_workflow_properties
563
+ # Determines the properties of `IdMappingWorflow` where this
564
+ # `IdNamespace` can be used as a `Source` or a `Target`.
565
+ #
566
+ # @option params [required, String] :id_namespace_name
567
+ # The name of the ID namespace.
568
+ #
569
+ # @option params [Array<Types::IdNamespaceInputSource>] :input_source_config
570
+ # A list of `InputSource` objects, which have the fields
571
+ # `InputSourceARN` and `SchemaName`.
572
+ #
573
+ # @option params [String] :role_arn
574
+ # The Amazon Resource Name (ARN) of the IAM role. Entity Resolution
575
+ # assumes this role to access the resources defined in this
576
+ # `IdNamespace` on your behalf as part of the workflow run.
577
+ #
578
+ # @option params [Hash<String,String>] :tags
579
+ # The tags used to organize, track, or control access for this resource.
580
+ #
581
+ # @option params [required, String] :type
582
+ # The type of ID namespace. There are two types: `SOURCE` and `TARGET`.
583
+ #
584
+ # The `SOURCE` contains configurations for `sourceId` data that will be
585
+ # processed in an ID mapping workflow.
586
+ #
587
+ # The `TARGET` contains a configuration of `targetId` to which all
588
+ # `sourceIds` will resolve to.
589
+ #
590
+ # @return [Types::CreateIdNamespaceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
591
+ #
592
+ # * {Types::CreateIdNamespaceOutput#created_at #created_at} => Time
593
+ # * {Types::CreateIdNamespaceOutput#description #description} => String
594
+ # * {Types::CreateIdNamespaceOutput#id_mapping_workflow_properties #id_mapping_workflow_properties} => Array&lt;Types::IdNamespaceIdMappingWorkflowProperties&gt;
595
+ # * {Types::CreateIdNamespaceOutput#id_namespace_arn #id_namespace_arn} => String
596
+ # * {Types::CreateIdNamespaceOutput#id_namespace_name #id_namespace_name} => String
597
+ # * {Types::CreateIdNamespaceOutput#input_source_config #input_source_config} => Array&lt;Types::IdNamespaceInputSource&gt;
598
+ # * {Types::CreateIdNamespaceOutput#role_arn #role_arn} => String
599
+ # * {Types::CreateIdNamespaceOutput#tags #tags} => Hash&lt;String,String&gt;
600
+ # * {Types::CreateIdNamespaceOutput#type #type} => String
601
+ # * {Types::CreateIdNamespaceOutput#updated_at #updated_at} => Time
602
+ #
603
+ # @example Request syntax with placeholder values
604
+ #
605
+ # resp = client.create_id_namespace({
606
+ # description: "Description",
607
+ # id_mapping_workflow_properties: [
608
+ # {
609
+ # id_mapping_type: "PROVIDER", # required, accepts PROVIDER
610
+ # provider_properties: {
611
+ # provider_configuration: {
612
+ # },
613
+ # provider_service_arn: "ProviderServiceArn", # required
614
+ # },
615
+ # },
616
+ # ],
617
+ # id_namespace_name: "EntityName", # required
618
+ # input_source_config: [
619
+ # {
620
+ # input_source_arn: "IdNamespaceInputSourceInputSourceARNString", # required
621
+ # schema_name: "EntityName",
622
+ # },
623
+ # ],
624
+ # role_arn: "RoleArn",
625
+ # tags: {
626
+ # "TagKey" => "TagValue",
627
+ # },
628
+ # type: "SOURCE", # required, accepts SOURCE, TARGET
629
+ # })
630
+ #
631
+ # @example Response structure
632
+ #
633
+ # resp.created_at #=> Time
634
+ # resp.description #=> String
635
+ # resp.id_mapping_workflow_properties #=> Array
636
+ # resp.id_mapping_workflow_properties[0].id_mapping_type #=> String, one of "PROVIDER"
637
+ # resp.id_mapping_workflow_properties[0].provider_properties.provider_service_arn #=> String
638
+ # resp.id_namespace_arn #=> String
639
+ # resp.id_namespace_name #=> String
640
+ # resp.input_source_config #=> Array
641
+ # resp.input_source_config[0].input_source_arn #=> String
642
+ # resp.input_source_config[0].schema_name #=> String
643
+ # resp.role_arn #=> String
644
+ # resp.tags #=> Hash
645
+ # resp.tags["TagKey"] #=> String
646
+ # resp.type #=> String, one of "SOURCE", "TARGET"
647
+ # resp.updated_at #=> Time
648
+ #
649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/CreateIdNamespace AWS API Documentation
650
+ #
651
+ # @overload create_id_namespace(params = {})
652
+ # @param [Hash] params ({})
653
+ def create_id_namespace(params = {}, options = {})
654
+ req = build_request(:create_id_namespace, params)
655
+ req.send_request(options)
656
+ end
657
+
492
658
  # Creates a `MatchingWorkflow` object which stores the configuration of
493
659
  # the data processing job to be run. It is important to note that there
494
660
  # should not be a pre-existing `MatchingWorkflow` with the same name. To
@@ -722,6 +888,34 @@ module Aws::EntityResolution
722
888
  req.send_request(options)
723
889
  end
724
890
 
891
+ # Deletes the `IdNamespace` with a given name.
892
+ #
893
+ # @option params [required, String] :id_namespace_name
894
+ # The name of the ID namespace.
895
+ #
896
+ # @return [Types::DeleteIdNamespaceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
897
+ #
898
+ # * {Types::DeleteIdNamespaceOutput#message #message} => String
899
+ #
900
+ # @example Request syntax with placeholder values
901
+ #
902
+ # resp = client.delete_id_namespace({
903
+ # id_namespace_name: "EntityName", # required
904
+ # })
905
+ #
906
+ # @example Response structure
907
+ #
908
+ # resp.message #=> String
909
+ #
910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteIdNamespace AWS API Documentation
911
+ #
912
+ # @overload delete_id_namespace(params = {})
913
+ # @param [Hash] params ({})
914
+ def delete_id_namespace(params = {}, options = {})
915
+ req = build_request(:delete_id_namespace, params)
916
+ req.send_request(options)
917
+ end
918
+
725
919
  # Deletes the `MatchingWorkflow` with a given name. This operation will
726
920
  # succeed even if a workflow with the given name does not exist.
727
921
  #
@@ -751,6 +945,43 @@ module Aws::EntityResolution
751
945
  req.send_request(options)
752
946
  end
753
947
 
948
+ # Deletes the policy statement.
949
+ #
950
+ # @option params [required, String] :arn
951
+ # The ARN of the resource for which the policy need to be deleted.
952
+ #
953
+ # @option params [required, String] :statement_id
954
+ # A statement identifier that differentiates the statement from others
955
+ # in the same policy.
956
+ #
957
+ # @return [Types::DeletePolicyStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
958
+ #
959
+ # * {Types::DeletePolicyStatementOutput#arn #arn} => String
960
+ # * {Types::DeletePolicyStatementOutput#policy #policy} => String
961
+ # * {Types::DeletePolicyStatementOutput#token #token} => String
962
+ #
963
+ # @example Request syntax with placeholder values
964
+ #
965
+ # resp = client.delete_policy_statement({
966
+ # arn: "VeniceGlobalArn", # required
967
+ # statement_id: "StatementId", # required
968
+ # })
969
+ #
970
+ # @example Response structure
971
+ #
972
+ # resp.arn #=> String
973
+ # resp.policy #=> String
974
+ # resp.token #=> String
975
+ #
976
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeletePolicyStatement AWS API Documentation
977
+ #
978
+ # @overload delete_policy_statement(params = {})
979
+ # @param [Hash] params ({})
980
+ def delete_policy_statement(params = {}, options = {})
981
+ req = build_request(:delete_policy_statement, params)
982
+ req.send_request(options)
983
+ end
984
+
754
985
  # Deletes the `SchemaMapping` with a given name. This operation will
755
986
  # succeed even if a schema with the given name does not exist. This
756
987
  # operation will fail if there is a `MatchingWorkflow` object that
@@ -797,6 +1028,7 @@ module Aws::EntityResolution
797
1028
  # * {Types::GetIdMappingJobOutput#error_details #error_details} => Types::ErrorDetails
798
1029
  # * {Types::GetIdMappingJobOutput#job_id #job_id} => String
799
1030
  # * {Types::GetIdMappingJobOutput#metrics #metrics} => Types::IdMappingJobMetrics
1031
+ # * {Types::GetIdMappingJobOutput#output_source_config #output_source_config} => Array&lt;Types::IdMappingJobOutputSource&gt;
800
1032
  # * {Types::GetIdMappingJobOutput#start_time #start_time} => Time
801
1033
  # * {Types::GetIdMappingJobOutput#status #status} => String
802
1034
  #
@@ -804,7 +1036,7 @@ module Aws::EntityResolution
804
1036
  #
805
1037
  # resp = client.get_id_mapping_job({
806
1038
  # job_id: "JobId", # required
807
- # workflow_name: "EntityName", # required
1039
+ # workflow_name: "EntityNameOrIdMappingWorkflowArn", # required
808
1040
  # })
809
1041
  #
810
1042
  # @example Response structure
@@ -815,6 +1047,10 @@ module Aws::EntityResolution
815
1047
  # resp.metrics.input_records #=> Integer
816
1048
  # resp.metrics.records_not_processed #=> Integer
817
1049
  # resp.metrics.total_records_processed #=> Integer
1050
+ # resp.output_source_config #=> Array
1051
+ # resp.output_source_config[0].kms_arn #=> String
1052
+ # resp.output_source_config[0].output_s3_path #=> String
1053
+ # resp.output_source_config[0].role_arn #=> String
818
1054
  # resp.start_time #=> Time
819
1055
  # resp.status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "QUEUED"
820
1056
  #
@@ -861,6 +1097,7 @@ module Aws::EntityResolution
861
1097
  # resp.input_source_config #=> Array
862
1098
  # resp.input_source_config[0].input_source_arn #=> String
863
1099
  # resp.input_source_config[0].schema_name #=> String
1100
+ # resp.input_source_config[0].type #=> String, one of "SOURCE", "TARGET"
864
1101
  # resp.output_source_config #=> Array
865
1102
  # resp.output_source_config[0].kms_arn #=> String
866
1103
  # resp.output_source_config[0].output_s3_path #=> String
@@ -880,9 +1117,66 @@ module Aws::EntityResolution
880
1117
  req.send_request(options)
881
1118
  end
882
1119
 
1120
+ # Returns the `IdNamespace` with a given name, if it exists.
1121
+ #
1122
+ # @option params [required, String] :id_namespace_name
1123
+ # The name of the ID namespace.
1124
+ #
1125
+ # @return [Types::GetIdNamespaceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1126
+ #
1127
+ # * {Types::GetIdNamespaceOutput#created_at #created_at} => Time
1128
+ # * {Types::GetIdNamespaceOutput#description #description} => String
1129
+ # * {Types::GetIdNamespaceOutput#id_mapping_workflow_properties #id_mapping_workflow_properties} => Array&lt;Types::IdNamespaceIdMappingWorkflowProperties&gt;
1130
+ # * {Types::GetIdNamespaceOutput#id_namespace_arn #id_namespace_arn} => String
1131
+ # * {Types::GetIdNamespaceOutput#id_namespace_name #id_namespace_name} => String
1132
+ # * {Types::GetIdNamespaceOutput#input_source_config #input_source_config} => Array&lt;Types::IdNamespaceInputSource&gt;
1133
+ # * {Types::GetIdNamespaceOutput#role_arn #role_arn} => String
1134
+ # * {Types::GetIdNamespaceOutput#tags #tags} => Hash&lt;String,String&gt;
1135
+ # * {Types::GetIdNamespaceOutput#type #type} => String
1136
+ # * {Types::GetIdNamespaceOutput#updated_at #updated_at} => Time
1137
+ #
1138
+ # @example Request syntax with placeholder values
1139
+ #
1140
+ # resp = client.get_id_namespace({
1141
+ # id_namespace_name: "EntityNameOrIdNamespaceArn", # required
1142
+ # })
1143
+ #
1144
+ # @example Response structure
1145
+ #
1146
+ # resp.created_at #=> Time
1147
+ # resp.description #=> String
1148
+ # resp.id_mapping_workflow_properties #=> Array
1149
+ # resp.id_mapping_workflow_properties[0].id_mapping_type #=> String, one of "PROVIDER"
1150
+ # resp.id_mapping_workflow_properties[0].provider_properties.provider_service_arn #=> String
1151
+ # resp.id_namespace_arn #=> String
1152
+ # resp.id_namespace_name #=> String
1153
+ # resp.input_source_config #=> Array
1154
+ # resp.input_source_config[0].input_source_arn #=> String
1155
+ # resp.input_source_config[0].schema_name #=> String
1156
+ # resp.role_arn #=> String
1157
+ # resp.tags #=> Hash
1158
+ # resp.tags["TagKey"] #=> String
1159
+ # resp.type #=> String, one of "SOURCE", "TARGET"
1160
+ # resp.updated_at #=> Time
1161
+ #
1162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdNamespace AWS API Documentation
1163
+ #
1164
+ # @overload get_id_namespace(params = {})
1165
+ # @param [Hash] params ({})
1166
+ def get_id_namespace(params = {}, options = {})
1167
+ req = build_request(:get_id_namespace, params)
1168
+ req.send_request(options)
1169
+ end
1170
+
883
1171
  # Returns the corresponding Match ID of a customer record if the record
884
1172
  # has been processed.
885
1173
  #
1174
+ # @option params [Boolean] :apply_normalization
1175
+ # Normalizes the attributes defined in the schema in the input data. For
1176
+ # example, if an attribute has an `AttributeType` of `PHONE_NUMBER`, and
1177
+ # the data in the input table is in a format of 1234567890, Entity
1178
+ # Resolution will normalize this field in the output to (123)-456-7890.
1179
+ #
886
1180
  # @option params [required, Hash<String,String>] :record
887
1181
  # The record to fetch the Match ID for.
888
1182
  #
@@ -892,10 +1186,12 @@ module Aws::EntityResolution
892
1186
  # @return [Types::GetMatchIdOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
893
1187
  #
894
1188
  # * {Types::GetMatchIdOutput#match_id #match_id} => String
1189
+ # * {Types::GetMatchIdOutput#match_rule #match_rule} => String
895
1190
  #
896
1191
  # @example Request syntax with placeholder values
897
1192
  #
898
1193
  # resp = client.get_match_id({
1194
+ # apply_normalization: false,
899
1195
  # record: { # required
900
1196
  # "RecordAttributeMapKeyString" => "RecordAttributeMapValueString",
901
1197
  # },
@@ -905,6 +1201,7 @@ module Aws::EntityResolution
905
1201
  # @example Response structure
906
1202
  #
907
1203
  # resp.match_id #=> String
1204
+ # resp.match_rule #=> String
908
1205
  #
909
1206
  # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchId AWS API Documentation
910
1207
  #
@@ -930,6 +1227,7 @@ module Aws::EntityResolution
930
1227
  # * {Types::GetMatchingJobOutput#error_details #error_details} => Types::ErrorDetails
931
1228
  # * {Types::GetMatchingJobOutput#job_id #job_id} => String
932
1229
  # * {Types::GetMatchingJobOutput#metrics #metrics} => Types::JobMetrics
1230
+ # * {Types::GetMatchingJobOutput#output_source_config #output_source_config} => Array&lt;Types::JobOutputSource&gt;
933
1231
  # * {Types::GetMatchingJobOutput#start_time #start_time} => Time
934
1232
  # * {Types::GetMatchingJobOutput#status #status} => String
935
1233
  #
@@ -949,6 +1247,10 @@ module Aws::EntityResolution
949
1247
  # resp.metrics.match_i_ds #=> Integer
950
1248
  # resp.metrics.records_not_processed #=> Integer
951
1249
  # resp.metrics.total_records_processed #=> Integer
1250
+ # resp.output_source_config #=> Array
1251
+ # resp.output_source_config[0].kms_arn #=> String
1252
+ # resp.output_source_config[0].output_s3_path #=> String
1253
+ # resp.output_source_config[0].role_arn #=> String
952
1254
  # resp.start_time #=> Time
953
1255
  # resp.status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "QUEUED"
954
1256
  #
@@ -1026,6 +1328,39 @@ module Aws::EntityResolution
1026
1328
  req.send_request(options)
1027
1329
  end
1028
1330
 
1331
+ # Returns the resource-based policy.
1332
+ #
1333
+ # @option params [required, String] :arn
1334
+ # The Amazon Resource Name (ARN) of the resource for which the policy
1335
+ # need to be returned.
1336
+ #
1337
+ # @return [Types::GetPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1338
+ #
1339
+ # * {Types::GetPolicyOutput#arn #arn} => String
1340
+ # * {Types::GetPolicyOutput#policy #policy} => String
1341
+ # * {Types::GetPolicyOutput#token #token} => String
1342
+ #
1343
+ # @example Request syntax with placeholder values
1344
+ #
1345
+ # resp = client.get_policy({
1346
+ # arn: "VeniceGlobalArn", # required
1347
+ # })
1348
+ #
1349
+ # @example Response structure
1350
+ #
1351
+ # resp.arn #=> String
1352
+ # resp.policy #=> String
1353
+ # resp.token #=> String
1354
+ #
1355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetPolicy AWS API Documentation
1356
+ #
1357
+ # @overload get_policy(params = {})
1358
+ # @param [Hash] params ({})
1359
+ def get_policy(params = {}, options = {})
1360
+ req = build_request(:get_policy, params)
1361
+ req.send_request(options)
1362
+ end
1363
+
1029
1364
  # Returns the `ProviderService` of a given name.
1030
1365
  #
1031
1366
  # @option params [required, String] :provider_name
@@ -1038,10 +1373,13 @@ module Aws::EntityResolution
1038
1373
  # @return [Types::GetProviderServiceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1039
1374
  #
1040
1375
  # * {Types::GetProviderServiceOutput#anonymized_output #anonymized_output} => Boolean
1376
+ # * {Types::GetProviderServiceOutput#provider_component_schema #provider_component_schema} => Types::ProviderComponentSchema
1041
1377
  # * {Types::GetProviderServiceOutput#provider_configuration_definition #provider_configuration_definition} => Hash,Array,String,Numeric,Boolean
1042
1378
  # * {Types::GetProviderServiceOutput#provider_endpoint_configuration #provider_endpoint_configuration} => Types::ProviderEndpointConfiguration
1043
1379
  # * {Types::GetProviderServiceOutput#provider_entity_output_definition #provider_entity_output_definition} => Hash,Array,String,Numeric,Boolean
1380
+ # * {Types::GetProviderServiceOutput#provider_id_name_space_configuration #provider_id_name_space_configuration} => Types::ProviderIdNameSpaceConfiguration
1044
1381
  # * {Types::GetProviderServiceOutput#provider_intermediate_data_access_configuration #provider_intermediate_data_access_configuration} => Types::ProviderIntermediateDataAccessConfiguration
1382
+ # * {Types::GetProviderServiceOutput#provider_job_configuration #provider_job_configuration} => Hash,Array,String,Numeric,Boolean
1045
1383
  # * {Types::GetProviderServiceOutput#provider_name #provider_name} => String
1046
1384
  # * {Types::GetProviderServiceOutput#provider_service_arn #provider_service_arn} => String
1047
1385
  # * {Types::GetProviderServiceOutput#provider_service_display_name #provider_service_display_name} => String
@@ -1058,10 +1396,19 @@ module Aws::EntityResolution
1058
1396
  # @example Response structure
1059
1397
  #
1060
1398
  # resp.anonymized_output #=> Boolean
1399
+ # resp.provider_component_schema.provider_schema_attributes #=> Array
1400
+ # resp.provider_component_schema.provider_schema_attributes[0].field_name #=> String
1401
+ # resp.provider_component_schema.provider_schema_attributes[0].hashing #=> Boolean
1402
+ # resp.provider_component_schema.provider_schema_attributes[0].sub_type #=> String
1403
+ # resp.provider_component_schema.provider_schema_attributes[0].type #=> String, one of "NAME", "NAME_FIRST", "NAME_MIDDLE", "NAME_LAST", "ADDRESS", "ADDRESS_STREET1", "ADDRESS_STREET2", "ADDRESS_STREET3", "ADDRESS_CITY", "ADDRESS_STATE", "ADDRESS_COUNTRY", "ADDRESS_POSTALCODE", "PHONE", "PHONE_NUMBER", "PHONE_COUNTRYCODE", "EMAIL_ADDRESS", "UNIQUE_ID", "DATE", "STRING", "PROVIDER_ID"
1404
+ # resp.provider_component_schema.schemas #=> Array
1405
+ # resp.provider_component_schema.schemas[0] #=> Array
1406
+ # resp.provider_component_schema.schemas[0][0] #=> String
1061
1407
  # resp.provider_endpoint_configuration.marketplace_configuration.asset_id #=> String
1062
1408
  # resp.provider_endpoint_configuration.marketplace_configuration.data_set_id #=> String
1063
1409
  # resp.provider_endpoint_configuration.marketplace_configuration.listing_id #=> String
1064
1410
  # resp.provider_endpoint_configuration.marketplace_configuration.revision_id #=> String
1411
+ # resp.provider_id_name_space_configuration.description #=> String
1065
1412
  # resp.provider_intermediate_data_access_configuration.aws_account_ids #=> Array
1066
1413
  # resp.provider_intermediate_data_access_configuration.aws_account_ids[0] #=> String
1067
1414
  # resp.provider_intermediate_data_access_configuration.required_bucket_actions #=> Array
@@ -1152,7 +1499,7 @@ module Aws::EntityResolution
1152
1499
  # resp = client.list_id_mapping_jobs({
1153
1500
  # max_results: 1,
1154
1501
  # next_token: "NextToken",
1155
- # workflow_name: "EntityName", # required
1502
+ # workflow_name: "EntityNameOrIdMappingWorkflowArn", # required
1156
1503
  # })
1157
1504
  #
1158
1505
  # @example Response structure
@@ -1214,6 +1561,48 @@ module Aws::EntityResolution
1214
1561
  req.send_request(options)
1215
1562
  end
1216
1563
 
1564
+ # Returns a list of all ID namespaces.
1565
+ #
1566
+ # @option params [Integer] :max_results
1567
+ # The maximum number of `IdNamespace` objects returned per page.
1568
+ #
1569
+ # @option params [String] :next_token
1570
+ # The pagination token from the previous API call.
1571
+ #
1572
+ # @return [Types::ListIdNamespacesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1573
+ #
1574
+ # * {Types::ListIdNamespacesOutput#id_namespace_summaries #id_namespace_summaries} => Array&lt;Types::IdNamespaceSummary&gt;
1575
+ # * {Types::ListIdNamespacesOutput#next_token #next_token} => String
1576
+ #
1577
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1578
+ #
1579
+ # @example Request syntax with placeholder values
1580
+ #
1581
+ # resp = client.list_id_namespaces({
1582
+ # max_results: 1,
1583
+ # next_token: "NextToken",
1584
+ # })
1585
+ #
1586
+ # @example Response structure
1587
+ #
1588
+ # resp.id_namespace_summaries #=> Array
1589
+ # resp.id_namespace_summaries[0].created_at #=> Time
1590
+ # resp.id_namespace_summaries[0].description #=> String
1591
+ # resp.id_namespace_summaries[0].id_namespace_arn #=> String
1592
+ # resp.id_namespace_summaries[0].id_namespace_name #=> String
1593
+ # resp.id_namespace_summaries[0].type #=> String, one of "SOURCE", "TARGET"
1594
+ # resp.id_namespace_summaries[0].updated_at #=> Time
1595
+ # resp.next_token #=> String
1596
+ #
1597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdNamespaces AWS API Documentation
1598
+ #
1599
+ # @overload list_id_namespaces(params = {})
1600
+ # @param [Hash] params ({})
1601
+ def list_id_namespaces(params = {}, options = {})
1602
+ req = build_request(:list_id_namespaces, params)
1603
+ req.send_request(options)
1604
+ end
1605
+
1217
1606
  # Lists all jobs for a given workflow.
1218
1607
  #
1219
1608
  # @option params [Integer] :max_results
@@ -1419,25 +1808,81 @@ module Aws::EntityResolution
1419
1808
  req.send_request(options)
1420
1809
  end
1421
1810
 
1811
+ # Updates the resource-based policy.
1812
+ #
1813
+ # @option params [required, String] :arn
1814
+ # The Amazon Resource Name (ARN) of the resource for which the policy
1815
+ # needs to be updated.
1816
+ #
1817
+ # @option params [required, String] :policy
1818
+ # The resource-based policy.
1819
+ #
1820
+ # @option params [String] :token
1821
+ # A unique identifier for the current revision of the policy.
1822
+ #
1823
+ # @return [Types::PutPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1824
+ #
1825
+ # * {Types::PutPolicyOutput#arn #arn} => String
1826
+ # * {Types::PutPolicyOutput#policy #policy} => String
1827
+ # * {Types::PutPolicyOutput#token #token} => String
1828
+ #
1829
+ # @example Request syntax with placeholder values
1830
+ #
1831
+ # resp = client.put_policy({
1832
+ # arn: "VeniceGlobalArn", # required
1833
+ # policy: "PolicyDocument", # required
1834
+ # token: "PolicyToken",
1835
+ # })
1836
+ #
1837
+ # @example Response structure
1838
+ #
1839
+ # resp.arn #=> String
1840
+ # resp.policy #=> String
1841
+ # resp.token #=> String
1842
+ #
1843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/PutPolicy AWS API Documentation
1844
+ #
1845
+ # @overload put_policy(params = {})
1846
+ # @param [Hash] params ({})
1847
+ def put_policy(params = {}, options = {})
1848
+ req = build_request(:put_policy, params)
1849
+ req.send_request(options)
1850
+ end
1851
+
1422
1852
  # Starts the `IdMappingJob` of a workflow. The workflow must have
1423
1853
  # previously been created using the `CreateIdMappingWorkflow` endpoint.
1424
1854
  #
1855
+ # @option params [Array<Types::IdMappingJobOutputSource>] :output_source_config
1856
+ # A list of `OutputSource` objects.
1857
+ #
1425
1858
  # @option params [required, String] :workflow_name
1426
1859
  # The name of the ID mapping job to be retrieved.
1427
1860
  #
1428
1861
  # @return [Types::StartIdMappingJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1429
1862
  #
1430
1863
  # * {Types::StartIdMappingJobOutput#job_id #job_id} => String
1864
+ # * {Types::StartIdMappingJobOutput#output_source_config #output_source_config} => Array&lt;Types::IdMappingJobOutputSource&gt;
1431
1865
  #
1432
1866
  # @example Request syntax with placeholder values
1433
1867
  #
1434
1868
  # resp = client.start_id_mapping_job({
1435
- # workflow_name: "EntityName", # required
1869
+ # output_source_config: [
1870
+ # {
1871
+ # kms_arn: "KMSArn",
1872
+ # output_s3_path: "S3Path", # required
1873
+ # role_arn: "RoleArn", # required
1874
+ # },
1875
+ # ],
1876
+ # workflow_name: "EntityNameOrIdMappingWorkflowArn", # required
1436
1877
  # })
1437
1878
  #
1438
1879
  # @example Response structure
1439
1880
  #
1440
1881
  # resp.job_id #=> String
1882
+ # resp.output_source_config #=> Array
1883
+ # resp.output_source_config[0].kms_arn #=> String
1884
+ # resp.output_source_config[0].output_s3_path #=> String
1885
+ # resp.output_source_config[0].role_arn #=> String
1441
1886
  #
1442
1887
  # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartIdMappingJob AWS API Documentation
1443
1888
  #
@@ -1560,13 +2005,14 @@ module Aws::EntityResolution
1560
2005
  # A list of `InputSource` objects, which have the fields
1561
2006
  # `InputSourceARN` and `SchemaName`.
1562
2007
  #
1563
- # @option params [required, Array<Types::IdMappingWorkflowOutputSource>] :output_source_config
2008
+ # @option params [Array<Types::IdMappingWorkflowOutputSource>] :output_source_config
1564
2009
  # A list of `OutputSource` objects, each of which contains fields
1565
2010
  # `OutputS3Path` and `KMSArn`.
1566
2011
  #
1567
2012
  # @option params [required, String] :role_arn
1568
2013
  # The Amazon Resource Name (ARN) of the IAM role. Entity Resolution
1569
- # assumes this role to access resources on your behalf.
2014
+ # assumes this role to access Amazon Web Services resources on your
2015
+ # behalf.
1570
2016
  #
1571
2017
  # @option params [required, String] :workflow_name
1572
2018
  # The name of the workflow.
@@ -1587,7 +2033,7 @@ module Aws::EntityResolution
1587
2033
  # description: "Description",
1588
2034
  # id_mapping_techniques: { # required
1589
2035
  # id_mapping_type: "PROVIDER", # required, accepts PROVIDER
1590
- # provider_properties: { # required
2036
+ # provider_properties: {
1591
2037
  # intermediate_source_configuration: {
1592
2038
  # intermediate_s3_path: "S3Path", # required
1593
2039
  # },
@@ -1599,10 +2045,11 @@ module Aws::EntityResolution
1599
2045
  # input_source_config: [ # required
1600
2046
  # {
1601
2047
  # input_source_arn: "IdMappingWorkflowInputSourceInputSourceARNString", # required
1602
- # schema_name: "EntityName", # required
2048
+ # schema_name: "EntityName",
2049
+ # type: "SOURCE", # accepts SOURCE, TARGET
1603
2050
  # },
1604
2051
  # ],
1605
- # output_source_config: [ # required
2052
+ # output_source_config: [
1606
2053
  # {
1607
2054
  # kms_arn: "KMSArn",
1608
2055
  # output_s3_path: "S3Path", # required
@@ -1621,6 +2068,7 @@ module Aws::EntityResolution
1621
2068
  # resp.input_source_config #=> Array
1622
2069
  # resp.input_source_config[0].input_source_arn #=> String
1623
2070
  # resp.input_source_config[0].schema_name #=> String
2071
+ # resp.input_source_config[0].type #=> String, one of "SOURCE", "TARGET"
1624
2072
  # resp.output_source_config #=> Array
1625
2073
  # resp.output_source_config[0].kms_arn #=> String
1626
2074
  # resp.output_source_config[0].output_s3_path #=> String
@@ -1637,6 +2085,88 @@ module Aws::EntityResolution
1637
2085
  req.send_request(options)
1638
2086
  end
1639
2087
 
2088
+ # Updates an existing ID namespace.
2089
+ #
2090
+ # @option params [String] :description
2091
+ # The description of the ID namespace.
2092
+ #
2093
+ # @option params [Array<Types::IdNamespaceIdMappingWorkflowProperties>] :id_mapping_workflow_properties
2094
+ # Determines the properties of `IdMappingWorkflow` where this
2095
+ # `IdNamespace` can be used as a `Source` or a `Target`.
2096
+ #
2097
+ # @option params [required, String] :id_namespace_name
2098
+ # The name of the ID namespace.
2099
+ #
2100
+ # @option params [Array<Types::IdNamespaceInputSource>] :input_source_config
2101
+ # A list of `InputSource` objects, which have the fields
2102
+ # `InputSourceARN` and `SchemaName`.
2103
+ #
2104
+ # @option params [String] :role_arn
2105
+ # The Amazon Resource Name (ARN) of the IAM role. Entity Resolution
2106
+ # assumes this role to access the resources defined in this
2107
+ # `IdNamespace` on your behalf as part of a workflow run.
2108
+ #
2109
+ # @return [Types::UpdateIdNamespaceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2110
+ #
2111
+ # * {Types::UpdateIdNamespaceOutput#created_at #created_at} => Time
2112
+ # * {Types::UpdateIdNamespaceOutput#description #description} => String
2113
+ # * {Types::UpdateIdNamespaceOutput#id_mapping_workflow_properties #id_mapping_workflow_properties} => Array&lt;Types::IdNamespaceIdMappingWorkflowProperties&gt;
2114
+ # * {Types::UpdateIdNamespaceOutput#id_namespace_arn #id_namespace_arn} => String
2115
+ # * {Types::UpdateIdNamespaceOutput#id_namespace_name #id_namespace_name} => String
2116
+ # * {Types::UpdateIdNamespaceOutput#input_source_config #input_source_config} => Array&lt;Types::IdNamespaceInputSource&gt;
2117
+ # * {Types::UpdateIdNamespaceOutput#role_arn #role_arn} => String
2118
+ # * {Types::UpdateIdNamespaceOutput#type #type} => String
2119
+ # * {Types::UpdateIdNamespaceOutput#updated_at #updated_at} => Time
2120
+ #
2121
+ # @example Request syntax with placeholder values
2122
+ #
2123
+ # resp = client.update_id_namespace({
2124
+ # description: "Description",
2125
+ # id_mapping_workflow_properties: [
2126
+ # {
2127
+ # id_mapping_type: "PROVIDER", # required, accepts PROVIDER
2128
+ # provider_properties: {
2129
+ # provider_configuration: {
2130
+ # },
2131
+ # provider_service_arn: "ProviderServiceArn", # required
2132
+ # },
2133
+ # },
2134
+ # ],
2135
+ # id_namespace_name: "EntityName", # required
2136
+ # input_source_config: [
2137
+ # {
2138
+ # input_source_arn: "IdNamespaceInputSourceInputSourceARNString", # required
2139
+ # schema_name: "EntityName",
2140
+ # },
2141
+ # ],
2142
+ # role_arn: "RoleArn",
2143
+ # })
2144
+ #
2145
+ # @example Response structure
2146
+ #
2147
+ # resp.created_at #=> Time
2148
+ # resp.description #=> String
2149
+ # resp.id_mapping_workflow_properties #=> Array
2150
+ # resp.id_mapping_workflow_properties[0].id_mapping_type #=> String, one of "PROVIDER"
2151
+ # resp.id_mapping_workflow_properties[0].provider_properties.provider_service_arn #=> String
2152
+ # resp.id_namespace_arn #=> String
2153
+ # resp.id_namespace_name #=> String
2154
+ # resp.input_source_config #=> Array
2155
+ # resp.input_source_config[0].input_source_arn #=> String
2156
+ # resp.input_source_config[0].schema_name #=> String
2157
+ # resp.role_arn #=> String
2158
+ # resp.type #=> String, one of "SOURCE", "TARGET"
2159
+ # resp.updated_at #=> Time
2160
+ #
2161
+ # @see http://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateIdNamespace AWS API Documentation
2162
+ #
2163
+ # @overload update_id_namespace(params = {})
2164
+ # @param [Hash] params ({})
2165
+ def update_id_namespace(params = {}, options = {})
2166
+ req = build_request(:update_id_namespace, params)
2167
+ req.send_request(options)
2168
+ end
2169
+
1640
2170
  # Updates an existing `MatchingWorkflow`. This method is identical to
1641
2171
  # `CreateMatchingWorkflow`, except it uses an HTTP `PUT` request instead
1642
2172
  # of a `POST` request, and the `MatchingWorkflow` must already exist for
@@ -1842,7 +2372,7 @@ module Aws::EntityResolution
1842
2372
  params: params,
1843
2373
  config: config)
1844
2374
  context[:gem_name] = 'aws-sdk-entityresolution'
1845
- context[:gem_version] = '1.6.0'
2375
+ context[:gem_version] = '1.7.0'
1846
2376
  Seahorse::Client::Request.new(handlers, context)
1847
2377
  end
1848
2378