LexModelsV2 / Client / update_slot

update_slot¶

LexModelsV2.Client.update_slot(**kwargs)¶

Updates the settings for a slot.

See also: AWS API Documentation

Request Syntax

response = 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',
            'promptAttemptsSpecification': {
                'string': {
                    'allowInterrupt': True|False,
                    'allowedInputTypes': {
                        'allowAudioInput': True|False,
                        'allowDTMFInput': True|False
                    },
                    'audioAndDTMFInputSpecification': {
                        'startTimeoutMs': 123,
                        'audioSpecification': {
                            'maxLengthMs': 123,
                            'endTimeoutMs': 123
                        },
                        'dtmfSpecification': {
                            'maxLength': 123,
                            'endTimeoutMs': 123,
                            'deletionCharacter': 'string',
                            'endCharacter': 'string'
                        }
                    },
                    'textInputSpecification': {
                        'startTimeoutMs': 123
                    }
                }
            }
        },
        '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'
            }
        },
        'slotResolutionSetting': {
            'slotResolutionStrategy': 'EnhancedFallback'|'Default'
        }
    },
    obfuscationSetting={
        'obfuscationSettingType': 'None'|'DefaultObfuscation'
    },
    botId='string',
    botVersion='string',
    localeId='string',
    intentId='string',
    multipleValuesSetting={
        'allowMultipleValues': True|False
    },
    subSlotSetting={
        'expression': 'string',
        'slotSpecifications': {
            'string': {
                'slotTypeId': 'string',
                'valueElicitationSetting': {
                    'defaultValueSpecification': {
                        'defaultValueList': [
                            {
                                'defaultValue': 'string'
                            },
                        ]
                    },
                    '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',
                        'promptAttemptsSpecification': {
                            'string': {
                                'allowInterrupt': True|False,
                                'allowedInputTypes': {
                                    'allowAudioInput': True|False,
                                    'allowDTMFInput': True|False
                                },
                                'audioAndDTMFInputSpecification': {
                                    'startTimeoutMs': 123,
                                    'audioSpecification': {
                                        'maxLengthMs': 123,
                                        'endTimeoutMs': 123
                                    },
                                    'dtmfSpecification': {
                                        'maxLength': 123,
                                        'endTimeoutMs': 123,
                                        'deletionCharacter': 'string',
                                        'endCharacter': 'string'
                                    }
                                },
                                'textInputSpecification': {
                                    'startTimeoutMs': 123
                                }
                            }
                        }
                    },
                    '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
                    }
                }
            }
        }
    }
)


**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>`_
Return type:

dict

Returns:

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',
            'promptAttemptsSpecification': {
                'string': {
                    'allowInterrupt': True|False,
                    'allowedInputTypes': {
                        'allowAudioInput': True|False,
                        'allowDTMFInput': True|False
                    },
                    'audioAndDTMFInputSpecification': {
                        'startTimeoutMs': 123,
                        'audioSpecification': {
                            'maxLengthMs': 123,
                            'endTimeoutMs': 123
                        },
                        'dtmfSpecification': {
                            'maxLength': 123,
                            'endTimeoutMs': 123,
                            'deletionCharacter': 'string',
                            'endCharacter': 'string'
                        }
                    },
                    'textInputSpecification': {
                        'startTimeoutMs': 123
                    }
                }
            }
        },
        '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'
            }
        },
        'slotResolutionSetting': {
            'slotResolutionStrategy': 'EnhancedFallback'|'Default'
        }
    },
    '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
    },
    'subSlotSetting': {
        'expression': 'string',
        'slotSpecifications': {
            'string': {
                'slotTypeId': 'string',
                'valueElicitationSetting': {
                    'defaultValueSpecification': {
                        'defaultValueList': [
                            {
                                'defaultValue': 'string'
                            },
                        ]
                    },
                    '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',
                        'promptAttemptsSpecification': {
                            'string': {
                                'allowInterrupt': True|False,
                                'allowedInputTypes': {
                                    'allowAudioInput': True|False,
                                    'allowDTMFInput': True|False
                                },
                                'audioAndDTMFInputSpecification': {
                                    'startTimeoutMs': 123,
                                    'audioSpecification': {
                                        'maxLengthMs': 123,
                                        'endTimeoutMs': 123
                                    },
                                    'dtmfSpecification': {
                                        'maxLength': 123,
                                        'endTimeoutMs': 123,
                                        'deletionCharacter': 'string',
                                        'endCharacter': 'string'
                                    }
                                },
                                'textInputSpecification': {
                                    'startTimeoutMs': 123
                                }
                            }
                        }
                    },
                    '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
                    }
                }
            }
        }
    }
}

Response Structure

# This section is too large to render.
# Please see the AWS API Documentation linked below.

AWS API Documentation

Exceptions

  • LexModelsV2.Client.exceptions.ThrottlingException

  • LexModelsV2.Client.exceptions.ServiceQuotaExceededException

  • LexModelsV2.Client.exceptions.ValidationException

  • LexModelsV2.Client.exceptions.PreconditionFailedException

  • LexModelsV2.Client.exceptions.ConflictException

  • LexModelsV2.Client.exceptions.InternalServerException