Class: Aws::LexModelsV2::Types::IntentClosingSetting
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::IntentClosingSetting
- Defined in:
- gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb
Overview
Note:
When making an API call, you may pass IntentClosingSetting data as a hash:
{
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,
}
Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#active ⇒ Boolean
Specifies whether an intent's closing response is used.
-
#closing_response ⇒ Types::ResponseSpecification
The response that Amazon Lex sends to the user when the intent is complete.
Instance Attribute Details
#active ⇒ Boolean
Specifies whether an intent's closing response is used. When this
field is false, the closing response isn't sent to the user. If the
active
field isn't specified, the default is true.
6773 6774 6775 6776 6777 6778 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6773 class IntentClosingSetting < Struct.new( :closing_response, :active) SENSITIVE = [] include Aws::Structure end |
#closing_response ⇒ Types::ResponseSpecification
The response that Amazon Lex sends to the user when the intent is complete.
6773 6774 6775 6776 6777 6778 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6773 class IntentClosingSetting < Struct.new( :closing_response, :active) SENSITIVE = [] include Aws::Structure end |