class Aws::LexModelsV2::Types::IntentClosingSetting

Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.

@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,
    }

@!attribute [rw] closing_response

The response that Amazon Lex sends to the user when the intent is
complete.
@return [Types::ResponseSpecification]

@!attribute [rw] active

Specifies whether an intent's closing response is used. When this
field is false, the closing response isn't sent to the user and no
closing input from the user is used. If the `active` field isn't
specified, the default is true.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentClosingSetting AWS API Documentation

Constants

SENSITIVE