Create Domain
customerprofiles_create_domain | R Documentation |
Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys¶
Description¶
Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations.
Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.
Use this API or update_domain
to enable identity
resolution:
set Matching
to true.
To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.
It is not possible to associate a Customer Profiles domain with an Amazon Connect Instance directly from the API. If you would like to create a domain and associate a Customer Profiles domain, use the Amazon Connect admin website. For more information, see Enable Customer Profiles.
Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.
Usage¶
customerprofiles_create_domain(DomainName, DefaultExpirationDays,
DefaultEncryptionKey, DeadLetterQueueUrl, Matching, RuleBasedMatching,
Tags)
Arguments¶
DomainName
[required] The unique name of the domain.
DefaultExpirationDays
[required] The default number of days until the data within the domain expires.
DefaultEncryptionKey
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
DeadLetterQueueUrl
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue.
Matching
The process of matching duplicate profiles. If
Matching
=true
, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains.After the Identity Resolution Job completes, use the
get_matches
API to return and review the results. Or, if you have configuredExportingConfig
in theMatchingRequest
, you can download the results from S3.RuleBasedMatching
The process of matching duplicate profiles using the Rule-Based matching. If
RuleBasedMatching
= true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in theRuleBasedMatchingRequest
. You can use thelist_rule_based_matches
andget_similar_profiles
API to return and review the results. Also, if you have configuredExportingConfig
in theRuleBasedMatchingRequest
, you can download the results from S3.Tags
The tags used to organize, track, or control access for this resource.
Value¶
A list with the following syntax:
list(
DomainName = "string",
DefaultExpirationDays = 123,
DefaultEncryptionKey = "string",
DeadLetterQueueUrl = "string",
Matching = list(
Enabled = TRUE|FALSE,
JobSchedule = list(
DayOfTheWeek = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY",
Time = "string"
),
AutoMerging = list(
Enabled = TRUE|FALSE,
Consolidation = list(
MatchingAttributesList = list(
list(
"string"
)
)
),
ConflictResolution = list(
ConflictResolvingModel = "RECENCY"|"SOURCE",
SourceName = "string"
),
MinAllowedConfidenceScoreForMerging = 123.0
),
ExportingConfig = list(
S3Exporting = list(
S3BucketName = "string",
S3KeyName = "string"
)
)
),
RuleBasedMatching = list(
Enabled = TRUE|FALSE,
MatchingRules = list(
list(
Rule = list(
"string"
)
)
),
Status = "PENDING"|"IN_PROGRESS"|"ACTIVE",
MaxAllowedRuleLevelForMerging = 123,
MaxAllowedRuleLevelForMatching = 123,
AttributeTypesSelector = list(
AttributeMatchingModel = "ONE_TO_ONE"|"MANY_TO_MANY",
Address = list(
"string"
),
PhoneNumber = list(
"string"
),
EmailAddress = list(
"string"
)
),
ConflictResolution = list(
ConflictResolvingModel = "RECENCY"|"SOURCE",
SourceName = "string"
),
ExportingConfig = list(
S3Exporting = list(
S3BucketName = "string",
S3KeyName = "string"
)
)
),
CreatedAt = as.POSIXct(
"2015-01-01"
),
LastUpdatedAt = as.POSIXct(
"2015-01-01"
),
Tags = list(
"string"
)
)
Request syntax¶
svc$create_domain(
DomainName = "string",
DefaultExpirationDays = 123,
DefaultEncryptionKey = "string",
DeadLetterQueueUrl = "string",
Matching = list(
Enabled = TRUE|FALSE,
JobSchedule = list(
DayOfTheWeek = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY",
Time = "string"
),
AutoMerging = list(
Enabled = TRUE|FALSE,
Consolidation = list(
MatchingAttributesList = list(
list(
"string"
)
)
),
ConflictResolution = list(
ConflictResolvingModel = "RECENCY"|"SOURCE",
SourceName = "string"
),
MinAllowedConfidenceScoreForMerging = 123.0
),
ExportingConfig = list(
S3Exporting = list(
S3BucketName = "string",
S3KeyName = "string"
)
)
),
RuleBasedMatching = list(
Enabled = TRUE|FALSE,
MatchingRules = list(
list(
Rule = list(
"string"
)
)
),
MaxAllowedRuleLevelForMerging = 123,
MaxAllowedRuleLevelForMatching = 123,
AttributeTypesSelector = list(
AttributeMatchingModel = "ONE_TO_ONE"|"MANY_TO_MANY",
Address = list(
"string"
),
PhoneNumber = list(
"string"
),
EmailAddress = list(
"string"
)
),
ConflictResolution = list(
ConflictResolvingModel = "RECENCY"|"SOURCE",
SourceName = "string"
),
ExportingConfig = list(
S3Exporting = list(
S3BucketName = "string",
S3KeyName = "string"
)
)
),
Tags = list(
"string"
)
)