aws-sdk-customerprofiles 1.34.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -177,7 +177,7 @@ module Aws::CustomerProfiles
177
177
  class AppflowIntegration < Struct.new(
178
178
  :flow_definition,
179
179
  :batches)
180
- SENSITIVE = []
180
+ SENSITIVE = [:flow_definition]
181
181
  include Aws::Structure
182
182
  end
183
183
 
@@ -329,6 +329,92 @@ module Aws::CustomerProfiles
329
329
  include Aws::Structure
330
330
  end
331
331
 
332
+ # Configuration information about the `AttributeTypesSelector `where the
333
+ # rule-based identity resolution uses to match profiles. You can choose
334
+ # how profiles are compared across attribute types and which attribute
335
+ # to use for matching from each type. There are three attribute types
336
+ # you can configure:
337
+ #
338
+ # * Email type
339
+ #
340
+ # * You can choose from `Email`, `BusinessEmail`, and `PersonalEmail`
341
+ #
342
+ # ^
343
+ #
344
+ # * Phone number type
345
+ #
346
+ # * You can choose from `Phone`, `HomePhone`, and `MobilePhone`
347
+ #
348
+ # ^
349
+ #
350
+ # * Address type
351
+ #
352
+ # * You can choose from `Address`, `BusinessAddress`,
353
+ # `MaillingAddress`, and `ShippingAddress`
354
+ #
355
+ # ^
356
+ #
357
+ # You can either choose `ONE_TO_ONE` or `MANY_TO_MANY` as the
358
+ # `AttributeMatchingModel`. When choosing `MANY_TO_MANY`, the system can
359
+ # match attribute across the sub-types of an attribute type. For
360
+ # example, if the value of the `Email` field of Profile A and the value
361
+ # of `BusinessEmail` field of Profile B matches, the two profiles are
362
+ # matched on the Email type. When choosing `ONE_TO_ONE` the system can
363
+ # only match if the sub-types are exact matches. For example, only when
364
+ # the value of the `Email` field of Profile A and the value of the
365
+ # `Email` field of Profile B matches, the two profiles are matched on
366
+ # the Email type.
367
+ #
368
+ # @!attribute [rw] attribute_matching_model
369
+ # Configures the `AttributeMatchingModel`, you can either choose
370
+ # `ONE_TO_ONE` or `MANY_TO_MANY`.
371
+ # @return [String]
372
+ #
373
+ # @!attribute [rw] address
374
+ # The `Address` type. You can choose from `Address`,
375
+ # `BusinessAddress`, `MaillingAddress`, and `ShippingAddress`.
376
+ #
377
+ # You only can use the Address type in the `MatchingRule`. For
378
+ # example, if you want to match profile based on
379
+ # `BusinessAddress.City` or `MaillingAddress.City`, you need to choose
380
+ # the `BusinessAddress` and the `MaillingAddress` to represent the
381
+ # Address type and specify the `Address.City` on the matching rule.
382
+ # @return [Array<String>]
383
+ #
384
+ # @!attribute [rw] phone_number
385
+ # The `PhoneNumber` type. You can choose from `PhoneNumber`,
386
+ # `HomePhoneNumber`, and `MobilePhoneNumber`.
387
+ #
388
+ # You only can use the `PhoneNumber` type in the `MatchingRule`. For
389
+ # example, if you want to match a profile based on `Phone` or
390
+ # `HomePhone`, you need to choose the `Phone` and the `HomePhone` to
391
+ # represent the `PhoneNumber` type and only specify the `PhoneNumber`
392
+ # on the matching rule.
393
+ # @return [Array<String>]
394
+ #
395
+ # @!attribute [rw] email_address
396
+ # The `Email` type. You can choose from `EmailAddress`,
397
+ # `BusinessEmailAddress` and `PersonalEmailAddress`.
398
+ #
399
+ # You only can use the `EmailAddress` type in the `MatchingRule`. For
400
+ # example, if you want to match profile based on
401
+ # `PersonalEmailAddress` or `BusinessEmailAddress`, you need to choose
402
+ # the `PersonalEmailAddress` and the `BusinessEmailAddress` to
403
+ # represent the `EmailAddress` type and only specify the
404
+ # `EmailAddress` on the matching rule.
405
+ # @return [Array<String>]
406
+ #
407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/AttributeTypesSelector AWS API Documentation
408
+ #
409
+ class AttributeTypesSelector < Struct.new(
410
+ :attribute_matching_model,
411
+ :address,
412
+ :phone_number,
413
+ :email_address)
414
+ SENSITIVE = []
415
+ include Aws::Structure
416
+ end
417
+
332
418
  # Configuration settings for how to perform the auto-merging of
333
419
  # profiles.
334
420
  #
@@ -553,7 +639,7 @@ module Aws::CustomerProfiles
553
639
  :conditions,
554
640
  :statistic,
555
641
  :tags)
556
- SENSITIVE = []
642
+ SENSITIVE = [:attribute_details, :conditions, :statistic]
557
643
  include Aws::Structure
558
644
  end
559
645
 
@@ -610,7 +696,7 @@ module Aws::CustomerProfiles
610
696
  :created_at,
611
697
  :last_updated_at,
612
698
  :tags)
613
- SENSITIVE = []
699
+ SENSITIVE = [:attribute_details, :conditions, :statistic]
614
700
  include Aws::Structure
615
701
  end
616
702
 
@@ -654,6 +740,17 @@ module Aws::CustomerProfiles
654
740
  # [1]: https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html
655
741
  # @return [Types::MatchingRequest]
656
742
  #
743
+ # @!attribute [rw] rule_based_matching
744
+ # The process of matching duplicate profiles using the Rule-Based
745
+ # matching. If `RuleBasedMatching` = true, Amazon Connect Customer
746
+ # Profiles will start to match and merge your profiles according to
747
+ # your configuration in the `RuleBasedMatchingRequest`. You can use
748
+ # the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return
749
+ # and review the results. Also, if you have configured
750
+ # `ExportingConfig` in the `RuleBasedMatchingRequest`, you can
751
+ # download the results from S3.
752
+ # @return [Types::RuleBasedMatchingRequest]
753
+ #
657
754
  # @!attribute [rw] tags
658
755
  # The tags used to organize, track, or control access for this
659
756
  # resource.
@@ -667,6 +764,7 @@ module Aws::CustomerProfiles
667
764
  :default_encryption_key,
668
765
  :dead_letter_queue_url,
669
766
  :matching,
767
+ :rule_based_matching,
670
768
  :tags)
671
769
  SENSITIVE = []
672
770
  include Aws::Structure
@@ -709,6 +807,17 @@ module Aws::CustomerProfiles
709
807
  # [1]: https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html
710
808
  # @return [Types::MatchingResponse]
711
809
  #
810
+ # @!attribute [rw] rule_based_matching
811
+ # The process of matching duplicate profiles using the Rule-Based
812
+ # matching. If `RuleBasedMatching` = true, Amazon Connect Customer
813
+ # Profiles will start to match and merge your profiles according to
814
+ # your configuration in the `RuleBasedMatchingRequest`. You can use
815
+ # the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return
816
+ # and review the results. Also, if you have configured
817
+ # `ExportingConfig` in the `RuleBasedMatchingRequest`, you can
818
+ # download the results from S3.
819
+ # @return [Types::RuleBasedMatchingResponse]
820
+ #
712
821
  # @!attribute [rw] created_at
713
822
  # The timestamp of when the domain was created.
714
823
  # @return [Time]
@@ -730,6 +839,7 @@ module Aws::CustomerProfiles
730
839
  :default_encryption_key,
731
840
  :dead_letter_queue_url,
732
841
  :matching,
842
+ :rule_based_matching,
733
843
  :created_at,
734
844
  :last_updated_at,
735
845
  :tags)
@@ -968,7 +1078,7 @@ module Aws::CustomerProfiles
968
1078
  :attributes,
969
1079
  :party_type_string,
970
1080
  :gender_string)
971
- SENSITIVE = []
1081
+ SENSITIVE = [:account_number, :additional_information, :party_type, :business_name, :first_name, :middle_name, :last_name, :birth_date, :gender, :phone_number, :mobile_phone_number, :home_phone_number, :business_phone_number, :email_address, :personal_email_address, :business_email_address, :address, :shipping_address, :mailing_address, :billing_address, :attributes, :party_type_string, :gender_string]
972
1082
  include Aws::Structure
973
1083
  end
974
1084
 
@@ -1728,7 +1838,7 @@ module Aws::CustomerProfiles
1728
1838
  :conditions,
1729
1839
  :attribute_details,
1730
1840
  :tags)
1731
- SENSITIVE = []
1841
+ SENSITIVE = [:statistic, :conditions, :attribute_details]
1732
1842
  include Aws::Structure
1733
1843
  end
1734
1844
 
@@ -1835,6 +1945,17 @@ module Aws::CustomerProfiles
1835
1945
  # [1]: https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html
1836
1946
  # @return [Types::MatchingResponse]
1837
1947
  #
1948
+ # @!attribute [rw] rule_based_matching
1949
+ # The process of matching duplicate profiles using the Rule-Based
1950
+ # matching. If `RuleBasedMatching` = true, Amazon Connect Customer
1951
+ # Profiles will start to match and merge your profiles according to
1952
+ # your configuration in the `RuleBasedMatchingRequest`. You can use
1953
+ # the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return
1954
+ # and review the results. Also, if you have configured
1955
+ # `ExportingConfig` in the `RuleBasedMatchingRequest`, you can
1956
+ # download the results from S3.
1957
+ # @return [Types::RuleBasedMatchingResponse]
1958
+ #
1838
1959
  # @!attribute [rw] created_at
1839
1960
  # The timestamp of when the domain was created.
1840
1961
  # @return [Time]
@@ -1857,6 +1978,7 @@ module Aws::CustomerProfiles
1857
1978
  :dead_letter_queue_url,
1858
1979
  :stats,
1859
1980
  :matching,
1981
+ :rule_based_matching,
1860
1982
  :created_at,
1861
1983
  :last_updated_at,
1862
1984
  :tags)
@@ -2248,7 +2370,7 @@ module Aws::CustomerProfiles
2248
2370
  :created_at,
2249
2371
  :last_updated_at,
2250
2372
  :tags)
2251
- SENSITIVE = []
2373
+ SENSITIVE = [:description, :fields, :keys]
2252
2374
  include Aws::Structure
2253
2375
  end
2254
2376
 
@@ -2308,6 +2430,91 @@ module Aws::CustomerProfiles
2308
2430
  :source_last_updated_timestamp_format,
2309
2431
  :fields,
2310
2432
  :keys)
2433
+ SENSITIVE = [:fields, :keys]
2434
+ include Aws::Structure
2435
+ end
2436
+
2437
+ # @!attribute [rw] next_token
2438
+ # The pagination token from the previous `GetSimilarProfiles` API
2439
+ # call.
2440
+ # @return [String]
2441
+ #
2442
+ # @!attribute [rw] max_results
2443
+ # The maximum number of objects returned per page.
2444
+ # @return [Integer]
2445
+ #
2446
+ # @!attribute [rw] domain_name
2447
+ # The unique name of the domain.
2448
+ # @return [String]
2449
+ #
2450
+ # @!attribute [rw] match_type
2451
+ # Specify the type of matching to get similar profiles for.
2452
+ # @return [String]
2453
+ #
2454
+ # @!attribute [rw] search_key
2455
+ # The string indicating the search key to be used.
2456
+ # @return [String]
2457
+ #
2458
+ # @!attribute [rw] search_value
2459
+ # The string based on `SearchKey` to be searched for similar profiles.
2460
+ # @return [String]
2461
+ #
2462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetSimilarProfilesRequest AWS API Documentation
2463
+ #
2464
+ class GetSimilarProfilesRequest < Struct.new(
2465
+ :next_token,
2466
+ :max_results,
2467
+ :domain_name,
2468
+ :match_type,
2469
+ :search_key,
2470
+ :search_value)
2471
+ SENSITIVE = []
2472
+ include Aws::Structure
2473
+ end
2474
+
2475
+ # @!attribute [rw] profile_ids
2476
+ # Set of `profileId`s that belong to the same matching group.
2477
+ # @return [Array<String>]
2478
+ #
2479
+ # @!attribute [rw] match_id
2480
+ # The string `matchId` that the similar profiles belong to.
2481
+ # @return [String]
2482
+ #
2483
+ # @!attribute [rw] match_type
2484
+ # Specify the type of matching to get similar profiles for.
2485
+ # @return [String]
2486
+ #
2487
+ # @!attribute [rw] rule_level
2488
+ # The integer rule level that the profiles matched on.
2489
+ # @return [Integer]
2490
+ #
2491
+ # @!attribute [rw] confidence_score
2492
+ # It only has value when the `MatchType` is `ML_BASED_MATCHING`.A
2493
+ # number between 0 and 1, where a higher score means higher
2494
+ # similarity. Examining match confidence scores lets you distinguish
2495
+ # between groups of similar records in which the system is highly
2496
+ # confident (which you may decide to merge), groups of similar records
2497
+ # about which the system is uncertain (which you may decide to have
2498
+ # reviewed by a human), and groups of similar records that the system
2499
+ # deems to be unlikely (which you may decide to reject). Given
2500
+ # confidence scores vary as per the data input, it should not be used
2501
+ # as an absolute measure of matching quality.
2502
+ # @return [Float]
2503
+ #
2504
+ # @!attribute [rw] next_token
2505
+ # The pagination token from the previous `GetSimilarProfiles` API
2506
+ # call.
2507
+ # @return [String]
2508
+ #
2509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetSimilarProfilesResponse AWS API Documentation
2510
+ #
2511
+ class GetSimilarProfilesResponse < Struct.new(
2512
+ :profile_ids,
2513
+ :match_id,
2514
+ :match_type,
2515
+ :rule_level,
2516
+ :confidence_score,
2517
+ :next_token)
2311
2518
  SENSITIVE = []
2312
2519
  include Aws::Structure
2313
2520
  end
@@ -3184,7 +3391,7 @@ module Aws::CustomerProfiles
3184
3391
  class ListProfileObjectTypesResponse < Struct.new(
3185
3392
  :items,
3186
3393
  :next_token)
3187
- SENSITIVE = []
3394
+ SENSITIVE = [:items]
3188
3395
  include Aws::Structure
3189
3396
  end
3190
3397
 
@@ -3209,7 +3416,7 @@ module Aws::CustomerProfiles
3209
3416
  :object_type_name,
3210
3417
  :profile_object_unique_key,
3211
3418
  :object)
3212
- SENSITIVE = []
3419
+ SENSITIVE = [:object]
3213
3420
  include Aws::Structure
3214
3421
  end
3215
3422
 
@@ -3268,6 +3475,47 @@ module Aws::CustomerProfiles
3268
3475
  include Aws::Structure
3269
3476
  end
3270
3477
 
3478
+ # @!attribute [rw] next_token
3479
+ # The pagination token from the previous `ListRuleBasedMatches` API
3480
+ # call.
3481
+ # @return [String]
3482
+ #
3483
+ # @!attribute [rw] max_results
3484
+ # The maximum number of `MatchIds` returned per page.
3485
+ # @return [Integer]
3486
+ #
3487
+ # @!attribute [rw] domain_name
3488
+ # The unique name of the domain.
3489
+ # @return [String]
3490
+ #
3491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListRuleBasedMatchesRequest AWS API Documentation
3492
+ #
3493
+ class ListRuleBasedMatchesRequest < Struct.new(
3494
+ :next_token,
3495
+ :max_results,
3496
+ :domain_name)
3497
+ SENSITIVE = []
3498
+ include Aws::Structure
3499
+ end
3500
+
3501
+ # @!attribute [rw] match_ids
3502
+ # The list of `MatchIds` for the given domain.
3503
+ # @return [Array<String>]
3504
+ #
3505
+ # @!attribute [rw] next_token
3506
+ # The pagination token from the previous `ListRuleBasedMatches` API
3507
+ # call.
3508
+ # @return [String]
3509
+ #
3510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListRuleBasedMatchesResponse AWS API Documentation
3511
+ #
3512
+ class ListRuleBasedMatchesResponse < Struct.new(
3513
+ :match_ids,
3514
+ :next_token)
3515
+ SENSITIVE = []
3516
+ include Aws::Structure
3517
+ end
3518
+
3271
3519
  # @!attribute [rw] resource_arn
3272
3520
  # The ARN of the resource for which you want to view tags.
3273
3521
  # @return [String]
@@ -3505,6 +3753,57 @@ module Aws::CustomerProfiles
3505
3753
  include Aws::Structure
3506
3754
  end
3507
3755
 
3756
+ # Specifies how does the rule-based matching process should match
3757
+ # profiles. You can choose from the following attributes to build the
3758
+ # matching Rule:
3759
+ #
3760
+ # * AccountNumber
3761
+ #
3762
+ # * Address.Address
3763
+ #
3764
+ # * Address.City
3765
+ #
3766
+ # * Address.Country
3767
+ #
3768
+ # * Address.County
3769
+ #
3770
+ # * Address.PostalCode
3771
+ #
3772
+ # * Address.State
3773
+ #
3774
+ # * Address.Province
3775
+ #
3776
+ # * BirthDate
3777
+ #
3778
+ # * BusinessName
3779
+ #
3780
+ # * EmailAddress
3781
+ #
3782
+ # * FirstName
3783
+ #
3784
+ # * Gender
3785
+ #
3786
+ # * LastName
3787
+ #
3788
+ # * MiddleName
3789
+ #
3790
+ # * PhoneNumber
3791
+ #
3792
+ # * Any customized profile attributes that start with the `Attributes`
3793
+ #
3794
+ # @!attribute [rw] rule
3795
+ # A single rule level of the `MatchRules`. Configures how the
3796
+ # rule-based matching process should match profiles.
3797
+ # @return [Array<String>]
3798
+ #
3799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/MatchingRule AWS API Documentation
3800
+ #
3801
+ class MatchingRule < Struct.new(
3802
+ :rule)
3803
+ SENSITIVE = []
3804
+ include Aws::Structure
3805
+ end
3806
+
3508
3807
  # @!attribute [rw] domain_name
3509
3808
  # The unique name of the domain.
3510
3809
  # @return [String]
@@ -3786,7 +4085,7 @@ module Aws::CustomerProfiles
3786
4085
  :found_by_items,
3787
4086
  :party_type_string,
3788
4087
  :gender_string)
3789
- SENSITIVE = []
4088
+ SENSITIVE = [:account_number, :additional_information, :party_type, :business_name, :first_name, :middle_name, :last_name, :birth_date, :gender, :phone_number, :mobile_phone_number, :home_phone_number, :business_phone_number, :email_address, :personal_email_address, :business_email_address, :address, :shipping_address, :mailing_address, :billing_address, :attributes, :party_type_string, :gender_string]
3790
4089
  include Aws::Structure
3791
4090
  end
3792
4091
 
@@ -3831,7 +4130,7 @@ module Aws::CustomerProfiles
3831
4130
  :tags,
3832
4131
  :flow_definition,
3833
4132
  :object_type_names)
3834
- SENSITIVE = []
4133
+ SENSITIVE = [:flow_definition]
3835
4134
  include Aws::Structure
3836
4135
  end
3837
4136
 
@@ -3914,7 +4213,7 @@ module Aws::CustomerProfiles
3914
4213
  :object_type_name,
3915
4214
  :object,
3916
4215
  :domain_name)
3917
- SENSITIVE = []
4216
+ SENSITIVE = [:object]
3918
4217
  include Aws::Structure
3919
4218
  end
3920
4219
 
@@ -4004,7 +4303,7 @@ module Aws::CustomerProfiles
4004
4303
  :fields,
4005
4304
  :keys,
4006
4305
  :tags)
4007
- SENSITIVE = []
4306
+ SENSITIVE = [:description, :fields, :keys]
4008
4307
  include Aws::Structure
4009
4308
  end
4010
4309
 
@@ -4085,7 +4384,7 @@ module Aws::CustomerProfiles
4085
4384
  :created_at,
4086
4385
  :last_updated_at,
4087
4386
  :tags)
4088
- SENSITIVE = []
4387
+ SENSITIVE = [:description, :fields, :keys]
4089
4388
  include Aws::Structure
4090
4389
  end
4091
4390
 
@@ -4122,6 +4421,163 @@ module Aws::CustomerProfiles
4122
4421
  include Aws::Structure
4123
4422
  end
4124
4423
 
4424
+ # The request to enable the rule-based matching.
4425
+ #
4426
+ # @!attribute [rw] enabled
4427
+ # The flag that enables the rule-based matching process of duplicate
4428
+ # profiles.
4429
+ # @return [Boolean]
4430
+ #
4431
+ # @!attribute [rw] matching_rules
4432
+ # Configures how the rule-based matching process should match
4433
+ # profiles. You can have up to 15 `MatchingRule` in the
4434
+ # `MatchingRules`.
4435
+ # @return [Array<Types::MatchingRule>]
4436
+ #
4437
+ # @!attribute [rw] max_allowed_rule_level_for_merging
4438
+ # [MatchingRule][1]
4439
+ #
4440
+ #
4441
+ #
4442
+ # [1]: https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_MatchingRule.html
4443
+ # @return [Integer]
4444
+ #
4445
+ # @!attribute [rw] max_allowed_rule_level_for_matching
4446
+ # Indicates the maximum allowed rule level.
4447
+ # @return [Integer]
4448
+ #
4449
+ # @!attribute [rw] attribute_types_selector
4450
+ # Configures information about the `AttributeTypesSelector` where the
4451
+ # rule-based identity resolution uses to match profiles.
4452
+ # @return [Types::AttributeTypesSelector]
4453
+ #
4454
+ # @!attribute [rw] conflict_resolution
4455
+ # How the auto-merging process should resolve conflicts between
4456
+ # different profiles.
4457
+ # @return [Types::ConflictResolution]
4458
+ #
4459
+ # @!attribute [rw] exporting_config
4460
+ # Configuration information about the S3 bucket where Identity
4461
+ # Resolution Jobs writes result files.
4462
+ #
4463
+ # <note markdown="1"> You need to give Customer Profiles service principal write
4464
+ # permission to your S3 bucket. Otherwise, you'll get an exception in
4465
+ # the API response. For an example policy, see [Amazon Connect
4466
+ # Customer Profiles cross-service confused deputy prevention][1].
4467
+ #
4468
+ # </note>
4469
+ #
4470
+ #
4471
+ #
4472
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html#customer-profiles-cross-service
4473
+ # @return [Types::ExportingConfig]
4474
+ #
4475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/RuleBasedMatchingRequest AWS API Documentation
4476
+ #
4477
+ class RuleBasedMatchingRequest < Struct.new(
4478
+ :enabled,
4479
+ :matching_rules,
4480
+ :max_allowed_rule_level_for_merging,
4481
+ :max_allowed_rule_level_for_matching,
4482
+ :attribute_types_selector,
4483
+ :conflict_resolution,
4484
+ :exporting_config)
4485
+ SENSITIVE = []
4486
+ include Aws::Structure
4487
+ end
4488
+
4489
+ # The response of the Rule-based matching request.
4490
+ #
4491
+ # @!attribute [rw] enabled
4492
+ # The flag that enables the rule-based matching process of duplicate
4493
+ # profiles.
4494
+ # @return [Boolean]
4495
+ #
4496
+ # @!attribute [rw] matching_rules
4497
+ # Configures how the rule-based matching process should match
4498
+ # profiles. You can have up to 15 `MatchingRule` in the
4499
+ # `MatchingRules`.
4500
+ # @return [Array<Types::MatchingRule>]
4501
+ #
4502
+ # @!attribute [rw] status
4503
+ # PENDING
4504
+ #
4505
+ # * The first status after configuration a rule-based matching rule.
4506
+ # If it is an existing domain, the rule-based Identity Resolution
4507
+ # waits one hour before creating the matching rule. If it is a new
4508
+ # domain, the system will skip the `PENDING` stage.
4509
+ #
4510
+ # ^
4511
+ #
4512
+ # IN\_PROGRESS
4513
+ #
4514
+ # * The system is creating the rule-based matching rule. Under this
4515
+ # status, the system is evaluating the existing data and you can no
4516
+ # longer change the Rule-based matching configuration.
4517
+ #
4518
+ # ^
4519
+ #
4520
+ # ACTIVE
4521
+ #
4522
+ # * The rule is ready to use. You can change the rule a day after the
4523
+ # status is in `ACTIVE`.
4524
+ #
4525
+ # ^
4526
+ # @return [String]
4527
+ #
4528
+ # @!attribute [rw] max_allowed_rule_level_for_merging
4529
+ # [MatchingRule][1]
4530
+ #
4531
+ #
4532
+ #
4533
+ # [1]: https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_MatchingRule.html
4534
+ # @return [Integer]
4535
+ #
4536
+ # @!attribute [rw] max_allowed_rule_level_for_matching
4537
+ # Indicates the maximum allowed rule level.
4538
+ # @return [Integer]
4539
+ #
4540
+ # @!attribute [rw] attribute_types_selector
4541
+ # Configures information about the `AttributeTypesSelector` where the
4542
+ # rule-based identity resolution uses to match profiles.
4543
+ # @return [Types::AttributeTypesSelector]
4544
+ #
4545
+ # @!attribute [rw] conflict_resolution
4546
+ # How the auto-merging process should resolve conflicts between
4547
+ # different profiles.
4548
+ # @return [Types::ConflictResolution]
4549
+ #
4550
+ # @!attribute [rw] exporting_config
4551
+ # Configuration information about the S3 bucket where Identity
4552
+ # Resolution Jobs writes result files.
4553
+ #
4554
+ # <note markdown="1"> You need to give Customer Profiles service principal write
4555
+ # permission to your S3 bucket. Otherwise, you'll get an exception in
4556
+ # the API response. For an example policy, see [Amazon Connect
4557
+ # Customer Profiles cross-service confused deputy prevention][1].
4558
+ #
4559
+ # </note>
4560
+ #
4561
+ #
4562
+ #
4563
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html#customer-profiles-cross-service
4564
+ # @return [Types::ExportingConfig]
4565
+ #
4566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/RuleBasedMatchingResponse AWS API Documentation
4567
+ #
4568
+ class RuleBasedMatchingResponse < Struct.new(
4569
+ :enabled,
4570
+ :matching_rules,
4571
+ :status,
4572
+ :max_allowed_rule_level_for_merging,
4573
+ :max_allowed_rule_level_for_matching,
4574
+ :attribute_types_selector,
4575
+ :conflict_resolution,
4576
+ :exporting_config)
4577
+ SENSITIVE = []
4578
+ include Aws::Structure
4579
+ end
4580
+
4125
4581
  # Configuration information about the S3 bucket where Identity
4126
4582
  # Resolution Jobs write result files.
4127
4583
  #
@@ -4682,7 +5138,7 @@ module Aws::CustomerProfiles
4682
5138
  :display_name,
4683
5139
  :description,
4684
5140
  :conditions)
4685
- SENSITIVE = []
5141
+ SENSITIVE = [:conditions]
4686
5142
  include Aws::Structure
4687
5143
  end
4688
5144
 
@@ -4739,7 +5195,7 @@ module Aws::CustomerProfiles
4739
5195
  :conditions,
4740
5196
  :attribute_details,
4741
5197
  :tags)
4742
- SENSITIVE = []
5198
+ SENSITIVE = [:statistic, :conditions, :attribute_details]
4743
5199
  include Aws::Structure
4744
5200
  end
4745
5201
 
@@ -4785,6 +5241,17 @@ module Aws::CustomerProfiles
4785
5241
  # [1]: https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html
4786
5242
  # @return [Types::MatchingRequest]
4787
5243
  #
5244
+ # @!attribute [rw] rule_based_matching
5245
+ # The process of matching duplicate profiles using the rule-Based
5246
+ # matching. If `RuleBasedMatching` = true, Amazon Connect Customer
5247
+ # Profiles will start to match and merge your profiles according to
5248
+ # your configuration in the `RuleBasedMatchingRequest`. You can use
5249
+ # the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return
5250
+ # and review the results. Also, if you have configured
5251
+ # `ExportingConfig` in the `RuleBasedMatchingRequest`, you can
5252
+ # download the results from S3.
5253
+ # @return [Types::RuleBasedMatchingRequest]
5254
+ #
4788
5255
  # @!attribute [rw] tags
4789
5256
  # The tags used to organize, track, or control access for this
4790
5257
  # resource.
@@ -4798,6 +5265,7 @@ module Aws::CustomerProfiles
4798
5265
  :default_encryption_key,
4799
5266
  :dead_letter_queue_url,
4800
5267
  :matching,
5268
+ :rule_based_matching,
4801
5269
  :tags)
4802
5270
  SENSITIVE = []
4803
5271
  include Aws::Structure
@@ -4840,6 +5308,17 @@ module Aws::CustomerProfiles
4840
5308
  # [1]: https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html
4841
5309
  # @return [Types::MatchingResponse]
4842
5310
  #
5311
+ # @!attribute [rw] rule_based_matching
5312
+ # The process of matching duplicate profiles using the rule-Based
5313
+ # matching. If `RuleBasedMatching` = true, Amazon Connect Customer
5314
+ # Profiles will start to match and merge your profiles according to
5315
+ # your configuration in the `RuleBasedMatchingRequest`. You can use
5316
+ # the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return
5317
+ # and review the results. Also, if you have configured
5318
+ # `ExportingConfig` in the `RuleBasedMatchingRequest`, you can
5319
+ # download the results from S3.
5320
+ # @return [Types::RuleBasedMatchingResponse]
5321
+ #
4843
5322
  # @!attribute [rw] created_at
4844
5323
  # The timestamp of when the domain was created.
4845
5324
  # @return [Time]
@@ -4861,6 +5340,7 @@ module Aws::CustomerProfiles
4861
5340
  :default_encryption_key,
4862
5341
  :dead_letter_queue_url,
4863
5342
  :matching,
5343
+ :rule_based_matching,
4864
5344
  :created_at,
4865
5345
  :last_updated_at,
4866
5346
  :tags)
@@ -4999,7 +5479,7 @@ module Aws::CustomerProfiles
4999
5479
  :attributes,
5000
5480
  :party_type_string,
5001
5481
  :gender_string)
5002
- SENSITIVE = []
5482
+ SENSITIVE = [:additional_information, :account_number, :party_type, :business_name, :first_name, :middle_name, :last_name, :birth_date, :gender, :phone_number, :mobile_phone_number, :home_phone_number, :business_phone_number, :email_address, :personal_email_address, :business_email_address, :address, :shipping_address, :mailing_address, :billing_address, :attributes, :party_type_string, :gender_string]
5003
5483
  include Aws::Structure
5004
5484
  end
5005
5485