get_domain
(**kwargs)¶Returns information about a specific domain.
See also: AWS API Documentation
Request Syntax
response = client.get_domain(
DomainName='string'
)
[REQUIRED]
The unique name of the domain.
{
'DomainName': 'string',
'DefaultExpirationDays': 123,
'DefaultEncryptionKey': 'string',
'DeadLetterQueueUrl': 'string',
'Stats': {
'ProfileCount': 123,
'MeteringProfileCount': 123,
'ObjectCount': 123,
'TotalSize': 123
},
'Matching': {
'Enabled': True|False,
'JobSchedule': {
'DayOfTheWeek': 'SUNDAY'|'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY',
'Time': 'string'
},
'AutoMerging': {
'Enabled': True|False,
'Consolidation': {
'MatchingAttributesList': [
[
'string',
],
]
},
'ConflictResolution': {
'ConflictResolvingModel': 'RECENCY'|'SOURCE',
'SourceName': 'string'
},
'MinAllowedConfidenceScoreForMerging': 123.0
},
'ExportingConfig': {
'S3Exporting': {
'S3BucketName': 'string',
'S3KeyName': 'string'
}
}
},
'CreatedAt': datetime(2015, 1, 1),
'LastUpdatedAt': datetime(2015, 1, 1),
'Tags': {
'string': 'string'
}
}
Response Structure
The unique name of the domain.
The default number of days until the data within the domain expires.
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.
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.
Usage-specific statistics about the domain.
The total number of profiles currently in the domain.
The number of profiles that you are currently paying for in the domain. If you have more than 100 objects associated with a single profile, that profile counts as two profiles. If you have more than 200 objects, that profile counts as three, and so on.
The total number of objects in domain.
The total size, in bytes, of all objects in the domain.
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 GetMatches API to return and review the results. Or, if you have configured ExportingConfig
in the MatchingRequest
, you can download the results from S3.
The flag that enables the matching process of duplicate profiles.
The day and time when do you want to start the Identity Resolution Job every week.
The day when the Identity Resolution Job should run every week.
The time when the Identity Resolution Job should run every week.
Configuration information about the auto-merging process.
The flag that enables the auto-merging of duplicate profiles.
A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.
A list of matching criteria.
How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same FirstName
and LastName
(and that is the matching criteria), which EmailAddress
should be used?
How the auto-merging process should resolve conflicts between different profiles.
RECENCY
: Uses the data that was most recently updated.SOURCE
: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, then RECENCY
is used again.The ObjectType
name that is used to resolve profile merging conflicts when choosing SOURCE
as the ConflictResolvingModel
.
A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
Configuration information for exporting Identity Resolution results, for example, to an S3 bucket.
The S3 location where Identity Resolution Jobs write result files.
The name of the S3 bucket where Identity Resolution Jobs write result files.
The S3 key name of the location where Identity Resolution Jobs write result files.
The timestamp of when the domain was created.
The timestamp of when the domain was most recently edited.
The tags used to organize, track, or control access for this resource.
Exceptions
CustomerProfiles.Client.exceptions.BadRequestException
CustomerProfiles.Client.exceptions.ResourceNotFoundException
CustomerProfiles.Client.exceptions.AccessDeniedException
CustomerProfiles.Client.exceptions.ThrottlingException
CustomerProfiles.Client.exceptions.InternalServerException