Amazon Connect Customer Profiles

2026/11/30 - Amazon Connect Customer Profiles - 5 new3 updated api methods

Changes  Amazon Connect Customer Profiles now supports PredictiveIntent, AI-powered model delivering four real-time customer intent Web Session Summary, Price Sensitivity, Upgrade,Upsell Propensity, and Last Search Intent enabling personalized customer interactions.

PutIntentDefinition (new) Link ¶

Creates or updates the intent definition for an intent domain in a domain. The intent definition specifies which Predictive Intent types are enabled. Each request replaces the full set of intent configurations, so include every intent type that you want to keep.

To add or remove tags on an existing intent definition, see TagResource/ UntagResource.

See also: AWS API Documentation

Request Syntax

client.put_intent_definition(
    DomainName='string',
    IntentDomain='DEFAULT',
    Intents=[
        {
            'PriceSensitivityConfig': {
                'Enabled': True|False
            },
            'WebSessionSummaryConfig': {
                'Enabled': True|False
            },
            'UpgradeUpsellPropensityConfig': {
                'Enabled': True|False
            },
            'LastSearchIntentConfig': {
                'Enabled': True|False
            }
        },
    ],
    Tags={
        'string': 'string'
    }
)
type DomainName:

string

param DomainName:

[REQUIRED]

The unique name of the Customer Profiles domain.

type IntentDomain:

string

param IntentDomain:

[REQUIRED]

The intent domain of the intent definition. The only supported value is DEFAULT.

type Intents:

list

param Intents:

[REQUIRED]

A list of intent configurations. Each entry configures one intent type, and each intent type can appear at most once. At least one intent type must be enabled.

  • (dict) --

    The configuration of a single intent type. Specify exactly one member.

    • PriceSensitivityConfig (dict) --

      The configuration of the PRICE_SENSITIVITY intent type.

      • Enabled (boolean) -- [REQUIRED]

        Whether the intent type is enabled.

    • WebSessionSummaryConfig (dict) --

      The configuration of the WEB_SESSION_SUMMARY intent type.

      • Enabled (boolean) -- [REQUIRED]

        Whether the intent type is enabled.

    • UpgradeUpsellPropensityConfig (dict) --

      The configuration of the UPGRADE_UPSELL_PROPENSITY intent type.

      • Enabled (boolean) -- [REQUIRED]

        Whether the intent type is enabled.

    • LastSearchIntentConfig (dict) --

      The configuration of the LAST_SEARCH_INTENT intent type.

      • Enabled (boolean) -- [REQUIRED]

        Whether the intent type is enabled.

type Tags:

dict

param Tags:

The tags used to organize, track, or control access for this resource. You can specify tags only when you create the intent definition. If you specify tags when you update an existing intent definition, the operation returns a BadRequestException.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'DomainName': 'string',
    'IntentDomain': 'DEFAULT',
    'IntentDefinitionArn': 'string',
    'Intents': [
        {
            'PriceSensitivityConfig': {
                'Enabled': True|False
            },
            'WebSessionSummaryConfig': {
                'Enabled': True|False
            },
            'UpgradeUpsellPropensityConfig': {
                'Enabled': True|False
            },
            'LastSearchIntentConfig': {
                'Enabled': True|False
            }
        },
    ],
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • DomainName (string) --

      The unique name of the Customer Profiles domain.

    • IntentDomain (string) --

      The intent domain of the intent definition.

    • IntentDefinitionArn (string) --

      The Amazon Resource Name of the intent definition.

    • Intents (list) --

      The intent configurations of the intent definition.

      • (dict) --

        The configuration of a single intent type. Specify exactly one member.

        • PriceSensitivityConfig (dict) --

          The configuration of the PRICE_SENSITIVITY intent type.

          • Enabled (boolean) --

            Whether the intent type is enabled.

        • WebSessionSummaryConfig (dict) --

          The configuration of the WEB_SESSION_SUMMARY intent type.

          • Enabled (boolean) --

            Whether the intent type is enabled.

        • UpgradeUpsellPropensityConfig (dict) --

          The configuration of the UPGRADE_UPSELL_PROPENSITY intent type.

          • Enabled (boolean) --

            Whether the intent type is enabled.

        • LastSearchIntentConfig (dict) --

          The configuration of the LAST_SEARCH_INTENT intent type.

          • Enabled (boolean) --

            Whether the intent type is enabled.

    • CreatedAt (datetime) --

      The timestamp of when the intent definition was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the intent definition was most recently updated.

    • Tags (dict) --

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

      • (string) --

        • (string) --

DeleteIntentDefinition (new) Link ¶

Deletes the intent definition for an intent domain in a domain.

See also: AWS API Documentation

Request Syntax

client.delete_intent_definition(
    DomainName='string',
    IntentDomain='DEFAULT'
)
type DomainName:

string

param DomainName:

[REQUIRED]

The unique name of the Customer Profiles domain.

type IntentDomain:

string

param IntentDomain:

[REQUIRED]

The intent domain of the intent definition. The only supported value is DEFAULT.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListIntentTypes (new) Link ¶

Returns the Predictive Intent types that you can enable in an intent definition, grouped by intent domain.

See also: AWS API Documentation

Request Syntax

client.list_intent_types(
    IntentDomain='DEFAULT',
    MaxResults=123,
    NextToken='string'
)
type IntentDomain:

string

param IntentDomain:

The intent domain to return intent types for. If you don't specify a value, intent types for all intent domains are returned.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return per page. The value must be between 10 and 100. The default value is 10.

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.

rtype:

dict

returns:

Response Syntax

{
    'Items': [
        {
            'IntentDomain': 'DEFAULT',
            'Types': [
                {
                    'IntentType': 'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT',
                    'Description': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Items (list) --

      A list of intent types, grouped by intent domain.

      • (dict) --

        The intent types that are available for an intent domain.

        • IntentDomain (string) --

          The intent domain.

        • Types (list) --

          The intent types that are available for the intent domain.

          • (dict) --

            Information about an intent type.

            • IntentType (string) --

              The intent type.

            • Description (string) --

              A description of the intent type.

    • NextToken (string) --

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

BatchGetIntentForProfile (new) Link ¶

Returns intents for a profile. Predictive Intent analyzes the recent web clickstream activity of the profile to generate the requested intents. The profile is identified using a search key, which consists of a KeyName and a KeyValues list.

The search key must match exactly one profile. If no profile matches the search key, the operation returns a ResourceNotFoundException. If more than one profile matches the search key, the operation returns a BadRequestException.

The operation supports partial success. Intents that can't be generated, for example because the intent type isn't enabled in the intent definition or the profile doesn't have enough recent activity, are returned in Errors.

See also: AWS API Documentation

Request Syntax

client.batch_get_intent_for_profile(
    DomainName='string',
    IntentDomain='DEFAULT',
    Intents=[
        'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT',
    ],
    KeyName='string',
    KeyValues=[
        'string',
    ]
)
type DomainName:

string

param DomainName:

[REQUIRED]

The unique name of the Customer Profiles domain.

type IntentDomain:

string

param IntentDomain:

[REQUIRED]

The intent domain of the intent definition. The only supported value is DEFAULT.

type Intents:

list

param Intents:

[REQUIRED]

A list of intent types to generate. Intent types that aren't enabled in the intent definition are returned in Errors with the INTENT_NOT_ENABLED error code.

  • (string) --

type KeyName:

string

param KeyName:

[REQUIRED]

A searchable identifier of a customer profile. You can use a predefined key, such as _profileId, _phone, or _email, or a custom-defined key. For more information, see Key definitions in Customer Profiles object type mappings.

type KeyValues:

list

param KeyValues:

[REQUIRED]

A list of key values. Provide one value for each field of the search key.

  • (string) --

rtype:

dict

returns:

Response Syntax

{
    'Intents': [
        {
            'IntentType': 'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT',
            'Summary': 'string',
            'Value': 'string'
        },
    ],
    'Errors': [
        {
            'IntentType': 'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT',
            'Code': 'INSUFFICIENT_DATA'|'INTENT_NOT_ENABLED'|'INTERNAL_SERVER_ERROR',
            'Message': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • Intents (list) --

      A list of the intents that were generated. The list is empty if no intent could be generated.

      • (dict) --

        An intent generated for a profile.

        • IntentType (string) --

          The intent type.

        • Summary (string) --

          A natural language summary of the intent. This is returned for the WEB_SESSION_SUMMARY and LAST_SEARCH_INTENT intent types.

        • Value (string) --

          The classification of the intent, such as HIGH or LOW. This is returned for the PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY intent types.

    • Errors (list) --

      A list of errors for the requested intent types that couldn't be generated. The list is empty if every requested intent was generated.

      • (dict) --

        An error for an intent type that couldn't be generated.

        • IntentType (string) --

          The intent type that couldn't be generated.

        • Code (string) --

          The error code that describes why the intent couldn't be generated.

        • Message (string) --

          A message that describes the error.

GetIntentDefinition (new) Link ¶

Returns the intent definition for an intent domain in a domain.

See also: AWS API Documentation

Request Syntax

client.get_intent_definition(
    DomainName='string',
    IntentDomain='DEFAULT'
)
type DomainName:

string

param DomainName:

[REQUIRED]

The unique name of the Customer Profiles domain.

type IntentDomain:

string

param IntentDomain:

[REQUIRED]

The intent domain of the intent definition. The only supported value is DEFAULT.

rtype:

dict

returns:

Response Syntax

{
    'DomainName': 'string',
    'IntentDomain': 'DEFAULT',
    'Intents': [
        {
            'PriceSensitivityConfig': {
                'Enabled': True|False
            },
            'WebSessionSummaryConfig': {
                'Enabled': True|False
            },
            'UpgradeUpsellPropensityConfig': {
                'Enabled': True|False
            },
            'LastSearchIntentConfig': {
                'Enabled': True|False
            }
        },
    ],
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • DomainName (string) --

      The unique name of the Customer Profiles domain.

    • IntentDomain (string) --

      The intent domain of the intent definition.

    • Intents (list) --

      The intent configurations of the intent definition.

      • (dict) --

        The configuration of a single intent type. Specify exactly one member.

        • PriceSensitivityConfig (dict) --

          The configuration of the PRICE_SENSITIVITY intent type.

          • Enabled (boolean) --

            Whether the intent type is enabled.

        • WebSessionSummaryConfig (dict) --

          The configuration of the WEB_SESSION_SUMMARY intent type.

          • Enabled (boolean) --

            Whether the intent type is enabled.

        • UpgradeUpsellPropensityConfig (dict) --

          The configuration of the UPGRADE_UPSELL_PROPENSITY intent type.

          • Enabled (boolean) --

            Whether the intent type is enabled.

        • LastSearchIntentConfig (dict) --

          The configuration of the LAST_SEARCH_INTENT intent type.

          • Enabled (boolean) --

            Whether the intent type is enabled.

    • CreatedAt (datetime) --

      The timestamp of when the intent definition was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the intent definition was most recently updated.

CreateEventTrigger (updated) Link ¶
Changes (both)
{'IntentFilterDefinition': {'Groups': [{'Conditions': [{'ComparisonOperator': 'INCLUSIVE '
                                                                              '| '
                                                                              'EXCLUSIVE '
                                                                              '| '
                                                                              'CONTAINS '
                                                                              '| '
                                                                              'GREATER_THAN '
                                                                              '| '
                                                                              'LESS_THAN '
                                                                              '| '
                                                                              'GREATER_THAN_OR_EQUAL '
                                                                              '| '
                                                                              'LESS_THAN_OR_EQUAL '
                                                                              '| '
                                                                              'EQUAL',
                                                        'Intent': {'IntentDomain': 'DEFAULT',
                                                                   'Type': 'PRICE_SENSITIVITY '
                                                                           '| '
                                                                           'WEB_SESSION_SUMMARY '
                                                                           '| '
                                                                           'UPGRADE_UPSELL_PROPENSITY '
                                                                           '| '
                                                                           'LAST_SEARCH_INTENT'},
                                                        'Values': ['string']}],
                                        'LogicalOperator': 'ANY | ALL | NONE'}],
                            'LogicalOperator': 'ANY | ALL | NONE'}}

Creates an event trigger, which specifies the rules when to perform action based on customer's ingested data.

Each event stream can be associated with only one integration in the same region and AWS account as the event stream.

See also: AWS API Documentation

Request Syntax

client.create_event_trigger(
    DomainName='string',
    EventTriggerName='string',
    ObjectTypeName='string',
    Description='string',
    EventTriggerConditions=[
        {
            'EventTriggerDimensions': [
                {
                    'ObjectAttributes': [
                        {
                            'Source': 'string',
                            'FieldName': 'string',
                            'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'BEGINS_WITH'|'ENDS_WITH'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL'|'BEFORE'|'AFTER'|'ON'|'BETWEEN'|'NOT_BETWEEN',
                            'Values': [
                                'string',
                            ]
                        },
                    ]
                },
            ],
            'LogicalOperator': 'ANY'|'ALL'|'NONE'
        },
    ],
    SegmentFilter='string',
    IntentFilterDefinition={
        'Groups': [
            {
                'Conditions': [
                    {
                        'Intent': {
                            'IntentDomain': 'DEFAULT',
                            'Type': 'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT'
                        },
                        'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL',
                        'Values': [
                            'string',
                        ]
                    },
                ],
                'LogicalOperator': 'ANY'|'ALL'|'NONE'
            },
        ],
        'LogicalOperator': 'ANY'|'ALL'|'NONE'
    },
    EventTriggerLimits={
        'EventExpiration': 123,
        'Periods': [
            {
                'Unit': 'MINUTES'|'HOURS'|'DAYS'|'WEEKS'|'MONTHS',
                'Value': 123,
                'MaxInvocationsPerProfile': 123,
                'Unlimited': True|False
            },
        ]
    },
    Tags={
        'string': 'string'
    }
)
type DomainName:

string

param DomainName:

[REQUIRED]

The unique name of the domain.

type EventTriggerName:

string

param EventTriggerName:

[REQUIRED]

The unique name of the event trigger.

type ObjectTypeName:

string

param ObjectTypeName:

[REQUIRED]

The unique name of the object type.

type Description:

string

param Description:

The description of the event trigger.

type EventTriggerConditions:

list

param EventTriggerConditions:

[REQUIRED]

A list of conditions that determine when an event should trigger the destination.

  • (dict) --

    Specifies the circumstances under which the event should trigger the destination.

    • EventTriggerDimensions (list) -- [REQUIRED]

      A list of dimensions to be evaluated for the event.

      • (dict) --

        A specific event dimension to be assessed.

        • ObjectAttributes (list) -- [REQUIRED]

          A list of object attributes to be evaluated.

          • (dict) --

            The criteria that a specific object attribute must meet to trigger the destination.

            • Source (string) --

              An attribute contained within a source object.

            • FieldName (string) --

              A field defined within an object type.

            • ComparisonOperator (string) -- [REQUIRED]

              The operator used to compare an attribute against a list of values.

            • Values (list) -- [REQUIRED]

              A list of attribute values used for comparison.

              • (string) --

    • LogicalOperator (string) -- [REQUIRED]

      The operator used to combine multiple dimensions.

type SegmentFilter:

string

param SegmentFilter:

The destination is triggered only for profiles that meet the criteria of a segment definition.

type IntentFilterDefinition:

dict

param IntentFilterDefinition:

Defines a filter on the intents of a profile. When set, the destination is triggered only if the event trigger conditions are met and the profile's intents also meet this filter. The intent types used in the filter must be enabled in the intent definition of the domain.

  • Groups (list) -- [REQUIRED]

    A list of groups of intent conditions. Only one group is supported.

    • (dict) --

      A group of intent conditions that are combined using a logical operator.

      • Conditions (list) -- [REQUIRED]

        A list of intent conditions. You can specify up to 5 conditions, and each intent type can appear at most once in a group.

        • (dict) --

          A condition that an intent of a profile must meet.

          • Intent (dict) -- [REQUIRED]

            The intent to evaluate.

            • IntentDomain (string) -- [REQUIRED]

              The intent domain of the intent. The only supported value is DEFAULT.

            • Type (string) -- [REQUIRED]

              The intent type. You can use PRICE_SENSITIVITY, UPGRADE_UPSELL_PROPENSITY, or LAST_SEARCH_INTENT. WEB_SESSION_SUMMARY can't be used in an intent filter.

          • ComparisonOperator (string) -- [REQUIRED]

            The operator used to compare the intent against the values. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, use INCLUSIVE, EXCLUSIVE, EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, or LESS_THAN_OR_EQUAL. For LAST_SEARCH_INTENT, use CONTAINS.

          • Values (list) -- [REQUIRED]

            A list of values used for comparison. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, specify exactly one value, HIGH or LOW. For LAST_SEARCH_INTENT, specify up to 10 search phrases. The condition is met if the last search intent of the profile contains any of the phrases.

            • (string) --

      • LogicalOperator (string) -- [REQUIRED]

        The operator used to combine the conditions in the group.

  • LogicalOperator (string) -- [REQUIRED]

    The operator used to combine the groups.

type EventTriggerLimits:

dict

param EventTriggerLimits:

Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.

  • EventExpiration (integer) --

    In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.

  • Periods (list) --

    A list of time periods during which the limits apply.

    • (dict) --

      Defines a limit and the time period during which it is enforced.

      • Unit (string) -- [REQUIRED]

        The unit of time.

      • Value (integer) -- [REQUIRED]

        The amount of time of the specified unit.

      • MaxInvocationsPerProfile (integer) --

        The maximum allowed number of destination invocations per profile.

      • Unlimited (boolean) --

        If set to true, there is no limit on the number of destination invocations per profile. The default is false.

type Tags:

dict

param Tags:

An array of key-value pairs to apply to this resource.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'EventTriggerName': 'string',
    'ObjectTypeName': 'string',
    'Description': 'string',
    'EventTriggerConditions': [
        {
            'EventTriggerDimensions': [
                {
                    'ObjectAttributes': [
                        {
                            'Source': 'string',
                            'FieldName': 'string',
                            'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'BEGINS_WITH'|'ENDS_WITH'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL'|'BEFORE'|'AFTER'|'ON'|'BETWEEN'|'NOT_BETWEEN',
                            'Values': [
                                'string',
                            ]
                        },
                    ]
                },
            ],
            'LogicalOperator': 'ANY'|'ALL'|'NONE'
        },
    ],
    'SegmentFilter': 'string',
    'IntentFilterDefinition': {
        'Groups': [
            {
                'Conditions': [
                    {
                        'Intent': {
                            'IntentDomain': 'DEFAULT',
                            'Type': 'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT'
                        },
                        'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL',
                        'Values': [
                            'string',
                        ]
                    },
                ],
                'LogicalOperator': 'ANY'|'ALL'|'NONE'
            },
        ],
        'LogicalOperator': 'ANY'|'ALL'|'NONE'
    },
    'EventTriggerLimits': {
        'EventExpiration': 123,
        'Periods': [
            {
                'Unit': 'MINUTES'|'HOURS'|'DAYS'|'WEEKS'|'MONTHS',
                'Value': 123,
                'MaxInvocationsPerProfile': 123,
                'Unlimited': True|False
            },
        ]
    },
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • EventTriggerName (string) --

      The unique name of the event trigger.

    • ObjectTypeName (string) --

      The unique name of the object type.

    • Description (string) --

      The description of the event trigger.

    • EventTriggerConditions (list) --

      A list of conditions that determine when an event should trigger the destination.

      • (dict) --

        Specifies the circumstances under which the event should trigger the destination.

        • EventTriggerDimensions (list) --

          A list of dimensions to be evaluated for the event.

          • (dict) --

            A specific event dimension to be assessed.

            • ObjectAttributes (list) --

              A list of object attributes to be evaluated.

              • (dict) --

                The criteria that a specific object attribute must meet to trigger the destination.

                • Source (string) --

                  An attribute contained within a source object.

                • FieldName (string) --

                  A field defined within an object type.

                • ComparisonOperator (string) --

                  The operator used to compare an attribute against a list of values.

                • Values (list) --

                  A list of attribute values used for comparison.

                  • (string) --

        • LogicalOperator (string) --

          The operator used to combine multiple dimensions.

    • SegmentFilter (string) --

      The destination is triggered only for profiles that meet the criteria of a segment definition.

    • IntentFilterDefinition (dict) --

      The filter on the intents of a profile. The destination is triggered only for profiles whose intents meet this filter.

      • Groups (list) --

        A list of groups of intent conditions. Only one group is supported.

        • (dict) --

          A group of intent conditions that are combined using a logical operator.

          • Conditions (list) --

            A list of intent conditions. You can specify up to 5 conditions, and each intent type can appear at most once in a group.

            • (dict) --

              A condition that an intent of a profile must meet.

              • Intent (dict) --

                The intent to evaluate.

                • IntentDomain (string) --

                  The intent domain of the intent. The only supported value is DEFAULT.

                • Type (string) --

                  The intent type. You can use PRICE_SENSITIVITY, UPGRADE_UPSELL_PROPENSITY, or LAST_SEARCH_INTENT. WEB_SESSION_SUMMARY can't be used in an intent filter.

              • ComparisonOperator (string) --

                The operator used to compare the intent against the values. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, use INCLUSIVE, EXCLUSIVE, EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, or LESS_THAN_OR_EQUAL. For LAST_SEARCH_INTENT, use CONTAINS.

              • Values (list) --

                A list of values used for comparison. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, specify exactly one value, HIGH or LOW. For LAST_SEARCH_INTENT, specify up to 10 search phrases. The condition is met if the last search intent of the profile contains any of the phrases.

                • (string) --

          • LogicalOperator (string) --

            The operator used to combine the conditions in the group.

      • LogicalOperator (string) --

        The operator used to combine the groups.

    • EventTriggerLimits (dict) --

      Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.

      • EventExpiration (integer) --

        In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.

      • Periods (list) --

        A list of time periods during which the limits apply.

        • (dict) --

          Defines a limit and the time period during which it is enforced.

          • Unit (string) --

            The unit of time.

          • Value (integer) --

            The amount of time of the specified unit.

          • MaxInvocationsPerProfile (integer) --

            The maximum allowed number of destination invocations per profile.

          • Unlimited (boolean) --

            If set to true, there is no limit on the number of destination invocations per profile. The default is false.

    • CreatedAt (datetime) --

      The timestamp of when the event trigger was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the event trigger was most recently updated.

    • Tags (dict) --

      An array of key-value pairs to apply to this resource.

      • (string) --

        • (string) --

GetEventTrigger (updated) Link ¶
Changes (response)
{'IntentFilterDefinition': {'Groups': [{'Conditions': [{'ComparisonOperator': 'INCLUSIVE '
                                                                              '| '
                                                                              'EXCLUSIVE '
                                                                              '| '
                                                                              'CONTAINS '
                                                                              '| '
                                                                              'GREATER_THAN '
                                                                              '| '
                                                                              'LESS_THAN '
                                                                              '| '
                                                                              'GREATER_THAN_OR_EQUAL '
                                                                              '| '
                                                                              'LESS_THAN_OR_EQUAL '
                                                                              '| '
                                                                              'EQUAL',
                                                        'Intent': {'IntentDomain': 'DEFAULT',
                                                                   'Type': 'PRICE_SENSITIVITY '
                                                                           '| '
                                                                           'WEB_SESSION_SUMMARY '
                                                                           '| '
                                                                           'UPGRADE_UPSELL_PROPENSITY '
                                                                           '| '
                                                                           'LAST_SEARCH_INTENT'},
                                                        'Values': ['string']}],
                                        'LogicalOperator': 'ANY | ALL | NONE'}],
                            'LogicalOperator': 'ANY | ALL | NONE'}}

Get a specific Event Trigger from the domain.

See also: AWS API Documentation

Request Syntax

client.get_event_trigger(
    DomainName='string',
    EventTriggerName='string'
)
type DomainName:

string

param DomainName:

[REQUIRED]

The unique name of the domain.

type EventTriggerName:

string

param EventTriggerName:

[REQUIRED]

The unique name of the event trigger.

rtype:

dict

returns:

Response Syntax

{
    'EventTriggerName': 'string',
    'ObjectTypeName': 'string',
    'Description': 'string',
    'EventTriggerConditions': [
        {
            'EventTriggerDimensions': [
                {
                    'ObjectAttributes': [
                        {
                            'Source': 'string',
                            'FieldName': 'string',
                            'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'BEGINS_WITH'|'ENDS_WITH'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL'|'BEFORE'|'AFTER'|'ON'|'BETWEEN'|'NOT_BETWEEN',
                            'Values': [
                                'string',
                            ]
                        },
                    ]
                },
            ],
            'LogicalOperator': 'ANY'|'ALL'|'NONE'
        },
    ],
    'SegmentFilter': 'string',
    'IntentFilterDefinition': {
        'Groups': [
            {
                'Conditions': [
                    {
                        'Intent': {
                            'IntentDomain': 'DEFAULT',
                            'Type': 'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT'
                        },
                        'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL',
                        'Values': [
                            'string',
                        ]
                    },
                ],
                'LogicalOperator': 'ANY'|'ALL'|'NONE'
            },
        ],
        'LogicalOperator': 'ANY'|'ALL'|'NONE'
    },
    'EventTriggerLimits': {
        'EventExpiration': 123,
        'Periods': [
            {
                'Unit': 'MINUTES'|'HOURS'|'DAYS'|'WEEKS'|'MONTHS',
                'Value': 123,
                'MaxInvocationsPerProfile': 123,
                'Unlimited': True|False
            },
        ]
    },
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • EventTriggerName (string) --

      The unique name of the event trigger.

    • ObjectTypeName (string) --

      The unique name of the object type.

    • Description (string) --

      The description of the event trigger.

    • EventTriggerConditions (list) --

      A list of conditions that determine when an event should trigger the destination.

      • (dict) --

        Specifies the circumstances under which the event should trigger the destination.

        • EventTriggerDimensions (list) --

          A list of dimensions to be evaluated for the event.

          • (dict) --

            A specific event dimension to be assessed.

            • ObjectAttributes (list) --

              A list of object attributes to be evaluated.

              • (dict) --

                The criteria that a specific object attribute must meet to trigger the destination.

                • Source (string) --

                  An attribute contained within a source object.

                • FieldName (string) --

                  A field defined within an object type.

                • ComparisonOperator (string) --

                  The operator used to compare an attribute against a list of values.

                • Values (list) --

                  A list of attribute values used for comparison.

                  • (string) --

        • LogicalOperator (string) --

          The operator used to combine multiple dimensions.

    • SegmentFilter (string) --

      The destination is triggered only for profiles that meet the criteria of a segment definition.

    • IntentFilterDefinition (dict) --

      The filter on the intents of a profile. The destination is triggered only for profiles whose intents meet this filter.

      • Groups (list) --

        A list of groups of intent conditions. Only one group is supported.

        • (dict) --

          A group of intent conditions that are combined using a logical operator.

          • Conditions (list) --

            A list of intent conditions. You can specify up to 5 conditions, and each intent type can appear at most once in a group.

            • (dict) --

              A condition that an intent of a profile must meet.

              • Intent (dict) --

                The intent to evaluate.

                • IntentDomain (string) --

                  The intent domain of the intent. The only supported value is DEFAULT.

                • Type (string) --

                  The intent type. You can use PRICE_SENSITIVITY, UPGRADE_UPSELL_PROPENSITY, or LAST_SEARCH_INTENT. WEB_SESSION_SUMMARY can't be used in an intent filter.

              • ComparisonOperator (string) --

                The operator used to compare the intent against the values. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, use INCLUSIVE, EXCLUSIVE, EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, or LESS_THAN_OR_EQUAL. For LAST_SEARCH_INTENT, use CONTAINS.

              • Values (list) --

                A list of values used for comparison. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, specify exactly one value, HIGH or LOW. For LAST_SEARCH_INTENT, specify up to 10 search phrases. The condition is met if the last search intent of the profile contains any of the phrases.

                • (string) --

          • LogicalOperator (string) --

            The operator used to combine the conditions in the group.

      • LogicalOperator (string) --

        The operator used to combine the groups.

    • EventTriggerLimits (dict) --

      Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.

      • EventExpiration (integer) --

        In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.

      • Periods (list) --

        A list of time periods during which the limits apply.

        • (dict) --

          Defines a limit and the time period during which it is enforced.

          • Unit (string) --

            The unit of time.

          • Value (integer) --

            The amount of time of the specified unit.

          • MaxInvocationsPerProfile (integer) --

            The maximum allowed number of destination invocations per profile.

          • Unlimited (boolean) --

            If set to true, there is no limit on the number of destination invocations per profile. The default is false.

    • CreatedAt (datetime) --

      The timestamp of when the event trigger was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the event trigger was most recently updated.

    • Tags (dict) --

      An array of key-value pairs to apply to this resource.

      • (string) --

        • (string) --

UpdateEventTrigger (updated) Link ¶
Changes (both)
{'IntentFilterDefinition': {'Groups': [{'Conditions': [{'ComparisonOperator': 'INCLUSIVE '
                                                                              '| '
                                                                              'EXCLUSIVE '
                                                                              '| '
                                                                              'CONTAINS '
                                                                              '| '
                                                                              'GREATER_THAN '
                                                                              '| '
                                                                              'LESS_THAN '
                                                                              '| '
                                                                              'GREATER_THAN_OR_EQUAL '
                                                                              '| '
                                                                              'LESS_THAN_OR_EQUAL '
                                                                              '| '
                                                                              'EQUAL',
                                                        'Intent': {'IntentDomain': 'DEFAULT',
                                                                   'Type': 'PRICE_SENSITIVITY '
                                                                           '| '
                                                                           'WEB_SESSION_SUMMARY '
                                                                           '| '
                                                                           'UPGRADE_UPSELL_PROPENSITY '
                                                                           '| '
                                                                           'LAST_SEARCH_INTENT'},
                                                        'Values': ['string']}],
                                        'LogicalOperator': 'ANY | ALL | NONE'}],
                            'LogicalOperator': 'ANY | ALL | NONE'}}

Update the properties of an Event Trigger.

See also: AWS API Documentation

Request Syntax

client.update_event_trigger(
    DomainName='string',
    EventTriggerName='string',
    ObjectTypeName='string',
    Description='string',
    EventTriggerConditions=[
        {
            'EventTriggerDimensions': [
                {
                    'ObjectAttributes': [
                        {
                            'Source': 'string',
                            'FieldName': 'string',
                            'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'BEGINS_WITH'|'ENDS_WITH'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL'|'BEFORE'|'AFTER'|'ON'|'BETWEEN'|'NOT_BETWEEN',
                            'Values': [
                                'string',
                            ]
                        },
                    ]
                },
            ],
            'LogicalOperator': 'ANY'|'ALL'|'NONE'
        },
    ],
    SegmentFilter='string',
    IntentFilterDefinition={
        'Groups': [
            {
                'Conditions': [
                    {
                        'Intent': {
                            'IntentDomain': 'DEFAULT',
                            'Type': 'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT'
                        },
                        'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL',
                        'Values': [
                            'string',
                        ]
                    },
                ],
                'LogicalOperator': 'ANY'|'ALL'|'NONE'
            },
        ],
        'LogicalOperator': 'ANY'|'ALL'|'NONE'
    },
    EventTriggerLimits={
        'EventExpiration': 123,
        'Periods': [
            {
                'Unit': 'MINUTES'|'HOURS'|'DAYS'|'WEEKS'|'MONTHS',
                'Value': 123,
                'MaxInvocationsPerProfile': 123,
                'Unlimited': True|False
            },
        ]
    }
)
type DomainName:

string

param DomainName:

[REQUIRED]

The unique name of the domain.

type EventTriggerName:

string

param EventTriggerName:

[REQUIRED]

The unique name of the event trigger.

type ObjectTypeName:

string

param ObjectTypeName:

The unique name of the object type.

type Description:

string

param Description:

The description of the event trigger.

type EventTriggerConditions:

list

param EventTriggerConditions:

A list of conditions that determine when an event should trigger the destination.

  • (dict) --

    Specifies the circumstances under which the event should trigger the destination.

    • EventTriggerDimensions (list) -- [REQUIRED]

      A list of dimensions to be evaluated for the event.

      • (dict) --

        A specific event dimension to be assessed.

        • ObjectAttributes (list) -- [REQUIRED]

          A list of object attributes to be evaluated.

          • (dict) --

            The criteria that a specific object attribute must meet to trigger the destination.

            • Source (string) --

              An attribute contained within a source object.

            • FieldName (string) --

              A field defined within an object type.

            • ComparisonOperator (string) -- [REQUIRED]

              The operator used to compare an attribute against a list of values.

            • Values (list) -- [REQUIRED]

              A list of attribute values used for comparison.

              • (string) --

    • LogicalOperator (string) -- [REQUIRED]

      The operator used to combine multiple dimensions.

type SegmentFilter:

string

param SegmentFilter:

The destination is triggered only for profiles that meet the criteria of a segment definition.

type IntentFilterDefinition:

dict

param IntentFilterDefinition:

Defines a filter on the intents of a profile. When set, the destination is triggered only if the event trigger conditions are met and the profile's intents also meet this filter. The intent types used in the filter must be enabled in the intent definition of the domain.

  • Groups (list) -- [REQUIRED]

    A list of groups of intent conditions. Only one group is supported.

    • (dict) --

      A group of intent conditions that are combined using a logical operator.

      • Conditions (list) -- [REQUIRED]

        A list of intent conditions. You can specify up to 5 conditions, and each intent type can appear at most once in a group.

        • (dict) --

          A condition that an intent of a profile must meet.

          • Intent (dict) -- [REQUIRED]

            The intent to evaluate.

            • IntentDomain (string) -- [REQUIRED]

              The intent domain of the intent. The only supported value is DEFAULT.

            • Type (string) -- [REQUIRED]

              The intent type. You can use PRICE_SENSITIVITY, UPGRADE_UPSELL_PROPENSITY, or LAST_SEARCH_INTENT. WEB_SESSION_SUMMARY can't be used in an intent filter.

          • ComparisonOperator (string) -- [REQUIRED]

            The operator used to compare the intent against the values. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, use INCLUSIVE, EXCLUSIVE, EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, or LESS_THAN_OR_EQUAL. For LAST_SEARCH_INTENT, use CONTAINS.

          • Values (list) -- [REQUIRED]

            A list of values used for comparison. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, specify exactly one value, HIGH or LOW. For LAST_SEARCH_INTENT, specify up to 10 search phrases. The condition is met if the last search intent of the profile contains any of the phrases.

            • (string) --

      • LogicalOperator (string) -- [REQUIRED]

        The operator used to combine the conditions in the group.

  • LogicalOperator (string) -- [REQUIRED]

    The operator used to combine the groups.

type EventTriggerLimits:

dict

param EventTriggerLimits:

Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.

  • EventExpiration (integer) --

    In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.

  • Periods (list) --

    A list of time periods during which the limits apply.

    • (dict) --

      Defines a limit and the time period during which it is enforced.

      • Unit (string) -- [REQUIRED]

        The unit of time.

      • Value (integer) -- [REQUIRED]

        The amount of time of the specified unit.

      • MaxInvocationsPerProfile (integer) --

        The maximum allowed number of destination invocations per profile.

      • Unlimited (boolean) --

        If set to true, there is no limit on the number of destination invocations per profile. The default is false.

rtype:

dict

returns:

Response Syntax

{
    'EventTriggerName': 'string',
    'ObjectTypeName': 'string',
    'Description': 'string',
    'EventTriggerConditions': [
        {
            'EventTriggerDimensions': [
                {
                    'ObjectAttributes': [
                        {
                            'Source': 'string',
                            'FieldName': 'string',
                            'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'BEGINS_WITH'|'ENDS_WITH'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL'|'BEFORE'|'AFTER'|'ON'|'BETWEEN'|'NOT_BETWEEN',
                            'Values': [
                                'string',
                            ]
                        },
                    ]
                },
            ],
            'LogicalOperator': 'ANY'|'ALL'|'NONE'
        },
    ],
    'SegmentFilter': 'string',
    'IntentFilterDefinition': {
        'Groups': [
            {
                'Conditions': [
                    {
                        'Intent': {
                            'IntentDomain': 'DEFAULT',
                            'Type': 'PRICE_SENSITIVITY'|'WEB_SESSION_SUMMARY'|'UPGRADE_UPSELL_PROPENSITY'|'LAST_SEARCH_INTENT'
                        },
                        'ComparisonOperator': 'INCLUSIVE'|'EXCLUSIVE'|'CONTAINS'|'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL'|'LESS_THAN_OR_EQUAL'|'EQUAL',
                        'Values': [
                            'string',
                        ]
                    },
                ],
                'LogicalOperator': 'ANY'|'ALL'|'NONE'
            },
        ],
        'LogicalOperator': 'ANY'|'ALL'|'NONE'
    },
    'EventTriggerLimits': {
        'EventExpiration': 123,
        'Periods': [
            {
                'Unit': 'MINUTES'|'HOURS'|'DAYS'|'WEEKS'|'MONTHS',
                'Value': 123,
                'MaxInvocationsPerProfile': 123,
                'Unlimited': True|False
            },
        ]
    },
    'CreatedAt': datetime(2015, 1, 1),
    'LastUpdatedAt': datetime(2015, 1, 1),
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • EventTriggerName (string) --

      The unique name of the event trigger.

    • ObjectTypeName (string) --

      The unique name of the object type.

    • Description (string) --

      The description of the event trigger.

    • EventTriggerConditions (list) --

      A list of conditions that determine when an event should trigger the destination.

      • (dict) --

        Specifies the circumstances under which the event should trigger the destination.

        • EventTriggerDimensions (list) --

          A list of dimensions to be evaluated for the event.

          • (dict) --

            A specific event dimension to be assessed.

            • ObjectAttributes (list) --

              A list of object attributes to be evaluated.

              • (dict) --

                The criteria that a specific object attribute must meet to trigger the destination.

                • Source (string) --

                  An attribute contained within a source object.

                • FieldName (string) --

                  A field defined within an object type.

                • ComparisonOperator (string) --

                  The operator used to compare an attribute against a list of values.

                • Values (list) --

                  A list of attribute values used for comparison.

                  • (string) --

        • LogicalOperator (string) --

          The operator used to combine multiple dimensions.

    • SegmentFilter (string) --

      The destination is triggered only for profiles that meet the criteria of a segment definition.

    • IntentFilterDefinition (dict) --

      The filter on the intents of a profile. The destination is triggered only for profiles whose intents meet this filter.

      • Groups (list) --

        A list of groups of intent conditions. Only one group is supported.

        • (dict) --

          A group of intent conditions that are combined using a logical operator.

          • Conditions (list) --

            A list of intent conditions. You can specify up to 5 conditions, and each intent type can appear at most once in a group.

            • (dict) --

              A condition that an intent of a profile must meet.

              • Intent (dict) --

                The intent to evaluate.

                • IntentDomain (string) --

                  The intent domain of the intent. The only supported value is DEFAULT.

                • Type (string) --

                  The intent type. You can use PRICE_SENSITIVITY, UPGRADE_UPSELL_PROPENSITY, or LAST_SEARCH_INTENT. WEB_SESSION_SUMMARY can't be used in an intent filter.

              • ComparisonOperator (string) --

                The operator used to compare the intent against the values. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, use INCLUSIVE, EXCLUSIVE, EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, or LESS_THAN_OR_EQUAL. For LAST_SEARCH_INTENT, use CONTAINS.

              • Values (list) --

                A list of values used for comparison. For PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY, specify exactly one value, HIGH or LOW. For LAST_SEARCH_INTENT, specify up to 10 search phrases. The condition is met if the last search intent of the profile contains any of the phrases.

                • (string) --

          • LogicalOperator (string) --

            The operator used to combine the conditions in the group.

      • LogicalOperator (string) --

        The operator used to combine the groups.

    • EventTriggerLimits (dict) --

      Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.

      • EventExpiration (integer) --

        In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.

      • Periods (list) --

        A list of time periods during which the limits apply.

        • (dict) --

          Defines a limit and the time period during which it is enforced.

          • Unit (string) --

            The unit of time.

          • Value (integer) --

            The amount of time of the specified unit.

          • MaxInvocationsPerProfile (integer) --

            The maximum allowed number of destination invocations per profile.

          • Unlimited (boolean) --

            If set to true, there is no limit on the number of destination invocations per profile. The default is false.

    • CreatedAt (datetime) --

      The timestamp of when the event trigger was created.

    • LastUpdatedAt (datetime) --

      The timestamp of when the event trigger was most recently updated.

    • Tags (dict) --

      An array of key-value pairs to apply to this resource.

      • (string) --

        • (string) --