Amazon Connect Customer Profiles

2021/11/24 - Amazon Connect Customer Profiles - 3 new 7 updated api methods

Changes  This release introduces a new auto-merging feature for profile matching. The auto-merging configurations can be set via CreateDomain API or UpdateDomain API. You can use GetIdentityResolutionJob API and ListIdentityResolutionJobs API to fetch job status.

GetAutoMergingPreview (new) Link ¶

Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list.

You can't view which profiles are matched and would be merged.

Warning

We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName ), there may be a large number of matches. This increases the chances of erroneous merges.

See also: AWS API Documentation

Request Syntax

client.get_auto_merging_preview(
    DomainName='string',
    Consolidation={
        'MatchingAttributesList': [
            [
                'string',
            ],
        ]
    },
    ConflictResolution={
        'ConflictResolvingModel': 'RECENCY'|'SOURCE',
        'SourceName': 'string'
    }
)
type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

type Consolidation

dict

param Consolidation

[REQUIRED]

A list of matching attributes that represent matching criteria.

  • MatchingAttributesList (list) -- [REQUIRED]

    A list of matching criteria.

    • (list) --

      • (string) --

type ConflictResolution

dict

param ConflictResolution

[REQUIRED]

How the auto-merging process should resolve conflicts between different profiles.

  • ConflictResolvingModel (string) -- [REQUIRED]

    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.

  • SourceName (string) --

    The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .

rtype

dict

returns

Response Syntax

{
    'DomainName': 'string',
    'NumberOfMatchesInSample': 123,
    'NumberOfProfilesInSample': 123,
    'NumberOfProfilesWillBeMerged': 123
}

Response Structure

  • (dict) --

    • DomainName (string) --

      The unique name of the domain.

    • NumberOfMatchesInSample (integer) --

      The number of match groups in the domain that have been reviewed in this preview dry run.

    • NumberOfProfilesInSample (integer) --

      The number of profiles found in this preview dry run.

    • NumberOfProfilesWillBeMerged (integer) --

      The number of profiles that would be merged if this wasn't a preview dry run.

GetIdentityResolutionJob (new) Link ¶

Returns information about an Identity Resolution Job in a specific domain.

Identity Resolution Jobs are set up using the Amazon Connect admin console. For more information, see Use Identity Resolution to consolidate similar profiles.

See also: AWS API Documentation

Request Syntax

client.get_identity_resolution_job(
    DomainName='string',
    JobId='string'
)
type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

type JobId

string

param JobId

[REQUIRED]

The unique identifier of the Identity Resolution Job.

rtype

dict

returns

Response Syntax

{
    'DomainName': 'string',
    'JobId': 'string',
    'Status': 'PENDING'|'PREPROCESSING'|'FIND_MATCHING'|'MERGING'|'COMPLETED'|'PARTIAL_SUCCESS'|'FAILED',
    'Message': 'string',
    'JobStartTime': datetime(2015, 1, 1),
    'JobEndTime': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'JobExpirationTime': datetime(2015, 1, 1),
    'AutoMerging': {
        'Enabled': True|False,
        'Consolidation': {
            'MatchingAttributesList': [
                [
                    'string',
                ],
            ]
        },
        'ConflictResolution': {
            'ConflictResolvingModel': 'RECENCY'|'SOURCE',
            'SourceName': 'string'
        }
    },
    'ExportingLocation': {
        'S3Exporting': {
            'S3BucketName': 'string',
            'S3KeyName': 'string'
        }
    },
    'JobStats': {
        'NumberOfProfilesReviewed': 123,
        'NumberOfMatchesFound': 123,
        'NumberOfMergesDone': 123
    }
}

Response Structure

  • (dict) --

    • DomainName (string) --

      The unique name of the domain.

    • JobId (string) --

      The unique identifier of the Identity Resolution Job.

    • Status (string) --

      The status of the Identity Resolution Job.

      • PENDING : The Identity Resolution Job is scheduled but has not started yet. If you turn off the Identity Resolution feature in your domain, jobs in the PENDING state are deleted.

      • PREPROCESSING : The Identity Resolution Job is loading your data.

      • FIND_MATCHING : The Identity Resolution Job is using the machine learning model to identify profiles that belong to the same matching group.

      • MERGING : The Identity Resolution Job is merging duplicate profiles.

      • COMPLETED : The Identity Resolution Job completed successfully.

      • PARTIAL_SUCCESS : There's a system error and not all of the data is merged. The Identity Resolution Job writes a message indicating the source of the problem.

      • FAILED : The Identity Resolution Job did not merge any data. It writes a message indicating the source of the problem.

    • Message (string) --

      The error messages that are generated when the Identity Resolution Job runs.

    • JobStartTime (datetime) --

      The timestamp of when the Identity Resolution Job was started or will be started.

    • JobEndTime (datetime) --

      The timestamp of when the Identity Resolution Job was completed.

    • LastUpdatedAt (datetime) --

      The timestamp of when the Identity Resolution Job was most recently edited.

    • JobExpirationTime (datetime) --

      The timestamp of when the Identity Resolution Job will expire.

    • AutoMerging (dict) --

      Configuration settings for how to perform the auto-merging of profiles.

      • Enabled (boolean) --

        The flag that enables the auto-merging of duplicate profiles.

      • Consolidation (dict) --

        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.

        • MatchingAttributesList (list) --

          A list of matching criteria.

          • (list) --

            • (string) --

      • ConflictResolution (dict) --

        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?

        • ConflictResolvingModel (string) --

          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.

        • SourceName (string) --

          The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .

    • ExportingLocation (dict) --

      The S3 location where the Identity Resolution Job writes result files.

      • S3Exporting (dict) --

        Information about the S3 location where Identity Resolution Jobs write result files.

        • S3BucketName (string) --

          The name of the S3 bucket name where Identity Resolution Jobs write result files.

        • S3KeyName (string) --

          The S3 key name of the location where Identity Resolution Jobs write result files.

    • JobStats (dict) --

      Statistics about the Identity Resolution Job.

      • NumberOfProfilesReviewed (integer) --

        The number of profiles reviewed.

      • NumberOfMatchesFound (integer) --

        The number of matches found.

      • NumberOfMergesDone (integer) --

        The number of merges completed.

ListIdentityResolutionJobs (new) Link ¶

Lists all of the Identity Resolution Jobs in your domain. The response sorts the list by JobStartTime .

See also: AWS API Documentation

Request Syntax

client.list_identity_resolution_jobs(
    DomainName='string',
    NextToken='string',
    MaxResults=123
)
type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

type NextToken

string

param NextToken

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

type MaxResults

integer

param MaxResults

The maximum number of results to return per page.

rtype

dict

returns

Response Syntax

{
    'IdentityResolutionJobsList': [
        {
            'DomainName': 'string',
            'JobId': 'string',
            'Status': 'PENDING'|'PREPROCESSING'|'FIND_MATCHING'|'MERGING'|'COMPLETED'|'PARTIAL_SUCCESS'|'FAILED',
            'JobStartTime': datetime(2015, 1, 1),
            'JobEndTime': datetime(2015, 1, 1),
            'JobStats': {
                'NumberOfProfilesReviewed': 123,
                'NumberOfMatchesFound': 123,
                'NumberOfMergesDone': 123
            },
            'ExportingLocation': {
                'S3Exporting': {
                    'S3BucketName': 'string',
                    'S3KeyName': 'string'
                }
            },
            'Message': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • IdentityResolutionJobsList (list) --

      A list of Identity Resolution Jobs.

      • (dict) --

        Information about the Identity Resolution Job.

        • DomainName (string) --

          The unique name of the domain.

        • JobId (string) --

          The unique identifier of the Identity Resolution Job.

        • Status (string) --

          The status of the Identity Resolution Job.

          • PENDING : The Identity Resolution Job is scheduled but has not started yet. If you turn off the Identity Resolution feature in your domain, jobs in the PENDING state are deleted.

          • PREPROCESSING : The Identity Resolution Job is loading your data.

          • FIND_MATCHING : The Identity Resolution Job is using the machine learning model to identify profiles that belong to the same matching group.

          • MERGING : The Identity Resolution Job is merging duplicate profiles.

          • COMPLETED : The Identity Resolution Job completed successfully.

          • PARTIAL_SUCCESS : There's a system error and not all of the data is merged. The Identity Resolution Job writes a message indicating the source of the problem.

          • FAILED : The Identity Resolution Job did not merge any data. It writes a message indicating the source of the problem.

        • JobStartTime (datetime) --

          The timestamp of when the job was started or will be started.

        • JobEndTime (datetime) --

          The timestamp of when the job was completed.

        • JobStats (dict) --

          Statistics about an Identity Resolution Job.

          • NumberOfProfilesReviewed (integer) --

            The number of profiles reviewed.

          • NumberOfMatchesFound (integer) --

            The number of matches found.

          • NumberOfMergesDone (integer) --

            The number of merges completed.

        • ExportingLocation (dict) --

          The S3 location where the Identity Resolution Job writes result files.

          • S3Exporting (dict) --

            Information about the S3 location where Identity Resolution Jobs write result files.

            • S3BucketName (string) --

              The name of the S3 bucket name where Identity Resolution Jobs write result files.

            • S3KeyName (string) --

              The S3 key name of the location where Identity Resolution Jobs write result files.

        • Message (string) --

          The error messages that are generated when the Identity Resolution Job runs.

    • NextToken (string) --

      If there are additional results, this is the token for the next set of results.

CreateDomain (updated) Link ¶
Changes (both)
{'Matching': {'AutoMerging': {'ConflictResolution': {'ConflictResolvingModel': 'RECENCY '
                                                                               '| '
                                                                               'SOURCE',
                                                     'SourceName': 'string'},
                              'Consolidation': {'MatchingAttributesList': [['string']]},
                              'Enabled': 'boolean'},
              'ExportingConfig': {'S3Exporting': {'S3BucketName': 'string',
                                                  'S3KeyName': 'string'}},
              'JobSchedule': {'DayOfTheWeek': 'SUNDAY | MONDAY | TUESDAY | '
                                              'WEDNESDAY | THURSDAY | FRIDAY | '
                                              'SATURDAY',
                              'Time': 'string'}}}

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 UpdateDomain 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.

See also: AWS API Documentation

Request Syntax

client.create_domain(
    DomainName='string',
    DefaultExpirationDays=123,
    DefaultEncryptionKey='string',
    DeadLetterQueueUrl='string',
    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'
            }
        },
        'ExportingConfig': {
            'S3Exporting': {
                'S3BucketName': 'string',
                'S3KeyName': 'string'
            }
        }
    },
    Tags={
        'string': 'string'
    }
)
type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

type DefaultExpirationDays

integer

param DefaultExpirationDays

[REQUIRED]

The default number of days until the data within the domain expires.

type DefaultEncryptionKey

string

param 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.

type DeadLetterQueueUrl

string

param 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.

type Matching

dict

param 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 GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest , you can download the results from S3.

  • Enabled (boolean) -- [REQUIRED]

    The flag that enables the matching process of duplicate profiles.

  • JobSchedule (dict) --

    The day and time when do you want to start the Identity Resolution Job every week.

    • DayOfTheWeek (string) -- [REQUIRED]

      The day when the Identity Resolution Job should run every week.

    • Time (string) -- [REQUIRED]

      The time when the Identity Resolution Job should run every week.

  • AutoMerging (dict) --

    Configuration information about the auto-merging process.

    • Enabled (boolean) -- [REQUIRED]

      The flag that enables the auto-merging of duplicate profiles.

    • Consolidation (dict) --

      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.

      • MatchingAttributesList (list) -- [REQUIRED]

        A list of matching criteria.

        • (list) --

          • (string) --

    • ConflictResolution (dict) --

      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?

      • ConflictResolvingModel (string) -- [REQUIRED]

        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.

      • SourceName (string) --

        The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .

  • ExportingConfig (dict) --

    Configuration information for exporting Identity Resolution results, for example, to an S3 bucket.

    • S3Exporting (dict) --

      The S3 location where Identity Resolution Jobs write result files.

      • S3BucketName (string) -- [REQUIRED]

        The name of the S3 bucket where Identity Resolution Jobs write result files.

      • S3KeyName (string) --

        The S3 key name of the location where Identity Resolution Jobs write result files.

type Tags

dict

param Tags

The tags used to organize, track, or control access for this resource.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{
    'DomainName': 'string',
    'DefaultExpirationDays': 123,
    'DefaultEncryptionKey': 'string',
    'DeadLetterQueueUrl': 'string',
    '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'
            }
        },
        'ExportingConfig': {
            'S3Exporting': {
                'S3BucketName': 'string',
                'S3KeyName': 'string'
            }
        }
    },
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • DomainName (string) --

      The unique name of the domain.

    • DefaultExpirationDays (integer) --

      The default number of days until the data within the domain expires.

    • DefaultEncryptionKey (string) --

      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 (string) --

      The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.

    • Matching (dict) --

      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.

      • Enabled (boolean) --

        The flag that enables the matching process of duplicate profiles.

      • JobSchedule (dict) --

        The day and time when do you want to start the Identity Resolution Job every week.

        • DayOfTheWeek (string) --

          The day when the Identity Resolution Job should run every week.

        • Time (string) --

          The time when the Identity Resolution Job should run every week.

      • AutoMerging (dict) --

        Configuration information about the auto-merging process.

        • Enabled (boolean) --

          The flag that enables the auto-merging of duplicate profiles.

        • Consolidation (dict) --

          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.

          • MatchingAttributesList (list) --

            A list of matching criteria.

            • (list) --

              • (string) --

        • ConflictResolution (dict) --

          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?

          • ConflictResolvingModel (string) --

            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.

          • SourceName (string) --

            The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .

      • ExportingConfig (dict) --

        Configuration information for exporting Identity Resolution results, for example, to an S3 bucket.

        • S3Exporting (dict) --

          The S3 location where Identity Resolution Jobs write result files.

          • S3BucketName (string) --

            The name of the S3 bucket where Identity Resolution Jobs write result files.

          • S3KeyName (string) --

            The S3 key name of the location where Identity Resolution Jobs write result files.

    • CreatedAt (datetime) --

      The timestamp of when the domain was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the domain was most recently edited.

    • Tags (dict) --

      The tags used to organize, track, or control access for this resource.

      • (string) --

        • (string) --

GetDomain (updated) Link ¶
Changes (response)
{'Matching': {'AutoMerging': {'ConflictResolution': {'ConflictResolvingModel': 'RECENCY '
                                                                               '| '
                                                                               'SOURCE',
                                                     'SourceName': 'string'},
                              'Consolidation': {'MatchingAttributesList': [['string']]},
                              'Enabled': 'boolean'},
              'ExportingConfig': {'S3Exporting': {'S3BucketName': 'string',
                                                  'S3KeyName': 'string'}},
              'JobSchedule': {'DayOfTheWeek': 'SUNDAY | MONDAY | TUESDAY | '
                                              'WEDNESDAY | THURSDAY | FRIDAY | '
                                              'SATURDAY',
                              'Time': 'string'}}}

Returns information about a specific domain.

See also: AWS API Documentation

Request Syntax

client.get_domain(
    DomainName='string'
)
type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

rtype

dict

returns

Response Syntax

{
    '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'
            }
        },
        'ExportingConfig': {
            'S3Exporting': {
                'S3BucketName': 'string',
                'S3KeyName': 'string'
            }
        }
    },
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • DomainName (string) --

      The unique name of the domain.

    • DefaultExpirationDays (integer) --

      The default number of days until the data within the domain expires.

    • DefaultEncryptionKey (string) --

      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 (string) --

      The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.

    • Stats (dict) --

      Usage-specific statistics about the domain.

      • ProfileCount (integer) --

        The total number of profiles currently in the domain.

      • MeteringProfileCount (integer) --

        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.

      • ObjectCount (integer) --

        The total number of objects in domain.

      • TotalSize (integer) --

        The total size, in bytes, of all objects in the domain.

    • Matching (dict) --

      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.

      • Enabled (boolean) --

        The flag that enables the matching process of duplicate profiles.

      • JobSchedule (dict) --

        The day and time when do you want to start the Identity Resolution Job every week.

        • DayOfTheWeek (string) --

          The day when the Identity Resolution Job should run every week.

        • Time (string) --

          The time when the Identity Resolution Job should run every week.

      • AutoMerging (dict) --

        Configuration information about the auto-merging process.

        • Enabled (boolean) --

          The flag that enables the auto-merging of duplicate profiles.

        • Consolidation (dict) --

          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.

          • MatchingAttributesList (list) --

            A list of matching criteria.

            • (list) --

              • (string) --

        • ConflictResolution (dict) --

          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?

          • ConflictResolvingModel (string) --

            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.

          • SourceName (string) --

            The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .

      • ExportingConfig (dict) --

        Configuration information for exporting Identity Resolution results, for example, to an S3 bucket.

        • S3Exporting (dict) --

          The S3 location where Identity Resolution Jobs write result files.

          • S3BucketName (string) --

            The name of the S3 bucket where Identity Resolution Jobs write result files.

          • S3KeyName (string) --

            The S3 key name of the location where Identity Resolution Jobs write result files.

    • CreatedAt (datetime) --

      The timestamp of when the domain was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the domain was most recently edited.

    • Tags (dict) --

      The tags used to organize, track, or control access for this resource.

      • (string) --

        • (string) --

GetMatches (updated) Link ¶
Changes (response)
{'Matches': {'ConfidenceScore': 'double'}}

This API is in preview release for Amazon Connect and subject to change.

Before calling this API, use CreateDomain or UpdateDomain to enable identity resolution: set Matching to true.

GetMatches returns potentially matching profiles, based on the results of the latest run of a machine learning process.

Warning

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.

Amazon Connect uses the following profile attributes to identify matches:

  • PhoneNumber

  • HomePhoneNumber

  • BusinessPhoneNumber

  • MobilePhoneNumber

  • EmailAddress

  • PersonalEmailAddress

  • BusinessEmailAddress

  • FullName

  • BusinessName

For example, two or more profiles—with spelling mistakes such as John Doe and Jhn Doe , or different casing email addresses such as JOHN_DOE@ANYCOMPANY.COM and johndoe@anycompany.com , or different phone number formats such as 555-010-0000 and +1-555-010-0000 —can be detected as belonging to the same customer John Doe and merged into a unified profile.

See also: AWS API Documentation

Request Syntax

client.get_matches(
    NextToken='string',
    MaxResults=123,
    DomainName='string'
)
type NextToken

string

param NextToken

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

type MaxResults

integer

param MaxResults

The maximum number of results to return per page.

type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

rtype

dict

returns

Response Syntax

{
    'NextToken': 'string',
    'MatchGenerationDate': datetime(2015, 1, 1),
    'PotentialMatches': 123,
    'Matches': [
        {
            'MatchId': 'string',
            'ProfileIds': [
                'string',
            ],
            'ConfidenceScore': 123.0
        },
    ]
}

Response Structure

  • (dict) --

    • NextToken (string) --

      If there are additional results, this is the token for the next set of results.

    • MatchGenerationDate (datetime) --

      The timestamp this version of Match Result generated.

    • PotentialMatches (integer) --

      The number of potential matches found.

    • Matches (list) --

      The list of matched profiles for this instance.

      • (dict) --

        The Match group object.

        • MatchId (string) --

          The unique identifiers for this group of profiles that match.

        • ProfileIds (list) --

          A list of identifiers for profiles that match.

          • (string) --

        • ConfidenceScore (float) --

          A number between 0 and 1 that represents the confidence level of assigning profiles to a matching group. A score of 1 likely indicates an exact match.

GetProfileObjectType (updated) Link ¶
Changes (response)
{'SourceLastUpdatedTimestampFormat': 'string'}

Returns the object types for a specific domain.

See also: AWS API Documentation

Request Syntax

client.get_profile_object_type(
    DomainName='string',
    ObjectTypeName='string'
)
type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

type ObjectTypeName

string

param ObjectTypeName

[REQUIRED]

The name of the profile object type.

rtype

dict

returns

Response Syntax

{
    'ObjectTypeName': 'string',
    'Description': 'string',
    'TemplateId': 'string',
    'ExpirationDays': 123,
    'EncryptionKey': 'string',
    'AllowProfileCreation': True|False,
    'SourceLastUpdatedTimestampFormat': 'string',
    'Fields': {
        'string': {
            'Source': 'string',
            'Target': 'string',
            'ContentType': 'STRING'|'NUMBER'|'PHONE_NUMBER'|'EMAIL_ADDRESS'|'NAME'
        }
    },
    'Keys': {
        'string': [
            {
                'StandardIdentifiers': [
                    'PROFILE'|'ASSET'|'CASE'|'UNIQUE'|'SECONDARY'|'LOOKUP_ONLY'|'NEW_ONLY',
                ],
                'FieldNames': [
                    'string',
                ]
            },
        ]
    },
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • ObjectTypeName (string) --

      The name of the profile object type.

    • Description (string) --

      The description of the profile object type.

    • TemplateId (string) --

      A unique identifier for the object template.

    • ExpirationDays (integer) --

      The number of days until the data in the object expires.

    • EncryptionKey (string) --

      The customer-provided key to encrypt the profile object that will be created in this profile object type.

    • AllowProfileCreation (boolean) --

      Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE . If the AllowProfileCreation flag is set to FALSE , then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE , and if no match is found, then the service creates a new standard profile.

    • SourceLastUpdatedTimestampFormat (string) --

      The format of your sourceLastUpdatedTimestamp that was previously set up.

    • Fields (dict) --

      A map of the name and ObjectType field.

      • (string) --

        • (dict) --

          Represents a field in a ProfileObjectType.

          • Source (string) --

            A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.

          • Target (string) --

            The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.

          • ContentType (string) --

            The content type of the field. Used for determining equality when searching.

    • Keys (dict) --

      A list of unique keys that can be used to map data to the profile.

      • (string) --

        • (list) --

          • (dict) --

            An object that defines the Key element of a ProfileObject. A Key is a special element that can be used to search for a customer profile.

            • StandardIdentifiers (list) --

              The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET or CASE means that this key can be used to tie an object to a PROFILE, ASSET or CASE respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.

              • (string) --

            • FieldNames (list) --

              The reference for the key name of the fields map.

              • (string) --

    • CreatedAt (datetime) --

      The timestamp of when the domain was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the domain was most recently edited.

    • Tags (dict) --

      The tags used to organize, track, or control access for this resource.

      • (string) --

        • (string) --

GetProfileObjectTypeTemplate (updated) Link ¶
Changes (response)
{'SourceLastUpdatedTimestampFormat': 'string'}

Returns the template information for a specific object type.

A template is a predefined ProfileObjectType, such as “Salesforce-Account” or “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API, with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the template.

See also: AWS API Documentation

Request Syntax

client.get_profile_object_type_template(
    TemplateId='string'
)
type TemplateId

string

param TemplateId

[REQUIRED]

A unique identifier for the object template.

rtype

dict

returns

Response Syntax

{
    'TemplateId': 'string',
    'SourceName': 'string',
    'SourceObject': 'string',
    'AllowProfileCreation': True|False,
    'SourceLastUpdatedTimestampFormat': 'string',
    'Fields': {
        'string': {
            'Source': 'string',
            'Target': 'string',
            'ContentType': 'STRING'|'NUMBER'|'PHONE_NUMBER'|'EMAIL_ADDRESS'|'NAME'
        }
    },
    'Keys': {
        'string': [
            {
                'StandardIdentifiers': [
                    'PROFILE'|'ASSET'|'CASE'|'UNIQUE'|'SECONDARY'|'LOOKUP_ONLY'|'NEW_ONLY',
                ],
                'FieldNames': [
                    'string',
                ]
            },
        ]
    }
}

Response Structure

  • (dict) --

    • TemplateId (string) --

      A unique identifier for the object template.

    • SourceName (string) --

      The name of the source of the object template.

    • SourceObject (string) --

      The source of the object template.

    • AllowProfileCreation (boolean) --

      Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE . If the AllowProfileCreation flag is set to FALSE , then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE , and if no match is found, then the service creates a new standard profile.

    • SourceLastUpdatedTimestampFormat (string) --

      The format of your sourceLastUpdatedTimestamp that was previously set up.

    • Fields (dict) --

      A map of the name and ObjectType field.

      • (string) --

        • (dict) --

          Represents a field in a ProfileObjectType.

          • Source (string) --

            A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.

          • Target (string) --

            The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.

          • ContentType (string) --

            The content type of the field. Used for determining equality when searching.

    • Keys (dict) --

      A list of unique keys that can be used to map data to the profile.

      • (string) --

        • (list) --

          • (dict) --

            An object that defines the Key element of a ProfileObject. A Key is a special element that can be used to search for a customer profile.

            • StandardIdentifiers (list) --

              The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET or CASE means that this key can be used to tie an object to a PROFILE, ASSET or CASE respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.

              • (string) --

            • FieldNames (list) --

              The reference for the key name of the fields map.

              • (string) --

PutProfileObjectType (updated) Link ¶
Changes (both)
{'SourceLastUpdatedTimestampFormat': 'string'}

Defines a ProfileObjectType.

See also: AWS API Documentation

Request Syntax

client.put_profile_object_type(
    DomainName='string',
    ObjectTypeName='string',
    Description='string',
    TemplateId='string',
    ExpirationDays=123,
    EncryptionKey='string',
    AllowProfileCreation=True|False,
    SourceLastUpdatedTimestampFormat='string',
    Fields={
        'string': {
            'Source': 'string',
            'Target': 'string',
            'ContentType': 'STRING'|'NUMBER'|'PHONE_NUMBER'|'EMAIL_ADDRESS'|'NAME'
        }
    },
    Keys={
        'string': [
            {
                'StandardIdentifiers': [
                    'PROFILE'|'ASSET'|'CASE'|'UNIQUE'|'SECONDARY'|'LOOKUP_ONLY'|'NEW_ONLY',
                ],
                'FieldNames': [
                    'string',
                ]
            },
        ]
    },
    Tags={
        'string': 'string'
    }
)
type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

type ObjectTypeName

string

param ObjectTypeName

[REQUIRED]

The name of the profile object type.

type Description

string

param Description

[REQUIRED]

Description of the profile object type.

type TemplateId

string

param TemplateId

A unique identifier for the object template.

type ExpirationDays

integer

param ExpirationDays

The number of days until the data in the object expires.

type EncryptionKey

string

param EncryptionKey

The customer-provided key to encrypt the profile object that will be created in this profile object type.

type AllowProfileCreation

boolean

param AllowProfileCreation

Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE . If the AllowProfileCreation flag is set to FALSE , then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE , and if no match is found, then the service creates a new standard profile.

type SourceLastUpdatedTimestampFormat

string

param SourceLastUpdatedTimestampFormat

The format of your sourceLastUpdatedTimestamp that was previously set up.

type Fields

dict

param Fields

A map of the name and ObjectType field.

  • (string) --

    • (dict) --

      Represents a field in a ProfileObjectType.

      • Source (string) --

        A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.

      • Target (string) --

        The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.

      • ContentType (string) --

        The content type of the field. Used for determining equality when searching.

type Keys

dict

param Keys

A list of unique keys that can be used to map data to the profile.

  • (string) --

    • (list) --

      • (dict) --

        An object that defines the Key element of a ProfileObject. A Key is a special element that can be used to search for a customer profile.

        • StandardIdentifiers (list) --

          The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET or CASE means that this key can be used to tie an object to a PROFILE, ASSET or CASE respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.

          • (string) --

        • FieldNames (list) --

          The reference for the key name of the fields map.

          • (string) --

type Tags

dict

param Tags

The tags used to organize, track, or control access for this resource.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{
    'ObjectTypeName': 'string',
    'Description': 'string',
    'TemplateId': 'string',
    'ExpirationDays': 123,
    'EncryptionKey': 'string',
    'AllowProfileCreation': True|False,
    'SourceLastUpdatedTimestampFormat': 'string',
    'Fields': {
        'string': {
            'Source': 'string',
            'Target': 'string',
            'ContentType': 'STRING'|'NUMBER'|'PHONE_NUMBER'|'EMAIL_ADDRESS'|'NAME'
        }
    },
    'Keys': {
        'string': [
            {
                'StandardIdentifiers': [
                    'PROFILE'|'ASSET'|'CASE'|'UNIQUE'|'SECONDARY'|'LOOKUP_ONLY'|'NEW_ONLY',
                ],
                'FieldNames': [
                    'string',
                ]
            },
        ]
    },
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • ObjectTypeName (string) --

      The name of the profile object type.

    • Description (string) --

      Description of the profile object type.

    • TemplateId (string) --

      A unique identifier for the object template.

    • ExpirationDays (integer) --

      The number of days until the data in the object expires.

    • EncryptionKey (string) --

      The customer-provided key to encrypt the profile object that will be created in this profile object type.

    • AllowProfileCreation (boolean) --

      Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE . If the AllowProfileCreation flag is set to FALSE , then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE , and if no match is found, then the service creates a new standard profile.

    • SourceLastUpdatedTimestampFormat (string) --

      The format of your sourceLastUpdatedTimestamp that was previously set up in fields that were parsed using SimpleDateFormat. If you have sourceLastUpdatedTimestamp in your field, you must set up sourceLastUpdatedTimestampFormat .

    • Fields (dict) --

      A map of the name and ObjectType field.

      • (string) --

        • (dict) --

          Represents a field in a ProfileObjectType.

          • Source (string) --

            A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.

          • Target (string) --

            The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.

          • ContentType (string) --

            The content type of the field. Used for determining equality when searching.

    • Keys (dict) --

      A list of unique keys that can be used to map data to the profile.

      • (string) --

        • (list) --

          • (dict) --

            An object that defines the Key element of a ProfileObject. A Key is a special element that can be used to search for a customer profile.

            • StandardIdentifiers (list) --

              The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET or CASE means that this key can be used to tie an object to a PROFILE, ASSET or CASE respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.

              • (string) --

            • FieldNames (list) --

              The reference for the key name of the fields map.

              • (string) --

    • CreatedAt (datetime) --

      The timestamp of when the domain was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the domain was most recently edited.

    • Tags (dict) --

      The tags used to organize, track, or control access for this resource.

      • (string) --

        • (string) --

UpdateDomain (updated) Link ¶
Changes (both)
{'Matching': {'AutoMerging': {'ConflictResolution': {'ConflictResolvingModel': 'RECENCY '
                                                                               '| '
                                                                               'SOURCE',
                                                     'SourceName': 'string'},
                              'Consolidation': {'MatchingAttributesList': [['string']]},
                              'Enabled': 'boolean'},
              'ExportingConfig': {'S3Exporting': {'S3BucketName': 'string',
                                                  'S3KeyName': 'string'}},
              'JobSchedule': {'DayOfTheWeek': 'SUNDAY | MONDAY | TUESDAY | '
                                              'WEDNESDAY | THURSDAY | FRIDAY | '
                                              'SATURDAY',
                              'Time': 'string'}}}

Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key.

After a domain is created, the name can’t be changed.

Use this API or CreateDomain 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.

See also: AWS API Documentation

Request Syntax

client.update_domain(
    DomainName='string',
    DefaultExpirationDays=123,
    DefaultEncryptionKey='string',
    DeadLetterQueueUrl='string',
    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'
            }
        },
        'ExportingConfig': {
            'S3Exporting': {
                'S3BucketName': 'string',
                'S3KeyName': 'string'
            }
        }
    },
    Tags={
        'string': 'string'
    }
)
type DomainName

string

param DomainName

[REQUIRED]

The unique name of the domain.

type DefaultExpirationDays

integer

param DefaultExpirationDays

The default number of days until the data within the domain expires.

type DefaultEncryptionKey

string

param 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. If specified as an empty string, it will clear any existing value.

type DeadLetterQueueUrl

string

param DeadLetterQueueUrl

The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. If specified as an empty string, it will clear any existing value. 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.

type Matching

dict

param 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 GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest , you can download the results from S3.

  • Enabled (boolean) -- [REQUIRED]

    The flag that enables the matching process of duplicate profiles.

  • JobSchedule (dict) --

    The day and time when do you want to start the Identity Resolution Job every week.

    • DayOfTheWeek (string) -- [REQUIRED]

      The day when the Identity Resolution Job should run every week.

    • Time (string) -- [REQUIRED]

      The time when the Identity Resolution Job should run every week.

  • AutoMerging (dict) --

    Configuration information about the auto-merging process.

    • Enabled (boolean) -- [REQUIRED]

      The flag that enables the auto-merging of duplicate profiles.

    • Consolidation (dict) --

      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.

      • MatchingAttributesList (list) -- [REQUIRED]

        A list of matching criteria.

        • (list) --

          • (string) --

    • ConflictResolution (dict) --

      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?

      • ConflictResolvingModel (string) -- [REQUIRED]

        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.

      • SourceName (string) --

        The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .

  • ExportingConfig (dict) --

    Configuration information for exporting Identity Resolution results, for example, to an S3 bucket.

    • S3Exporting (dict) --

      The S3 location where Identity Resolution Jobs write result files.

      • S3BucketName (string) -- [REQUIRED]

        The name of the S3 bucket where Identity Resolution Jobs write result files.

      • S3KeyName (string) --

        The S3 key name of the location where Identity Resolution Jobs write result files.

type Tags

dict

param Tags

The tags used to organize, track, or control access for this resource.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{
    'DomainName': 'string',
    'DefaultExpirationDays': 123,
    'DefaultEncryptionKey': 'string',
    'DeadLetterQueueUrl': 'string',
    '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'
            }
        },
        'ExportingConfig': {
            'S3Exporting': {
                'S3BucketName': 'string',
                'S3KeyName': 'string'
            }
        }
    },
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • DomainName (string) --

      The unique name of the domain.

    • DefaultExpirationDays (integer) --

      The default number of days until the data within the domain expires.

    • DefaultEncryptionKey (string) --

      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 (string) --

      The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.

    • Matching (dict) --

      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.

      • Enabled (boolean) --

        The flag that enables the matching process of duplicate profiles.

      • JobSchedule (dict) --

        The day and time when do you want to start the Identity Resolution Job every week.

        • DayOfTheWeek (string) --

          The day when the Identity Resolution Job should run every week.

        • Time (string) --

          The time when the Identity Resolution Job should run every week.

      • AutoMerging (dict) --

        Configuration information about the auto-merging process.

        • Enabled (boolean) --

          The flag that enables the auto-merging of duplicate profiles.

        • Consolidation (dict) --

          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.

          • MatchingAttributesList (list) --

            A list of matching criteria.

            • (list) --

              • (string) --

        • ConflictResolution (dict) --

          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?

          • ConflictResolvingModel (string) --

            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.

          • SourceName (string) --

            The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .

      • ExportingConfig (dict) --

        Configuration information for exporting Identity Resolution results, for example, to an S3 bucket.

        • S3Exporting (dict) --

          The S3 location where Identity Resolution Jobs write result files.

          • S3BucketName (string) --

            The name of the S3 bucket where Identity Resolution Jobs write result files.

          • S3KeyName (string) --

            The S3 key name of the location where Identity Resolution Jobs write result files.

    • CreatedAt (datetime) --

      The timestamp of when the domain was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the domain was most recently edited.

    • Tags (dict) --

      The tags used to organize, track, or control access for this resource.

      • (string) --

        • (string) --