Class: Aws::LexModelsV2::Types::UpdateIntentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexmodelsv2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_idString

The identifier of the bot that contains the intent.

Returns:

  • (String)


14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#bot_versionString

The version of the bot that contains the intent. Must be ‘DRAFT`.

Returns:

  • (String)


14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The new description of the intent.

Returns:

  • (String)


14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#dialog_code_hookTypes::DialogCodeHookSettings

The new Lambda function to use between each turn of the conversation with the bot.



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#fulfillment_code_hookTypes::FulfillmentCodeHookSettings

The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#initial_response_settingTypes::InitialResponseSetting

Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#input_contextsArray<Types::InputContext>

A new list of contexts that must be active in order for Amazon Lex to consider the intent.

Returns:



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#intent_closing_settingTypes::IntentClosingSetting

The new response that Amazon Lex sends the user when the intent is closed.



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#intent_confirmation_settingTypes::IntentConfirmationSetting

New prompts that Amazon Lex sends to the user to confirm the completion of an intent.



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#intent_idString

The unique identifier of the intent to update.

Returns:

  • (String)


14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#intent_nameString

The new name for the intent.

Returns:

  • (String)


14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#kendra_configurationTypes::KendraConfiguration

New configuration settings for connecting to an Amazon Kendra index.



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#locale_idString

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]: docs.aws.amazon.com/lexv2/latest/dg/how-languages.html

Returns:

  • (String)


14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#output_contextsArray<Types::OutputContext>

A new list of contexts that Amazon Lex activates when the intent is fulfilled.

Returns:



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#parent_intent_signatureString

The signature of the new built-in intent to use as the parent of this intent.

Returns:

  • (String)


14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#qn_a_intent_configurationTypes::QnAIntentConfiguration

Specifies the configuration of the built-in ‘Amazon.QnAIntent`. The `AMAZON.QnAIntent` intent is called when Amazon Lex can’t determine another intent to invoke. If you specify this field, you can’t specify the ‘kendraConfiguration` field.



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#sample_utterancesArray<Types::SampleUtterance>

New utterances used to invoke the intent.

Returns:



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#slot_prioritiesArray<Types::SlotPriority>

A new list of slots and their priorities that are contained by the intent.

Returns:



14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 14822

class UpdateIntentRequest < Struct.new(
  :intent_id,
  :intent_name,
  :description,
  :parent_intent_signature,
  :sample_utterances,
  :dialog_code_hook,
  :fulfillment_code_hook,
  :slot_priorities,
  :intent_confirmation_setting,
  :intent_closing_setting,
  :input_contexts,
  :output_contexts,
  :kendra_configuration,
  :bot_id,
  :bot_version,
  :locale_id,
  :initial_response_setting,
  :qn_a_intent_configuration)
  SENSITIVE = []
  include Aws::Structure
end