Amazon Q Connect

2026/11/30 - Amazon Q Connect - 6 updated api methods

Changes  Adding support for Context reuse

CreateAIAgent (updated) Link ΒΆ
Changes (request, response)
Request
{'configuration': {'orchestrationAIAgentConfiguration': {'contextConfiguration': {'entries': [{'dataConfiguration': {'contextFulfillmentConfiguration': {'dataRequestFulfillmentConfiguration': {'dataRequestType': 'CUSTOMER_PROFILE '
                                                                                                                                                                                                                    '| '
                                                                                                                                                                                                                    'CASES '
                                                                                                                                                                                                                    '| '
                                                                                                                                                                                                                    'EMAIL '
                                                                                                                                                                                                                    '| '
                                                                                                                                                                                                                    'TASK',
                                                                                                                                                                                                 'maxSingleContextCharacters': 'integer'}},
                                                                                                                     'contextFulfillmentTiming': 'SESSION_INITIALIZATION '
                                                                                                                                                 '| '
                                                                                                                                                 'BEFORE_EACH_TURN'},
                                                                                               'destinationConfiguration': {'destination': {'contextData': {'key': 'string'}},
                                                                                                                            'destinationType': 'CONTEXT_DATA'}}],
                                                                                  'maxMergedContextCharacters': 'integer'}}}}
Response
{'aiAgent': {'configuration': {'orchestrationAIAgentConfiguration': {'contextConfiguration': {'entries': [{'dataConfiguration': {'contextFulfillmentConfiguration': {'dataRequestFulfillmentConfiguration': {'dataRequestType': 'CUSTOMER_PROFILE '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'CASES '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'EMAIL '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'TASK',
                                                                                                                                                                                                             'maxSingleContextCharacters': 'integer'}},
                                                                                                                                 'contextFulfillmentTiming': 'SESSION_INITIALIZATION '
                                                                                                                                                             '| '
                                                                                                                                                             'BEFORE_EACH_TURN'},
                                                                                                           'destinationConfiguration': {'destination': {'contextData': {'key': 'string'}},
                                                                                                                                        'destinationType': 'CONTEXT_DATA'}}],
                                                                                              'maxMergedContextCharacters': 'integer'}}}}}

Creates an Amazon Q in Connect AI Agent.

See also: AWS API Documentation

Request Syntax

client.create_ai_agent(
    clientToken='string',
    assistantId='string',
    name='string',
    type='MANUAL_SEARCH'|'ANSWER_RECOMMENDATION'|'SELF_SERVICE'|'EMAIL_RESPONSE'|'EMAIL_OVERVIEW'|'EMAIL_GENERATIVE_ANSWER'|'ORCHESTRATION'|'NOTE_TAKING'|'CASE_SUMMARIZATION',
    configuration={
        'manualSearchAIAgentConfiguration': {
            'answerGenerationAIPromptId': 'string',
            'answerGenerationAIGuardrailId': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ],
            'locale': 'string'
        },
        'answerRecommendationAIAgentConfiguration': {
            'intentLabelingGenerationAIPromptId': 'string',
            'queryReformulationAIPromptId': 'string',
            'answerGenerationAIPromptId': 'string',
            'answerGenerationAIGuardrailId': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ],
            'locale': 'string',
            'suggestedMessages': [
                'string',
            ]
        },
        'selfServiceAIAgentConfiguration': {
            'selfServicePreProcessingAIPromptId': 'string',
            'selfServiceAnswerGenerationAIPromptId': 'string',
            'selfServiceAIGuardrailId': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ]
        },
        'emailResponseAIAgentConfiguration': {
            'emailResponseAIPromptId': 'string',
            'emailQueryReformulationAIPromptId': 'string',
            'locale': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ]
        },
        'emailOverviewAIAgentConfiguration': {
            'emailOverviewAIPromptId': 'string',
            'locale': 'string'
        },
        'emailGenerativeAnswerAIAgentConfiguration': {
            'emailGenerativeAnswerAIPromptId': 'string',
            'emailQueryReformulationAIPromptId': 'string',
            'locale': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ]
        },
        'orchestrationAIAgentConfiguration': {
            'orchestrationAIPromptId': 'string',
            'orchestrationAIGuardrailId': 'string',
            'toolConfigurations': [
                {
                    'toolName': 'string',
                    'toolType': 'MODEL_CONTEXT_PROTOCOL'|'RETURN_TO_CONTROL'|'CONSTANT',
                    'title': 'string',
                    'toolId': 'string',
                    'description': 'string',
                    'instruction': {
                        'instruction': 'string',
                        'examples': [
                            'string',
                        ]
                    },
                    'overrideInputValues': [
                        {
                            'jsonPath': 'string',
                            'value': {
                                'constant': {
                                    'type': 'STRING'|'NUMBER'|'JSON_STRING',
                                    'value': 'string'
                                }
                            }
                        },
                    ],
                    'outputFilters': [
                        {
                            'jsonPath': 'string',
                            'outputConfiguration': {
                                'outputVariableNameOverride': 'string',
                                'sessionDataNamespace': 'string'
                            }
                        },
                    ],
                    'inputSchema': {...}|[...]|123|123.4|'string'|True|None,
                    'outputSchema': {...}|[...]|123|123.4|'string'|True|None,
                    'annotations': {
                        'title': 'string',
                        'destructiveHint': True|False
                    },
                    'userInteractionConfiguration': {
                        'isUserConfirmationRequired': True|False
                    }
                },
            ],
            'contextConfiguration': {
                'entries': [
                    {
                        'destinationConfiguration': {
                            'destinationType': 'CONTEXT_DATA',
                            'destination': {
                                'contextData': {
                                    'key': 'string'
                                }
                            }
                        },
                        'dataConfiguration': {
                            'contextFulfillmentTiming': 'SESSION_INITIALIZATION'|'BEFORE_EACH_TURN',
                            'contextFulfillmentConfiguration': {
                                'dataRequestFulfillmentConfiguration': {
                                    'dataRequestType': 'CUSTOMER_PROFILE'|'CASES'|'EMAIL'|'TASK',
                                    'maxSingleContextCharacters': 123
                                }
                            }
                        }
                    },
                ],
                'maxMergedContextCharacters': 123
            },
            'multiAgentConfigurations': [
                {
                    'delegateAgentConfiguration': {
                        'agentTarget': {
                            'aiAgentId': 'string',
                            'applicationId': 'string'
                        },
                        'instruction': {
                            'instruction': 'string',
                            'examples': [
                                'string',
                            ]
                        }
                    },
                    'handoffAgentConfiguration': {
                        'agentTarget': {
                            'aiAgentId': 'string',
                            'applicationId': 'string'
                        },
                        'instruction': {
                            'instruction': 'string',
                            'examples': [
                                'string',
                            ]
                        },
                        'audioStreamingEnabled': True|False,
                        'immediateHandoff': True|False
                    }
                },
            ],
            'connectInstanceArn': 'string',
            'locale': 'string',
            'inputSchemas': [
                {...}|[...]|123|123.4|'string'|True|None,
            ],
            'outputSchemas': [
                {...}|[...]|123|123.4|'string'|True|None,
            ]
        },
        'noteTakingAIAgentConfiguration': {
            'noteTakingAIPromptId': 'string',
            'noteTakingAIGuardrailId': 'string',
            'locale': 'string'
        },
        'caseSummarizationAIAgentConfiguration': {
            'caseSummarizationAIPromptId': 'string',
            'caseSummarizationAIGuardrailId': 'string',
            'locale': 'string'
        }
    },
    visibilityStatus='SAVED'|'PUBLISHED',
    tags={
        'string': 'string'
    },
    description='string'
)
type clientToken:

string

param clientToken:

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..

This field is autopopulated if not provided.

type assistantId:

string

param assistantId:

[REQUIRED]

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

type name:

string

param name:

[REQUIRED]

The name of the AI Agent.

type type:

string

param type:

[REQUIRED]

The type of the AI Agent.

type configuration:

dict

param configuration:

[REQUIRED]

The configuration of the AI Agent.

  • manualSearchAIAgentConfiguration (dict) --

    The configuration for AI Agents of type MANUAL_SEARCH.

    • answerGenerationAIPromptId (string) --

      The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.

    • answerGenerationAIGuardrailId (string) --

      The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.

    • associationConfigurations (list) --

      The association configurations for overriding behavior on this AI Agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

    • locale (string) --

      The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

  • answerRecommendationAIAgentConfiguration (dict) --

    The configuration for AI Agents of type ANSWER_RECOMMENDATION.

    • intentLabelingGenerationAIPromptId (string) --

      The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent.

    • queryReformulationAIPromptId (string) --

      The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent.

    • answerGenerationAIPromptId (string) --

      The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent.

    • answerGenerationAIGuardrailId (string) --

      The AI Guardrail identifier for the Answer Generation Guardrail used by the ANSWER_RECOMMENDATION AI Agent.

    • associationConfigurations (list) --

      The association configurations for overriding behavior on this AI Agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

    • locale (string) --

      The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

    • suggestedMessages (list) --

      The suggested messages configuration for the Answer Recommendation AI Agent.

      • (string) --

  • selfServiceAIAgentConfiguration (dict) --

    The configuration for AI Agents of type SELF_SERVICE.

    • selfServicePreProcessingAIPromptId (string) --

      The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent

    • selfServiceAnswerGenerationAIPromptId (string) --

      The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent

    • selfServiceAIGuardrailId (string) --

      The AI Guardrail identifier used by the SELF_SERVICE AI Agent.

    • associationConfigurations (list) --

      The association configurations for overriding behavior on this AI Agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

  • emailResponseAIAgentConfiguration (dict) --

    Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.

    • emailResponseAIPromptId (string) --

      The ID of the System AI prompt used for generating professional email responses based on knowledge base content.

    • emailQueryReformulationAIPromptId (string) --

      The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.

    • locale (string) --

      The locale setting for language-specific email response generation (for example, en_US, es_ES).

    • associationConfigurations (list) --

      Configuration settings for knowledge base associations used by the email response agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

  • emailOverviewAIAgentConfiguration (dict) --

    Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.

    • emailOverviewAIPromptId (string) --

      The ID of the System AI prompt used for generating structured email conversation summaries.

    • locale (string) --

      The locale setting for language-specific email overview processing (for example, en_US, es_ES).

  • emailGenerativeAnswerAIAgentConfiguration (dict) --

    Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.

    • emailGenerativeAnswerAIPromptId (string) --

      The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.

    • emailQueryReformulationAIPromptId (string) --

      The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.

    • locale (string) --

      The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).

    • associationConfigurations (list) --

      Configuration settings for knowledge base associations used by the email generative answer agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

  • orchestrationAIAgentConfiguration (dict) --

    The configuration for AI Agents of type ORCHESTRATION.

    • orchestrationAIPromptId (string) --

      The AI Prompt identifier used by the Orchestration AI Agent.

    • orchestrationAIGuardrailId (string) --

      The AI Guardrail identifier used by the Orchestration AI Agent.

    • toolConfigurations (list) --

      The tool configurations used by the Orchestration AI Agent.

      • (dict) --

        Configuration settings for a tool used by AI Agents.

        • toolName (string) -- [REQUIRED]

          The name of the tool.

        • toolType (string) -- [REQUIRED]

          The type of the tool.

        • title (string) --

          The title of the tool configuration.

        • toolId (string) --

          The identifier of the tool, for example toolName from Model Context Provider server.

        • description (string) --

          The description of the tool configuration.

        • instruction (dict) --

          Instructions for using the tool.

          • instruction (string) --

            The instruction text for the tool.

          • examples (list) --

            Examples for using the tool.

            • (string) --

        • overrideInputValues (list) --

          Override input values for the tool configuration.

          • (dict) --

            An input value override for tools.

            • jsonPath (string) -- [REQUIRED]

              The JSON path for the input value override.

            • value (dict) -- [REQUIRED]

              The override input value.

              • constant (dict) --

                Constant input value configuration for tool override.

                • type (string) -- [REQUIRED]

                  Override tool input value with constant values

                • value (string) -- [REQUIRED]

                  The constant input override value.

        • outputFilters (list) --

          Output filters applies to the tool result.

          • (dict) --

            Filter configuration for tool output.

            • jsonPath (string) -- [REQUIRED]

              The JSON path for filtering tool output.

            • outputConfiguration (dict) --

              The output configuration for the filter.

              • outputVariableNameOverride (string) --

                Override the tool output results to different variable name.

              • sessionDataNamespace (string) --

                The session data namespace for tool output.

        • inputSchema (:ref:`document<document>`) --

          The input schema for the tool configuration.

        • outputSchema (:ref:`document<document>`) --

          The output schema for the tool configuration.

        • annotations (dict) --

          Annotations for the tool configuration.

          • title (string) --

            The title of the annotation.

          • destructiveHint (boolean) --

            A hint indicating that the annotation contains potentially destructive content.

        • userInteractionConfiguration (dict) --

          Configuration for user interaction with the tool.

          • isUserConfirmationRequired (boolean) --

            Indicates whether user confirmation is required for the interaction.

    • contextConfiguration (dict) --

      The context sources that are hydrated before the reasoning loop runs.

      • entries (list) -- [REQUIRED]

        The context sources for the AI Agent. You can configure between 1 and 20 context sources.

        • (dict) --

          A single self-contained context source: its destination, fulfillment timing, and fulfillment.

          • destinationConfiguration (dict) -- [REQUIRED]

            The destination that this hydrated context is written to.

            • destinationType (string) -- [REQUIRED]

              The type of destination that the hydrated context is written to.

            • destination (dict) -- [REQUIRED]

              The destination that the hydrated context is written to.

              • contextData (dict) --

                The configuration for context that is written to session data.

                • key (string) -- [REQUIRED]

                  The SessionData system-variable name this context is written under.

          • dataConfiguration (dict) -- [REQUIRED]

            The timing and the fulfillment method for this context source.

            • contextFulfillmentTiming (string) -- [REQUIRED]

              When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.

            • contextFulfillmentConfiguration (dict) -- [REQUIRED]

              How the context is fetched.

              • dataRequestFulfillmentConfiguration (dict) --

                1P fulfillment via the system-provided context-fetch API.

                • dataRequestType (string) -- [REQUIRED]

                  The data source that the context is fetched from.

                • maxSingleContextCharacters (integer) --

                  Maximum size in characters of this context when it is referenced individually in the prompt. Absent means the service per-context default of 100000 characters applies

      • maxMergedContextCharacters (integer) --

        Maximum size in characters of the merged context. Absent means the service merged-context default of 150000 characters applies

    • multiAgentConfigurations (list) --

      The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.

      • (dict) --

        A union that configures a single collaborator agent for an Orchestration AI Agent, as either a delegate or a handoff.

        • delegateAgentConfiguration (dict) --

          Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.

          • agentTarget (dict) -- [REQUIRED]

            The collaborator agent to delegate to.

            • aiAgentId (string) --

              The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

            • applicationId (string) --

              The identifier of a third-party agent to use as the collaborator agent.

          • instruction (dict) --

            The instruction that tells the Orchestration AI Agent when and how to delegate to this collaborator agent.

            • instruction (string) --

              The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

            • examples (list) --

              Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

              • (string) --

        • handoffAgentConfiguration (dict) --

          Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.

          • agentTarget (dict) -- [REQUIRED]

            The collaborator agent to hand off to.

            • aiAgentId (string) --

              The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

            • applicationId (string) --

              The identifier of a third-party agent to use as the collaborator agent.

          • instruction (dict) --

            The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

            • instruction (string) --

              The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

            • examples (list) --

              Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

              • (string) --

          • audioStreamingEnabled (boolean) --

            Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

          • immediateHandoff (boolean) --

            Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

    • connectInstanceArn (string) --

      The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.

    • locale (string) --

      The locale setting for the Orchestration AI Agent.

    • inputSchemas (list) --

      The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a DATA message sent to the agent is validated against these schemas. You can specify at most one schema.

      • (:ref:`document<document>`) --

    • outputSchemas (list) --

      The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.

      • (:ref:`document<document>`) --

  • noteTakingAIAgentConfiguration (dict) --

    The configuration for AI Agents of type NOTE_TAKING.

    • noteTakingAIPromptId (string) --

      The AI Prompt identifier used by the Note Taking AI Agent.

    • noteTakingAIGuardrailId (string) --

      The AI Guardrail identifier used by the Note Taking AI Agent.

    • locale (string) --

      The locale setting for language-specific case summarization generation (for example, en_US, es_ES).

  • caseSummarizationAIAgentConfiguration (dict) --

    The configuration for AI Agents of type CASE_SUMMARIZATION.

    • caseSummarizationAIPromptId (string) --

      The AI Prompt identifier used by the Case Summarization AI Agent.

    • caseSummarizationAIGuardrailId (string) --

      The AI Guardrail identifier used by the Case Summarization AI Agent.

    • locale (string) --

      The locale setting for the Case Summarization AI Agent.

type visibilityStatus:

string

param visibilityStatus:

[REQUIRED]

The visibility status of the AI Agent.

type tags:

dict

param tags:

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

  • (string) --

    • (string) --

type description:

string

param description:

The description of the AI Agent.

rtype:

dict

returns:

Response Syntax

{
    'aiAgent': {
        'assistantId': 'string',
        'assistantArn': 'string',
        'aiAgentId': 'string',
        'aiAgentArn': 'string',
        'name': 'string',
        'type': 'MANUAL_SEARCH'|'ANSWER_RECOMMENDATION'|'SELF_SERVICE'|'EMAIL_RESPONSE'|'EMAIL_OVERVIEW'|'EMAIL_GENERATIVE_ANSWER'|'ORCHESTRATION'|'NOTE_TAKING'|'CASE_SUMMARIZATION',
        'configuration': {
            'manualSearchAIAgentConfiguration': {
                'answerGenerationAIPromptId': 'string',
                'answerGenerationAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ],
                'locale': 'string'
            },
            'answerRecommendationAIAgentConfiguration': {
                'intentLabelingGenerationAIPromptId': 'string',
                'queryReformulationAIPromptId': 'string',
                'answerGenerationAIPromptId': 'string',
                'answerGenerationAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ],
                'locale': 'string',
                'suggestedMessages': [
                    'string',
                ]
            },
            'selfServiceAIAgentConfiguration': {
                'selfServicePreProcessingAIPromptId': 'string',
                'selfServiceAnswerGenerationAIPromptId': 'string',
                'selfServiceAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'emailResponseAIAgentConfiguration': {
                'emailResponseAIPromptId': 'string',
                'emailQueryReformulationAIPromptId': 'string',
                'locale': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'emailOverviewAIAgentConfiguration': {
                'emailOverviewAIPromptId': 'string',
                'locale': 'string'
            },
            'emailGenerativeAnswerAIAgentConfiguration': {
                'emailGenerativeAnswerAIPromptId': 'string',
                'emailQueryReformulationAIPromptId': 'string',
                'locale': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'orchestrationAIAgentConfiguration': {
                'orchestrationAIPromptId': 'string',
                'orchestrationAIGuardrailId': 'string',
                'toolConfigurations': [
                    {
                        'toolName': 'string',
                        'toolType': 'MODEL_CONTEXT_PROTOCOL'|'RETURN_TO_CONTROL'|'CONSTANT',
                        'title': 'string',
                        'toolId': 'string',
                        'description': 'string',
                        'instruction': {
                            'instruction': 'string',
                            'examples': [
                                'string',
                            ]
                        },
                        'overrideInputValues': [
                            {
                                'jsonPath': 'string',
                                'value': {
                                    'constant': {
                                        'type': 'STRING'|'NUMBER'|'JSON_STRING',
                                        'value': 'string'
                                    }
                                }
                            },
                        ],
                        'outputFilters': [
                            {
                                'jsonPath': 'string',
                                'outputConfiguration': {
                                    'outputVariableNameOverride': 'string',
                                    'sessionDataNamespace': 'string'
                                }
                            },
                        ],
                        'inputSchema': {...}|[...]|123|123.4|'string'|True|None,
                        'outputSchema': {...}|[...]|123|123.4|'string'|True|None,
                        'annotations': {
                            'title': 'string',
                            'destructiveHint': True|False
                        },
                        'userInteractionConfiguration': {
                            'isUserConfirmationRequired': True|False
                        }
                    },
                ],
                'contextConfiguration': {
                    'entries': [
                        {
                            'destinationConfiguration': {
                                'destinationType': 'CONTEXT_DATA',
                                'destination': {
                                    'contextData': {
                                        'key': 'string'
                                    }
                                }
                            },
                            'dataConfiguration': {
                                'contextFulfillmentTiming': 'SESSION_INITIALIZATION'|'BEFORE_EACH_TURN',
                                'contextFulfillmentConfiguration': {
                                    'dataRequestFulfillmentConfiguration': {
                                        'dataRequestType': 'CUSTOMER_PROFILE'|'CASES'|'EMAIL'|'TASK',
                                        'maxSingleContextCharacters': 123
                                    }
                                }
                            }
                        },
                    ],
                    'maxMergedContextCharacters': 123
                },
                'multiAgentConfigurations': [
                    {
                        'delegateAgentConfiguration': {
                            'agentTarget': {
                                'aiAgentId': 'string',
                                'applicationId': 'string'
                            },
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            }
                        },
                        'handoffAgentConfiguration': {
                            'agentTarget': {
                                'aiAgentId': 'string',
                                'applicationId': 'string'
                            },
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            },
                            'audioStreamingEnabled': True|False,
                            'immediateHandoff': True|False
                        }
                    },
                ],
                'connectInstanceArn': 'string',
                'locale': 'string',
                'inputSchemas': [
                    {...}|[...]|123|123.4|'string'|True|None,
                ],
                'outputSchemas': [
                    {...}|[...]|123|123.4|'string'|True|None,
                ]
            },
            'noteTakingAIAgentConfiguration': {
                'noteTakingAIPromptId': 'string',
                'noteTakingAIGuardrailId': 'string',
                'locale': 'string'
            },
            'caseSummarizationAIAgentConfiguration': {
                'caseSummarizationAIPromptId': 'string',
                'caseSummarizationAIGuardrailId': 'string',
                'locale': 'string'
            }
        },
        'modifiedTime': datetime(2015, 1, 1),
        'lastModifiedTime': datetime(2015, 1, 1),
        'lastModifiedRegion': 'string',
        'description': 'string',
        'visibilityStatus': 'SAVED'|'PUBLISHED',
        'tags': {
            'string': 'string'
        },
        'origin': 'SYSTEM'|'CUSTOMER',
        'status': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'ACTIVE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • aiAgent (dict) --

      The data of the created AI Agent.

      • assistantId (string) --

        The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

      • assistantArn (string) --

        The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

      • aiAgentId (string) --

        The identifier of the AI Agent.

      • aiAgentArn (string) --

        The Amazon Resource Name (ARN) of the AI agent.

      • name (string) --

        The name of the AI Agent.

      • type (string) --

        The type of the AI Agent.

      • configuration (dict) --

        Configuration for the AI Agent.

        • manualSearchAIAgentConfiguration (dict) --

          The configuration for AI Agents of type MANUAL_SEARCH.

          • answerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.

          • answerGenerationAIGuardrailId (string) --

            The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • locale (string) --

            The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

        • answerRecommendationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type ANSWER_RECOMMENDATION.

          • intentLabelingGenerationAIPromptId (string) --

            The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • queryReformulationAIPromptId (string) --

            The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • answerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • answerGenerationAIGuardrailId (string) --

            The AI Guardrail identifier for the Answer Generation Guardrail used by the ANSWER_RECOMMENDATION AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • locale (string) --

            The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

          • suggestedMessages (list) --

            The suggested messages configuration for the Answer Recommendation AI Agent.

            • (string) --

        • selfServiceAIAgentConfiguration (dict) --

          The configuration for AI Agents of type SELF_SERVICE.

          • selfServicePreProcessingAIPromptId (string) --

            The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent

          • selfServiceAnswerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent

          • selfServiceAIGuardrailId (string) --

            The AI Guardrail identifier used by the SELF_SERVICE AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • emailResponseAIAgentConfiguration (dict) --

          Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.

          • emailResponseAIPromptId (string) --

            The ID of the System AI prompt used for generating professional email responses based on knowledge base content.

          • emailQueryReformulationAIPromptId (string) --

            The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.

          • locale (string) --

            The locale setting for language-specific email response generation (for example, en_US, es_ES).

          • associationConfigurations (list) --

            Configuration settings for knowledge base associations used by the email response agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • emailOverviewAIAgentConfiguration (dict) --

          Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.

          • emailOverviewAIPromptId (string) --

            The ID of the System AI prompt used for generating structured email conversation summaries.

          • locale (string) --

            The locale setting for language-specific email overview processing (for example, en_US, es_ES).

        • emailGenerativeAnswerAIAgentConfiguration (dict) --

          Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.

          • emailGenerativeAnswerAIPromptId (string) --

            The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.

          • emailQueryReformulationAIPromptId (string) --

            The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.

          • locale (string) --

            The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).

          • associationConfigurations (list) --

            Configuration settings for knowledge base associations used by the email generative answer agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • orchestrationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type ORCHESTRATION.

          • orchestrationAIPromptId (string) --

            The AI Prompt identifier used by the Orchestration AI Agent.

          • orchestrationAIGuardrailId (string) --

            The AI Guardrail identifier used by the Orchestration AI Agent.

          • toolConfigurations (list) --

            The tool configurations used by the Orchestration AI Agent.

            • (dict) --

              Configuration settings for a tool used by AI Agents.

              • toolName (string) --

                The name of the tool.

              • toolType (string) --

                The type of the tool.

              • title (string) --

                The title of the tool configuration.

              • toolId (string) --

                The identifier of the tool, for example toolName from Model Context Provider server.

              • description (string) --

                The description of the tool configuration.

              • instruction (dict) --

                Instructions for using the tool.

                • instruction (string) --

                  The instruction text for the tool.

                • examples (list) --

                  Examples for using the tool.

                  • (string) --

              • overrideInputValues (list) --

                Override input values for the tool configuration.

                • (dict) --

                  An input value override for tools.

                  • jsonPath (string) --

                    The JSON path for the input value override.

                  • value (dict) --

                    The override input value.

                    • constant (dict) --

                      Constant input value configuration for tool override.

                      • type (string) --

                        Override tool input value with constant values

                      • value (string) --

                        The constant input override value.

              • outputFilters (list) --

                Output filters applies to the tool result.

                • (dict) --

                  Filter configuration for tool output.

                  • jsonPath (string) --

                    The JSON path for filtering tool output.

                  • outputConfiguration (dict) --

                    The output configuration for the filter.

                    • outputVariableNameOverride (string) --

                      Override the tool output results to different variable name.

                    • sessionDataNamespace (string) --

                      The session data namespace for tool output.

              • inputSchema (:ref:`document<document>`) --

                The input schema for the tool configuration.

              • outputSchema (:ref:`document<document>`) --

                The output schema for the tool configuration.

              • annotations (dict) --

                Annotations for the tool configuration.

                • title (string) --

                  The title of the annotation.

                • destructiveHint (boolean) --

                  A hint indicating that the annotation contains potentially destructive content.

              • userInteractionConfiguration (dict) --

                Configuration for user interaction with the tool.

                • isUserConfirmationRequired (boolean) --

                  Indicates whether user confirmation is required for the interaction.

          • contextConfiguration (dict) --

            The context sources that are hydrated before the reasoning loop runs.

            • entries (list) --

              The context sources for the AI Agent. You can configure between 1 and 20 context sources.

              • (dict) --

                A single self-contained context source: its destination, fulfillment timing, and fulfillment.

                • destinationConfiguration (dict) --

                  The destination that this hydrated context is written to.

                  • destinationType (string) --

                    The type of destination that the hydrated context is written to.

                  • destination (dict) --

                    The destination that the hydrated context is written to.

                    • contextData (dict) --

                      The configuration for context that is written to session data.

                      • key (string) --

                        The SessionData system-variable name this context is written under.

                • dataConfiguration (dict) --

                  The timing and the fulfillment method for this context source.

                  • contextFulfillmentTiming (string) --

                    When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.

                  • contextFulfillmentConfiguration (dict) --

                    How the context is fetched.

                    • dataRequestFulfillmentConfiguration (dict) --

                      1P fulfillment via the system-provided context-fetch API.

                      • dataRequestType (string) --

                        The data source that the context is fetched from.

                      • maxSingleContextCharacters (integer) --

                        Maximum size in characters of this context when it is referenced individually in the prompt. Absent means the service per-context default of 100000 characters applies

            • maxMergedContextCharacters (integer) --

              Maximum size in characters of the merged context. Absent means the service merged-context default of 150000 characters applies

          • multiAgentConfigurations (list) --

            The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.

            • (dict) --

              A union that configures a single collaborator agent for an Orchestration AI Agent, as either a delegate or a handoff.

              • delegateAgentConfiguration (dict) --

                Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.

                • agentTarget (dict) --

                  The collaborator agent to delegate to.

                  • aiAgentId (string) --

                    The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                  • applicationId (string) --

                    The identifier of a third-party agent to use as the collaborator agent.

                • instruction (dict) --

                  The instruction that tells the Orchestration AI Agent when and how to delegate to this collaborator agent.

                  • instruction (string) --

                    The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                  • examples (list) --

                    Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                    • (string) --

              • handoffAgentConfiguration (dict) --

                Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.

                • agentTarget (dict) --

                  The collaborator agent to hand off to.

                  • aiAgentId (string) --

                    The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                  • applicationId (string) --

                    The identifier of a third-party agent to use as the collaborator agent.

                • instruction (dict) --

                  The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

                  • instruction (string) --

                    The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                  • examples (list) --

                    Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                    • (string) --

                • audioStreamingEnabled (boolean) --

                  Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

                • immediateHandoff (boolean) --

                  Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

          • connectInstanceArn (string) --

            The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.

          • locale (string) --

            The locale setting for the Orchestration AI Agent.

          • inputSchemas (list) --

            The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a DATA message sent to the agent is validated against these schemas. You can specify at most one schema.

            • (:ref:`document<document>`) --

          • outputSchemas (list) --

            The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.

            • (:ref:`document<document>`) --

        • noteTakingAIAgentConfiguration (dict) --

          The configuration for AI Agents of type NOTE_TAKING.

          • noteTakingAIPromptId (string) --

            The AI Prompt identifier used by the Note Taking AI Agent.

          • noteTakingAIGuardrailId (string) --

            The AI Guardrail identifier used by the Note Taking AI Agent.

          • locale (string) --

            The locale setting for language-specific case summarization generation (for example, en_US, es_ES).

        • caseSummarizationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type CASE_SUMMARIZATION.

          • caseSummarizationAIPromptId (string) --

            The AI Prompt identifier used by the Case Summarization AI Agent.

          • caseSummarizationAIGuardrailId (string) --

            The AI Guardrail identifier used by the Case Summarization AI Agent.

          • locale (string) --

            The locale setting for the Case Summarization AI Agent.

      • modifiedTime (datetime) --

        The time the AI Agent was last modified.

      • lastModifiedTime (datetime) --

        The timestamp when the AI Agent was last modified.

      • lastModifiedRegion (string) --

        The Amazon Web Services Region where the AI Agent was last modified.

      • description (string) --

        The description of the AI Agent.

      • visibilityStatus (string) --

        The visibility status of the AI Agent.

      • tags (dict) --

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

        • (string) --

          • (string) --

      • origin (string) --

        Specifies the origin of the AI Agent. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

      • status (string) --

        The status of the AI Agent.

CreateAIAgentVersion (updated) Link ΒΆ
Changes (response)
{'aiAgent': {'configuration': {'orchestrationAIAgentConfiguration': {'contextConfiguration': {'entries': [{'dataConfiguration': {'contextFulfillmentConfiguration': {'dataRequestFulfillmentConfiguration': {'dataRequestType': 'CUSTOMER_PROFILE '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'CASES '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'EMAIL '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'TASK',
                                                                                                                                                                                                             'maxSingleContextCharacters': 'integer'}},
                                                                                                                                 'contextFulfillmentTiming': 'SESSION_INITIALIZATION '
                                                                                                                                                             '| '
                                                                                                                                                             'BEFORE_EACH_TURN'},
                                                                                                           'destinationConfiguration': {'destination': {'contextData': {'key': 'string'}},
                                                                                                                                        'destinationType': 'CONTEXT_DATA'}}],
                                                                                              'maxMergedContextCharacters': 'integer'}}}}}

Creates and Amazon Q in Connect AI Agent version.

See also: AWS API Documentation

Request Syntax

client.create_ai_agent_version(
    assistantId='string',
    aiAgentId='string',
    modifiedTime=datetime(2015, 1, 1),
    clientToken='string'
)
type assistantId:

string

param assistantId:

[REQUIRED]

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

type aiAgentId:

string

param aiAgentId:

[REQUIRED]

The identifier of the Amazon Q in Connect AI Agent.

type modifiedTime:

datetime

param modifiedTime:

The modification time of the AI Agent should be tracked for version creation. This field should be specified to avoid version creation when simultaneous update to the underlying AI Agent are possible. The value should be the modifiedTime returned from the request to create or update an AI Agent so that version creation can fail if an update to the AI Agent post the specified modification time has been made.

type clientToken:

string

param clientToken:

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'aiAgent': {
        'assistantId': 'string',
        'assistantArn': 'string',
        'aiAgentId': 'string',
        'aiAgentArn': 'string',
        'name': 'string',
        'type': 'MANUAL_SEARCH'|'ANSWER_RECOMMENDATION'|'SELF_SERVICE'|'EMAIL_RESPONSE'|'EMAIL_OVERVIEW'|'EMAIL_GENERATIVE_ANSWER'|'ORCHESTRATION'|'NOTE_TAKING'|'CASE_SUMMARIZATION',
        'configuration': {
            'manualSearchAIAgentConfiguration': {
                'answerGenerationAIPromptId': 'string',
                'answerGenerationAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ],
                'locale': 'string'
            },
            'answerRecommendationAIAgentConfiguration': {
                'intentLabelingGenerationAIPromptId': 'string',
                'queryReformulationAIPromptId': 'string',
                'answerGenerationAIPromptId': 'string',
                'answerGenerationAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ],
                'locale': 'string',
                'suggestedMessages': [
                    'string',
                ]
            },
            'selfServiceAIAgentConfiguration': {
                'selfServicePreProcessingAIPromptId': 'string',
                'selfServiceAnswerGenerationAIPromptId': 'string',
                'selfServiceAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'emailResponseAIAgentConfiguration': {
                'emailResponseAIPromptId': 'string',
                'emailQueryReformulationAIPromptId': 'string',
                'locale': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'emailOverviewAIAgentConfiguration': {
                'emailOverviewAIPromptId': 'string',
                'locale': 'string'
            },
            'emailGenerativeAnswerAIAgentConfiguration': {
                'emailGenerativeAnswerAIPromptId': 'string',
                'emailQueryReformulationAIPromptId': 'string',
                'locale': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'orchestrationAIAgentConfiguration': {
                'orchestrationAIPromptId': 'string',
                'orchestrationAIGuardrailId': 'string',
                'toolConfigurations': [
                    {
                        'toolName': 'string',
                        'toolType': 'MODEL_CONTEXT_PROTOCOL'|'RETURN_TO_CONTROL'|'CONSTANT',
                        'title': 'string',
                        'toolId': 'string',
                        'description': 'string',
                        'instruction': {
                            'instruction': 'string',
                            'examples': [
                                'string',
                            ]
                        },
                        'overrideInputValues': [
                            {
                                'jsonPath': 'string',
                                'value': {
                                    'constant': {
                                        'type': 'STRING'|'NUMBER'|'JSON_STRING',
                                        'value': 'string'
                                    }
                                }
                            },
                        ],
                        'outputFilters': [
                            {
                                'jsonPath': 'string',
                                'outputConfiguration': {
                                    'outputVariableNameOverride': 'string',
                                    'sessionDataNamespace': 'string'
                                }
                            },
                        ],
                        'inputSchema': {...}|[...]|123|123.4|'string'|True|None,
                        'outputSchema': {...}|[...]|123|123.4|'string'|True|None,
                        'annotations': {
                            'title': 'string',
                            'destructiveHint': True|False
                        },
                        'userInteractionConfiguration': {
                            'isUserConfirmationRequired': True|False
                        }
                    },
                ],
                'contextConfiguration': {
                    'entries': [
                        {
                            'destinationConfiguration': {
                                'destinationType': 'CONTEXT_DATA',
                                'destination': {
                                    'contextData': {
                                        'key': 'string'
                                    }
                                }
                            },
                            'dataConfiguration': {
                                'contextFulfillmentTiming': 'SESSION_INITIALIZATION'|'BEFORE_EACH_TURN',
                                'contextFulfillmentConfiguration': {
                                    'dataRequestFulfillmentConfiguration': {
                                        'dataRequestType': 'CUSTOMER_PROFILE'|'CASES'|'EMAIL'|'TASK',
                                        'maxSingleContextCharacters': 123
                                    }
                                }
                            }
                        },
                    ],
                    'maxMergedContextCharacters': 123
                },
                'multiAgentConfigurations': [
                    {
                        'delegateAgentConfiguration': {
                            'agentTarget': {
                                'aiAgentId': 'string',
                                'applicationId': 'string'
                            },
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            }
                        },
                        'handoffAgentConfiguration': {
                            'agentTarget': {
                                'aiAgentId': 'string',
                                'applicationId': 'string'
                            },
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            },
                            'audioStreamingEnabled': True|False,
                            'immediateHandoff': True|False
                        }
                    },
                ],
                'connectInstanceArn': 'string',
                'locale': 'string',
                'inputSchemas': [
                    {...}|[...]|123|123.4|'string'|True|None,
                ],
                'outputSchemas': [
                    {...}|[...]|123|123.4|'string'|True|None,
                ]
            },
            'noteTakingAIAgentConfiguration': {
                'noteTakingAIPromptId': 'string',
                'noteTakingAIGuardrailId': 'string',
                'locale': 'string'
            },
            'caseSummarizationAIAgentConfiguration': {
                'caseSummarizationAIPromptId': 'string',
                'caseSummarizationAIGuardrailId': 'string',
                'locale': 'string'
            }
        },
        'modifiedTime': datetime(2015, 1, 1),
        'lastModifiedTime': datetime(2015, 1, 1),
        'lastModifiedRegion': 'string',
        'description': 'string',
        'visibilityStatus': 'SAVED'|'PUBLISHED',
        'tags': {
            'string': 'string'
        },
        'origin': 'SYSTEM'|'CUSTOMER',
        'status': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'ACTIVE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETED'
    },
    'versionNumber': 123
}

Response Structure

  • (dict) --

    • aiAgent (dict) --

      The data of the AI Agent version.

      • assistantId (string) --

        The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

      • assistantArn (string) --

        The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

      • aiAgentId (string) --

        The identifier of the AI Agent.

      • aiAgentArn (string) --

        The Amazon Resource Name (ARN) of the AI agent.

      • name (string) --

        The name of the AI Agent.

      • type (string) --

        The type of the AI Agent.

      • configuration (dict) --

        Configuration for the AI Agent.

        • manualSearchAIAgentConfiguration (dict) --

          The configuration for AI Agents of type MANUAL_SEARCH.

          • answerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.

          • answerGenerationAIGuardrailId (string) --

            The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • locale (string) --

            The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

        • answerRecommendationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type ANSWER_RECOMMENDATION.

          • intentLabelingGenerationAIPromptId (string) --

            The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • queryReformulationAIPromptId (string) --

            The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • answerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • answerGenerationAIGuardrailId (string) --

            The AI Guardrail identifier for the Answer Generation Guardrail used by the ANSWER_RECOMMENDATION AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • locale (string) --

            The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

          • suggestedMessages (list) --

            The suggested messages configuration for the Answer Recommendation AI Agent.

            • (string) --

        • selfServiceAIAgentConfiguration (dict) --

          The configuration for AI Agents of type SELF_SERVICE.

          • selfServicePreProcessingAIPromptId (string) --

            The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent

          • selfServiceAnswerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent

          • selfServiceAIGuardrailId (string) --

            The AI Guardrail identifier used by the SELF_SERVICE AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • emailResponseAIAgentConfiguration (dict) --

          Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.

          • emailResponseAIPromptId (string) --

            The ID of the System AI prompt used for generating professional email responses based on knowledge base content.

          • emailQueryReformulationAIPromptId (string) --

            The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.

          • locale (string) --

            The locale setting for language-specific email response generation (for example, en_US, es_ES).

          • associationConfigurations (list) --

            Configuration settings for knowledge base associations used by the email response agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • emailOverviewAIAgentConfiguration (dict) --

          Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.

          • emailOverviewAIPromptId (string) --

            The ID of the System AI prompt used for generating structured email conversation summaries.

          • locale (string) --

            The locale setting for language-specific email overview processing (for example, en_US, es_ES).

        • emailGenerativeAnswerAIAgentConfiguration (dict) --

          Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.

          • emailGenerativeAnswerAIPromptId (string) --

            The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.

          • emailQueryReformulationAIPromptId (string) --

            The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.

          • locale (string) --

            The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).

          • associationConfigurations (list) --

            Configuration settings for knowledge base associations used by the email generative answer agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • orchestrationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type ORCHESTRATION.

          • orchestrationAIPromptId (string) --

            The AI Prompt identifier used by the Orchestration AI Agent.

          • orchestrationAIGuardrailId (string) --

            The AI Guardrail identifier used by the Orchestration AI Agent.

          • toolConfigurations (list) --

            The tool configurations used by the Orchestration AI Agent.

            • (dict) --

              Configuration settings for a tool used by AI Agents.

              • toolName (string) --

                The name of the tool.

              • toolType (string) --

                The type of the tool.

              • title (string) --

                The title of the tool configuration.

              • toolId (string) --

                The identifier of the tool, for example toolName from Model Context Provider server.

              • description (string) --

                The description of the tool configuration.

              • instruction (dict) --

                Instructions for using the tool.

                • instruction (string) --

                  The instruction text for the tool.

                • examples (list) --

                  Examples for using the tool.

                  • (string) --

              • overrideInputValues (list) --

                Override input values for the tool configuration.

                • (dict) --

                  An input value override for tools.

                  • jsonPath (string) --

                    The JSON path for the input value override.

                  • value (dict) --

                    The override input value.

                    • constant (dict) --

                      Constant input value configuration for tool override.

                      • type (string) --

                        Override tool input value with constant values

                      • value (string) --

                        The constant input override value.

              • outputFilters (list) --

                Output filters applies to the tool result.

                • (dict) --

                  Filter configuration for tool output.

                  • jsonPath (string) --

                    The JSON path for filtering tool output.

                  • outputConfiguration (dict) --

                    The output configuration for the filter.

                    • outputVariableNameOverride (string) --

                      Override the tool output results to different variable name.

                    • sessionDataNamespace (string) --

                      The session data namespace for tool output.

              • inputSchema (:ref:`document<document>`) --

                The input schema for the tool configuration.

              • outputSchema (:ref:`document<document>`) --

                The output schema for the tool configuration.

              • annotations (dict) --

                Annotations for the tool configuration.

                • title (string) --

                  The title of the annotation.

                • destructiveHint (boolean) --

                  A hint indicating that the annotation contains potentially destructive content.

              • userInteractionConfiguration (dict) --

                Configuration for user interaction with the tool.

                • isUserConfirmationRequired (boolean) --

                  Indicates whether user confirmation is required for the interaction.

          • contextConfiguration (dict) --

            The context sources that are hydrated before the reasoning loop runs.

            • entries (list) --

              The context sources for the AI Agent. You can configure between 1 and 20 context sources.

              • (dict) --

                A single self-contained context source: its destination, fulfillment timing, and fulfillment.

                • destinationConfiguration (dict) --

                  The destination that this hydrated context is written to.

                  • destinationType (string) --

                    The type of destination that the hydrated context is written to.

                  • destination (dict) --

                    The destination that the hydrated context is written to.

                    • contextData (dict) --

                      The configuration for context that is written to session data.

                      • key (string) --

                        The SessionData system-variable name this context is written under.

                • dataConfiguration (dict) --

                  The timing and the fulfillment method for this context source.

                  • contextFulfillmentTiming (string) --

                    When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.

                  • contextFulfillmentConfiguration (dict) --

                    How the context is fetched.

                    • dataRequestFulfillmentConfiguration (dict) --

                      1P fulfillment via the system-provided context-fetch API.

                      • dataRequestType (string) --

                        The data source that the context is fetched from.

                      • maxSingleContextCharacters (integer) --

                        Maximum size in characters of this context when it is referenced individually in the prompt. Absent means the service per-context default of 100000 characters applies

            • maxMergedContextCharacters (integer) --

              Maximum size in characters of the merged context. Absent means the service merged-context default of 150000 characters applies

          • multiAgentConfigurations (list) --

            The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.

            • (dict) --

              A union that configures a single collaborator agent for an Orchestration AI Agent, as either a delegate or a handoff.

              • delegateAgentConfiguration (dict) --

                Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.

                • agentTarget (dict) --

                  The collaborator agent to delegate to.

                  • aiAgentId (string) --

                    The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                  • applicationId (string) --

                    The identifier of a third-party agent to use as the collaborator agent.

                • instruction (dict) --

                  The instruction that tells the Orchestration AI Agent when and how to delegate to this collaborator agent.

                  • instruction (string) --

                    The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                  • examples (list) --

                    Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                    • (string) --

              • handoffAgentConfiguration (dict) --

                Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.

                • agentTarget (dict) --

                  The collaborator agent to hand off to.

                  • aiAgentId (string) --

                    The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                  • applicationId (string) --

                    The identifier of a third-party agent to use as the collaborator agent.

                • instruction (dict) --

                  The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

                  • instruction (string) --

                    The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                  • examples (list) --

                    Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                    • (string) --

                • audioStreamingEnabled (boolean) --

                  Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

                • immediateHandoff (boolean) --

                  Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

          • connectInstanceArn (string) --

            The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.

          • locale (string) --

            The locale setting for the Orchestration AI Agent.

          • inputSchemas (list) --

            The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a DATA message sent to the agent is validated against these schemas. You can specify at most one schema.

            • (:ref:`document<document>`) --

          • outputSchemas (list) --

            The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.

            • (:ref:`document<document>`) --

        • noteTakingAIAgentConfiguration (dict) --

          The configuration for AI Agents of type NOTE_TAKING.

          • noteTakingAIPromptId (string) --

            The AI Prompt identifier used by the Note Taking AI Agent.

          • noteTakingAIGuardrailId (string) --

            The AI Guardrail identifier used by the Note Taking AI Agent.

          • locale (string) --

            The locale setting for language-specific case summarization generation (for example, en_US, es_ES).

        • caseSummarizationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type CASE_SUMMARIZATION.

          • caseSummarizationAIPromptId (string) --

            The AI Prompt identifier used by the Case Summarization AI Agent.

          • caseSummarizationAIGuardrailId (string) --

            The AI Guardrail identifier used by the Case Summarization AI Agent.

          • locale (string) --

            The locale setting for the Case Summarization AI Agent.

      • modifiedTime (datetime) --

        The time the AI Agent was last modified.

      • lastModifiedTime (datetime) --

        The timestamp when the AI Agent was last modified.

      • lastModifiedRegion (string) --

        The Amazon Web Services Region where the AI Agent was last modified.

      • description (string) --

        The description of the AI Agent.

      • visibilityStatus (string) --

        The visibility status of the AI Agent.

      • tags (dict) --

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

        • (string) --

          • (string) --

      • origin (string) --

        Specifies the origin of the AI Agent. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

      • status (string) --

        The status of the AI Agent.

    • versionNumber (integer) --

      The version number of the AI Agent version.

GetAIAgent (updated) Link ΒΆ
Changes (response)
{'aiAgent': {'configuration': {'orchestrationAIAgentConfiguration': {'contextConfiguration': {'entries': [{'dataConfiguration': {'contextFulfillmentConfiguration': {'dataRequestFulfillmentConfiguration': {'dataRequestType': 'CUSTOMER_PROFILE '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'CASES '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'EMAIL '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'TASK',
                                                                                                                                                                                                             'maxSingleContextCharacters': 'integer'}},
                                                                                                                                 'contextFulfillmentTiming': 'SESSION_INITIALIZATION '
                                                                                                                                                             '| '
                                                                                                                                                             'BEFORE_EACH_TURN'},
                                                                                                           'destinationConfiguration': {'destination': {'contextData': {'key': 'string'}},
                                                                                                                                        'destinationType': 'CONTEXT_DATA'}}],
                                                                                              'maxMergedContextCharacters': 'integer'}}}}}

Gets an Amazon Q in Connect AI Agent.

See also: AWS API Documentation

Request Syntax

client.get_ai_agent(
    assistantId='string',
    aiAgentId='string'
)
type assistantId:

string

param assistantId:

[REQUIRED]

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

type aiAgentId:

string

param aiAgentId:

[REQUIRED]

The identifier of the Amazon Q in Connect AI Agent (with or without a version qualifier). Can be either the ID or the ARN. URLs cannot contain the ARN.

rtype:

dict

returns:

Response Syntax

{
    'aiAgent': {
        'assistantId': 'string',
        'assistantArn': 'string',
        'aiAgentId': 'string',
        'aiAgentArn': 'string',
        'name': 'string',
        'type': 'MANUAL_SEARCH'|'ANSWER_RECOMMENDATION'|'SELF_SERVICE'|'EMAIL_RESPONSE'|'EMAIL_OVERVIEW'|'EMAIL_GENERATIVE_ANSWER'|'ORCHESTRATION'|'NOTE_TAKING'|'CASE_SUMMARIZATION',
        'configuration': {
            'manualSearchAIAgentConfiguration': {
                'answerGenerationAIPromptId': 'string',
                'answerGenerationAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ],
                'locale': 'string'
            },
            'answerRecommendationAIAgentConfiguration': {
                'intentLabelingGenerationAIPromptId': 'string',
                'queryReformulationAIPromptId': 'string',
                'answerGenerationAIPromptId': 'string',
                'answerGenerationAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ],
                'locale': 'string',
                'suggestedMessages': [
                    'string',
                ]
            },
            'selfServiceAIAgentConfiguration': {
                'selfServicePreProcessingAIPromptId': 'string',
                'selfServiceAnswerGenerationAIPromptId': 'string',
                'selfServiceAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'emailResponseAIAgentConfiguration': {
                'emailResponseAIPromptId': 'string',
                'emailQueryReformulationAIPromptId': 'string',
                'locale': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'emailOverviewAIAgentConfiguration': {
                'emailOverviewAIPromptId': 'string',
                'locale': 'string'
            },
            'emailGenerativeAnswerAIAgentConfiguration': {
                'emailGenerativeAnswerAIPromptId': 'string',
                'emailQueryReformulationAIPromptId': 'string',
                'locale': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'orchestrationAIAgentConfiguration': {
                'orchestrationAIPromptId': 'string',
                'orchestrationAIGuardrailId': 'string',
                'toolConfigurations': [
                    {
                        'toolName': 'string',
                        'toolType': 'MODEL_CONTEXT_PROTOCOL'|'RETURN_TO_CONTROL'|'CONSTANT',
                        'title': 'string',
                        'toolId': 'string',
                        'description': 'string',
                        'instruction': {
                            'instruction': 'string',
                            'examples': [
                                'string',
                            ]
                        },
                        'overrideInputValues': [
                            {
                                'jsonPath': 'string',
                                'value': {
                                    'constant': {
                                        'type': 'STRING'|'NUMBER'|'JSON_STRING',
                                        'value': 'string'
                                    }
                                }
                            },
                        ],
                        'outputFilters': [
                            {
                                'jsonPath': 'string',
                                'outputConfiguration': {
                                    'outputVariableNameOverride': 'string',
                                    'sessionDataNamespace': 'string'
                                }
                            },
                        ],
                        'inputSchema': {...}|[...]|123|123.4|'string'|True|None,
                        'outputSchema': {...}|[...]|123|123.4|'string'|True|None,
                        'annotations': {
                            'title': 'string',
                            'destructiveHint': True|False
                        },
                        'userInteractionConfiguration': {
                            'isUserConfirmationRequired': True|False
                        }
                    },
                ],
                'contextConfiguration': {
                    'entries': [
                        {
                            'destinationConfiguration': {
                                'destinationType': 'CONTEXT_DATA',
                                'destination': {
                                    'contextData': {
                                        'key': 'string'
                                    }
                                }
                            },
                            'dataConfiguration': {
                                'contextFulfillmentTiming': 'SESSION_INITIALIZATION'|'BEFORE_EACH_TURN',
                                'contextFulfillmentConfiguration': {
                                    'dataRequestFulfillmentConfiguration': {
                                        'dataRequestType': 'CUSTOMER_PROFILE'|'CASES'|'EMAIL'|'TASK',
                                        'maxSingleContextCharacters': 123
                                    }
                                }
                            }
                        },
                    ],
                    'maxMergedContextCharacters': 123
                },
                'multiAgentConfigurations': [
                    {
                        'delegateAgentConfiguration': {
                            'agentTarget': {
                                'aiAgentId': 'string',
                                'applicationId': 'string'
                            },
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            }
                        },
                        'handoffAgentConfiguration': {
                            'agentTarget': {
                                'aiAgentId': 'string',
                                'applicationId': 'string'
                            },
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            },
                            'audioStreamingEnabled': True|False,
                            'immediateHandoff': True|False
                        }
                    },
                ],
                'connectInstanceArn': 'string',
                'locale': 'string',
                'inputSchemas': [
                    {...}|[...]|123|123.4|'string'|True|None,
                ],
                'outputSchemas': [
                    {...}|[...]|123|123.4|'string'|True|None,
                ]
            },
            'noteTakingAIAgentConfiguration': {
                'noteTakingAIPromptId': 'string',
                'noteTakingAIGuardrailId': 'string',
                'locale': 'string'
            },
            'caseSummarizationAIAgentConfiguration': {
                'caseSummarizationAIPromptId': 'string',
                'caseSummarizationAIGuardrailId': 'string',
                'locale': 'string'
            }
        },
        'modifiedTime': datetime(2015, 1, 1),
        'lastModifiedTime': datetime(2015, 1, 1),
        'lastModifiedRegion': 'string',
        'description': 'string',
        'visibilityStatus': 'SAVED'|'PUBLISHED',
        'tags': {
            'string': 'string'
        },
        'origin': 'SYSTEM'|'CUSTOMER',
        'status': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'ACTIVE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETED'
    },
    'versionNumber': 123
}

Response Structure

  • (dict) --

    • aiAgent (dict) --

      The data of the AI Agent.

      • assistantId (string) --

        The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

      • assistantArn (string) --

        The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

      • aiAgentId (string) --

        The identifier of the AI Agent.

      • aiAgentArn (string) --

        The Amazon Resource Name (ARN) of the AI agent.

      • name (string) --

        The name of the AI Agent.

      • type (string) --

        The type of the AI Agent.

      • configuration (dict) --

        Configuration for the AI Agent.

        • manualSearchAIAgentConfiguration (dict) --

          The configuration for AI Agents of type MANUAL_SEARCH.

          • answerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.

          • answerGenerationAIGuardrailId (string) --

            The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • locale (string) --

            The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

        • answerRecommendationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type ANSWER_RECOMMENDATION.

          • intentLabelingGenerationAIPromptId (string) --

            The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • queryReformulationAIPromptId (string) --

            The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • answerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • answerGenerationAIGuardrailId (string) --

            The AI Guardrail identifier for the Answer Generation Guardrail used by the ANSWER_RECOMMENDATION AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • locale (string) --

            The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

          • suggestedMessages (list) --

            The suggested messages configuration for the Answer Recommendation AI Agent.

            • (string) --

        • selfServiceAIAgentConfiguration (dict) --

          The configuration for AI Agents of type SELF_SERVICE.

          • selfServicePreProcessingAIPromptId (string) --

            The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent

          • selfServiceAnswerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent

          • selfServiceAIGuardrailId (string) --

            The AI Guardrail identifier used by the SELF_SERVICE AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • emailResponseAIAgentConfiguration (dict) --

          Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.

          • emailResponseAIPromptId (string) --

            The ID of the System AI prompt used for generating professional email responses based on knowledge base content.

          • emailQueryReformulationAIPromptId (string) --

            The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.

          • locale (string) --

            The locale setting for language-specific email response generation (for example, en_US, es_ES).

          • associationConfigurations (list) --

            Configuration settings for knowledge base associations used by the email response agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • emailOverviewAIAgentConfiguration (dict) --

          Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.

          • emailOverviewAIPromptId (string) --

            The ID of the System AI prompt used for generating structured email conversation summaries.

          • locale (string) --

            The locale setting for language-specific email overview processing (for example, en_US, es_ES).

        • emailGenerativeAnswerAIAgentConfiguration (dict) --

          Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.

          • emailGenerativeAnswerAIPromptId (string) --

            The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.

          • emailQueryReformulationAIPromptId (string) --

            The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.

          • locale (string) --

            The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).

          • associationConfigurations (list) --

            Configuration settings for knowledge base associations used by the email generative answer agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • orchestrationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type ORCHESTRATION.

          • orchestrationAIPromptId (string) --

            The AI Prompt identifier used by the Orchestration AI Agent.

          • orchestrationAIGuardrailId (string) --

            The AI Guardrail identifier used by the Orchestration AI Agent.

          • toolConfigurations (list) --

            The tool configurations used by the Orchestration AI Agent.

            • (dict) --

              Configuration settings for a tool used by AI Agents.

              • toolName (string) --

                The name of the tool.

              • toolType (string) --

                The type of the tool.

              • title (string) --

                The title of the tool configuration.

              • toolId (string) --

                The identifier of the tool, for example toolName from Model Context Provider server.

              • description (string) --

                The description of the tool configuration.

              • instruction (dict) --

                Instructions for using the tool.

                • instruction (string) --

                  The instruction text for the tool.

                • examples (list) --

                  Examples for using the tool.

                  • (string) --

              • overrideInputValues (list) --

                Override input values for the tool configuration.

                • (dict) --

                  An input value override for tools.

                  • jsonPath (string) --

                    The JSON path for the input value override.

                  • value (dict) --

                    The override input value.

                    • constant (dict) --

                      Constant input value configuration for tool override.

                      • type (string) --

                        Override tool input value with constant values

                      • value (string) --

                        The constant input override value.

              • outputFilters (list) --

                Output filters applies to the tool result.

                • (dict) --

                  Filter configuration for tool output.

                  • jsonPath (string) --

                    The JSON path for filtering tool output.

                  • outputConfiguration (dict) --

                    The output configuration for the filter.

                    • outputVariableNameOverride (string) --

                      Override the tool output results to different variable name.

                    • sessionDataNamespace (string) --

                      The session data namespace for tool output.

              • inputSchema (:ref:`document<document>`) --

                The input schema for the tool configuration.

              • outputSchema (:ref:`document<document>`) --

                The output schema for the tool configuration.

              • annotations (dict) --

                Annotations for the tool configuration.

                • title (string) --

                  The title of the annotation.

                • destructiveHint (boolean) --

                  A hint indicating that the annotation contains potentially destructive content.

              • userInteractionConfiguration (dict) --

                Configuration for user interaction with the tool.

                • isUserConfirmationRequired (boolean) --

                  Indicates whether user confirmation is required for the interaction.

          • contextConfiguration (dict) --

            The context sources that are hydrated before the reasoning loop runs.

            • entries (list) --

              The context sources for the AI Agent. You can configure between 1 and 20 context sources.

              • (dict) --

                A single self-contained context source: its destination, fulfillment timing, and fulfillment.

                • destinationConfiguration (dict) --

                  The destination that this hydrated context is written to.

                  • destinationType (string) --

                    The type of destination that the hydrated context is written to.

                  • destination (dict) --

                    The destination that the hydrated context is written to.

                    • contextData (dict) --

                      The configuration for context that is written to session data.

                      • key (string) --

                        The SessionData system-variable name this context is written under.

                • dataConfiguration (dict) --

                  The timing and the fulfillment method for this context source.

                  • contextFulfillmentTiming (string) --

                    When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.

                  • contextFulfillmentConfiguration (dict) --

                    How the context is fetched.

                    • dataRequestFulfillmentConfiguration (dict) --

                      1P fulfillment via the system-provided context-fetch API.

                      • dataRequestType (string) --

                        The data source that the context is fetched from.

                      • maxSingleContextCharacters (integer) --

                        Maximum size in characters of this context when it is referenced individually in the prompt. Absent means the service per-context default of 100000 characters applies

            • maxMergedContextCharacters (integer) --

              Maximum size in characters of the merged context. Absent means the service merged-context default of 150000 characters applies

          • multiAgentConfigurations (list) --

            The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.

            • (dict) --

              A union that configures a single collaborator agent for an Orchestration AI Agent, as either a delegate or a handoff.

              • delegateAgentConfiguration (dict) --

                Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.

                • agentTarget (dict) --

                  The collaborator agent to delegate to.

                  • aiAgentId (string) --

                    The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                  • applicationId (string) --

                    The identifier of a third-party agent to use as the collaborator agent.

                • instruction (dict) --

                  The instruction that tells the Orchestration AI Agent when and how to delegate to this collaborator agent.

                  • instruction (string) --

                    The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                  • examples (list) --

                    Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                    • (string) --

              • handoffAgentConfiguration (dict) --

                Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.

                • agentTarget (dict) --

                  The collaborator agent to hand off to.

                  • aiAgentId (string) --

                    The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                  • applicationId (string) --

                    The identifier of a third-party agent to use as the collaborator agent.

                • instruction (dict) --

                  The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

                  • instruction (string) --

                    The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                  • examples (list) --

                    Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                    • (string) --

                • audioStreamingEnabled (boolean) --

                  Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

                • immediateHandoff (boolean) --

                  Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

          • connectInstanceArn (string) --

            The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.

          • locale (string) --

            The locale setting for the Orchestration AI Agent.

          • inputSchemas (list) --

            The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a DATA message sent to the agent is validated against these schemas. You can specify at most one schema.

            • (:ref:`document<document>`) --

          • outputSchemas (list) --

            The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.

            • (:ref:`document<document>`) --

        • noteTakingAIAgentConfiguration (dict) --

          The configuration for AI Agents of type NOTE_TAKING.

          • noteTakingAIPromptId (string) --

            The AI Prompt identifier used by the Note Taking AI Agent.

          • noteTakingAIGuardrailId (string) --

            The AI Guardrail identifier used by the Note Taking AI Agent.

          • locale (string) --

            The locale setting for language-specific case summarization generation (for example, en_US, es_ES).

        • caseSummarizationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type CASE_SUMMARIZATION.

          • caseSummarizationAIPromptId (string) --

            The AI Prompt identifier used by the Case Summarization AI Agent.

          • caseSummarizationAIGuardrailId (string) --

            The AI Guardrail identifier used by the Case Summarization AI Agent.

          • locale (string) --

            The locale setting for the Case Summarization AI Agent.

      • modifiedTime (datetime) --

        The time the AI Agent was last modified.

      • lastModifiedTime (datetime) --

        The timestamp when the AI Agent was last modified.

      • lastModifiedRegion (string) --

        The Amazon Web Services Region where the AI Agent was last modified.

      • description (string) --

        The description of the AI Agent.

      • visibilityStatus (string) --

        The visibility status of the AI Agent.

      • tags (dict) --

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

        • (string) --

          • (string) --

      • origin (string) --

        Specifies the origin of the AI Agent. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

      • status (string) --

        The status of the AI Agent.

    • versionNumber (integer) --

      The version number of the AI Agent version (returned if an AI Agent version was specified via use of a qualifier for the aiAgentId on the request).

ListAIAgentVersions (updated) Link ΒΆ
Changes (response)
{'aiAgentVersionSummaries': {'aiAgentSummary': {'configuration': {'orchestrationAIAgentConfiguration': {'contextConfiguration': {'entries': [{'dataConfiguration': {'contextFulfillmentConfiguration': {'dataRequestFulfillmentConfiguration': {'dataRequestType': 'CUSTOMER_PROFILE '
                                                                                                                                                                                                                                                                   '| '
                                                                                                                                                                                                                                                                   'CASES '
                                                                                                                                                                                                                                                                   '| '
                                                                                                                                                                                                                                                                   'EMAIL '
                                                                                                                                                                                                                                                                   '| '
                                                                                                                                                                                                                                                                   'TASK',
                                                                                                                                                                                                                                                'maxSingleContextCharacters': 'integer'}},
                                                                                                                                                                    'contextFulfillmentTiming': 'SESSION_INITIALIZATION '
                                                                                                                                                                                                '| '
                                                                                                                                                                                                'BEFORE_EACH_TURN'},
                                                                                                                                              'destinationConfiguration': {'destination': {'contextData': {'key': 'string'}},
                                                                                                                                                                           'destinationType': 'CONTEXT_DATA'}}],
                                                                                                                                 'maxMergedContextCharacters': 'integer'}}}}}}

List AI Agent versions.

See also: AWS API Documentation

Request Syntax

client.list_ai_agent_versions(
    assistantId='string',
    aiAgentId='string',
    nextToken='string',
    maxResults=123,
    origin='SYSTEM'|'CUSTOMER'
)
type assistantId:

string

param assistantId:

[REQUIRED]

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

type aiAgentId:

string

param aiAgentId:

[REQUIRED]

The identifier of the Amazon Q in Connect AI Agent for which versions are to be listed.

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 origin:

string

param origin:

The origin of the AI Agent versions to be listed. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

rtype:

dict

returns:

Response Syntax

{
    'aiAgentVersionSummaries': [
        {
            'aiAgentSummary': {
                'name': 'string',
                'assistantId': 'string',
                'assistantArn': 'string',
                'aiAgentId': 'string',
                'type': 'MANUAL_SEARCH'|'ANSWER_RECOMMENDATION'|'SELF_SERVICE'|'EMAIL_RESPONSE'|'EMAIL_OVERVIEW'|'EMAIL_GENERATIVE_ANSWER'|'ORCHESTRATION'|'NOTE_TAKING'|'CASE_SUMMARIZATION',
                'aiAgentArn': 'string',
                'modifiedTime': datetime(2015, 1, 1),
                'lastModifiedTime': datetime(2015, 1, 1),
                'lastModifiedRegion': 'string',
                'visibilityStatus': 'SAVED'|'PUBLISHED',
                'configuration': {
                    'manualSearchAIAgentConfiguration': {
                        'answerGenerationAIPromptId': 'string',
                        'answerGenerationAIGuardrailId': 'string',
                        'associationConfigurations': [
                            {
                                'associationId': 'string',
                                'associationType': 'KNOWLEDGE_BASE',
                                'associationConfigurationData': {
                                    'knowledgeBaseAssociationConfigurationData': {
                                        'contentTagFilter': {
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'orConditions': [
                                                {
                                                    'andConditions': [
                                                        {
                                                            'key': 'string',
                                                            'value': 'string'
                                                        },
                                                    ],
                                                    'tagCondition': {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    }
                                                },
                                            ]
                                        },
                                        'maxResults': 123,
                                        'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                    }
                                }
                            },
                        ],
                        'locale': 'string'
                    },
                    'answerRecommendationAIAgentConfiguration': {
                        'intentLabelingGenerationAIPromptId': 'string',
                        'queryReformulationAIPromptId': 'string',
                        'answerGenerationAIPromptId': 'string',
                        'answerGenerationAIGuardrailId': 'string',
                        'associationConfigurations': [
                            {
                                'associationId': 'string',
                                'associationType': 'KNOWLEDGE_BASE',
                                'associationConfigurationData': {
                                    'knowledgeBaseAssociationConfigurationData': {
                                        'contentTagFilter': {
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'orConditions': [
                                                {
                                                    'andConditions': [
                                                        {
                                                            'key': 'string',
                                                            'value': 'string'
                                                        },
                                                    ],
                                                    'tagCondition': {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    }
                                                },
                                            ]
                                        },
                                        'maxResults': 123,
                                        'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                    }
                                }
                            },
                        ],
                        'locale': 'string',
                        'suggestedMessages': [
                            'string',
                        ]
                    },
                    'selfServiceAIAgentConfiguration': {
                        'selfServicePreProcessingAIPromptId': 'string',
                        'selfServiceAnswerGenerationAIPromptId': 'string',
                        'selfServiceAIGuardrailId': 'string',
                        'associationConfigurations': [
                            {
                                'associationId': 'string',
                                'associationType': 'KNOWLEDGE_BASE',
                                'associationConfigurationData': {
                                    'knowledgeBaseAssociationConfigurationData': {
                                        'contentTagFilter': {
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'orConditions': [
                                                {
                                                    'andConditions': [
                                                        {
                                                            'key': 'string',
                                                            'value': 'string'
                                                        },
                                                    ],
                                                    'tagCondition': {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    }
                                                },
                                            ]
                                        },
                                        'maxResults': 123,
                                        'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                    }
                                }
                            },
                        ]
                    },
                    'emailResponseAIAgentConfiguration': {
                        'emailResponseAIPromptId': 'string',
                        'emailQueryReformulationAIPromptId': 'string',
                        'locale': 'string',
                        'associationConfigurations': [
                            {
                                'associationId': 'string',
                                'associationType': 'KNOWLEDGE_BASE',
                                'associationConfigurationData': {
                                    'knowledgeBaseAssociationConfigurationData': {
                                        'contentTagFilter': {
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'orConditions': [
                                                {
                                                    'andConditions': [
                                                        {
                                                            'key': 'string',
                                                            'value': 'string'
                                                        },
                                                    ],
                                                    'tagCondition': {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    }
                                                },
                                            ]
                                        },
                                        'maxResults': 123,
                                        'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                    }
                                }
                            },
                        ]
                    },
                    'emailOverviewAIAgentConfiguration': {
                        'emailOverviewAIPromptId': 'string',
                        'locale': 'string'
                    },
                    'emailGenerativeAnswerAIAgentConfiguration': {
                        'emailGenerativeAnswerAIPromptId': 'string',
                        'emailQueryReformulationAIPromptId': 'string',
                        'locale': 'string',
                        'associationConfigurations': [
                            {
                                'associationId': 'string',
                                'associationType': 'KNOWLEDGE_BASE',
                                'associationConfigurationData': {
                                    'knowledgeBaseAssociationConfigurationData': {
                                        'contentTagFilter': {
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'orConditions': [
                                                {
                                                    'andConditions': [
                                                        {
                                                            'key': 'string',
                                                            'value': 'string'
                                                        },
                                                    ],
                                                    'tagCondition': {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    }
                                                },
                                            ]
                                        },
                                        'maxResults': 123,
                                        'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                    }
                                }
                            },
                        ]
                    },
                    'orchestrationAIAgentConfiguration': {
                        'orchestrationAIPromptId': 'string',
                        'orchestrationAIGuardrailId': 'string',
                        'toolConfigurations': [
                            {
                                'toolName': 'string',
                                'toolType': 'MODEL_CONTEXT_PROTOCOL'|'RETURN_TO_CONTROL'|'CONSTANT',
                                'title': 'string',
                                'toolId': 'string',
                                'description': 'string',
                                'instruction': {
                                    'instruction': 'string',
                                    'examples': [
                                        'string',
                                    ]
                                },
                                'overrideInputValues': [
                                    {
                                        'jsonPath': 'string',
                                        'value': {
                                            'constant': {
                                                'type': 'STRING'|'NUMBER'|'JSON_STRING',
                                                'value': 'string'
                                            }
                                        }
                                    },
                                ],
                                'outputFilters': [
                                    {
                                        'jsonPath': 'string',
                                        'outputConfiguration': {
                                            'outputVariableNameOverride': 'string',
                                            'sessionDataNamespace': 'string'
                                        }
                                    },
                                ],
                                'inputSchema': {...}|[...]|123|123.4|'string'|True|None,
                                'outputSchema': {...}|[...]|123|123.4|'string'|True|None,
                                'annotations': {
                                    'title': 'string',
                                    'destructiveHint': True|False
                                },
                                'userInteractionConfiguration': {
                                    'isUserConfirmationRequired': True|False
                                }
                            },
                        ],
                        'contextConfiguration': {
                            'entries': [
                                {
                                    'destinationConfiguration': {
                                        'destinationType': 'CONTEXT_DATA',
                                        'destination': {
                                            'contextData': {
                                                'key': 'string'
                                            }
                                        }
                                    },
                                    'dataConfiguration': {
                                        'contextFulfillmentTiming': 'SESSION_INITIALIZATION'|'BEFORE_EACH_TURN',
                                        'contextFulfillmentConfiguration': {
                                            'dataRequestFulfillmentConfiguration': {
                                                'dataRequestType': 'CUSTOMER_PROFILE'|'CASES'|'EMAIL'|'TASK',
                                                'maxSingleContextCharacters': 123
                                            }
                                        }
                                    }
                                },
                            ],
                            'maxMergedContextCharacters': 123
                        },
                        'multiAgentConfigurations': [
                            {
                                'delegateAgentConfiguration': {
                                    'agentTarget': {
                                        'aiAgentId': 'string',
                                        'applicationId': 'string'
                                    },
                                    'instruction': {
                                        'instruction': 'string',
                                        'examples': [
                                            'string',
                                        ]
                                    }
                                },
                                'handoffAgentConfiguration': {
                                    'agentTarget': {
                                        'aiAgentId': 'string',
                                        'applicationId': 'string'
                                    },
                                    'instruction': {
                                        'instruction': 'string',
                                        'examples': [
                                            'string',
                                        ]
                                    },
                                    'audioStreamingEnabled': True|False,
                                    'immediateHandoff': True|False
                                }
                            },
                        ],
                        'connectInstanceArn': 'string',
                        'locale': 'string',
                        'inputSchemas': [
                            {...}|[...]|123|123.4|'string'|True|None,
                        ],
                        'outputSchemas': [
                            {...}|[...]|123|123.4|'string'|True|None,
                        ]
                    },
                    'noteTakingAIAgentConfiguration': {
                        'noteTakingAIPromptId': 'string',
                        'noteTakingAIGuardrailId': 'string',
                        'locale': 'string'
                    },
                    'caseSummarizationAIAgentConfiguration': {
                        'caseSummarizationAIPromptId': 'string',
                        'caseSummarizationAIGuardrailId': 'string',
                        'locale': 'string'
                    }
                },
                'origin': 'SYSTEM'|'CUSTOMER',
                'description': 'string',
                'status': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'ACTIVE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETED',
                'tags': {
                    'string': 'string'
                }
            },
            'versionNumber': 123
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • aiAgentVersionSummaries (list) --

      The summaries of AI Agent versions.

      • (dict) --

        The summary of the AI Agent version.

        • aiAgentSummary (dict) --

          The data for the summary of the AI Agent version.

          • name (string) --

            The name of the AI Agent.

          • assistantId (string) --

            The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

          • assistantArn (string) --

            The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

          • aiAgentId (string) --

            The identifier of the AI Agent.

          • type (string) --

            The type of the AI Agent.

          • aiAgentArn (string) --

            The Amazon Resource Name (ARN) of the AI agent.

          • modifiedTime (datetime) --

            The time the AI Agent was last modified.

          • lastModifiedTime (datetime) --

            The timestamp when the AI Agent was last modified.

          • lastModifiedRegion (string) --

            The Amazon Web Services Region where the AI Agent was last modified.

          • visibilityStatus (string) --

            The visibility status of the AI Agent.

          • configuration (dict) --

            The configuration for the AI Agent.

            • manualSearchAIAgentConfiguration (dict) --

              The configuration for AI Agents of type MANUAL_SEARCH.

              • answerGenerationAIPromptId (string) --

                The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.

              • answerGenerationAIGuardrailId (string) --

                The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.

              • associationConfigurations (list) --

                The association configurations for overriding behavior on this AI Agent.

                • (dict) --

                  The configuration for an Amazon Q in Connect Assistant Association.

                  • associationId (string) --

                    The identifier of the association for this Association Configuration.

                  • associationType (string) --

                    The type of the association for this Association Configuration.

                  • associationConfigurationData (dict) --

                    The data of the configuration for an Amazon Q in Connect Assistant Association.

                    • knowledgeBaseAssociationConfigurationData (dict) --

                      The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                      • contentTagFilter (dict) --

                        An object that can be used to specify Tag conditions.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • orConditions (list) --

                          A list of conditions which would be applied together with an OR condition.

                          • (dict) --

                            A list of conditions which would be applied together with an OR condition.

                            • andConditions (list) --

                              A list of conditions which would be applied together with an AND condition.

                              • (dict) --

                                A leaf node condition which can be used to specify a tag condition.

                                • key (string) --

                                  The tag key in the tag condition.

                                • value (string) --

                                  The tag value in the tag condition.

                            • tagCondition (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                      • maxResults (integer) --

                        The maximum number of results to return per page.

                      • overrideKnowledgeBaseSearchType (string) --

                        The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

              • locale (string) --

                The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

            • answerRecommendationAIAgentConfiguration (dict) --

              The configuration for AI Agents of type ANSWER_RECOMMENDATION.

              • intentLabelingGenerationAIPromptId (string) --

                The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent.

              • queryReformulationAIPromptId (string) --

                The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent.

              • answerGenerationAIPromptId (string) --

                The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent.

              • answerGenerationAIGuardrailId (string) --

                The AI Guardrail identifier for the Answer Generation Guardrail used by the ANSWER_RECOMMENDATION AI Agent.

              • associationConfigurations (list) --

                The association configurations for overriding behavior on this AI Agent.

                • (dict) --

                  The configuration for an Amazon Q in Connect Assistant Association.

                  • associationId (string) --

                    The identifier of the association for this Association Configuration.

                  • associationType (string) --

                    The type of the association for this Association Configuration.

                  • associationConfigurationData (dict) --

                    The data of the configuration for an Amazon Q in Connect Assistant Association.

                    • knowledgeBaseAssociationConfigurationData (dict) --

                      The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                      • contentTagFilter (dict) --

                        An object that can be used to specify Tag conditions.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • orConditions (list) --

                          A list of conditions which would be applied together with an OR condition.

                          • (dict) --

                            A list of conditions which would be applied together with an OR condition.

                            • andConditions (list) --

                              A list of conditions which would be applied together with an AND condition.

                              • (dict) --

                                A leaf node condition which can be used to specify a tag condition.

                                • key (string) --

                                  The tag key in the tag condition.

                                • value (string) --

                                  The tag value in the tag condition.

                            • tagCondition (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                      • maxResults (integer) --

                        The maximum number of results to return per page.

                      • overrideKnowledgeBaseSearchType (string) --

                        The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

              • locale (string) --

                The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

              • suggestedMessages (list) --

                The suggested messages configuration for the Answer Recommendation AI Agent.

                • (string) --

            • selfServiceAIAgentConfiguration (dict) --

              The configuration for AI Agents of type SELF_SERVICE.

              • selfServicePreProcessingAIPromptId (string) --

                The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent

              • selfServiceAnswerGenerationAIPromptId (string) --

                The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent

              • selfServiceAIGuardrailId (string) --

                The AI Guardrail identifier used by the SELF_SERVICE AI Agent.

              • associationConfigurations (list) --

                The association configurations for overriding behavior on this AI Agent.

                • (dict) --

                  The configuration for an Amazon Q in Connect Assistant Association.

                  • associationId (string) --

                    The identifier of the association for this Association Configuration.

                  • associationType (string) --

                    The type of the association for this Association Configuration.

                  • associationConfigurationData (dict) --

                    The data of the configuration for an Amazon Q in Connect Assistant Association.

                    • knowledgeBaseAssociationConfigurationData (dict) --

                      The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                      • contentTagFilter (dict) --

                        An object that can be used to specify Tag conditions.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • orConditions (list) --

                          A list of conditions which would be applied together with an OR condition.

                          • (dict) --

                            A list of conditions which would be applied together with an OR condition.

                            • andConditions (list) --

                              A list of conditions which would be applied together with an AND condition.

                              • (dict) --

                                A leaf node condition which can be used to specify a tag condition.

                                • key (string) --

                                  The tag key in the tag condition.

                                • value (string) --

                                  The tag value in the tag condition.

                            • tagCondition (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                      • maxResults (integer) --

                        The maximum number of results to return per page.

                      • overrideKnowledgeBaseSearchType (string) --

                        The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

            • emailResponseAIAgentConfiguration (dict) --

              Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.

              • emailResponseAIPromptId (string) --

                The ID of the System AI prompt used for generating professional email responses based on knowledge base content.

              • emailQueryReformulationAIPromptId (string) --

                The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.

              • locale (string) --

                The locale setting for language-specific email response generation (for example, en_US, es_ES).

              • associationConfigurations (list) --

                Configuration settings for knowledge base associations used by the email response agent.

                • (dict) --

                  The configuration for an Amazon Q in Connect Assistant Association.

                  • associationId (string) --

                    The identifier of the association for this Association Configuration.

                  • associationType (string) --

                    The type of the association for this Association Configuration.

                  • associationConfigurationData (dict) --

                    The data of the configuration for an Amazon Q in Connect Assistant Association.

                    • knowledgeBaseAssociationConfigurationData (dict) --

                      The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                      • contentTagFilter (dict) --

                        An object that can be used to specify Tag conditions.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • orConditions (list) --

                          A list of conditions which would be applied together with an OR condition.

                          • (dict) --

                            A list of conditions which would be applied together with an OR condition.

                            • andConditions (list) --

                              A list of conditions which would be applied together with an AND condition.

                              • (dict) --

                                A leaf node condition which can be used to specify a tag condition.

                                • key (string) --

                                  The tag key in the tag condition.

                                • value (string) --

                                  The tag value in the tag condition.

                            • tagCondition (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                      • maxResults (integer) --

                        The maximum number of results to return per page.

                      • overrideKnowledgeBaseSearchType (string) --

                        The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

            • emailOverviewAIAgentConfiguration (dict) --

              Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.

              • emailOverviewAIPromptId (string) --

                The ID of the System AI prompt used for generating structured email conversation summaries.

              • locale (string) --

                The locale setting for language-specific email overview processing (for example, en_US, es_ES).

            • emailGenerativeAnswerAIAgentConfiguration (dict) --

              Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.

              • emailGenerativeAnswerAIPromptId (string) --

                The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.

              • emailQueryReformulationAIPromptId (string) --

                The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.

              • locale (string) --

                The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).

              • associationConfigurations (list) --

                Configuration settings for knowledge base associations used by the email generative answer agent.

                • (dict) --

                  The configuration for an Amazon Q in Connect Assistant Association.

                  • associationId (string) --

                    The identifier of the association for this Association Configuration.

                  • associationType (string) --

                    The type of the association for this Association Configuration.

                  • associationConfigurationData (dict) --

                    The data of the configuration for an Amazon Q in Connect Assistant Association.

                    • knowledgeBaseAssociationConfigurationData (dict) --

                      The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                      • contentTagFilter (dict) --

                        An object that can be used to specify Tag conditions.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • orConditions (list) --

                          A list of conditions which would be applied together with an OR condition.

                          • (dict) --

                            A list of conditions which would be applied together with an OR condition.

                            • andConditions (list) --

                              A list of conditions which would be applied together with an AND condition.

                              • (dict) --

                                A leaf node condition which can be used to specify a tag condition.

                                • key (string) --

                                  The tag key in the tag condition.

                                • value (string) --

                                  The tag value in the tag condition.

                            • tagCondition (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                      • maxResults (integer) --

                        The maximum number of results to return per page.

                      • overrideKnowledgeBaseSearchType (string) --

                        The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

            • orchestrationAIAgentConfiguration (dict) --

              The configuration for AI Agents of type ORCHESTRATION.

              • orchestrationAIPromptId (string) --

                The AI Prompt identifier used by the Orchestration AI Agent.

              • orchestrationAIGuardrailId (string) --

                The AI Guardrail identifier used by the Orchestration AI Agent.

              • toolConfigurations (list) --

                The tool configurations used by the Orchestration AI Agent.

                • (dict) --

                  Configuration settings for a tool used by AI Agents.

                  • toolName (string) --

                    The name of the tool.

                  • toolType (string) --

                    The type of the tool.

                  • title (string) --

                    The title of the tool configuration.

                  • toolId (string) --

                    The identifier of the tool, for example toolName from Model Context Provider server.

                  • description (string) --

                    The description of the tool configuration.

                  • instruction (dict) --

                    Instructions for using the tool.

                    • instruction (string) --

                      The instruction text for the tool.

                    • examples (list) --

                      Examples for using the tool.

                      • (string) --

                  • overrideInputValues (list) --

                    Override input values for the tool configuration.

                    • (dict) --

                      An input value override for tools.

                      • jsonPath (string) --

                        The JSON path for the input value override.

                      • value (dict) --

                        The override input value.

                        • constant (dict) --

                          Constant input value configuration for tool override.

                          • type (string) --

                            Override tool input value with constant values

                          • value (string) --

                            The constant input override value.

                  • outputFilters (list) --

                    Output filters applies to the tool result.

                    • (dict) --

                      Filter configuration for tool output.

                      • jsonPath (string) --

                        The JSON path for filtering tool output.

                      • outputConfiguration (dict) --

                        The output configuration for the filter.

                        • outputVariableNameOverride (string) --

                          Override the tool output results to different variable name.

                        • sessionDataNamespace (string) --

                          The session data namespace for tool output.

                  • inputSchema (:ref:`document<document>`) --

                    The input schema for the tool configuration.

                  • outputSchema (:ref:`document<document>`) --

                    The output schema for the tool configuration.

                  • annotations (dict) --

                    Annotations for the tool configuration.

                    • title (string) --

                      The title of the annotation.

                    • destructiveHint (boolean) --

                      A hint indicating that the annotation contains potentially destructive content.

                  • userInteractionConfiguration (dict) --

                    Configuration for user interaction with the tool.

                    • isUserConfirmationRequired (boolean) --

                      Indicates whether user confirmation is required for the interaction.

              • contextConfiguration (dict) --

                The context sources that are hydrated before the reasoning loop runs.

                • entries (list) --

                  The context sources for the AI Agent. You can configure between 1 and 20 context sources.

                  • (dict) --

                    A single self-contained context source: its destination, fulfillment timing, and fulfillment.

                    • destinationConfiguration (dict) --

                      The destination that this hydrated context is written to.

                      • destinationType (string) --

                        The type of destination that the hydrated context is written to.

                      • destination (dict) --

                        The destination that the hydrated context is written to.

                        • contextData (dict) --

                          The configuration for context that is written to session data.

                          • key (string) --

                            The SessionData system-variable name this context is written under.

                    • dataConfiguration (dict) --

                      The timing and the fulfillment method for this context source.

                      • contextFulfillmentTiming (string) --

                        When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.

                      • contextFulfillmentConfiguration (dict) --

                        How the context is fetched.

                        • dataRequestFulfillmentConfiguration (dict) --

                          1P fulfillment via the system-provided context-fetch API.

                          • dataRequestType (string) --

                            The data source that the context is fetched from.

                          • maxSingleContextCharacters (integer) --

                            Maximum size in characters of this context when it is referenced individually in the prompt. Absent means the service per-context default of 100000 characters applies

                • maxMergedContextCharacters (integer) --

                  Maximum size in characters of the merged context. Absent means the service merged-context default of 150000 characters applies

              • multiAgentConfigurations (list) --

                The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.

                • (dict) --

                  A union that configures a single collaborator agent for an Orchestration AI Agent, as either a delegate or a handoff.

                  • delegateAgentConfiguration (dict) --

                    Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.

                    • agentTarget (dict) --

                      The collaborator agent to delegate to.

                      • aiAgentId (string) --

                        The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                      • applicationId (string) --

                        The identifier of a third-party agent to use as the collaborator agent.

                    • instruction (dict) --

                      The instruction that tells the Orchestration AI Agent when and how to delegate to this collaborator agent.

                      • instruction (string) --

                        The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                      • examples (list) --

                        Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                        • (string) --

                  • handoffAgentConfiguration (dict) --

                    Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.

                    • agentTarget (dict) --

                      The collaborator agent to hand off to.

                      • aiAgentId (string) --

                        The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                      • applicationId (string) --

                        The identifier of a third-party agent to use as the collaborator agent.

                    • instruction (dict) --

                      The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

                      • instruction (string) --

                        The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                      • examples (list) --

                        Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                        • (string) --

                    • audioStreamingEnabled (boolean) --

                      Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

                    • immediateHandoff (boolean) --

                      Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

              • connectInstanceArn (string) --

                The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.

              • locale (string) --

                The locale setting for the Orchestration AI Agent.

              • inputSchemas (list) --

                The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a DATA message sent to the agent is validated against these schemas. You can specify at most one schema.

                • (:ref:`document<document>`) --

              • outputSchemas (list) --

                The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.

                • (:ref:`document<document>`) --

            • noteTakingAIAgentConfiguration (dict) --

              The configuration for AI Agents of type NOTE_TAKING.

              • noteTakingAIPromptId (string) --

                The AI Prompt identifier used by the Note Taking AI Agent.

              • noteTakingAIGuardrailId (string) --

                The AI Guardrail identifier used by the Note Taking AI Agent.

              • locale (string) --

                The locale setting for language-specific case summarization generation (for example, en_US, es_ES).

            • caseSummarizationAIAgentConfiguration (dict) --

              The configuration for AI Agents of type CASE_SUMMARIZATION.

              • caseSummarizationAIPromptId (string) --

                The AI Prompt identifier used by the Case Summarization AI Agent.

              • caseSummarizationAIGuardrailId (string) --

                The AI Guardrail identifier used by the Case Summarization AI Agent.

              • locale (string) --

                The locale setting for the Case Summarization AI Agent.

          • origin (string) --

            The origin of the AI Agent. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

          • description (string) --

            The description of the AI Agent.

          • status (string) --

            The status of the AI Agent.

          • tags (dict) --

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

            • (string) --

              • (string) --

        • versionNumber (integer) --

          The version number for this AI Agent version.

    • nextToken (string) --

      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.

ListAIAgents (updated) Link ΒΆ
Changes (response)
{'aiAgentSummaries': {'configuration': {'orchestrationAIAgentConfiguration': {'contextConfiguration': {'entries': [{'dataConfiguration': {'contextFulfillmentConfiguration': {'dataRequestFulfillmentConfiguration': {'dataRequestType': 'CUSTOMER_PROFILE '
                                                                                                                                                                                                                                         '| '
                                                                                                                                                                                                                                         'CASES '
                                                                                                                                                                                                                                         '| '
                                                                                                                                                                                                                                         'EMAIL '
                                                                                                                                                                                                                                         '| '
                                                                                                                                                                                                                                         'TASK',
                                                                                                                                                                                                                      'maxSingleContextCharacters': 'integer'}},
                                                                                                                                          'contextFulfillmentTiming': 'SESSION_INITIALIZATION '
                                                                                                                                                                      '| '
                                                                                                                                                                      'BEFORE_EACH_TURN'},
                                                                                                                    'destinationConfiguration': {'destination': {'contextData': {'key': 'string'}},
                                                                                                                                                 'destinationType': 'CONTEXT_DATA'}}],
                                                                                                       'maxMergedContextCharacters': 'integer'}}}}}

Lists AI Agents.

See also: AWS API Documentation

Request Syntax

client.list_ai_agents(
    assistantId='string',
    nextToken='string',
    maxResults=123,
    origin='SYSTEM'|'CUSTOMER'
)
type assistantId:

string

param assistantId:

[REQUIRED]

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

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 origin:

string

param origin:

The origin of the AI Agents to be listed. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

rtype:

dict

returns:

Response Syntax

{
    'aiAgentSummaries': [
        {
            'name': 'string',
            'assistantId': 'string',
            'assistantArn': 'string',
            'aiAgentId': 'string',
            'type': 'MANUAL_SEARCH'|'ANSWER_RECOMMENDATION'|'SELF_SERVICE'|'EMAIL_RESPONSE'|'EMAIL_OVERVIEW'|'EMAIL_GENERATIVE_ANSWER'|'ORCHESTRATION'|'NOTE_TAKING'|'CASE_SUMMARIZATION',
            'aiAgentArn': 'string',
            'modifiedTime': datetime(2015, 1, 1),
            'lastModifiedTime': datetime(2015, 1, 1),
            'lastModifiedRegion': 'string',
            'visibilityStatus': 'SAVED'|'PUBLISHED',
            'configuration': {
                'manualSearchAIAgentConfiguration': {
                    'answerGenerationAIPromptId': 'string',
                    'answerGenerationAIGuardrailId': 'string',
                    'associationConfigurations': [
                        {
                            'associationId': 'string',
                            'associationType': 'KNOWLEDGE_BASE',
                            'associationConfigurationData': {
                                'knowledgeBaseAssociationConfigurationData': {
                                    'contentTagFilter': {
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'orConditions': [
                                            {
                                                'andConditions': [
                                                    {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    },
                                                ],
                                                'tagCondition': {
                                                    'key': 'string',
                                                    'value': 'string'
                                                }
                                            },
                                        ]
                                    },
                                    'maxResults': 123,
                                    'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                }
                            }
                        },
                    ],
                    'locale': 'string'
                },
                'answerRecommendationAIAgentConfiguration': {
                    'intentLabelingGenerationAIPromptId': 'string',
                    'queryReformulationAIPromptId': 'string',
                    'answerGenerationAIPromptId': 'string',
                    'answerGenerationAIGuardrailId': 'string',
                    'associationConfigurations': [
                        {
                            'associationId': 'string',
                            'associationType': 'KNOWLEDGE_BASE',
                            'associationConfigurationData': {
                                'knowledgeBaseAssociationConfigurationData': {
                                    'contentTagFilter': {
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'orConditions': [
                                            {
                                                'andConditions': [
                                                    {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    },
                                                ],
                                                'tagCondition': {
                                                    'key': 'string',
                                                    'value': 'string'
                                                }
                                            },
                                        ]
                                    },
                                    'maxResults': 123,
                                    'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                }
                            }
                        },
                    ],
                    'locale': 'string',
                    'suggestedMessages': [
                        'string',
                    ]
                },
                'selfServiceAIAgentConfiguration': {
                    'selfServicePreProcessingAIPromptId': 'string',
                    'selfServiceAnswerGenerationAIPromptId': 'string',
                    'selfServiceAIGuardrailId': 'string',
                    'associationConfigurations': [
                        {
                            'associationId': 'string',
                            'associationType': 'KNOWLEDGE_BASE',
                            'associationConfigurationData': {
                                'knowledgeBaseAssociationConfigurationData': {
                                    'contentTagFilter': {
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'orConditions': [
                                            {
                                                'andConditions': [
                                                    {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    },
                                                ],
                                                'tagCondition': {
                                                    'key': 'string',
                                                    'value': 'string'
                                                }
                                            },
                                        ]
                                    },
                                    'maxResults': 123,
                                    'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                }
                            }
                        },
                    ]
                },
                'emailResponseAIAgentConfiguration': {
                    'emailResponseAIPromptId': 'string',
                    'emailQueryReformulationAIPromptId': 'string',
                    'locale': 'string',
                    'associationConfigurations': [
                        {
                            'associationId': 'string',
                            'associationType': 'KNOWLEDGE_BASE',
                            'associationConfigurationData': {
                                'knowledgeBaseAssociationConfigurationData': {
                                    'contentTagFilter': {
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'orConditions': [
                                            {
                                                'andConditions': [
                                                    {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    },
                                                ],
                                                'tagCondition': {
                                                    'key': 'string',
                                                    'value': 'string'
                                                }
                                            },
                                        ]
                                    },
                                    'maxResults': 123,
                                    'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                }
                            }
                        },
                    ]
                },
                'emailOverviewAIAgentConfiguration': {
                    'emailOverviewAIPromptId': 'string',
                    'locale': 'string'
                },
                'emailGenerativeAnswerAIAgentConfiguration': {
                    'emailGenerativeAnswerAIPromptId': 'string',
                    'emailQueryReformulationAIPromptId': 'string',
                    'locale': 'string',
                    'associationConfigurations': [
                        {
                            'associationId': 'string',
                            'associationType': 'KNOWLEDGE_BASE',
                            'associationConfigurationData': {
                                'knowledgeBaseAssociationConfigurationData': {
                                    'contentTagFilter': {
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'orConditions': [
                                            {
                                                'andConditions': [
                                                    {
                                                        'key': 'string',
                                                        'value': 'string'
                                                    },
                                                ],
                                                'tagCondition': {
                                                    'key': 'string',
                                                    'value': 'string'
                                                }
                                            },
                                        ]
                                    },
                                    'maxResults': 123,
                                    'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                                }
                            }
                        },
                    ]
                },
                'orchestrationAIAgentConfiguration': {
                    'orchestrationAIPromptId': 'string',
                    'orchestrationAIGuardrailId': 'string',
                    'toolConfigurations': [
                        {
                            'toolName': 'string',
                            'toolType': 'MODEL_CONTEXT_PROTOCOL'|'RETURN_TO_CONTROL'|'CONSTANT',
                            'title': 'string',
                            'toolId': 'string',
                            'description': 'string',
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            },
                            'overrideInputValues': [
                                {
                                    'jsonPath': 'string',
                                    'value': {
                                        'constant': {
                                            'type': 'STRING'|'NUMBER'|'JSON_STRING',
                                            'value': 'string'
                                        }
                                    }
                                },
                            ],
                            'outputFilters': [
                                {
                                    'jsonPath': 'string',
                                    'outputConfiguration': {
                                        'outputVariableNameOverride': 'string',
                                        'sessionDataNamespace': 'string'
                                    }
                                },
                            ],
                            'inputSchema': {...}|[...]|123|123.4|'string'|True|None,
                            'outputSchema': {...}|[...]|123|123.4|'string'|True|None,
                            'annotations': {
                                'title': 'string',
                                'destructiveHint': True|False
                            },
                            'userInteractionConfiguration': {
                                'isUserConfirmationRequired': True|False
                            }
                        },
                    ],
                    'contextConfiguration': {
                        'entries': [
                            {
                                'destinationConfiguration': {
                                    'destinationType': 'CONTEXT_DATA',
                                    'destination': {
                                        'contextData': {
                                            'key': 'string'
                                        }
                                    }
                                },
                                'dataConfiguration': {
                                    'contextFulfillmentTiming': 'SESSION_INITIALIZATION'|'BEFORE_EACH_TURN',
                                    'contextFulfillmentConfiguration': {
                                        'dataRequestFulfillmentConfiguration': {
                                            'dataRequestType': 'CUSTOMER_PROFILE'|'CASES'|'EMAIL'|'TASK',
                                            'maxSingleContextCharacters': 123
                                        }
                                    }
                                }
                            },
                        ],
                        'maxMergedContextCharacters': 123
                    },
                    'multiAgentConfigurations': [
                        {
                            'delegateAgentConfiguration': {
                                'agentTarget': {
                                    'aiAgentId': 'string',
                                    'applicationId': 'string'
                                },
                                'instruction': {
                                    'instruction': 'string',
                                    'examples': [
                                        'string',
                                    ]
                                }
                            },
                            'handoffAgentConfiguration': {
                                'agentTarget': {
                                    'aiAgentId': 'string',
                                    'applicationId': 'string'
                                },
                                'instruction': {
                                    'instruction': 'string',
                                    'examples': [
                                        'string',
                                    ]
                                },
                                'audioStreamingEnabled': True|False,
                                'immediateHandoff': True|False
                            }
                        },
                    ],
                    'connectInstanceArn': 'string',
                    'locale': 'string',
                    'inputSchemas': [
                        {...}|[...]|123|123.4|'string'|True|None,
                    ],
                    'outputSchemas': [
                        {...}|[...]|123|123.4|'string'|True|None,
                    ]
                },
                'noteTakingAIAgentConfiguration': {
                    'noteTakingAIPromptId': 'string',
                    'noteTakingAIGuardrailId': 'string',
                    'locale': 'string'
                },
                'caseSummarizationAIAgentConfiguration': {
                    'caseSummarizationAIPromptId': 'string',
                    'caseSummarizationAIGuardrailId': 'string',
                    'locale': 'string'
                }
            },
            'origin': 'SYSTEM'|'CUSTOMER',
            'description': 'string',
            'status': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'ACTIVE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETED',
            'tags': {
                'string': 'string'
            }
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • aiAgentSummaries (list) --

      The summaries of AI Agents.

      • (dict) --

        The summary of the AI Agent.

        • name (string) --

          The name of the AI Agent.

        • assistantId (string) --

          The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

        • assistantArn (string) --

          The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

        • aiAgentId (string) --

          The identifier of the AI Agent.

        • type (string) --

          The type of the AI Agent.

        • aiAgentArn (string) --

          The Amazon Resource Name (ARN) of the AI agent.

        • modifiedTime (datetime) --

          The time the AI Agent was last modified.

        • lastModifiedTime (datetime) --

          The timestamp when the AI Agent was last modified.

        • lastModifiedRegion (string) --

          The Amazon Web Services Region where the AI Agent was last modified.

        • visibilityStatus (string) --

          The visibility status of the AI Agent.

        • configuration (dict) --

          The configuration for the AI Agent.

          • manualSearchAIAgentConfiguration (dict) --

            The configuration for AI Agents of type MANUAL_SEARCH.

            • answerGenerationAIPromptId (string) --

              The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.

            • answerGenerationAIGuardrailId (string) --

              The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.

            • associationConfigurations (list) --

              The association configurations for overriding behavior on this AI Agent.

              • (dict) --

                The configuration for an Amazon Q in Connect Assistant Association.

                • associationId (string) --

                  The identifier of the association for this Association Configuration.

                • associationType (string) --

                  The type of the association for this Association Configuration.

                • associationConfigurationData (dict) --

                  The data of the configuration for an Amazon Q in Connect Assistant Association.

                  • knowledgeBaseAssociationConfigurationData (dict) --

                    The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                    • contentTagFilter (dict) --

                      An object that can be used to specify Tag conditions.

                      • tagCondition (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                      • andConditions (list) --

                        A list of conditions which would be applied together with an AND condition.

                        • (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                      • orConditions (list) --

                        A list of conditions which would be applied together with an OR condition.

                        • (dict) --

                          A list of conditions which would be applied together with an OR condition.

                          • andConditions (list) --

                            A list of conditions which would be applied together with an AND condition.

                            • (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                          • tagCondition (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                    • maxResults (integer) --

                      The maximum number of results to return per page.

                    • overrideKnowledgeBaseSearchType (string) --

                      The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

            • locale (string) --

              The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

          • answerRecommendationAIAgentConfiguration (dict) --

            The configuration for AI Agents of type ANSWER_RECOMMENDATION.

            • intentLabelingGenerationAIPromptId (string) --

              The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent.

            • queryReformulationAIPromptId (string) --

              The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent.

            • answerGenerationAIPromptId (string) --

              The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent.

            • answerGenerationAIGuardrailId (string) --

              The AI Guardrail identifier for the Answer Generation Guardrail used by the ANSWER_RECOMMENDATION AI Agent.

            • associationConfigurations (list) --

              The association configurations for overriding behavior on this AI Agent.

              • (dict) --

                The configuration for an Amazon Q in Connect Assistant Association.

                • associationId (string) --

                  The identifier of the association for this Association Configuration.

                • associationType (string) --

                  The type of the association for this Association Configuration.

                • associationConfigurationData (dict) --

                  The data of the configuration for an Amazon Q in Connect Assistant Association.

                  • knowledgeBaseAssociationConfigurationData (dict) --

                    The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                    • contentTagFilter (dict) --

                      An object that can be used to specify Tag conditions.

                      • tagCondition (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                      • andConditions (list) --

                        A list of conditions which would be applied together with an AND condition.

                        • (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                      • orConditions (list) --

                        A list of conditions which would be applied together with an OR condition.

                        • (dict) --

                          A list of conditions which would be applied together with an OR condition.

                          • andConditions (list) --

                            A list of conditions which would be applied together with an AND condition.

                            • (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                          • tagCondition (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                    • maxResults (integer) --

                      The maximum number of results to return per page.

                    • overrideKnowledgeBaseSearchType (string) --

                      The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

            • locale (string) --

              The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

            • suggestedMessages (list) --

              The suggested messages configuration for the Answer Recommendation AI Agent.

              • (string) --

          • selfServiceAIAgentConfiguration (dict) --

            The configuration for AI Agents of type SELF_SERVICE.

            • selfServicePreProcessingAIPromptId (string) --

              The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent

            • selfServiceAnswerGenerationAIPromptId (string) --

              The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent

            • selfServiceAIGuardrailId (string) --

              The AI Guardrail identifier used by the SELF_SERVICE AI Agent.

            • associationConfigurations (list) --

              The association configurations for overriding behavior on this AI Agent.

              • (dict) --

                The configuration for an Amazon Q in Connect Assistant Association.

                • associationId (string) --

                  The identifier of the association for this Association Configuration.

                • associationType (string) --

                  The type of the association for this Association Configuration.

                • associationConfigurationData (dict) --

                  The data of the configuration for an Amazon Q in Connect Assistant Association.

                  • knowledgeBaseAssociationConfigurationData (dict) --

                    The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                    • contentTagFilter (dict) --

                      An object that can be used to specify Tag conditions.

                      • tagCondition (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                      • andConditions (list) --

                        A list of conditions which would be applied together with an AND condition.

                        • (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                      • orConditions (list) --

                        A list of conditions which would be applied together with an OR condition.

                        • (dict) --

                          A list of conditions which would be applied together with an OR condition.

                          • andConditions (list) --

                            A list of conditions which would be applied together with an AND condition.

                            • (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                          • tagCondition (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                    • maxResults (integer) --

                      The maximum number of results to return per page.

                    • overrideKnowledgeBaseSearchType (string) --

                      The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • emailResponseAIAgentConfiguration (dict) --

            Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.

            • emailResponseAIPromptId (string) --

              The ID of the System AI prompt used for generating professional email responses based on knowledge base content.

            • emailQueryReformulationAIPromptId (string) --

              The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.

            • locale (string) --

              The locale setting for language-specific email response generation (for example, en_US, es_ES).

            • associationConfigurations (list) --

              Configuration settings for knowledge base associations used by the email response agent.

              • (dict) --

                The configuration for an Amazon Q in Connect Assistant Association.

                • associationId (string) --

                  The identifier of the association for this Association Configuration.

                • associationType (string) --

                  The type of the association for this Association Configuration.

                • associationConfigurationData (dict) --

                  The data of the configuration for an Amazon Q in Connect Assistant Association.

                  • knowledgeBaseAssociationConfigurationData (dict) --

                    The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                    • contentTagFilter (dict) --

                      An object that can be used to specify Tag conditions.

                      • tagCondition (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                      • andConditions (list) --

                        A list of conditions which would be applied together with an AND condition.

                        • (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                      • orConditions (list) --

                        A list of conditions which would be applied together with an OR condition.

                        • (dict) --

                          A list of conditions which would be applied together with an OR condition.

                          • andConditions (list) --

                            A list of conditions which would be applied together with an AND condition.

                            • (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                          • tagCondition (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                    • maxResults (integer) --

                      The maximum number of results to return per page.

                    • overrideKnowledgeBaseSearchType (string) --

                      The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • emailOverviewAIAgentConfiguration (dict) --

            Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.

            • emailOverviewAIPromptId (string) --

              The ID of the System AI prompt used for generating structured email conversation summaries.

            • locale (string) --

              The locale setting for language-specific email overview processing (for example, en_US, es_ES).

          • emailGenerativeAnswerAIAgentConfiguration (dict) --

            Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.

            • emailGenerativeAnswerAIPromptId (string) --

              The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.

            • emailQueryReformulationAIPromptId (string) --

              The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.

            • locale (string) --

              The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).

            • associationConfigurations (list) --

              Configuration settings for knowledge base associations used by the email generative answer agent.

              • (dict) --

                The configuration for an Amazon Q in Connect Assistant Association.

                • associationId (string) --

                  The identifier of the association for this Association Configuration.

                • associationType (string) --

                  The type of the association for this Association Configuration.

                • associationConfigurationData (dict) --

                  The data of the configuration for an Amazon Q in Connect Assistant Association.

                  • knowledgeBaseAssociationConfigurationData (dict) --

                    The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                    • contentTagFilter (dict) --

                      An object that can be used to specify Tag conditions.

                      • tagCondition (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                      • andConditions (list) --

                        A list of conditions which would be applied together with an AND condition.

                        • (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                      • orConditions (list) --

                        A list of conditions which would be applied together with an OR condition.

                        • (dict) --

                          A list of conditions which would be applied together with an OR condition.

                          • andConditions (list) --

                            A list of conditions which would be applied together with an AND condition.

                            • (dict) --

                              A leaf node condition which can be used to specify a tag condition.

                              • key (string) --

                                The tag key in the tag condition.

                              • value (string) --

                                The tag value in the tag condition.

                          • tagCondition (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                    • maxResults (integer) --

                      The maximum number of results to return per page.

                    • overrideKnowledgeBaseSearchType (string) --

                      The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • orchestrationAIAgentConfiguration (dict) --

            The configuration for AI Agents of type ORCHESTRATION.

            • orchestrationAIPromptId (string) --

              The AI Prompt identifier used by the Orchestration AI Agent.

            • orchestrationAIGuardrailId (string) --

              The AI Guardrail identifier used by the Orchestration AI Agent.

            • toolConfigurations (list) --

              The tool configurations used by the Orchestration AI Agent.

              • (dict) --

                Configuration settings for a tool used by AI Agents.

                • toolName (string) --

                  The name of the tool.

                • toolType (string) --

                  The type of the tool.

                • title (string) --

                  The title of the tool configuration.

                • toolId (string) --

                  The identifier of the tool, for example toolName from Model Context Provider server.

                • description (string) --

                  The description of the tool configuration.

                • instruction (dict) --

                  Instructions for using the tool.

                  • instruction (string) --

                    The instruction text for the tool.

                  • examples (list) --

                    Examples for using the tool.

                    • (string) --

                • overrideInputValues (list) --

                  Override input values for the tool configuration.

                  • (dict) --

                    An input value override for tools.

                    • jsonPath (string) --

                      The JSON path for the input value override.

                    • value (dict) --

                      The override input value.

                      • constant (dict) --

                        Constant input value configuration for tool override.

                        • type (string) --

                          Override tool input value with constant values

                        • value (string) --

                          The constant input override value.

                • outputFilters (list) --

                  Output filters applies to the tool result.

                  • (dict) --

                    Filter configuration for tool output.

                    • jsonPath (string) --

                      The JSON path for filtering tool output.

                    • outputConfiguration (dict) --

                      The output configuration for the filter.

                      • outputVariableNameOverride (string) --

                        Override the tool output results to different variable name.

                      • sessionDataNamespace (string) --

                        The session data namespace for tool output.

                • inputSchema (:ref:`document<document>`) --

                  The input schema for the tool configuration.

                • outputSchema (:ref:`document<document>`) --

                  The output schema for the tool configuration.

                • annotations (dict) --

                  Annotations for the tool configuration.

                  • title (string) --

                    The title of the annotation.

                  • destructiveHint (boolean) --

                    A hint indicating that the annotation contains potentially destructive content.

                • userInteractionConfiguration (dict) --

                  Configuration for user interaction with the tool.

                  • isUserConfirmationRequired (boolean) --

                    Indicates whether user confirmation is required for the interaction.

            • contextConfiguration (dict) --

              The context sources that are hydrated before the reasoning loop runs.

              • entries (list) --

                The context sources for the AI Agent. You can configure between 1 and 20 context sources.

                • (dict) --

                  A single self-contained context source: its destination, fulfillment timing, and fulfillment.

                  • destinationConfiguration (dict) --

                    The destination that this hydrated context is written to.

                    • destinationType (string) --

                      The type of destination that the hydrated context is written to.

                    • destination (dict) --

                      The destination that the hydrated context is written to.

                      • contextData (dict) --

                        The configuration for context that is written to session data.

                        • key (string) --

                          The SessionData system-variable name this context is written under.

                  • dataConfiguration (dict) --

                    The timing and the fulfillment method for this context source.

                    • contextFulfillmentTiming (string) --

                      When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.

                    • contextFulfillmentConfiguration (dict) --

                      How the context is fetched.

                      • dataRequestFulfillmentConfiguration (dict) --

                        1P fulfillment via the system-provided context-fetch API.

                        • dataRequestType (string) --

                          The data source that the context is fetched from.

                        • maxSingleContextCharacters (integer) --

                          Maximum size in characters of this context when it is referenced individually in the prompt. Absent means the service per-context default of 100000 characters applies

              • maxMergedContextCharacters (integer) --

                Maximum size in characters of the merged context. Absent means the service merged-context default of 150000 characters applies

            • multiAgentConfigurations (list) --

              The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.

              • (dict) --

                A union that configures a single collaborator agent for an Orchestration AI Agent, as either a delegate or a handoff.

                • delegateAgentConfiguration (dict) --

                  Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.

                  • agentTarget (dict) --

                    The collaborator agent to delegate to.

                    • aiAgentId (string) --

                      The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                    • applicationId (string) --

                      The identifier of a third-party agent to use as the collaborator agent.

                  • instruction (dict) --

                    The instruction that tells the Orchestration AI Agent when and how to delegate to this collaborator agent.

                    • instruction (string) --

                      The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                    • examples (list) --

                      Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                      • (string) --

                • handoffAgentConfiguration (dict) --

                  Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.

                  • agentTarget (dict) --

                    The collaborator agent to hand off to.

                    • aiAgentId (string) --

                      The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                    • applicationId (string) --

                      The identifier of a third-party agent to use as the collaborator agent.

                  • instruction (dict) --

                    The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

                    • instruction (string) --

                      The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                    • examples (list) --

                      Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                      • (string) --

                  • audioStreamingEnabled (boolean) --

                    Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

                  • immediateHandoff (boolean) --

                    Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

            • connectInstanceArn (string) --

              The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.

            • locale (string) --

              The locale setting for the Orchestration AI Agent.

            • inputSchemas (list) --

              The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a DATA message sent to the agent is validated against these schemas. You can specify at most one schema.

              • (:ref:`document<document>`) --

            • outputSchemas (list) --

              The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.

              • (:ref:`document<document>`) --

          • noteTakingAIAgentConfiguration (dict) --

            The configuration for AI Agents of type NOTE_TAKING.

            • noteTakingAIPromptId (string) --

              The AI Prompt identifier used by the Note Taking AI Agent.

            • noteTakingAIGuardrailId (string) --

              The AI Guardrail identifier used by the Note Taking AI Agent.

            • locale (string) --

              The locale setting for language-specific case summarization generation (for example, en_US, es_ES).

          • caseSummarizationAIAgentConfiguration (dict) --

            The configuration for AI Agents of type CASE_SUMMARIZATION.

            • caseSummarizationAIPromptId (string) --

              The AI Prompt identifier used by the Case Summarization AI Agent.

            • caseSummarizationAIGuardrailId (string) --

              The AI Guardrail identifier used by the Case Summarization AI Agent.

            • locale (string) --

              The locale setting for the Case Summarization AI Agent.

        • origin (string) --

          The origin of the AI Agent. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

        • description (string) --

          The description of the AI Agent.

        • status (string) --

          The status of the AI Agent.

        • tags (dict) --

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

          • (string) --

            • (string) --

    • nextToken (string) --

      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.

UpdateAIAgent (updated) Link ΒΆ
Changes (request, response)
Request
{'configuration': {'orchestrationAIAgentConfiguration': {'contextConfiguration': {'entries': [{'dataConfiguration': {'contextFulfillmentConfiguration': {'dataRequestFulfillmentConfiguration': {'dataRequestType': 'CUSTOMER_PROFILE '
                                                                                                                                                                                                                    '| '
                                                                                                                                                                                                                    'CASES '
                                                                                                                                                                                                                    '| '
                                                                                                                                                                                                                    'EMAIL '
                                                                                                                                                                                                                    '| '
                                                                                                                                                                                                                    'TASK',
                                                                                                                                                                                                 'maxSingleContextCharacters': 'integer'}},
                                                                                                                     'contextFulfillmentTiming': 'SESSION_INITIALIZATION '
                                                                                                                                                 '| '
                                                                                                                                                 'BEFORE_EACH_TURN'},
                                                                                               'destinationConfiguration': {'destination': {'contextData': {'key': 'string'}},
                                                                                                                            'destinationType': 'CONTEXT_DATA'}}],
                                                                                  'maxMergedContextCharacters': 'integer'}}}}
Response
{'aiAgent': {'configuration': {'orchestrationAIAgentConfiguration': {'contextConfiguration': {'entries': [{'dataConfiguration': {'contextFulfillmentConfiguration': {'dataRequestFulfillmentConfiguration': {'dataRequestType': 'CUSTOMER_PROFILE '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'CASES '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'EMAIL '
                                                                                                                                                                                                                                '| '
                                                                                                                                                                                                                                'TASK',
                                                                                                                                                                                                             'maxSingleContextCharacters': 'integer'}},
                                                                                                                                 'contextFulfillmentTiming': 'SESSION_INITIALIZATION '
                                                                                                                                                             '| '
                                                                                                                                                             'BEFORE_EACH_TURN'},
                                                                                                           'destinationConfiguration': {'destination': {'contextData': {'key': 'string'}},
                                                                                                                                        'destinationType': 'CONTEXT_DATA'}}],
                                                                                              'maxMergedContextCharacters': 'integer'}}}}}

Updates an AI Agent.

See also: AWS API Documentation

Request Syntax

client.update_ai_agent(
    clientToken='string',
    assistantId='string',
    aiAgentId='string',
    visibilityStatus='SAVED'|'PUBLISHED',
    configuration={
        'manualSearchAIAgentConfiguration': {
            'answerGenerationAIPromptId': 'string',
            'answerGenerationAIGuardrailId': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ],
            'locale': 'string'
        },
        'answerRecommendationAIAgentConfiguration': {
            'intentLabelingGenerationAIPromptId': 'string',
            'queryReformulationAIPromptId': 'string',
            'answerGenerationAIPromptId': 'string',
            'answerGenerationAIGuardrailId': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ],
            'locale': 'string',
            'suggestedMessages': [
                'string',
            ]
        },
        'selfServiceAIAgentConfiguration': {
            'selfServicePreProcessingAIPromptId': 'string',
            'selfServiceAnswerGenerationAIPromptId': 'string',
            'selfServiceAIGuardrailId': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ]
        },
        'emailResponseAIAgentConfiguration': {
            'emailResponseAIPromptId': 'string',
            'emailQueryReformulationAIPromptId': 'string',
            'locale': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ]
        },
        'emailOverviewAIAgentConfiguration': {
            'emailOverviewAIPromptId': 'string',
            'locale': 'string'
        },
        'emailGenerativeAnswerAIAgentConfiguration': {
            'emailGenerativeAnswerAIPromptId': 'string',
            'emailQueryReformulationAIPromptId': 'string',
            'locale': 'string',
            'associationConfigurations': [
                {
                    'associationId': 'string',
                    'associationType': 'KNOWLEDGE_BASE',
                    'associationConfigurationData': {
                        'knowledgeBaseAssociationConfigurationData': {
                            'contentTagFilter': {
                                'tagCondition': {
                                    'key': 'string',
                                    'value': 'string'
                                },
                                'andConditions': [
                                    {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                ],
                                'orConditions': [
                                    {
                                        'andConditions': [
                                            {
                                                'key': 'string',
                                                'value': 'string'
                                            },
                                        ],
                                        'tagCondition': {
                                            'key': 'string',
                                            'value': 'string'
                                        }
                                    },
                                ]
                            },
                            'maxResults': 123,
                            'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                        }
                    }
                },
            ]
        },
        'orchestrationAIAgentConfiguration': {
            'orchestrationAIPromptId': 'string',
            'orchestrationAIGuardrailId': 'string',
            'toolConfigurations': [
                {
                    'toolName': 'string',
                    'toolType': 'MODEL_CONTEXT_PROTOCOL'|'RETURN_TO_CONTROL'|'CONSTANT',
                    'title': 'string',
                    'toolId': 'string',
                    'description': 'string',
                    'instruction': {
                        'instruction': 'string',
                        'examples': [
                            'string',
                        ]
                    },
                    'overrideInputValues': [
                        {
                            'jsonPath': 'string',
                            'value': {
                                'constant': {
                                    'type': 'STRING'|'NUMBER'|'JSON_STRING',
                                    'value': 'string'
                                }
                            }
                        },
                    ],
                    'outputFilters': [
                        {
                            'jsonPath': 'string',
                            'outputConfiguration': {
                                'outputVariableNameOverride': 'string',
                                'sessionDataNamespace': 'string'
                            }
                        },
                    ],
                    'inputSchema': {...}|[...]|123|123.4|'string'|True|None,
                    'outputSchema': {...}|[...]|123|123.4|'string'|True|None,
                    'annotations': {
                        'title': 'string',
                        'destructiveHint': True|False
                    },
                    'userInteractionConfiguration': {
                        'isUserConfirmationRequired': True|False
                    }
                },
            ],
            'contextConfiguration': {
                'entries': [
                    {
                        'destinationConfiguration': {
                            'destinationType': 'CONTEXT_DATA',
                            'destination': {
                                'contextData': {
                                    'key': 'string'
                                }
                            }
                        },
                        'dataConfiguration': {
                            'contextFulfillmentTiming': 'SESSION_INITIALIZATION'|'BEFORE_EACH_TURN',
                            'contextFulfillmentConfiguration': {
                                'dataRequestFulfillmentConfiguration': {
                                    'dataRequestType': 'CUSTOMER_PROFILE'|'CASES'|'EMAIL'|'TASK',
                                    'maxSingleContextCharacters': 123
                                }
                            }
                        }
                    },
                ],
                'maxMergedContextCharacters': 123
            },
            'multiAgentConfigurations': [
                {
                    'delegateAgentConfiguration': {
                        'agentTarget': {
                            'aiAgentId': 'string',
                            'applicationId': 'string'
                        },
                        'instruction': {
                            'instruction': 'string',
                            'examples': [
                                'string',
                            ]
                        }
                    },
                    'handoffAgentConfiguration': {
                        'agentTarget': {
                            'aiAgentId': 'string',
                            'applicationId': 'string'
                        },
                        'instruction': {
                            'instruction': 'string',
                            'examples': [
                                'string',
                            ]
                        },
                        'audioStreamingEnabled': True|False,
                        'immediateHandoff': True|False
                    }
                },
            ],
            'connectInstanceArn': 'string',
            'locale': 'string',
            'inputSchemas': [
                {...}|[...]|123|123.4|'string'|True|None,
            ],
            'outputSchemas': [
                {...}|[...]|123|123.4|'string'|True|None,
            ]
        },
        'noteTakingAIAgentConfiguration': {
            'noteTakingAIPromptId': 'string',
            'noteTakingAIGuardrailId': 'string',
            'locale': 'string'
        },
        'caseSummarizationAIAgentConfiguration': {
            'caseSummarizationAIPromptId': 'string',
            'caseSummarizationAIGuardrailId': 'string',
            'locale': 'string'
        }
    },
    description='string'
)
type clientToken:

string

param clientToken:

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..

This field is autopopulated if not provided.

type assistantId:

string

param assistantId:

[REQUIRED]

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

type aiAgentId:

string

param aiAgentId:

[REQUIRED]

The identifier of the Amazon Q in Connect AI Agent.

type visibilityStatus:

string

param visibilityStatus:

[REQUIRED]

The visbility status of the Amazon Q in Connect AI Agent.

type configuration:

dict

param configuration:

The configuration of the Amazon Q in Connect AI Agent.

  • manualSearchAIAgentConfiguration (dict) --

    The configuration for AI Agents of type MANUAL_SEARCH.

    • answerGenerationAIPromptId (string) --

      The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.

    • answerGenerationAIGuardrailId (string) --

      The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.

    • associationConfigurations (list) --

      The association configurations for overriding behavior on this AI Agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

    • locale (string) --

      The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

  • answerRecommendationAIAgentConfiguration (dict) --

    The configuration for AI Agents of type ANSWER_RECOMMENDATION.

    • intentLabelingGenerationAIPromptId (string) --

      The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent.

    • queryReformulationAIPromptId (string) --

      The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent.

    • answerGenerationAIPromptId (string) --

      The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent.

    • answerGenerationAIGuardrailId (string) --

      The AI Guardrail identifier for the Answer Generation Guardrail used by the ANSWER_RECOMMENDATION AI Agent.

    • associationConfigurations (list) --

      The association configurations for overriding behavior on this AI Agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

    • locale (string) --

      The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

    • suggestedMessages (list) --

      The suggested messages configuration for the Answer Recommendation AI Agent.

      • (string) --

  • selfServiceAIAgentConfiguration (dict) --

    The configuration for AI Agents of type SELF_SERVICE.

    • selfServicePreProcessingAIPromptId (string) --

      The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent

    • selfServiceAnswerGenerationAIPromptId (string) --

      The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent

    • selfServiceAIGuardrailId (string) --

      The AI Guardrail identifier used by the SELF_SERVICE AI Agent.

    • associationConfigurations (list) --

      The association configurations for overriding behavior on this AI Agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

  • emailResponseAIAgentConfiguration (dict) --

    Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.

    • emailResponseAIPromptId (string) --

      The ID of the System AI prompt used for generating professional email responses based on knowledge base content.

    • emailQueryReformulationAIPromptId (string) --

      The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.

    • locale (string) --

      The locale setting for language-specific email response generation (for example, en_US, es_ES).

    • associationConfigurations (list) --

      Configuration settings for knowledge base associations used by the email response agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

  • emailOverviewAIAgentConfiguration (dict) --

    Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.

    • emailOverviewAIPromptId (string) --

      The ID of the System AI prompt used for generating structured email conversation summaries.

    • locale (string) --

      The locale setting for language-specific email overview processing (for example, en_US, es_ES).

  • emailGenerativeAnswerAIAgentConfiguration (dict) --

    Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.

    • emailGenerativeAnswerAIPromptId (string) --

      The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.

    • emailQueryReformulationAIPromptId (string) --

      The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.

    • locale (string) --

      The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).

    • associationConfigurations (list) --

      Configuration settings for knowledge base associations used by the email generative answer agent.

      • (dict) --

        The configuration for an Amazon Q in Connect Assistant Association.

        • associationId (string) --

          The identifier of the association for this Association Configuration.

        • associationType (string) --

          The type of the association for this Association Configuration.

        • associationConfigurationData (dict) --

          The data of the configuration for an Amazon Q in Connect Assistant Association.

          • knowledgeBaseAssociationConfigurationData (dict) --

            The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

            • contentTagFilter (dict) --

              An object that can be used to specify Tag conditions.

              • tagCondition (dict) --

                A leaf node condition which can be used to specify a tag condition.

                • key (string) -- [REQUIRED]

                  The tag key in the tag condition.

                • value (string) --

                  The tag value in the tag condition.

              • andConditions (list) --

                A list of conditions which would be applied together with an AND condition.

                • (dict) --

                  A leaf node condition which can be used to specify a tag condition.

                  • key (string) -- [REQUIRED]

                    The tag key in the tag condition.

                  • value (string) --

                    The tag value in the tag condition.

              • orConditions (list) --

                A list of conditions which would be applied together with an OR condition.

                • (dict) --

                  A list of conditions which would be applied together with an OR condition.

                  • andConditions (list) --

                    A list of conditions which would be applied together with an AND condition.

                    • (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) -- [REQUIRED]

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                  • tagCondition (dict) --

                    A leaf node condition which can be used to specify a tag condition.

                    • key (string) -- [REQUIRED]

                      The tag key in the tag condition.

                    • value (string) --

                      The tag value in the tag condition.

            • maxResults (integer) --

              The maximum number of results to return per page.

            • overrideKnowledgeBaseSearchType (string) --

              The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

  • orchestrationAIAgentConfiguration (dict) --

    The configuration for AI Agents of type ORCHESTRATION.

    • orchestrationAIPromptId (string) --

      The AI Prompt identifier used by the Orchestration AI Agent.

    • orchestrationAIGuardrailId (string) --

      The AI Guardrail identifier used by the Orchestration AI Agent.

    • toolConfigurations (list) --

      The tool configurations used by the Orchestration AI Agent.

      • (dict) --

        Configuration settings for a tool used by AI Agents.

        • toolName (string) -- [REQUIRED]

          The name of the tool.

        • toolType (string) -- [REQUIRED]

          The type of the tool.

        • title (string) --

          The title of the tool configuration.

        • toolId (string) --

          The identifier of the tool, for example toolName from Model Context Provider server.

        • description (string) --

          The description of the tool configuration.

        • instruction (dict) --

          Instructions for using the tool.

          • instruction (string) --

            The instruction text for the tool.

          • examples (list) --

            Examples for using the tool.

            • (string) --

        • overrideInputValues (list) --

          Override input values for the tool configuration.

          • (dict) --

            An input value override for tools.

            • jsonPath (string) -- [REQUIRED]

              The JSON path for the input value override.

            • value (dict) -- [REQUIRED]

              The override input value.

              • constant (dict) --

                Constant input value configuration for tool override.

                • type (string) -- [REQUIRED]

                  Override tool input value with constant values

                • value (string) -- [REQUIRED]

                  The constant input override value.

        • outputFilters (list) --

          Output filters applies to the tool result.

          • (dict) --

            Filter configuration for tool output.

            • jsonPath (string) -- [REQUIRED]

              The JSON path for filtering tool output.

            • outputConfiguration (dict) --

              The output configuration for the filter.

              • outputVariableNameOverride (string) --

                Override the tool output results to different variable name.

              • sessionDataNamespace (string) --

                The session data namespace for tool output.

        • inputSchema (:ref:`document<document>`) --

          The input schema for the tool configuration.

        • outputSchema (:ref:`document<document>`) --

          The output schema for the tool configuration.

        • annotations (dict) --

          Annotations for the tool configuration.

          • title (string) --

            The title of the annotation.

          • destructiveHint (boolean) --

            A hint indicating that the annotation contains potentially destructive content.

        • userInteractionConfiguration (dict) --

          Configuration for user interaction with the tool.

          • isUserConfirmationRequired (boolean) --

            Indicates whether user confirmation is required for the interaction.

    • contextConfiguration (dict) --

      The context sources that are hydrated before the reasoning loop runs.

      • entries (list) -- [REQUIRED]

        The context sources for the AI Agent. You can configure between 1 and 20 context sources.

        • (dict) --

          A single self-contained context source: its destination, fulfillment timing, and fulfillment.

          • destinationConfiguration (dict) -- [REQUIRED]

            The destination that this hydrated context is written to.

            • destinationType (string) -- [REQUIRED]

              The type of destination that the hydrated context is written to.

            • destination (dict) -- [REQUIRED]

              The destination that the hydrated context is written to.

              • contextData (dict) --

                The configuration for context that is written to session data.

                • key (string) -- [REQUIRED]

                  The SessionData system-variable name this context is written under.

          • dataConfiguration (dict) -- [REQUIRED]

            The timing and the fulfillment method for this context source.

            • contextFulfillmentTiming (string) -- [REQUIRED]

              When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.

            • contextFulfillmentConfiguration (dict) -- [REQUIRED]

              How the context is fetched.

              • dataRequestFulfillmentConfiguration (dict) --

                1P fulfillment via the system-provided context-fetch API.

                • dataRequestType (string) -- [REQUIRED]

                  The data source that the context is fetched from.

                • maxSingleContextCharacters (integer) --

                  Maximum size in characters of this context when it is referenced individually in the prompt. Absent means the service per-context default of 100000 characters applies

      • maxMergedContextCharacters (integer) --

        Maximum size in characters of the merged context. Absent means the service merged-context default of 150000 characters applies

    • multiAgentConfigurations (list) --

      The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.

      • (dict) --

        A union that configures a single collaborator agent for an Orchestration AI Agent, as either a delegate or a handoff.

        • delegateAgentConfiguration (dict) --

          Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.

          • agentTarget (dict) -- [REQUIRED]

            The collaborator agent to delegate to.

            • aiAgentId (string) --

              The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

            • applicationId (string) --

              The identifier of a third-party agent to use as the collaborator agent.

          • instruction (dict) --

            The instruction that tells the Orchestration AI Agent when and how to delegate to this collaborator agent.

            • instruction (string) --

              The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

            • examples (list) --

              Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

              • (string) --

        • handoffAgentConfiguration (dict) --

          Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.

          • agentTarget (dict) -- [REQUIRED]

            The collaborator agent to hand off to.

            • aiAgentId (string) --

              The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

            • applicationId (string) --

              The identifier of a third-party agent to use as the collaborator agent.

          • instruction (dict) --

            The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

            • instruction (string) --

              The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

            • examples (list) --

              Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

              • (string) --

          • audioStreamingEnabled (boolean) --

            Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

          • immediateHandoff (boolean) --

            Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

    • connectInstanceArn (string) --

      The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.

    • locale (string) --

      The locale setting for the Orchestration AI Agent.

    • inputSchemas (list) --

      The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a DATA message sent to the agent is validated against these schemas. You can specify at most one schema.

      • (:ref:`document<document>`) --

    • outputSchemas (list) --

      The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.

      • (:ref:`document<document>`) --

  • noteTakingAIAgentConfiguration (dict) --

    The configuration for AI Agents of type NOTE_TAKING.

    • noteTakingAIPromptId (string) --

      The AI Prompt identifier used by the Note Taking AI Agent.

    • noteTakingAIGuardrailId (string) --

      The AI Guardrail identifier used by the Note Taking AI Agent.

    • locale (string) --

      The locale setting for language-specific case summarization generation (for example, en_US, es_ES).

  • caseSummarizationAIAgentConfiguration (dict) --

    The configuration for AI Agents of type CASE_SUMMARIZATION.

    • caseSummarizationAIPromptId (string) --

      The AI Prompt identifier used by the Case Summarization AI Agent.

    • caseSummarizationAIGuardrailId (string) --

      The AI Guardrail identifier used by the Case Summarization AI Agent.

    • locale (string) --

      The locale setting for the Case Summarization AI Agent.

type description:

string

param description:

The description of the Amazon Q in Connect AI Agent.

rtype:

dict

returns:

Response Syntax

{
    'aiAgent': {
        'assistantId': 'string',
        'assistantArn': 'string',
        'aiAgentId': 'string',
        'aiAgentArn': 'string',
        'name': 'string',
        'type': 'MANUAL_SEARCH'|'ANSWER_RECOMMENDATION'|'SELF_SERVICE'|'EMAIL_RESPONSE'|'EMAIL_OVERVIEW'|'EMAIL_GENERATIVE_ANSWER'|'ORCHESTRATION'|'NOTE_TAKING'|'CASE_SUMMARIZATION',
        'configuration': {
            'manualSearchAIAgentConfiguration': {
                'answerGenerationAIPromptId': 'string',
                'answerGenerationAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ],
                'locale': 'string'
            },
            'answerRecommendationAIAgentConfiguration': {
                'intentLabelingGenerationAIPromptId': 'string',
                'queryReformulationAIPromptId': 'string',
                'answerGenerationAIPromptId': 'string',
                'answerGenerationAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ],
                'locale': 'string',
                'suggestedMessages': [
                    'string',
                ]
            },
            'selfServiceAIAgentConfiguration': {
                'selfServicePreProcessingAIPromptId': 'string',
                'selfServiceAnswerGenerationAIPromptId': 'string',
                'selfServiceAIGuardrailId': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'emailResponseAIAgentConfiguration': {
                'emailResponseAIPromptId': 'string',
                'emailQueryReformulationAIPromptId': 'string',
                'locale': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'emailOverviewAIAgentConfiguration': {
                'emailOverviewAIPromptId': 'string',
                'locale': 'string'
            },
            'emailGenerativeAnswerAIAgentConfiguration': {
                'emailGenerativeAnswerAIPromptId': 'string',
                'emailQueryReformulationAIPromptId': 'string',
                'locale': 'string',
                'associationConfigurations': [
                    {
                        'associationId': 'string',
                        'associationType': 'KNOWLEDGE_BASE',
                        'associationConfigurationData': {
                            'knowledgeBaseAssociationConfigurationData': {
                                'contentTagFilter': {
                                    'tagCondition': {
                                        'key': 'string',
                                        'value': 'string'
                                    },
                                    'andConditions': [
                                        {
                                            'key': 'string',
                                            'value': 'string'
                                        },
                                    ],
                                    'orConditions': [
                                        {
                                            'andConditions': [
                                                {
                                                    'key': 'string',
                                                    'value': 'string'
                                                },
                                            ],
                                            'tagCondition': {
                                                'key': 'string',
                                                'value': 'string'
                                            }
                                        },
                                    ]
                                },
                                'maxResults': 123,
                                'overrideKnowledgeBaseSearchType': 'HYBRID'|'SEMANTIC'
                            }
                        }
                    },
                ]
            },
            'orchestrationAIAgentConfiguration': {
                'orchestrationAIPromptId': 'string',
                'orchestrationAIGuardrailId': 'string',
                'toolConfigurations': [
                    {
                        'toolName': 'string',
                        'toolType': 'MODEL_CONTEXT_PROTOCOL'|'RETURN_TO_CONTROL'|'CONSTANT',
                        'title': 'string',
                        'toolId': 'string',
                        'description': 'string',
                        'instruction': {
                            'instruction': 'string',
                            'examples': [
                                'string',
                            ]
                        },
                        'overrideInputValues': [
                            {
                                'jsonPath': 'string',
                                'value': {
                                    'constant': {
                                        'type': 'STRING'|'NUMBER'|'JSON_STRING',
                                        'value': 'string'
                                    }
                                }
                            },
                        ],
                        'outputFilters': [
                            {
                                'jsonPath': 'string',
                                'outputConfiguration': {
                                    'outputVariableNameOverride': 'string',
                                    'sessionDataNamespace': 'string'
                                }
                            },
                        ],
                        'inputSchema': {...}|[...]|123|123.4|'string'|True|None,
                        'outputSchema': {...}|[...]|123|123.4|'string'|True|None,
                        'annotations': {
                            'title': 'string',
                            'destructiveHint': True|False
                        },
                        'userInteractionConfiguration': {
                            'isUserConfirmationRequired': True|False
                        }
                    },
                ],
                'contextConfiguration': {
                    'entries': [
                        {
                            'destinationConfiguration': {
                                'destinationType': 'CONTEXT_DATA',
                                'destination': {
                                    'contextData': {
                                        'key': 'string'
                                    }
                                }
                            },
                            'dataConfiguration': {
                                'contextFulfillmentTiming': 'SESSION_INITIALIZATION'|'BEFORE_EACH_TURN',
                                'contextFulfillmentConfiguration': {
                                    'dataRequestFulfillmentConfiguration': {
                                        'dataRequestType': 'CUSTOMER_PROFILE'|'CASES'|'EMAIL'|'TASK',
                                        'maxSingleContextCharacters': 123
                                    }
                                }
                            }
                        },
                    ],
                    'maxMergedContextCharacters': 123
                },
                'multiAgentConfigurations': [
                    {
                        'delegateAgentConfiguration': {
                            'agentTarget': {
                                'aiAgentId': 'string',
                                'applicationId': 'string'
                            },
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            }
                        },
                        'handoffAgentConfiguration': {
                            'agentTarget': {
                                'aiAgentId': 'string',
                                'applicationId': 'string'
                            },
                            'instruction': {
                                'instruction': 'string',
                                'examples': [
                                    'string',
                                ]
                            },
                            'audioStreamingEnabled': True|False,
                            'immediateHandoff': True|False
                        }
                    },
                ],
                'connectInstanceArn': 'string',
                'locale': 'string',
                'inputSchemas': [
                    {...}|[...]|123|123.4|'string'|True|None,
                ],
                'outputSchemas': [
                    {...}|[...]|123|123.4|'string'|True|None,
                ]
            },
            'noteTakingAIAgentConfiguration': {
                'noteTakingAIPromptId': 'string',
                'noteTakingAIGuardrailId': 'string',
                'locale': 'string'
            },
            'caseSummarizationAIAgentConfiguration': {
                'caseSummarizationAIPromptId': 'string',
                'caseSummarizationAIGuardrailId': 'string',
                'locale': 'string'
            }
        },
        'modifiedTime': datetime(2015, 1, 1),
        'lastModifiedTime': datetime(2015, 1, 1),
        'lastModifiedRegion': 'string',
        'description': 'string',
        'visibilityStatus': 'SAVED'|'PUBLISHED',
        'tags': {
            'string': 'string'
        },
        'origin': 'SYSTEM'|'CUSTOMER',
        'status': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'ACTIVE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • aiAgent (dict) --

      The data of the updated Amazon Q in Connect AI Agent.

      • assistantId (string) --

        The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

      • assistantArn (string) --

        The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

      • aiAgentId (string) --

        The identifier of the AI Agent.

      • aiAgentArn (string) --

        The Amazon Resource Name (ARN) of the AI agent.

      • name (string) --

        The name of the AI Agent.

      • type (string) --

        The type of the AI Agent.

      • configuration (dict) --

        Configuration for the AI Agent.

        • manualSearchAIAgentConfiguration (dict) --

          The configuration for AI Agents of type MANUAL_SEARCH.

          • answerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Answer Generation prompt used by the MANUAL_SEARCH AI Agent.

          • answerGenerationAIGuardrailId (string) --

            The AI Guardrail identifier for the Answer Generation guardrail used by the MANUAL_SEARCH AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • locale (string) --

            The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

        • answerRecommendationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type ANSWER_RECOMMENDATION.

          • intentLabelingGenerationAIPromptId (string) --

            The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • queryReformulationAIPromptId (string) --

            The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • answerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent.

          • answerGenerationAIGuardrailId (string) --

            The AI Guardrail identifier for the Answer Generation Guardrail used by the ANSWER_RECOMMENDATION AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

          • locale (string) --

            The locale to which specifies the language and region settings that determine the response language for QueryAssistant.

          • suggestedMessages (list) --

            The suggested messages configuration for the Answer Recommendation AI Agent.

            • (string) --

        • selfServiceAIAgentConfiguration (dict) --

          The configuration for AI Agents of type SELF_SERVICE.

          • selfServicePreProcessingAIPromptId (string) --

            The AI Prompt identifier for the Self Service Pre-Processing prompt used by the SELF_SERVICE AI Agent

          • selfServiceAnswerGenerationAIPromptId (string) --

            The AI Prompt identifier for the Self Service Answer Generation prompt used by the SELF_SERVICE AI Agent

          • selfServiceAIGuardrailId (string) --

            The AI Guardrail identifier used by the SELF_SERVICE AI Agent.

          • associationConfigurations (list) --

            The association configurations for overriding behavior on this AI Agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • emailResponseAIAgentConfiguration (dict) --

          Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.

          • emailResponseAIPromptId (string) --

            The ID of the System AI prompt used for generating professional email responses based on knowledge base content.

          • emailQueryReformulationAIPromptId (string) --

            The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.

          • locale (string) --

            The locale setting for language-specific email response generation (for example, en_US, es_ES).

          • associationConfigurations (list) --

            Configuration settings for knowledge base associations used by the email response agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • emailOverviewAIAgentConfiguration (dict) --

          Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.

          • emailOverviewAIPromptId (string) --

            The ID of the System AI prompt used for generating structured email conversation summaries.

          • locale (string) --

            The locale setting for language-specific email overview processing (for example, en_US, es_ES).

        • emailGenerativeAnswerAIAgentConfiguration (dict) --

          Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.

          • emailGenerativeAnswerAIPromptId (string) --

            The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.

          • emailQueryReformulationAIPromptId (string) --

            The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.

          • locale (string) --

            The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).

          • associationConfigurations (list) --

            Configuration settings for knowledge base associations used by the email generative answer agent.

            • (dict) --

              The configuration for an Amazon Q in Connect Assistant Association.

              • associationId (string) --

                The identifier of the association for this Association Configuration.

              • associationType (string) --

                The type of the association for this Association Configuration.

              • associationConfigurationData (dict) --

                The data of the configuration for an Amazon Q in Connect Assistant Association.

                • knowledgeBaseAssociationConfigurationData (dict) --

                  The data of the configuration for a KNOWLEDGE_BASE type Amazon Q in Connect Assistant Association.

                  • contentTagFilter (dict) --

                    An object that can be used to specify Tag conditions.

                    • tagCondition (dict) --

                      A leaf node condition which can be used to specify a tag condition.

                      • key (string) --

                        The tag key in the tag condition.

                      • value (string) --

                        The tag value in the tag condition.

                    • andConditions (list) --

                      A list of conditions which would be applied together with an AND condition.

                      • (dict) --

                        A leaf node condition which can be used to specify a tag condition.

                        • key (string) --

                          The tag key in the tag condition.

                        • value (string) --

                          The tag value in the tag condition.

                    • orConditions (list) --

                      A list of conditions which would be applied together with an OR condition.

                      • (dict) --

                        A list of conditions which would be applied together with an OR condition.

                        • andConditions (list) --

                          A list of conditions which would be applied together with an AND condition.

                          • (dict) --

                            A leaf node condition which can be used to specify a tag condition.

                            • key (string) --

                              The tag key in the tag condition.

                            • value (string) --

                              The tag value in the tag condition.

                        • tagCondition (dict) --

                          A leaf node condition which can be used to specify a tag condition.

                          • key (string) --

                            The tag key in the tag condition.

                          • value (string) --

                            The tag value in the tag condition.

                  • maxResults (integer) --

                    The maximum number of results to return per page.

                  • overrideKnowledgeBaseSearchType (string) --

                    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text

        • orchestrationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type ORCHESTRATION.

          • orchestrationAIPromptId (string) --

            The AI Prompt identifier used by the Orchestration AI Agent.

          • orchestrationAIGuardrailId (string) --

            The AI Guardrail identifier used by the Orchestration AI Agent.

          • toolConfigurations (list) --

            The tool configurations used by the Orchestration AI Agent.

            • (dict) --

              Configuration settings for a tool used by AI Agents.

              • toolName (string) --

                The name of the tool.

              • toolType (string) --

                The type of the tool.

              • title (string) --

                The title of the tool configuration.

              • toolId (string) --

                The identifier of the tool, for example toolName from Model Context Provider server.

              • description (string) --

                The description of the tool configuration.

              • instruction (dict) --

                Instructions for using the tool.

                • instruction (string) --

                  The instruction text for the tool.

                • examples (list) --

                  Examples for using the tool.

                  • (string) --

              • overrideInputValues (list) --

                Override input values for the tool configuration.

                • (dict) --

                  An input value override for tools.

                  • jsonPath (string) --

                    The JSON path for the input value override.

                  • value (dict) --

                    The override input value.

                    • constant (dict) --

                      Constant input value configuration for tool override.

                      • type (string) --

                        Override tool input value with constant values

                      • value (string) --

                        The constant input override value.

              • outputFilters (list) --

                Output filters applies to the tool result.

                • (dict) --

                  Filter configuration for tool output.

                  • jsonPath (string) --

                    The JSON path for filtering tool output.

                  • outputConfiguration (dict) --

                    The output configuration for the filter.

                    • outputVariableNameOverride (string) --

                      Override the tool output results to different variable name.

                    • sessionDataNamespace (string) --

                      The session data namespace for tool output.

              • inputSchema (:ref:`document<document>`) --

                The input schema for the tool configuration.

              • outputSchema (:ref:`document<document>`) --

                The output schema for the tool configuration.

              • annotations (dict) --

                Annotations for the tool configuration.

                • title (string) --

                  The title of the annotation.

                • destructiveHint (boolean) --

                  A hint indicating that the annotation contains potentially destructive content.

              • userInteractionConfiguration (dict) --

                Configuration for user interaction with the tool.

                • isUserConfirmationRequired (boolean) --

                  Indicates whether user confirmation is required for the interaction.

          • contextConfiguration (dict) --

            The context sources that are hydrated before the reasoning loop runs.

            • entries (list) --

              The context sources for the AI Agent. You can configure between 1 and 20 context sources.

              • (dict) --

                A single self-contained context source: its destination, fulfillment timing, and fulfillment.

                • destinationConfiguration (dict) --

                  The destination that this hydrated context is written to.

                  • destinationType (string) --

                    The type of destination that the hydrated context is written to.

                  • destination (dict) --

                    The destination that the hydrated context is written to.

                    • contextData (dict) --

                      The configuration for context that is written to session data.

                      • key (string) --

                        The SessionData system-variable name this context is written under.

                • dataConfiguration (dict) --

                  The timing and the fulfillment method for this context source.

                  • contextFulfillmentTiming (string) --

                    When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.

                  • contextFulfillmentConfiguration (dict) --

                    How the context is fetched.

                    • dataRequestFulfillmentConfiguration (dict) --

                      1P fulfillment via the system-provided context-fetch API.

                      • dataRequestType (string) --

                        The data source that the context is fetched from.

                      • maxSingleContextCharacters (integer) --

                        Maximum size in characters of this context when it is referenced individually in the prompt. Absent means the service per-context default of 100000 characters applies

            • maxMergedContextCharacters (integer) --

              Maximum size in characters of the merged context. Absent means the service merged-context default of 150000 characters applies

          • multiAgentConfigurations (list) --

            The collaborator agents that the Orchestration AI Agent can work with. Each entry defines another agent that the orchestrator either delegates to or hands the conversation off to.

            • (dict) --

              A union that configures a single collaborator agent for an Orchestration AI Agent, as either a delegate or a handoff.

              • delegateAgentConfiguration (dict) --

                Configures the collaborator agent as a delegate that the Orchestration AI Agent invokes while retaining control of the conversation.

                • agentTarget (dict) --

                  The collaborator agent to delegate to.

                  • aiAgentId (string) --

                    The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                  • applicationId (string) --

                    The identifier of a third-party agent to use as the collaborator agent.

                • instruction (dict) --

                  The instruction that tells the Orchestration AI Agent when and how to delegate to this collaborator agent.

                  • instruction (string) --

                    The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                  • examples (list) --

                    Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                    • (string) --

              • handoffAgentConfiguration (dict) --

                Configures the collaborator agent as a handoff target that the Orchestration AI Agent transfers control of the conversation to.

                • agentTarget (dict) --

                  The collaborator agent to hand off to.

                  • aiAgentId (string) --

                    The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

                  • applicationId (string) --

                    The identifier of a third-party agent to use as the collaborator agent.

                • instruction (dict) --

                  The instruction that tells the Orchestration AI Agent when and how to hand off to this collaborator agent.

                  • instruction (string) --

                    The natural-language instruction that tells the Orchestration AI Agent when and how to engage the collaborator agent.

                  • examples (list) --

                    Example interactions that illustrate when the Orchestration AI Agent should engage the collaborator agent.

                    • (string) --

                • audioStreamingEnabled (boolean) --

                  Specifies whether the caller's audio is streamed directly to the collaborator agent and the collaborator's audio response is played back during the handoff. This applies only to voice handoffs.

                • immediateHandoff (boolean) --

                  Specifies whether the conversation is handed off to this collaborator agent immediately on the first turn, without any orchestration reasoning. At most one handoff in an AI Agent's configuration can set this to true.

          • connectInstanceArn (string) --

            The Amazon Resource Name (ARN) of the Amazon Connect instance used by the Orchestration AI Agent.

          • locale (string) --

            The locale setting for the Orchestration AI Agent.

          • inputSchemas (list) --

            The JSON schemas that define the structure of the structured data input accepted by the Orchestration AI Agent. The data in a DATA message sent to the agent is validated against these schemas. You can specify at most one schema.

            • (:ref:`document<document>`) --

          • outputSchemas (list) --

            The JSON schemas that define the structure of the structured output generated by the Orchestration AI Agent. You can specify at most one schema.

            • (:ref:`document<document>`) --

        • noteTakingAIAgentConfiguration (dict) --

          The configuration for AI Agents of type NOTE_TAKING.

          • noteTakingAIPromptId (string) --

            The AI Prompt identifier used by the Note Taking AI Agent.

          • noteTakingAIGuardrailId (string) --

            The AI Guardrail identifier used by the Note Taking AI Agent.

          • locale (string) --

            The locale setting for language-specific case summarization generation (for example, en_US, es_ES).

        • caseSummarizationAIAgentConfiguration (dict) --

          The configuration for AI Agents of type CASE_SUMMARIZATION.

          • caseSummarizationAIPromptId (string) --

            The AI Prompt identifier used by the Case Summarization AI Agent.

          • caseSummarizationAIGuardrailId (string) --

            The AI Guardrail identifier used by the Case Summarization AI Agent.

          • locale (string) --

            The locale setting for the Case Summarization AI Agent.

      • modifiedTime (datetime) --

        The time the AI Agent was last modified.

      • lastModifiedTime (datetime) --

        The timestamp when the AI Agent was last modified.

      • lastModifiedRegion (string) --

        The Amazon Web Services Region where the AI Agent was last modified.

      • description (string) --

        The description of the AI Agent.

      • visibilityStatus (string) --

        The visibility status of the AI Agent.

      • tags (dict) --

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

        • (string) --

          • (string) --

      • origin (string) --

        Specifies the origin of the AI Agent. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

      • status (string) --

        The status of the AI Agent.