class Aws::LexModelsV2::Types::UpdateIntentRequest
@note When making an API call, you may pass UpdateIntentRequest
data as a hash: { intent_id: "Id", # required intent_name: "Name", # required description: "Description", parent_intent_signature: "IntentSignature", sample_utterances: [ { utterance: "Utterance", # required }, ], dialog_code_hook: { enabled: false, # required }, fulfillment_code_hook: { enabled: false, # required }, slot_priorities: [ { priority: 1, # required slot_id: "Id", # required }, ], intent_confirmation_setting: { prompt_specification: { # required message_groups: [ # required { message: { # required plain_text_message: { value: "PlainTextMessageValue", # required }, custom_payload: { value: "CustomPayloadValue", # required }, ssml_message: { value: "SSMLMessageValue", # required }, image_response_card: { title: "AttachmentTitle", # required subtitle: "AttachmentTitle", image_url: "AttachmentUrl", buttons: [ { text: "ButtonText", # required value: "ButtonValue", # required }, ], }, }, variations: [ { plain_text_message: { value: "PlainTextMessageValue", # required }, custom_payload: { value: "CustomPayloadValue", # required }, ssml_message: { value: "SSMLMessageValue", # required }, image_response_card: { title: "AttachmentTitle", # required subtitle: "AttachmentTitle", image_url: "AttachmentUrl", buttons: [ { text: "ButtonText", # required value: "ButtonValue", # required }, ], }, }, ], }, ], max_retries: 1, # required allow_interrupt: false, }, declination_response: { # required message_groups: [ # required { message: { # required plain_text_message: { value: "PlainTextMessageValue", # required }, custom_payload: { value: "CustomPayloadValue", # required }, ssml_message: { value: "SSMLMessageValue", # required }, image_response_card: { title: "AttachmentTitle", # required subtitle: "AttachmentTitle", image_url: "AttachmentUrl", buttons: [ { text: "ButtonText", # required value: "ButtonValue", # required }, ], }, }, variations: [ { plain_text_message: { value: "PlainTextMessageValue", # required }, custom_payload: { value: "CustomPayloadValue", # required }, ssml_message: { value: "SSMLMessageValue", # required }, image_response_card: { title: "AttachmentTitle", # required subtitle: "AttachmentTitle", image_url: "AttachmentUrl", buttons: [ { text: "ButtonText", # required value: "ButtonValue", # required }, ], }, }, ], }, ], allow_interrupt: false, }, active: false, }, intent_closing_setting: { closing_response: { # required message_groups: [ # required { message: { # required plain_text_message: { value: "PlainTextMessageValue", # required }, custom_payload: { value: "CustomPayloadValue", # required }, ssml_message: { value: "SSMLMessageValue", # required }, image_response_card: { title: "AttachmentTitle", # required subtitle: "AttachmentTitle", image_url: "AttachmentUrl", buttons: [ { text: "ButtonText", # required value: "ButtonValue", # required }, ], }, }, variations: [ { plain_text_message: { value: "PlainTextMessageValue", # required }, custom_payload: { value: "CustomPayloadValue", # required }, ssml_message: { value: "SSMLMessageValue", # required }, image_response_card: { title: "AttachmentTitle", # required subtitle: "AttachmentTitle", image_url: "AttachmentUrl", buttons: [ { text: "ButtonText", # required value: "ButtonValue", # required }, ], }, }, ], }, ], allow_interrupt: false, }, active: false, }, input_contexts: [ { name: "Name", # required }, ], output_contexts: [ { name: "Name", # required time_to_live_in_seconds: 1, # required turns_to_live: 1, # required }, ], kendra_configuration: { kendra_index: "KendraIndexArn", # required query_filter_string_enabled: false, query_filter_string: "QueryFilterString", }, bot_id: "Id", # required bot_version: "DraftBotVersion", # required locale_id: "LocaleId", # required }
@!attribute [rw] intent_id
The unique identifier of the intent to update. @return [String]
@!attribute [rw] intent_name
The new name for the intent. @return [String]
@!attribute [rw] description
The new description of the intent. @return [String]
@!attribute [rw] parent_intent_signature
The signature of the new built-in intent to use as the parent of this intent. @return [String]
@!attribute [rw] sample_utterances
New utterances used to invoke the intent. @return [Array<Types::SampleUtterance>]
@!attribute [rw] dialog_code_hook
The new Lambda function to use between each turn of the conversation with the bot. @return [Types::DialogCodeHookSettings]
@!attribute [rw] fulfillment_code_hook
The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment. @return [Types::FulfillmentCodeHookSettings]
@!attribute [rw] slot_priorities
A new list of slots and their priorities that are contained by the intent. @return [Array<Types::SlotPriority>]
@!attribute [rw] intent_confirmation_setting
New prompts that Amazon Lex sends to the user to confirm the completion of an intent. @return [Types::IntentConfirmationSetting]
@!attribute [rw] intent_closing_setting
The new response that Amazon Lex sends the user when the intent is closed. @return [Types::IntentClosingSetting]
@!attribute [rw] input_contexts
A new list of contexts that must be active in order for Amazon Lex to consider the intent. @return [Array<Types::InputContext>]
@!attribute [rw] output_contexts
A new list of contexts that Amazon Lex activates when the intent is fulfilled. @return [Array<Types::OutputContext>]
@!attribute [rw] kendra_configuration
New configuration settings for connecting to an Amazon Kendra index. @return [Types::KendraConfiguration]
@!attribute [rw] bot_id
The identifier of the bot that contains the intent. @return [String]
@!attribute [rw] bot_version
The version of the bot that contains the intent. Must be `DRAFT`. @return [String]
@!attribute [rw] locale_id
The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see [Supported languages][1]. [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntentRequest AWS API Documentation
Constants
- SENSITIVE