LexModelsV2 / Client / stop_bot_analyzer
stop_bot_analyzer¶
- LexModelsV2.Client.stop_bot_analyzer(**kwargs)¶
Cancels an ongoing bot analysis execution. Once stopped, the analysis cannot be resumed and no recommendations will be generated.
See also: AWS API Documentation
Request Syntax
response = client.stop_bot_analyzer( botId='string', botAnalyzerRequestId='string' )
- Parameters:
botId (string) –
[REQUIRED]
The unique identifier of the bot.
botAnalyzerRequestId (string) –
[REQUIRED]
The unique identifier of the analysis request to stop.
- Return type:
dict
- Returns:
Response Syntax
{ 'botId': 'string', 'botVersion': 'string', 'localeId': 'string', 'botAnalyzerStatus': 'Processing'|'Available'|'Failed'|'Stopping'|'Stopped', 'botAnalyzerRequestId': 'string' }
Response Structure
(dict) –
botId (string) –
The unique identifier of the bot.
botVersion (string) –
The version of the bot.
localeId (string) –
The locale identifier of the bot locale.
botAnalyzerStatus (string) –
The updated status of the analysis. The status will be
Stoppingand will eventually transition toStopped.Valid Values:
Processing | Available | Failed | Stopping | StoppedbotAnalyzerRequestId (string) –
The unique identifier of the analysis request.
Exceptions
LexModelsV2.Client.exceptions.ThrottlingExceptionLexModelsV2.Client.exceptions.ValidationExceptionLexModelsV2.Client.exceptions.ResourceNotFoundExceptionLexModelsV2.Client.exceptions.InternalServerException