2022/08/17 - Amazon Lex Model Building V2 - 6 updated api methods
{'fulfillmentCodeHook': {'active': 'boolean',
'postFulfillmentStatusSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'successConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'timeoutConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': '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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}}},
'intentClosingSetting': {'conditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| StartIntent '
'| ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}}},
'intentConfirmationSetting': {'codeHook': {'active': 'boolean',
'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string',
'postCodeHookSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'elicitationCodeHook': {'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string'},
'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}}
Creates an intent.
To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an OrderPizza intent.
When you create an intent, you must provide a name. You can optionally provide the following:
Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza." You can't provide utterances for built-in intents.
Information to be gathered. You specify slots for the information that you bot requests from the user. You can specify standard slot types, such as date and time, or custom slot types for your application.
How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of the intent information is available.
A confirmation prompt to send to the user to confirm an intent. For example, "Shall I order your pizza?"
A conclusion statement to send to the user after the intent is fulfilled. For example, "I ordered your pizza."
A follow-up prompt that asks the user for additional activity. For example, "Do you want a drink with your pizza?"
See also: AWS API Documentation
Request Syntax
# This section is too large to render. # Please see the AWS API Documentation linked below.Parameters
# This section is too large to render. # Please see the AWS API Documentation linked below.
dict
Response Syntax
# This section is too large to render. # Please see the AWS API Documentation linked below.
Response Structure
# This section is too large to render. # Please see the AWS API Documentation linked below.
{'valueElicitationSetting': {'slotCaptureSetting': {'captureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}},
'captureNextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'captureResponse': {'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'}}]}]},
'codeHook': {'active': 'boolean',
'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string',
'postCodeHookSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}},
'elicitationCodeHook': {'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string'},
'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}}}
Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an OrderPizza intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.
See also: AWS API Documentation
Request Syntax
client.create_slot(
slotName='string',
description='string',
slotTypeId='string',
valueElicitationSetting={
'defaultValueSpecification': {
'defaultValueList': [
{
'defaultValue': 'string'
},
]
},
'slotConstraint': 'Required'|'Optional',
'promptSpecification': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'maxRetries': 123,
'allowInterrupt': True|False,
'messageSelectionStrategy': 'Random'|'Ordered'
},
'sampleUtterances': [
{
'utterance': 'string'
},
],
'waitAndContinueSpecification': {
'waitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'continueResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'stillWaitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'frequencyInSeconds': 123,
'timeoutInSeconds': 123,
'allowInterrupt': True|False
},
'active': True|False
},
'slotCaptureSetting': {
'captureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'captureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'captureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'codeHook': {
'enableCodeHookInvocation': True|False,
'active': True|False,
'invocationLabel': 'string',
'postCodeHookSpecification': {
'successResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'successNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'successConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'timeoutResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'timeoutNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'timeoutConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
}
}
},
'elicitationCodeHook': {
'enableCodeHookInvocation': True|False,
'invocationLabel': 'string'
}
}
},
obfuscationSetting={
'obfuscationSettingType': 'None'|'DefaultObfuscation'
},
botId='string',
botVersion='string',
localeId='string',
intentId='string',
multipleValuesSetting={
'allowMultipleValues': True|False
}
)
**Parameters**
::
# This section is too large to render.
# Please see the AWS API Documentation linked below.
`AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlot>`_
dict
Response Syntax
{
'slotId': 'string',
'slotName': 'string',
'description': 'string',
'slotTypeId': 'string',
'valueElicitationSetting': {
'defaultValueSpecification': {
'defaultValueList': [
{
'defaultValue': 'string'
},
]
},
'slotConstraint': 'Required'|'Optional',
'promptSpecification': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'maxRetries': 123,
'allowInterrupt': True|False,
'messageSelectionStrategy': 'Random'|'Ordered'
},
'sampleUtterances': [
{
'utterance': 'string'
},
],
'waitAndContinueSpecification': {
'waitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'continueResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'stillWaitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'frequencyInSeconds': 123,
'timeoutInSeconds': 123,
'allowInterrupt': True|False
},
'active': True|False
},
'slotCaptureSetting': {
'captureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'captureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'captureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'codeHook': {
'enableCodeHookInvocation': True|False,
'active': True|False,
'invocationLabel': 'string',
'postCodeHookSpecification': {
'successResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'successNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'successConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'timeoutResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'timeoutNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'timeoutConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
}
}
},
'elicitationCodeHook': {
'enableCodeHookInvocation': True|False,
'invocationLabel': 'string'
}
}
},
'obfuscationSetting': {
'obfuscationSettingType': 'None'|'DefaultObfuscation'
},
'botId': 'string',
'botVersion': 'string',
'localeId': 'string',
'intentId': 'string',
'creationDateTime': datetime(2015, 1, 1),
'multipleValuesSetting': {
'allowMultipleValues': True|False
}
}
**Response Structure**
::
# This section is too large to render.
# Please see the AWS API Documentation linked below.
`AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlot>`_
{'fulfillmentCodeHook': {'active': 'boolean',
'postFulfillmentStatusSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'successConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'timeoutConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': '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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}}},
'intentClosingSetting': {'conditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| StartIntent '
'| ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}}},
'intentConfirmationSetting': {'codeHook': {'active': 'boolean',
'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string',
'postCodeHookSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'elicitationCodeHook': {'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string'},
'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}}
Returns metadata about an intent.
See also: AWS API Documentation
Request Syntax
client.describe_intent(
intentId='string',
botId='string',
botVersion='string',
localeId='string'
)
string
[REQUIRED]
The identifier of the intent to describe.
string
[REQUIRED]
The identifier of the bot associated with the intent.
string
[REQUIRED]
The version of the bot associated with the intent.
string
[REQUIRED]
The identifier of the language and locale of the intent to describe. The string must match one of the supported locales. For more information, see Supported languages.
dict
Response Syntax
# This section is too large to render. # Please see the AWS API Documentation linked below.
Response Structure
# This section is too large to render. # Please see the AWS API Documentation linked below.
{'valueElicitationSetting': {'slotCaptureSetting': {'captureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}},
'captureNextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'captureResponse': {'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'}}]}]},
'codeHook': {'active': 'boolean',
'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string',
'postCodeHookSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}},
'elicitationCodeHook': {'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string'},
'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}}}
Gets metadata information about a slot.
See also: AWS API Documentation
Request Syntax
client.describe_slot(
slotId='string',
botId='string',
botVersion='string',
localeId='string',
intentId='string'
)
string
[REQUIRED]
The unique identifier for the slot.
string
[REQUIRED]
The identifier of the bot associated with the slot.
string
[REQUIRED]
The version of the bot associated with the slot.
string
[REQUIRED]
The identifier of the language and locale of the slot to describe. The string must match one of the supported locales. For more information, see Supported languages.
string
[REQUIRED]
The identifier of the intent that contains the slot.
dict
Response Syntax
{
'slotId': 'string',
'slotName': 'string',
'description': 'string',
'slotTypeId': 'string',
'valueElicitationSetting': {
'defaultValueSpecification': {
'defaultValueList': [
{
'defaultValue': 'string'
},
]
},
'slotConstraint': 'Required'|'Optional',
'promptSpecification': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'maxRetries': 123,
'allowInterrupt': True|False,
'messageSelectionStrategy': 'Random'|'Ordered'
},
'sampleUtterances': [
{
'utterance': 'string'
},
],
'waitAndContinueSpecification': {
'waitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'continueResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'stillWaitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'frequencyInSeconds': 123,
'timeoutInSeconds': 123,
'allowInterrupt': True|False
},
'active': True|False
},
'slotCaptureSetting': {
'captureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'captureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'captureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'codeHook': {
'enableCodeHookInvocation': True|False,
'active': True|False,
'invocationLabel': 'string',
'postCodeHookSpecification': {
'successResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'successNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'successConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'timeoutResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'timeoutNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'timeoutConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
}
}
},
'elicitationCodeHook': {
'enableCodeHookInvocation': True|False,
'invocationLabel': 'string'
}
}
},
'obfuscationSetting': {
'obfuscationSettingType': 'None'|'DefaultObfuscation'
},
'botId': 'string',
'botVersion': 'string',
'localeId': 'string',
'intentId': 'string',
'creationDateTime': datetime(2015, 1, 1),
'lastUpdatedDateTime': datetime(2015, 1, 1),
'multipleValuesSetting': {
'allowMultipleValues': True|False
}
}
**Response Structure**
::
# This section is too large to render.
# Please see the AWS API Documentation linked below.
`AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlot>`_
{'fulfillmentCodeHook': {'active': 'boolean',
'postFulfillmentStatusSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'successConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'timeoutConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': '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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}}},
'intentClosingSetting': {'conditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| StartIntent '
'| ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}}},
'intentConfirmationSetting': {'codeHook': {'active': 'boolean',
'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string',
'postCodeHookSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'elicitationCodeHook': {'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string'},
'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}}
Updates the settings for an intent.
See also: AWS API Documentation
Request Syntax
# This section is too large to render. # Please see the AWS API Documentation linked below.Parameters
# This section is too large to render. # Please see the AWS API Documentation linked below.
dict
Response Syntax
# This section is too large to render. # Please see the AWS API Documentation linked below.
Response Structure
# This section is too large to render. # Please see the AWS API Documentation linked below.
{'valueElicitationSetting': {'slotCaptureSetting': {'captureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}},
'captureNextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'sessionAttributes': {'string': 'string'}},
'captureResponse': {'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'}}]}]},
'codeHook': {'active': 'boolean',
'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string',
'postCodeHookSpecification': {'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}},
'elicitationCodeHook': {'enableCodeHookInvocation': 'boolean',
'invocationLabel': 'string'},
'failureConditional': {'active': 'boolean',
'conditionalBranches': [{'condition': {'expressionString': 'string'},
'name': 'string',
'nextStep': {'dialogAction': {'slotToElicit': 'string',
'suppressNextMessage': 'boolean',
'type': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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': 'ElicitIntent '
'| '
'StartIntent '
'| '
'ElicitSlot '
'| '
'EvaluateConditional '
'| '
'InvokeDialogCodeHook '
'| '
'ConfirmIntent '
'| '
'FulfillIntent '
'| '
'CloseIntent '
'| '
'EndConversation'},
'intent': {'name': 'string',
'slots': {'string': {'shape': 'Scalar '
'| '
'List',
'value': {'interpretedValue': 'string'},
'values': [()]}}},
'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'}}]}]}}}}
Updates the settings for a slot.
See also: AWS API Documentation
Request Syntax
client.update_slot(
slotId='string',
slotName='string',
description='string',
slotTypeId='string',
valueElicitationSetting={
'defaultValueSpecification': {
'defaultValueList': [
{
'defaultValue': 'string'
},
]
},
'slotConstraint': 'Required'|'Optional',
'promptSpecification': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'maxRetries': 123,
'allowInterrupt': True|False,
'messageSelectionStrategy': 'Random'|'Ordered'
},
'sampleUtterances': [
{
'utterance': 'string'
},
],
'waitAndContinueSpecification': {
'waitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'continueResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'stillWaitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'frequencyInSeconds': 123,
'timeoutInSeconds': 123,
'allowInterrupt': True|False
},
'active': True|False
},
'slotCaptureSetting': {
'captureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'captureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'captureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'codeHook': {
'enableCodeHookInvocation': True|False,
'active': True|False,
'invocationLabel': 'string',
'postCodeHookSpecification': {
'successResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'successNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'successConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'timeoutResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'timeoutNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'timeoutConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
}
}
},
'elicitationCodeHook': {
'enableCodeHookInvocation': True|False,
'invocationLabel': 'string'
}
}
},
obfuscationSetting={
'obfuscationSettingType': 'None'|'DefaultObfuscation'
},
botId='string',
botVersion='string',
localeId='string',
intentId='string',
multipleValuesSetting={
'allowMultipleValues': True|False
}
)
**Parameters**
::
# This section is too large to render.
# Please see the AWS API Documentation linked below.
`AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlot>`_
dict
Response Syntax
{
'slotId': 'string',
'slotName': 'string',
'description': 'string',
'slotTypeId': 'string',
'valueElicitationSetting': {
'defaultValueSpecification': {
'defaultValueList': [
{
'defaultValue': 'string'
},
]
},
'slotConstraint': 'Required'|'Optional',
'promptSpecification': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'maxRetries': 123,
'allowInterrupt': True|False,
'messageSelectionStrategy': 'Random'|'Ordered'
},
'sampleUtterances': [
{
'utterance': 'string'
},
],
'waitAndContinueSpecification': {
'waitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'continueResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'stillWaitingResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'frequencyInSeconds': 123,
'timeoutInSeconds': 123,
'allowInterrupt': True|False
},
'active': True|False
},
'slotCaptureSetting': {
'captureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'captureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'captureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'codeHook': {
'enableCodeHookInvocation': True|False,
'active': True|False,
'invocationLabel': 'string',
'postCodeHookSpecification': {
'successResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'successNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'successConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'failureResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'failureNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'failureConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
},
'timeoutResponse': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
},
'timeoutNextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'timeoutConditional': {
'active': True|False,
'conditionalBranches': [
{
'name': 'string',
'condition': {
'expressionString': 'string'
},
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
},
],
'defaultBranch': {
'nextStep': {
'dialogAction': {
'type': 'ElicitIntent'|'StartIntent'|'ElicitSlot'|'EvaluateConditional'|'InvokeDialogCodeHook'|'ConfirmIntent'|'FulfillIntent'|'CloseIntent'|'EndConversation',
'slotToElicit': 'string',
'suppressNextMessage': True|False
},
'intent': {
'name': 'string',
'slots': {
'string': {
'shape': 'Scalar'|'List',
'value': {
'interpretedValue': 'string'
},
'values': [
{'... recursive ...'},
]
}
}
},
'sessionAttributes': {
'string': 'string'
}
},
'response': {
'messageGroups': [
{
'message': {
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
'variations': [
{
'plainTextMessage': {
'value': 'string'
},
'customPayload': {
'value': 'string'
},
'ssmlMessage': {
'value': 'string'
},
'imageResponseCard': {
'title': 'string',
'subtitle': 'string',
'imageUrl': 'string',
'buttons': [
{
'text': 'string',
'value': 'string'
},
]
}
},
]
},
],
'allowInterrupt': True|False
}
}
}
}
},
'elicitationCodeHook': {
'enableCodeHookInvocation': True|False,
'invocationLabel': 'string'
}
}
},
'obfuscationSetting': {
'obfuscationSettingType': 'None'|'DefaultObfuscation'
},
'botId': 'string',
'botVersion': 'string',
'localeId': 'string',
'intentId': 'string',
'creationDateTime': datetime(2015, 1, 1),
'lastUpdatedDateTime': datetime(2015, 1, 1),
'multipleValuesSetting': {
'allowMultipleValues': True|False
}
}
**Response Structure**
::
# This section is too large to render.
# Please see the AWS API Documentation linked below.
`AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlot>`_