Skip to content

PutIntentResponse

Source code in docs_src/capo_lex_model_building_service/types/put_intent_response.py
class PutIntentResponse(TypedDict, closed=True):
    name: NotRequired["capo_lex_model_building_service.types.intent_name.IntentName"]
    """<p>The name of the intent.</p>"""
    description: NotRequired[
        "capo_lex_model_building_service.types.description.Description"
    ]
    """<p>A description of the intent.</p>"""
    slots: NotRequired["capo_lex_model_building_service.types.slot_list.SlotList"]
    """<p>An array of intent slots that are configured for the intent.</p>"""
    sample_utterances: NotRequired[
        "capo_lex_model_building_service.types.intent_utterance_list.IntentUtteranceList"
    ]
    """<p> An array of sample utterances that are configured for the intent. </p>"""
    confirmation_prompt: NotRequired[
        "capo_lex_model_building_service.types.prompt.Prompt"
    ]
    """<p>If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.</p>"""
    rejection_statement: NotRequired[
        "capo_lex_model_building_service.types.statement.Statement"
    ]
    """<p>If the user answers "no" to the question defined in <code>confirmationPrompt</code> Amazon Lex responds with this statement to acknowledge that the intent was canceled. </p>"""
    follow_up_prompt: NotRequired[
        "capo_lex_model_building_service.types.follow_up_prompt.FollowUpPrompt"
    ]
    """<p>If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.</p>"""
    conclusion_statement: NotRequired[
        "capo_lex_model_building_service.types.statement.Statement"
    ]
    """<p>After the Lambda function specified in the<code>fulfillmentActivity</code>intent fulfills the intent, Amazon Lex conveys this statement to the user.</p>"""
    dialog_code_hook: NotRequired[
        "capo_lex_model_building_service.types.code_hook.CodeHook"
    ]
    """<p>If defined in the intent, Amazon Lex invokes this Lambda function for each user input.</p>"""
    fulfillment_activity: NotRequired[
        "capo_lex_model_building_service.types.fulfillment_activity.FulfillmentActivity"
    ]
    """<p>If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.</p>"""
    parent_intent_signature: NotRequired[
        "capo_lex_model_building_service.types.builtin_intent_signature.BuiltinIntentSignature"
    ]
    """<p>A unique identifier for the built-in intent that this intent is based on.</p>"""
    last_updated_date: NotRequired[
        "capo_lex_model_building_service.types.timestamp.Timestamp"
    ]
    """<p>The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.</p>"""
    created_date: NotRequired[
        "capo_lex_model_building_service.types.timestamp.Timestamp"
    ]
    """<p>The date that the intent was created.</p>"""
    version: NotRequired["capo_lex_model_building_service.types.version.Version"]
    """<p>The version of the intent. For a new intent, the version is always <code>$LATEST</code>.</p>"""
    checksum: NotRequired["capo_lex_model_building_service.types.string.String"]
    """<p>Checksum of the <code>$LATEST</code>version of the intent created or updated.</p>"""
    create_version: NotRequired["capo_lex_model_building_service.types.boolean.Boolean"]
    """<p> <code>True</code> if a new version of the intent was created. If the <code>createVersion</code> field was not specified in the request, the <code>createVersion</code> field is set to false in the response.</p>"""
    kendra_configuration: NotRequired[
        "capo_lex_model_building_service.types.kendra_configuration.KendraConfiguration"
    ]
    """<p>Configuration information, if any, required to connect to an Amazon Kendra index and use the <code>AMAZON.KendraSearchIntent</code> intent.</p>"""
    input_contexts: NotRequired[
        "capo_lex_model_building_service.types.input_context_list.InputContextList"
    ]
    """<p>An array of <code>InputContext</code> objects that lists the contexts that must be active for Amazon Lex to choose the intent in a conversation with the user.</p>"""
    output_contexts: NotRequired[
        "capo_lex_model_building_service.types.output_context_list.OutputContextList"
    ]
    """<p>An array of <code>OutputContext</code> objects that lists the contexts that the intent activates when the intent is fulfilled.</p>"""

checksum instance-attribute

checksum: NotRequired[String]

Checksum of the $LATESTversion of the intent created or updated.

conclusion_statement instance-attribute

conclusion_statement: NotRequired[Statement]

After the Lambda function specified in thefulfillmentActivityintent fulfills the intent, Amazon Lex conveys this statement to the user.

confirmation_prompt instance-attribute

confirmation_prompt: NotRequired[Prompt]

If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.

create_version instance-attribute

create_version: NotRequired[Boolean]

True if a new version of the intent was created. If the createVersion field was not specified in the request, the createVersion field is set to false in the response.

created_date instance-attribute

created_date: NotRequired[Timestamp]

The date that the intent was created.

description instance-attribute

description: NotRequired[Description]

A description of the intent.

dialog_code_hook instance-attribute

dialog_code_hook: NotRequired[CodeHook]

If defined in the intent, Amazon Lex invokes this Lambda function for each user input.

follow_up_prompt instance-attribute

follow_up_prompt: NotRequired[FollowUpPrompt]

If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.

fulfillment_activity instance-attribute

fulfillment_activity: NotRequired[FulfillmentActivity]

If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.

input_contexts instance-attribute

input_contexts: NotRequired[InputContextList]

An array of InputContext objects that lists the contexts that must be active for Amazon Lex to choose the intent in a conversation with the user.

kendra_configuration instance-attribute

kendra_configuration: NotRequired[KendraConfiguration]

Configuration information, if any, required to connect to an Amazon Kendra index and use the AMAZON.KendraSearchIntent intent.

last_updated_date instance-attribute

last_updated_date: NotRequired[Timestamp]

The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.

name instance-attribute

name: NotRequired[IntentName]

The name of the intent.

output_contexts instance-attribute

output_contexts: NotRequired[OutputContextList]

An array of OutputContext objects that lists the contexts that the intent activates when the intent is fulfilled.

parent_intent_signature instance-attribute

parent_intent_signature: NotRequired[BuiltinIntentSignature]

A unique identifier for the built-in intent that this intent is based on.

rejection_statement instance-attribute

rejection_statement: NotRequired[Statement]

If the user answers "no" to the question defined in confirmationPrompt Amazon Lex responds with this statement to acknowledge that the intent was canceled.

sample_utterances instance-attribute

sample_utterances: NotRequired[IntentUtteranceList]

An array of sample utterances that are configured for the intent.

slots instance-attribute

slots: NotRequired[SlotList]

An array of intent slots that are configured for the intent.

version instance-attribute

version: NotRequired[Version]

The version of the intent. For a new intent, the version is always $LATEST.