Values.CreateIntentVersionResponseSourceCreates a new version of an intent based on the $LATEST version of the intent. If the $LATEST version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created. You can update only the $LATEST version of the intent. You can't update the numbered versions that you create with the CreateIntentVersion operation. When you create a version of an intent, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permissions to perform the lex:CreateIntentVersion action.
type nonrec t = {name : IntentName.t option;The name of the intent.
*)description : Description.t option;A description of the intent.
*)slots : SlotList.t option;An array of slot types that defines the information required to fulfill the intent.
*)sampleUtterances : IntentUtteranceList.t option;An array of sample utterances configured for the intent.
*)confirmationPrompt : Prompt.t option;If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
*)rejectionStatement : Statement.t option;If the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled.
*)followUpPrompt : FollowUpPrompt.t option;If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
*)conclusionStatement : Statement.t option;After the Lambda function specified in the fulfillmentActivity field fulfills the intent, Amazon Lex conveys this statement to the user.
*)dialogCodeHook : CodeHook.t option;If defined, Amazon Lex invokes this Lambda function for each user input.
*)fulfillmentActivity : FulfillmentActivity.t option;Describes how the intent is fulfilled.
*)parentIntentSignature : BuiltinIntentSignature.t option;A unique identifier for a built-in intent.
*)lastUpdatedDate : Timestamp.t option;The date that the intent was updated.
*)createdDate : Timestamp.t option;The date that the intent was created.
*)version : Version.t option;The version number assigned to the new version of the intent.
*)checksum : String_.t option;Checksum of the intent version created.
*)kendraConfiguration : KendraConfiguration.t option;Configuration information, if any, for connecting an Amazon Kendra index with the AMAZON.KendraSearchIntent intent.
*)inputContexts : InputContextList.t option;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.
*)outputContexts : OutputContextList.t option;An array of OutputContext objects that lists the contexts that the intent activates when the intent is fulfilled.
*)}type nonrec error = [ | `BadRequestException of BadRequestException.t| `ConflictException of ConflictException.t| `InternalFailureException of InternalFailureException.t| `LimitExceededException of LimitExceededException.t| `NotFoundException of NotFoundException.t| `PreconditionFailedException of PreconditionFailedException.t| `Unknown_operation_error of string * string option ]val make :
?name:??? ->
?description:??? ->
?slots:??? ->
?sampleUtterances:??? ->
?confirmationPrompt:??? ->
?rejectionStatement:??? ->
?followUpPrompt:??? ->
?conclusionStatement:??? ->
?dialogCodeHook:??? ->
?fulfillmentActivity:??? ->
?parentIntentSignature:??? ->
?lastUpdatedDate:??? ->
?createdDate:??? ->
?version:??? ->
?checksum:??? ->
?kendraConfiguration:??? ->
?inputContexts:??? ->
?outputContexts:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `BadRequestException of BadRequestException.t
| `ConflictException of ConflictException.t
| `InternalFailureException of InternalFailureException.t
| `LimitExceededException of LimitExceededException.t
| `NotFoundException of NotFoundException.t
| `PreconditionFailedException of PreconditionFailedException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BadRequestException of BadRequestException.t
| `ConflictException of ConflictException.t
| `InternalFailureException of InternalFailureException.t
| `LimitExceededException of LimitExceededException.t
| `NotFoundException of NotFoundException.t
| `PreconditionFailedException of PreconditionFailedException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of Utterance.t
| `Structure of
(string
* [> `Enum of string
| `Integer of Priority.t
| `List of [> `String of Utterance.t ] list
| `String of SlotName.t
| `Structure of
(string
* [> `Integer of PromptMaxAttempts.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of GroupNumber.t
| `String of ContentString.t ])
list ]
list
| `String of ResponseCard.t ])
list ])
list ]
list
| `String of IntentName.t
| `Structure of
(string
* [> `Enum of string
| `Integer of PromptMaxAttempts.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of GroupNumber.t
| `String of ContentString.t ])
list ]
list
| `String of ResponseCard.t
| `Structure of
(string
* [> `Integer of PromptMaxAttempts.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of GroupNumber.t
| `String of ContentString.t ])
list ]
list
| `String of ResponseCard.t ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]