

# UpdateIntent


Updates the settings for an intent.

## Request Syntax


```
PUT /bots/botId/botversions/botVersion/botlocales/localeId/intents/intentId/ HTTP/1.1
Content-type: application/json

{
   "description": "string",
   "dialogCodeHook": { 
      "enabled": boolean
   },
   "fulfillmentCodeHook": { 
      "active": boolean,
      "enabled": boolean,
      "fulfillmentUpdatesSpecification": { 
         "active": boolean,
         "startResponse": { 
            "allowInterrupt": boolean,
            "delayInSeconds": number,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         },
         "timeoutInSeconds": number,
         "updateResponse": { 
            "allowInterrupt": boolean,
            "frequencyInSeconds": number,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         }
      },
      "postFulfillmentStatusSpecification": { 
         "failureConditional": { 
            "active": boolean,
            "conditionalBranches": [ 
               { 
                  "condition": { 
                     "expressionString": "string"
                  },
                  "name": "string",
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            ],
            "defaultBranch": { 
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         },
         "failureNextStep": { 
            "dialogAction": { 
               "slotToElicit": "string",
               "suppressNextMessage": boolean,
               "type": "string"
            },
            "intent": { 
               "name": "string",
               "slots": { 
                  "string" : { 
                     "shape": "string",
                     "value": { 
                        "interpretedValue": "string"
                     },
                     "values": [ 
                        "SlotValueOverride"
                     ]
                  }
               }
            },
            "sessionAttributes": { 
               "string" : "string" 
            }
         },
         "failureResponse": { 
            "allowInterrupt": boolean,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         },
         "successConditional": { 
            "active": boolean,
            "conditionalBranches": [ 
               { 
                  "condition": { 
                     "expressionString": "string"
                  },
                  "name": "string",
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            ],
            "defaultBranch": { 
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         },
         "successNextStep": { 
            "dialogAction": { 
               "slotToElicit": "string",
               "suppressNextMessage": boolean,
               "type": "string"
            },
            "intent": { 
               "name": "string",
               "slots": { 
                  "string" : { 
                     "shape": "string",
                     "value": { 
                        "interpretedValue": "string"
                     },
                     "values": [ 
                        "SlotValueOverride"
                     ]
                  }
               }
            },
            "sessionAttributes": { 
               "string" : "string" 
            }
         },
         "successResponse": { 
            "allowInterrupt": boolean,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         },
         "timeoutConditional": { 
            "active": boolean,
            "conditionalBranches": [ 
               { 
                  "condition": { 
                     "expressionString": "string"
                  },
                  "name": "string",
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            ],
            "defaultBranch": { 
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         },
         "timeoutNextStep": { 
            "dialogAction": { 
               "slotToElicit": "string",
               "suppressNextMessage": boolean,
               "type": "string"
            },
            "intent": { 
               "name": "string",
               "slots": { 
                  "string" : { 
                     "shape": "string",
                     "value": { 
                        "interpretedValue": "string"
                     },
                     "values": [ 
                        "SlotValueOverride"
                     ]
                  }
               }
            },
            "sessionAttributes": { 
               "string" : "string" 
            }
         },
         "timeoutResponse": { 
            "allowInterrupt": boolean,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         }
      }
   },
   "initialResponseSetting": { 
      "codeHook": { 
         "active": boolean,
         "enableCodeHookInvocation": boolean,
         "invocationLabel": "string",
         "postCodeHookSpecification": { 
            "failureConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "failureNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "failureResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            },
            "successConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "successNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "successResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            },
            "timeoutConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "timeoutNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "timeoutResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "conditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "initialResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "nextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      }
   },
   "inputContexts": [ 
      { 
         "name": "string"
      }
   ],
   "intentClosingSetting": { 
      "active": boolean,
      "closingResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "conditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "nextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      }
   },
   "intentConfirmationSetting": { 
      "active": boolean,
      "codeHook": { 
         "active": boolean,
         "enableCodeHookInvocation": boolean,
         "invocationLabel": "string",
         "postCodeHookSpecification": { 
            "failureConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "failureNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "failureResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            },
            "successConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "successNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "successResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            },
            "timeoutConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "timeoutNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "timeoutResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "confirmationConditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "confirmationNextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      },
      "confirmationResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "declinationConditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "declinationNextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      },
      "declinationResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "elicitationCodeHook": { 
         "enableCodeHookInvocation": boolean,
         "invocationLabel": "string"
      },
      "failureConditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "failureNextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      },
      "failureResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "promptSpecification": { 
         "allowInterrupt": boolean,
         "maxRetries": number,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ],
         "messageSelectionStrategy": "string",
         "promptAttemptsSpecification": { 
            "string" : { 
               "allowedInputTypes": { 
                  "allowAudioInput": boolean,
                  "allowDTMFInput": boolean
               },
               "allowInterrupt": boolean,
               "audioAndDTMFInputSpecification": { 
                  "audioSpecification": { 
                     "endTimeoutMs": number,
                     "maxLengthMs": number
                  },
                  "dtmfSpecification": { 
                     "deletionCharacter": "string",
                     "endCharacter": "string",
                     "endTimeoutMs": number,
                     "maxLength": number
                  },
                  "startTimeoutMs": number
               },
               "textInputSpecification": { 
                  "startTimeoutMs": number
               }
            }
         }
      }
   },
   "intentDisplayName": "string",
   "intentName": "string",
   "kendraConfiguration": { 
      "kendraIndex": "string",
      "queryFilterString": "string",
      "queryFilterStringEnabled": boolean
   },
   "outputContexts": [ 
      { 
         "name": "string",
         "timeToLiveInSeconds": number,
         "turnsToLive": number
      }
   ],
   "parentIntentSignature": "string",
   "qInConnectIntentConfiguration": { 
      "qInConnectAssistantConfiguration": { 
         "assistantArn": "string"
      }
   },
   "qnAIntentConfiguration": { 
      "bedrockModelConfiguration": { 
         "customPrompt": "string",
         "guardrail": { 
            "identifier": "string",
            "version": "string"
         },
         "modelArn": "string",
         "traceStatus": "string"
      },
      "dataSourceConfiguration": { 
         "bedrockKnowledgeStoreConfiguration": { 
            "bedrockKnowledgeBaseArn": "string",
            "exactResponse": boolean,
            "exactResponseFields": { 
               "answerField": "string"
            }
         },
         "kendraConfiguration": { 
            "exactResponse": boolean,
            "kendraIndex": "string",
            "queryFilterString": "string",
            "queryFilterStringEnabled": boolean
         },
         "opensearchConfiguration": { 
            "domainEndpoint": "string",
            "exactResponse": boolean,
            "exactResponseFields": { 
               "answerField": "string",
               "questionField": "string"
            },
            "includeFields": [ "string" ],
            "indexName": "string"
         }
      }
   },
   "sampleUtterances": [ 
      { 
         "utterance": "string"
      }
   ],
   "slotPriorities": [ 
      { 
         "priority": number,
         "slotId": "string"
      }
   ]
}
```

## URI Request Parameters


The request uses the following URI parameters.

 ** [botId](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-uri-botId"></a>
The identifier of the bot that contains the intent.  
Length Constraints: Fixed length of 10.  
Pattern: `^[0-9a-zA-Z]+$`   
Required: Yes

 ** [botVersion](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-uri-botVersion"></a>
The version of the bot that contains the intent. Must be `DRAFT`.  
Length Constraints: Fixed length of 5.  
Pattern: `^DRAFT$`   
Required: Yes

 ** [intentId](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-uri-intentId"></a>
The unique identifier of the intent to update.  
Length Constraints: Fixed length of 10.  
Pattern: `^[0-9a-zA-Z]+$`   
Required: Yes

 ** [localeId](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-uri-localeId"></a>
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](https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).  
Required: Yes

## Request Body


The request accepts the following data in JSON format.

 ** [description](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-description"></a>
The new description of the intent.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2000.  
Required: No

 ** [dialogCodeHook](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-dialogCodeHook"></a>
The new Lambda function to use between each turn of the conversation with the bot.  
Type: [DialogCodeHookSettings](API_DialogCodeHookSettings.md) object  
Required: No

 ** [fulfillmentCodeHook](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-fulfillmentCodeHook"></a>
The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.  
Type: [FulfillmentCodeHookSettings](API_FulfillmentCodeHookSettings.md) object  
Required: No

 ** [initialResponseSetting](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-initialResponseSetting"></a>
Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.  
Type: [InitialResponseSetting](API_InitialResponseSetting.md) object  
Required: No

 ** [inputContexts](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-inputContexts"></a>
A new list of contexts that must be active in order for Amazon Lex to consider the intent.  
Type: Array of [InputContext](API_InputContext.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 5 items.  
Required: No

 ** [intentClosingSetting](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-intentClosingSetting"></a>
The new response that Amazon Lex sends the user when the intent is closed.  
Type: [IntentClosingSetting](API_IntentClosingSetting.md) object  
Required: No

 ** [intentConfirmationSetting](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-intentConfirmationSetting"></a>
New prompts that Amazon Lex sends to the user to confirm the completion of an intent.  
Type: [IntentConfirmationSetting](API_IntentConfirmationSetting.md) object  
Required: No

 ** [intentDisplayName](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-intentDisplayName"></a>
The new display name for the intent.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Required: No

 ** [intentName](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-intentName"></a>
The new name for the intent.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `^([0-9a-zA-Z][_-]?){1,100}$`   
Required: Yes

 ** [kendraConfiguration](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-kendraConfiguration"></a>
New configuration settings for connecting to an Amazon Kendra index.  
Type: [KendraConfiguration](API_KendraConfiguration.md) object  
Required: No

 ** [outputContexts](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-outputContexts"></a>
A new list of contexts that Amazon Lex activates when the intent is fulfilled.  
Type: Array of [OutputContext](API_OutputContext.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 10 items.  
Required: No

 ** [parentIntentSignature](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-parentIntentSignature"></a>
The signature of the new built-in intent to use as the parent of this intent.  
Type: String  
Required: No

 ** [qInConnectIntentConfiguration](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-qInConnectIntentConfiguration"></a>
Qinconnect intent configuration details for the update intent request.  
Type: [QInConnectIntentConfiguration](API_QInConnectIntentConfiguration.md) object  
Required: No

 ** [qnAIntentConfiguration](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-qnAIntentConfiguration"></a>
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.  
Type: [QnAIntentConfiguration](API_QnAIntentConfiguration.md) object  
Required: No

 ** [sampleUtterances](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-sampleUtterances"></a>
New utterances used to invoke the intent.  
Type: Array of [SampleUtterance](API_SampleUtterance.md) objects  
Required: No

 ** [slotPriorities](#API_UpdateIntent_RequestSyntax) **   <a name="lexv2-UpdateIntent-request-slotPriorities"></a>
A new list of slots and their priorities that are contained by the intent.  
Type: Array of [SlotPriority](API_SlotPriority.md) objects  
Required: No

## Response Syntax


```
HTTP/1.1 200
Content-type: application/json

{
   "botId": "string",
   "botVersion": "string",
   "creationDateTime": number,
   "description": "string",
   "dialogCodeHook": { 
      "enabled": boolean
   },
   "fulfillmentCodeHook": { 
      "active": boolean,
      "enabled": boolean,
      "fulfillmentUpdatesSpecification": { 
         "active": boolean,
         "startResponse": { 
            "allowInterrupt": boolean,
            "delayInSeconds": number,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         },
         "timeoutInSeconds": number,
         "updateResponse": { 
            "allowInterrupt": boolean,
            "frequencyInSeconds": number,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         }
      },
      "postFulfillmentStatusSpecification": { 
         "failureConditional": { 
            "active": boolean,
            "conditionalBranches": [ 
               { 
                  "condition": { 
                     "expressionString": "string"
                  },
                  "name": "string",
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            ],
            "defaultBranch": { 
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         },
         "failureNextStep": { 
            "dialogAction": { 
               "slotToElicit": "string",
               "suppressNextMessage": boolean,
               "type": "string"
            },
            "intent": { 
               "name": "string",
               "slots": { 
                  "string" : { 
                     "shape": "string",
                     "value": { 
                        "interpretedValue": "string"
                     },
                     "values": [ 
                        "SlotValueOverride"
                     ]
                  }
               }
            },
            "sessionAttributes": { 
               "string" : "string" 
            }
         },
         "failureResponse": { 
            "allowInterrupt": boolean,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         },
         "successConditional": { 
            "active": boolean,
            "conditionalBranches": [ 
               { 
                  "condition": { 
                     "expressionString": "string"
                  },
                  "name": "string",
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            ],
            "defaultBranch": { 
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         },
         "successNextStep": { 
            "dialogAction": { 
               "slotToElicit": "string",
               "suppressNextMessage": boolean,
               "type": "string"
            },
            "intent": { 
               "name": "string",
               "slots": { 
                  "string" : { 
                     "shape": "string",
                     "value": { 
                        "interpretedValue": "string"
                     },
                     "values": [ 
                        "SlotValueOverride"
                     ]
                  }
               }
            },
            "sessionAttributes": { 
               "string" : "string" 
            }
         },
         "successResponse": { 
            "allowInterrupt": boolean,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         },
         "timeoutConditional": { 
            "active": boolean,
            "conditionalBranches": [ 
               { 
                  "condition": { 
                     "expressionString": "string"
                  },
                  "name": "string",
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            ],
            "defaultBranch": { 
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         },
         "timeoutNextStep": { 
            "dialogAction": { 
               "slotToElicit": "string",
               "suppressNextMessage": boolean,
               "type": "string"
            },
            "intent": { 
               "name": "string",
               "slots": { 
                  "string" : { 
                     "shape": "string",
                     "value": { 
                        "interpretedValue": "string"
                     },
                     "values": [ 
                        "SlotValueOverride"
                     ]
                  }
               }
            },
            "sessionAttributes": { 
               "string" : "string" 
            }
         },
         "timeoutResponse": { 
            "allowInterrupt": boolean,
            "messageGroups": [ 
               { 
                  "message": { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  },
                  "variations": [ 
                     { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     }
                  ]
               }
            ]
         }
      }
   },
   "initialResponseSetting": { 
      "codeHook": { 
         "active": boolean,
         "enableCodeHookInvocation": boolean,
         "invocationLabel": "string",
         "postCodeHookSpecification": { 
            "failureConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "failureNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "failureResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            },
            "successConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "successNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "successResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            },
            "timeoutConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "timeoutNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "timeoutResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "conditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "initialResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "nextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      }
   },
   "inputContexts": [ 
      { 
         "name": "string"
      }
   ],
   "intentClosingSetting": { 
      "active": boolean,
      "closingResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "conditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "nextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      }
   },
   "intentConfirmationSetting": { 
      "active": boolean,
      "codeHook": { 
         "active": boolean,
         "enableCodeHookInvocation": boolean,
         "invocationLabel": "string",
         "postCodeHookSpecification": { 
            "failureConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "failureNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "failureResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            },
            "successConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "successNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "successResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            },
            "timeoutConditional": { 
               "active": boolean,
               "conditionalBranches": [ 
                  { 
                     "condition": { 
                        "expressionString": "string"
                     },
                     "name": "string",
                     "nextStep": { 
                        "dialogAction": { 
                           "slotToElicit": "string",
                           "suppressNextMessage": boolean,
                           "type": "string"
                        },
                        "intent": { 
                           "name": "string",
                           "slots": { 
                              "string" : { 
                                 "shape": "string",
                                 "value": { 
                                    "interpretedValue": "string"
                                 },
                                 "values": [ 
                                    "SlotValueOverride"
                                 ]
                              }
                           }
                        },
                        "sessionAttributes": { 
                           "string" : "string" 
                        }
                     },
                     "response": { 
                        "allowInterrupt": boolean,
                        "messageGroups": [ 
                           { 
                              "message": { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              },
                              "variations": [ 
                                 { 
                                    "customPayload": { 
                                       "value": "string"
                                    },
                                    "imageResponseCard": { 
                                       "buttons": [ 
                                          { 
                                             "text": "string",
                                             "value": "string"
                                          }
                                       ],
                                       "imageUrl": "string",
                                       "subtitle": "string",
                                       "title": "string"
                                    },
                                    "plainTextMessage": { 
                                       "value": "string"
                                    },
                                    "ssmlMessage": { 
                                       "value": "string"
                                    }
                                 }
                              ]
                           }
                        ]
                     }
                  }
               ],
               "defaultBranch": { 
                  "nextStep": { 
                     "dialogAction": { 
                        "slotToElicit": "string",
                        "suppressNextMessage": boolean,
                        "type": "string"
                     },
                     "intent": { 
                        "name": "string",
                        "slots": { 
                           "string" : { 
                              "shape": "string",
                              "value": { 
                                 "interpretedValue": "string"
                              },
                              "values": [ 
                                 "SlotValueOverride"
                              ]
                           }
                        }
                     },
                     "sessionAttributes": { 
                        "string" : "string" 
                     }
                  },
                  "response": { 
                     "allowInterrupt": boolean,
                     "messageGroups": [ 
                        { 
                           "message": { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           },
                           "variations": [ 
                              { 
                                 "customPayload": { 
                                    "value": "string"
                                 },
                                 "imageResponseCard": { 
                                    "buttons": [ 
                                       { 
                                          "text": "string",
                                          "value": "string"
                                       }
                                    ],
                                    "imageUrl": "string",
                                    "subtitle": "string",
                                    "title": "string"
                                 },
                                 "plainTextMessage": { 
                                    "value": "string"
                                 },
                                 "ssmlMessage": { 
                                    "value": "string"
                                 }
                              }
                           ]
                        }
                     ]
                  }
               }
            },
            "timeoutNextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "timeoutResponse": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "confirmationConditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "confirmationNextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      },
      "confirmationResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "declinationConditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "declinationNextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      },
      "declinationResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "elicitationCodeHook": { 
         "enableCodeHookInvocation": boolean,
         "invocationLabel": "string"
      },
      "failureConditional": { 
         "active": boolean,
         "conditionalBranches": [ 
            { 
               "condition": { 
                  "expressionString": "string"
               },
               "name": "string",
               "nextStep": { 
                  "dialogAction": { 
                     "slotToElicit": "string",
                     "suppressNextMessage": boolean,
                     "type": "string"
                  },
                  "intent": { 
                     "name": "string",
                     "slots": { 
                        "string" : { 
                           "shape": "string",
                           "value": { 
                              "interpretedValue": "string"
                           },
                           "values": [ 
                              "SlotValueOverride"
                           ]
                        }
                     }
                  },
                  "sessionAttributes": { 
                     "string" : "string" 
                  }
               },
               "response": { 
                  "allowInterrupt": boolean,
                  "messageGroups": [ 
                     { 
                        "message": { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        },
                        "variations": [ 
                           { 
                              "customPayload": { 
                                 "value": "string"
                              },
                              "imageResponseCard": { 
                                 "buttons": [ 
                                    { 
                                       "text": "string",
                                       "value": "string"
                                    }
                                 ],
                                 "imageUrl": "string",
                                 "subtitle": "string",
                                 "title": "string"
                              },
                              "plainTextMessage": { 
                                 "value": "string"
                              },
                              "ssmlMessage": { 
                                 "value": "string"
                              }
                           }
                        ]
                     }
                  ]
               }
            }
         ],
         "defaultBranch": { 
            "nextStep": { 
               "dialogAction": { 
                  "slotToElicit": "string",
                  "suppressNextMessage": boolean,
                  "type": "string"
               },
               "intent": { 
                  "name": "string",
                  "slots": { 
                     "string" : { 
                        "shape": "string",
                        "value": { 
                           "interpretedValue": "string"
                        },
                        "values": [ 
                           "SlotValueOverride"
                        ]
                     }
                  }
               },
               "sessionAttributes": { 
                  "string" : "string" 
               }
            },
            "response": { 
               "allowInterrupt": boolean,
               "messageGroups": [ 
                  { 
                     "message": { 
                        "customPayload": { 
                           "value": "string"
                        },
                        "imageResponseCard": { 
                           "buttons": [ 
                              { 
                                 "text": "string",
                                 "value": "string"
                              }
                           ],
                           "imageUrl": "string",
                           "subtitle": "string",
                           "title": "string"
                        },
                        "plainTextMessage": { 
                           "value": "string"
                        },
                        "ssmlMessage": { 
                           "value": "string"
                        }
                     },
                     "variations": [ 
                        { 
                           "customPayload": { 
                              "value": "string"
                           },
                           "imageResponseCard": { 
                              "buttons": [ 
                                 { 
                                    "text": "string",
                                    "value": "string"
                                 }
                              ],
                              "imageUrl": "string",
                              "subtitle": "string",
                              "title": "string"
                           },
                           "plainTextMessage": { 
                              "value": "string"
                           },
                           "ssmlMessage": { 
                              "value": "string"
                           }
                        }
                     ]
                  }
               ]
            }
         }
      },
      "failureNextStep": { 
         "dialogAction": { 
            "slotToElicit": "string",
            "suppressNextMessage": boolean,
            "type": "string"
         },
         "intent": { 
            "name": "string",
            "slots": { 
               "string" : { 
                  "shape": "string",
                  "value": { 
                     "interpretedValue": "string"
                  },
                  "values": [ 
                     "SlotValueOverride"
                  ]
               }
            }
         },
         "sessionAttributes": { 
            "string" : "string" 
         }
      },
      "failureResponse": { 
         "allowInterrupt": boolean,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ]
      },
      "promptSpecification": { 
         "allowInterrupt": boolean,
         "maxRetries": number,
         "messageGroups": [ 
            { 
               "message": { 
                  "customPayload": { 
                     "value": "string"
                  },
                  "imageResponseCard": { 
                     "buttons": [ 
                        { 
                           "text": "string",
                           "value": "string"
                        }
                     ],
                     "imageUrl": "string",
                     "subtitle": "string",
                     "title": "string"
                  },
                  "plainTextMessage": { 
                     "value": "string"
                  },
                  "ssmlMessage": { 
                     "value": "string"
                  }
               },
               "variations": [ 
                  { 
                     "customPayload": { 
                        "value": "string"
                     },
                     "imageResponseCard": { 
                        "buttons": [ 
                           { 
                              "text": "string",
                              "value": "string"
                           }
                        ],
                        "imageUrl": "string",
                        "subtitle": "string",
                        "title": "string"
                     },
                     "plainTextMessage": { 
                        "value": "string"
                     },
                     "ssmlMessage": { 
                        "value": "string"
                     }
                  }
               ]
            }
         ],
         "messageSelectionStrategy": "string",
         "promptAttemptsSpecification": { 
            "string" : { 
               "allowedInputTypes": { 
                  "allowAudioInput": boolean,
                  "allowDTMFInput": boolean
               },
               "allowInterrupt": boolean,
               "audioAndDTMFInputSpecification": { 
                  "audioSpecification": { 
                     "endTimeoutMs": number,
                     "maxLengthMs": number
                  },
                  "dtmfSpecification": { 
                     "deletionCharacter": "string",
                     "endCharacter": "string",
                     "endTimeoutMs": number,
                     "maxLength": number
                  },
                  "startTimeoutMs": number
               },
               "textInputSpecification": { 
                  "startTimeoutMs": number
               }
            }
         }
      }
   },
   "intentDisplayName": "string",
   "intentId": "string",
   "intentName": "string",
   "kendraConfiguration": { 
      "kendraIndex": "string",
      "queryFilterString": "string",
      "queryFilterStringEnabled": boolean
   },
   "lastUpdatedDateTime": number,
   "localeId": "string",
   "outputContexts": [ 
      { 
         "name": "string",
         "timeToLiveInSeconds": number,
         "turnsToLive": number
      }
   ],
   "parentIntentSignature": "string",
   "qInConnectIntentConfiguration": { 
      "qInConnectAssistantConfiguration": { 
         "assistantArn": "string"
      }
   },
   "qnAIntentConfiguration": { 
      "bedrockModelConfiguration": { 
         "customPrompt": "string",
         "guardrail": { 
            "identifier": "string",
            "version": "string"
         },
         "modelArn": "string",
         "traceStatus": "string"
      },
      "dataSourceConfiguration": { 
         "bedrockKnowledgeStoreConfiguration": { 
            "bedrockKnowledgeBaseArn": "string",
            "exactResponse": boolean,
            "exactResponseFields": { 
               "answerField": "string"
            }
         },
         "kendraConfiguration": { 
            "exactResponse": boolean,
            "kendraIndex": "string",
            "queryFilterString": "string",
            "queryFilterStringEnabled": boolean
         },
         "opensearchConfiguration": { 
            "domainEndpoint": "string",
            "exactResponse": boolean,
            "exactResponseFields": { 
               "answerField": "string",
               "questionField": "string"
            },
            "includeFields": [ "string" ],
            "indexName": "string"
         }
      }
   },
   "sampleUtterances": [ 
      { 
         "utterance": "string"
      }
   ],
   "slotPriorities": [ 
      { 
         "priority": number,
         "slotId": "string"
      }
   ]
}
```

## Response Elements


If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [botId](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-botId"></a>
The identifier of the bot that contains the intent.  
Type: String  
Length Constraints: Fixed length of 10.  
Pattern: `^[0-9a-zA-Z]+$` 

 ** [botVersion](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-botVersion"></a>
The version of the bot that contains the intent. Will always be `DRAFT`.  
Type: String  
Length Constraints: Fixed length of 5.  
Pattern: `^DRAFT$` 

 ** [creationDateTime](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-creationDateTime"></a>
A timestamp of when the intent was created.  
Type: Timestamp

 ** [description](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-description"></a>
The updated description of the intent.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2000.

 ** [dialogCodeHook](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-dialogCodeHook"></a>
The updated Lambda function called during each turn of the conversation with the user.  
Type: [DialogCodeHookSettings](API_DialogCodeHookSettings.md) object

 ** [fulfillmentCodeHook](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-fulfillmentCodeHook"></a>
The updated Lambda function called when the intent is ready for fulfillment.  
Type: [FulfillmentCodeHookSettings](API_FulfillmentCodeHookSettings.md) object

 ** [initialResponseSetting](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-initialResponseSetting"></a>
Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.  
Type: [InitialResponseSetting](API_InitialResponseSetting.md) object

 ** [inputContexts](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-inputContexts"></a>
The updated list of contexts that must be active for the intent to be considered by Amazon Lex.  
Type: Array of [InputContext](API_InputContext.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 5 items.

 ** [intentClosingSetting](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-intentClosingSetting"></a>
The updated response that Amazon Lex sends the user when the intent is closed.  
Type: [IntentClosingSetting](API_IntentClosingSetting.md) object

 ** [intentConfirmationSetting](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-intentConfirmationSetting"></a>
The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.  
Type: [IntentConfirmationSetting](API_IntentConfirmationSetting.md) object

 ** [intentDisplayName](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-intentDisplayName"></a>
The updated display name of the intent.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.

 ** [intentId](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-intentId"></a>
The identifier of the intent that was updated.  
Type: String  
Length Constraints: Fixed length of 10.  
Pattern: `^[0-9a-zA-Z]+$` 

 ** [intentName](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-intentName"></a>
The updated name of the intent.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `^([0-9a-zA-Z][_-]?){1,100}$` 

 ** [kendraConfiguration](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-kendraConfiguration"></a>
The updated configuration for connecting to an Amazon Kendra index with the `AMAZON.KendraSearchIntent` intent.  
Type: [KendraConfiguration](API_KendraConfiguration.md) object

 ** [lastUpdatedDateTime](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-lastUpdatedDateTime"></a>
A timestamp of the last time that the intent was modified.  
Type: Timestamp

 ** [localeId](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-localeId"></a>
The updated language and locale of the intent.  
Type: String

 ** [outputContexts](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-outputContexts"></a>
The updated list of contexts that Amazon Lex activates when the intent is fulfilled.  
Type: Array of [OutputContext](API_OutputContext.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 10 items.

 ** [parentIntentSignature](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-parentIntentSignature"></a>
The updated built-in intent that is the parent of this intent.  
Type: String

 ** [qInConnectIntentConfiguration](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-qInConnectIntentConfiguration"></a>
Qinconnect intent configuration details for the update intent response.  
Type: [QInConnectIntentConfiguration](API_QInConnectIntentConfiguration.md) object

 ** [qnAIntentConfiguration](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-qnAIntentConfiguration"></a>
Details about the configuration of the built-in `Amazon.QnAIntent`.  
Type: [QnAIntentConfiguration](API_QnAIntentConfiguration.md) object

 ** [sampleUtterances](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-sampleUtterances"></a>
The updated list of sample utterances for the intent.  
Type: Array of [SampleUtterance](API_SampleUtterance.md) objects

 ** [slotPriorities](#API_UpdateIntent_ResponseSyntax) **   <a name="lexv2-UpdateIntent-response-slotPriorities"></a>
The updated list of slots and their priorities that are elicited from the user for the intent.  
Type: Array of [SlotPriority](API_SlotPriority.md) objects

## Errors


For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** ConflictException **   
The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.   
HTTP Status Code: 409

 ** InternalServerException **   
The service encountered an unexpected condition. Try your request again.  
HTTP Status Code: 500

 ** PreconditionFailedException **   
Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.  
HTTP Status Code: 412

 ** ServiceQuotaExceededException **   
You have reached a quota for your bot.   
HTTP Status Code: 402

 ** ThrottlingException **   
Your request rate is too high. Reduce the frequency of requests.    
 ** retryAfterSeconds **   
The number of seconds after which the user can invoke the API again.
HTTP Status Code: 429

 ** ValidationException **   
One of the input parameters in your request isn't valid. Check the parameters and try your request again.  
HTTP Status Code: 400

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/models.lex.v2-2020-08-07/UpdateIntent) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/models.lex.v2-2020-08-07/UpdateIntent) 