Skip to content

CreateIntentVersionRequest

Source code in docs_src/capo_lex_model_building_service/types/create_intent_version_request.py
class CreateIntentVersionRequest(TypedDict, closed=True):
    name: "capo_lex_model_building_service.types.intent_name.IntentName"
    """<p>The name of the intent that you want to create a new version of. The name is case sensitive. </p>"""
    checksum: NotRequired["capo_lex_model_building_service.types.string.String"]
    """<p>Checksum of the <code>$LATEST</code> version of the intent that should be used to create the new version. If you specify a checksum and the <code>$LATEST</code> version of the intent has a different checksum, Amazon Lex returns a <code>PreconditionFailedException</code> exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the <code>$LATEST</code> version.</p>"""

checksum instance-attribute

checksum: NotRequired[String]

Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.

name instance-attribute

name: IntentName

The name of the intent that you want to create a new version of. The name is case sensitive.