Skip to content

Update Intent

lexmodelsv2_update_intent R Documentation

Updates the settings for an intent

Description

Updates the settings for an intent.

Usage

lexmodelsv2_update_intent(intentId, intentName, description,
  parentIntentSignature, sampleUtterances, dialogCodeHook,
  fulfillmentCodeHook, slotPriorities, intentConfirmationSetting,
  intentClosingSetting, inputContexts, outputContexts,
  kendraConfiguration, botId, botVersion, localeId,
  initialResponseSetting, qnAIntentConfiguration)

Arguments

intentId

[required] The unique identifier of the intent to update.

intentName

[required] The new name for the intent.

description

The new description of the intent.

parentIntentSignature

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

sampleUtterances

New utterances used to invoke the intent.

dialogCodeHook

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

fulfillmentCodeHook

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

slotPriorities

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

intentConfirmationSetting

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

intentClosingSetting

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

inputContexts

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

outputContexts

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

kendraConfiguration

New configuration settings for connecting to an Amazon Kendra index.

botId

[required] The identifier of the bot that contains the intent.

botVersion

[required] The version of the bot that contains the intent. Must be DRAFT.

localeId

[required] 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.

initialResponseSetting

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

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.

Value

A list with the following syntax:

list(
  intentId = "string",
  intentName = "string",
  description = "string",
  parentIntentSignature = "string",
  sampleUtterances = list(
    list(
      utterance = "string"
    )
  ),
  dialogCodeHook = list(
    enabled = TRUE|FALSE
  ),
  fulfillmentCodeHook = list(
    enabled = TRUE|FALSE,
    postFulfillmentStatusSpecification = list(
      successResponse = list(
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      failureResponse = list(
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      timeoutResponse = list(
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      successNextStep = list(
        dialogAction = list(
          type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
          slotToElicit = "string",
          suppressNextMessage = TRUE|FALSE
        ),
        intent = list(
          name = "string",
          slots = list(
            list(
              shape = "Scalar"|"List",
              value = list(
                interpretedValue = "string"
              ),
              values = list(
                list()
              )
            )
          )
        ),
        sessionAttributes = list(
          "string"
        )
      ),
      successConditional = list(
        active = TRUE|FALSE,
        conditionalBranches = list(
          list(
            name = "string",
            condition = list(
              expressionString = "string"
            ),
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        defaultBranch = list(
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      failureNextStep = list(
        dialogAction = list(
          type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
          slotToElicit = "string",
          suppressNextMessage = TRUE|FALSE
        ),
        intent = list(
          name = "string",
          slots = list(
            list(
              shape = "Scalar"|"List",
              value = list(
                interpretedValue = "string"
              ),
              values = list(
                list()
              )
            )
          )
        ),
        sessionAttributes = list(
          "string"
        )
      ),
      failureConditional = list(
        active = TRUE|FALSE,
        conditionalBranches = list(
          list(
            name = "string",
            condition = list(
              expressionString = "string"
            ),
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        defaultBranch = list(
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      timeoutNextStep = list(
        dialogAction = list(
          type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
          slotToElicit = "string",
          suppressNextMessage = TRUE|FALSE
        ),
        intent = list(
          name = "string",
          slots = list(
            list(
              shape = "Scalar"|"List",
              value = list(
                interpretedValue = "string"
              ),
              values = list(
                list()
              )
            )
          )
        ),
        sessionAttributes = list(
          "string"
        )
      ),
      timeoutConditional = list(
        active = TRUE|FALSE,
        conditionalBranches = list(
          list(
            name = "string",
            condition = list(
              expressionString = "string"
            ),
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        defaultBranch = list(
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      )
    ),
    fulfillmentUpdatesSpecification = list(
      active = TRUE|FALSE,
      startResponse = list(
        delayInSeconds = 123,
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      updateResponse = list(
        frequencyInSeconds = 123,
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      timeoutInSeconds = 123
    ),
    active = TRUE|FALSE
  ),
  slotPriorities = list(
    list(
      priority = 123,
      slotId = "string"
    )
  ),
  intentConfirmationSetting = list(
    promptSpecification = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      maxRetries = 123,
      allowInterrupt = TRUE|FALSE,
      messageSelectionStrategy = "Random"|"Ordered",
      promptAttemptsSpecification = list(
        list(
          allowInterrupt = TRUE|FALSE,
          allowedInputTypes = list(
            allowAudioInput = TRUE|FALSE,
            allowDTMFInput = TRUE|FALSE
          ),
          audioAndDTMFInputSpecification = list(
            startTimeoutMs = 123,
            audioSpecification = list(
              maxLengthMs = 123,
              endTimeoutMs = 123
            ),
            dtmfSpecification = list(
              maxLength = 123,
              endTimeoutMs = 123,
              deletionCharacter = "string",
              endCharacter = "string"
            )
          ),
          textInputSpecification = list(
            startTimeoutMs = 123
          )
        )
      )
    ),
    declinationResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    active = TRUE|FALSE,
    confirmationResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    confirmationNextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    confirmationConditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    ),
    declinationNextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    declinationConditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    ),
    failureResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    failureNextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    failureConditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    ),
    codeHook = list(
      enableCodeHookInvocation = TRUE|FALSE,
      active = TRUE|FALSE,
      invocationLabel = "string",
      postCodeHookSpecification = list(
        successResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        successNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        successConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        failureResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        failureNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        failureConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        timeoutResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        timeoutNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        timeoutConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        )
      )
    ),
    elicitationCodeHook = list(
      enableCodeHookInvocation = TRUE|FALSE,
      invocationLabel = "string"
    )
  ),
  intentClosingSetting = list(
    closingResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    active = TRUE|FALSE,
    nextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    conditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    )
  ),
  inputContexts = list(
    list(
      name = "string"
    )
  ),
  outputContexts = list(
    list(
      name = "string",
      timeToLiveInSeconds = 123,
      turnsToLive = 123
    )
  ),
  kendraConfiguration = list(
    kendraIndex = "string",
    queryFilterStringEnabled = TRUE|FALSE,
    queryFilterString = "string"
  ),
  botId = "string",
  botVersion = "string",
  localeId = "string",
  creationDateTime = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedDateTime = as.POSIXct(
    "2015-01-01"
  ),
  initialResponseSetting = list(
    initialResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    nextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    conditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    ),
    codeHook = list(
      enableCodeHookInvocation = TRUE|FALSE,
      active = TRUE|FALSE,
      invocationLabel = "string",
      postCodeHookSpecification = list(
        successResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        successNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        successConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        failureResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        failureNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        failureConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        timeoutResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        timeoutNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        timeoutConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        )
      )
    )
  ),
  qnAIntentConfiguration = list(
    dataSourceConfiguration = list(
      opensearchConfiguration = list(
        domainEndpoint = "string",
        indexName = "string",
        exactResponse = TRUE|FALSE,
        exactResponseFields = list(
          questionField = "string",
          answerField = "string"
        ),
        includeFields = list(
          "string"
        )
      ),
      kendraConfiguration = list(
        kendraIndex = "string",
        queryFilterStringEnabled = TRUE|FALSE,
        queryFilterString = "string",
        exactResponse = TRUE|FALSE
      ),
      bedrockKnowledgeStoreConfiguration = list(
        bedrockKnowledgeBaseArn = "string",
        exactResponse = TRUE|FALSE,
        exactResponseFields = list(
          answerField = "string"
        )
      )
    ),
    bedrockModelConfiguration = list(
      modelArn = "string",
      guardrail = list(
        identifier = "string",
        version = "string"
      ),
      traceStatus = "ENABLED"|"DISABLED",
      customPrompt = "string"
    )
  )
)

Request syntax

svc$update_intent(
  intentId = "string",
  intentName = "string",
  description = "string",
  parentIntentSignature = "string",
  sampleUtterances = list(
    list(
      utterance = "string"
    )
  ),
  dialogCodeHook = list(
    enabled = TRUE|FALSE
  ),
  fulfillmentCodeHook = list(
    enabled = TRUE|FALSE,
    postFulfillmentStatusSpecification = list(
      successResponse = list(
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      failureResponse = list(
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      timeoutResponse = list(
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      successNextStep = list(
        dialogAction = list(
          type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
          slotToElicit = "string",
          suppressNextMessage = TRUE|FALSE
        ),
        intent = list(
          name = "string",
          slots = list(
            list(
              shape = "Scalar"|"List",
              value = list(
                interpretedValue = "string"
              ),
              values = list(
                list()
              )
            )
          )
        ),
        sessionAttributes = list(
          "string"
        )
      ),
      successConditional = list(
        active = TRUE|FALSE,
        conditionalBranches = list(
          list(
            name = "string",
            condition = list(
              expressionString = "string"
            ),
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        defaultBranch = list(
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      failureNextStep = list(
        dialogAction = list(
          type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
          slotToElicit = "string",
          suppressNextMessage = TRUE|FALSE
        ),
        intent = list(
          name = "string",
          slots = list(
            list(
              shape = "Scalar"|"List",
              value = list(
                interpretedValue = "string"
              ),
              values = list(
                list()
              )
            )
          )
        ),
        sessionAttributes = list(
          "string"
        )
      ),
      failureConditional = list(
        active = TRUE|FALSE,
        conditionalBranches = list(
          list(
            name = "string",
            condition = list(
              expressionString = "string"
            ),
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        defaultBranch = list(
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      timeoutNextStep = list(
        dialogAction = list(
          type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
          slotToElicit = "string",
          suppressNextMessage = TRUE|FALSE
        ),
        intent = list(
          name = "string",
          slots = list(
            list(
              shape = "Scalar"|"List",
              value = list(
                interpretedValue = "string"
              ),
              values = list(
                list()
              )
            )
          )
        ),
        sessionAttributes = list(
          "string"
        )
      ),
      timeoutConditional = list(
        active = TRUE|FALSE,
        conditionalBranches = list(
          list(
            name = "string",
            condition = list(
              expressionString = "string"
            ),
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        defaultBranch = list(
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      )
    ),
    fulfillmentUpdatesSpecification = list(
      active = TRUE|FALSE,
      startResponse = list(
        delayInSeconds = 123,
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      updateResponse = list(
        frequencyInSeconds = 123,
        messageGroups = list(
          list(
            message = list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            ),
            variations = list(
              list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              )
            )
          )
        ),
        allowInterrupt = TRUE|FALSE
      ),
      timeoutInSeconds = 123
    ),
    active = TRUE|FALSE
  ),
  slotPriorities = list(
    list(
      priority = 123,
      slotId = "string"
    )
  ),
  intentConfirmationSetting = list(
    promptSpecification = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      maxRetries = 123,
      allowInterrupt = TRUE|FALSE,
      messageSelectionStrategy = "Random"|"Ordered",
      promptAttemptsSpecification = list(
        list(
          allowInterrupt = TRUE|FALSE,
          allowedInputTypes = list(
            allowAudioInput = TRUE|FALSE,
            allowDTMFInput = TRUE|FALSE
          ),
          audioAndDTMFInputSpecification = list(
            startTimeoutMs = 123,
            audioSpecification = list(
              maxLengthMs = 123,
              endTimeoutMs = 123
            ),
            dtmfSpecification = list(
              maxLength = 123,
              endTimeoutMs = 123,
              deletionCharacter = "string",
              endCharacter = "string"
            )
          ),
          textInputSpecification = list(
            startTimeoutMs = 123
          )
        )
      )
    ),
    declinationResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    active = TRUE|FALSE,
    confirmationResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    confirmationNextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    confirmationConditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    ),
    declinationNextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    declinationConditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    ),
    failureResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    failureNextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    failureConditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    ),
    codeHook = list(
      enableCodeHookInvocation = TRUE|FALSE,
      active = TRUE|FALSE,
      invocationLabel = "string",
      postCodeHookSpecification = list(
        successResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        successNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        successConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        failureResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        failureNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        failureConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        timeoutResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        timeoutNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        timeoutConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        )
      )
    ),
    elicitationCodeHook = list(
      enableCodeHookInvocation = TRUE|FALSE,
      invocationLabel = "string"
    )
  ),
  intentClosingSetting = list(
    closingResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    active = TRUE|FALSE,
    nextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    conditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    )
  ),
  inputContexts = list(
    list(
      name = "string"
    )
  ),
  outputContexts = list(
    list(
      name = "string",
      timeToLiveInSeconds = 123,
      turnsToLive = 123
    )
  ),
  kendraConfiguration = list(
    kendraIndex = "string",
    queryFilterStringEnabled = TRUE|FALSE,
    queryFilterString = "string"
  ),
  botId = "string",
  botVersion = "string",
  localeId = "string",
  initialResponseSetting = list(
    initialResponse = list(
      messageGroups = list(
        list(
          message = list(
            plainTextMessage = list(
              value = "string"
            ),
            customPayload = list(
              value = "string"
            ),
            ssmlMessage = list(
              value = "string"
            ),
            imageResponseCard = list(
              title = "string",
              subtitle = "string",
              imageUrl = "string",
              buttons = list(
                list(
                  text = "string",
                  value = "string"
                )
              )
            )
          ),
          variations = list(
            list(
              plainTextMessage = list(
                value = "string"
              ),
              customPayload = list(
                value = "string"
              ),
              ssmlMessage = list(
                value = "string"
              ),
              imageResponseCard = list(
                title = "string",
                subtitle = "string",
                imageUrl = "string",
                buttons = list(
                  list(
                    text = "string",
                    value = "string"
                  )
                )
              )
            )
          )
        )
      ),
      allowInterrupt = TRUE|FALSE
    ),
    nextStep = list(
      dialogAction = list(
        type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
        slotToElicit = "string",
        suppressNextMessage = TRUE|FALSE
      ),
      intent = list(
        name = "string",
        slots = list(
          list(
            shape = "Scalar"|"List",
            value = list(
              interpretedValue = "string"
            ),
            values = list(
              list()
            )
          )
        )
      ),
      sessionAttributes = list(
        "string"
      )
    ),
    conditional = list(
      active = TRUE|FALSE,
      conditionalBranches = list(
        list(
          name = "string",
          condition = list(
            expressionString = "string"
          ),
          nextStep = list(
            dialogAction = list(
              type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
              slotToElicit = "string",
              suppressNextMessage = TRUE|FALSE
            ),
            intent = list(
              name = "string",
              slots = list(
                list(
                  shape = "Scalar"|"List",
                  value = list(
                    interpretedValue = "string"
                  ),
                  values = list(
                    list()
                  )
                )
              )
            ),
            sessionAttributes = list(
              "string"
            )
          ),
          response = list(
            messageGroups = list(
              list(
                message = list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                ),
                variations = list(
                  list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  )
                )
              )
            ),
            allowInterrupt = TRUE|FALSE
          )
        )
      ),
      defaultBranch = list(
        nextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        response = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        )
      )
    ),
    codeHook = list(
      enableCodeHookInvocation = TRUE|FALSE,
      active = TRUE|FALSE,
      invocationLabel = "string",
      postCodeHookSpecification = list(
        successResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        successNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        successConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        failureResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        failureNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        failureConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        ),
        timeoutResponse = list(
          messageGroups = list(
            list(
              message = list(
                plainTextMessage = list(
                  value = "string"
                ),
                customPayload = list(
                  value = "string"
                ),
                ssmlMessage = list(
                  value = "string"
                ),
                imageResponseCard = list(
                  title = "string",
                  subtitle = "string",
                  imageUrl = "string",
                  buttons = list(
                    list(
                      text = "string",
                      value = "string"
                    )
                  )
                )
              ),
              variations = list(
                list(
                  plainTextMessage = list(
                    value = "string"
                  ),
                  customPayload = list(
                    value = "string"
                  ),
                  ssmlMessage = list(
                    value = "string"
                  ),
                  imageResponseCard = list(
                    title = "string",
                    subtitle = "string",
                    imageUrl = "string",
                    buttons = list(
                      list(
                        text = "string",
                        value = "string"
                      )
                    )
                  )
                )
              )
            )
          ),
          allowInterrupt = TRUE|FALSE
        ),
        timeoutNextStep = list(
          dialogAction = list(
            type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
            slotToElicit = "string",
            suppressNextMessage = TRUE|FALSE
          ),
          intent = list(
            name = "string",
            slots = list(
              list(
                shape = "Scalar"|"List",
                value = list(
                  interpretedValue = "string"
                ),
                values = list(
                  list()
                )
              )
            )
          ),
          sessionAttributes = list(
            "string"
          )
        ),
        timeoutConditional = list(
          active = TRUE|FALSE,
          conditionalBranches = list(
            list(
              name = "string",
              condition = list(
                expressionString = "string"
              ),
              nextStep = list(
                dialogAction = list(
                  type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                  slotToElicit = "string",
                  suppressNextMessage = TRUE|FALSE
                ),
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      shape = "Scalar"|"List",
                      value = list(
                        interpretedValue = "string"
                      ),
                      values = list(
                        list()
                      )
                    )
                  )
                ),
                sessionAttributes = list(
                  "string"
                )
              ),
              response = list(
                messageGroups = list(
                  list(
                    message = list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    ),
                    variations = list(
                      list(
                        plainTextMessage = list(
                          value = "string"
                        ),
                        customPayload = list(
                          value = "string"
                        ),
                        ssmlMessage = list(
                          value = "string"
                        ),
                        imageResponseCard = list(
                          title = "string",
                          subtitle = "string",
                          imageUrl = "string",
                          buttons = list(
                            list(
                              text = "string",
                              value = "string"
                            )
                          )
                        )
                      )
                    )
                  )
                ),
                allowInterrupt = TRUE|FALSE
              )
            )
          ),
          defaultBranch = list(
            nextStep = list(
              dialogAction = list(
                type = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation",
                slotToElicit = "string",
                suppressNextMessage = TRUE|FALSE
              ),
              intent = list(
                name = "string",
                slots = list(
                  list(
                    shape = "Scalar"|"List",
                    value = list(
                      interpretedValue = "string"
                    ),
                    values = list(
                      list()
                    )
                  )
                )
              ),
              sessionAttributes = list(
                "string"
              )
            ),
            response = list(
              messageGroups = list(
                list(
                  message = list(
                    plainTextMessage = list(
                      value = "string"
                    ),
                    customPayload = list(
                      value = "string"
                    ),
                    ssmlMessage = list(
                      value = "string"
                    ),
                    imageResponseCard = list(
                      title = "string",
                      subtitle = "string",
                      imageUrl = "string",
                      buttons = list(
                        list(
                          text = "string",
                          value = "string"
                        )
                      )
                    )
                  ),
                  variations = list(
                    list(
                      plainTextMessage = list(
                        value = "string"
                      ),
                      customPayload = list(
                        value = "string"
                      ),
                      ssmlMessage = list(
                        value = "string"
                      ),
                      imageResponseCard = list(
                        title = "string",
                        subtitle = "string",
                        imageUrl = "string",
                        buttons = list(
                          list(
                            text = "string",
                            value = "string"
                          )
                        )
                      )
                    )
                  )
                )
              ),
              allowInterrupt = TRUE|FALSE
            )
          )
        )
      )
    )
  ),
  qnAIntentConfiguration = list(
    dataSourceConfiguration = list(
      opensearchConfiguration = list(
        domainEndpoint = "string",
        indexName = "string",
        exactResponse = TRUE|FALSE,
        exactResponseFields = list(
          questionField = "string",
          answerField = "string"
        ),
        includeFields = list(
          "string"
        )
      ),
      kendraConfiguration = list(
        kendraIndex = "string",
        queryFilterStringEnabled = TRUE|FALSE,
        queryFilterString = "string",
        exactResponse = TRUE|FALSE
      ),
      bedrockKnowledgeStoreConfiguration = list(
        bedrockKnowledgeBaseArn = "string",
        exactResponse = TRUE|FALSE,
        exactResponseFields = list(
          answerField = "string"
        )
      )
    ),
    bedrockModelConfiguration = list(
      modelArn = "string",
      guardrail = list(
        identifier = "string",
        version = "string"
      ),
      traceStatus = "ENABLED"|"DISABLED",
      customPrompt = "string"
    )
  )
)