ChimeSDKVoice / Client / get_voice_tone_analysis_task

get_voice_tone_analysis_task#

ChimeSDKVoice.Client.get_voice_tone_analysis_task(**kwargs)#

See also: AWS API Documentation

Request Syntax

response = client.get_voice_tone_analysis_task(
    VoiceConnectorId='string',
    VoiceToneAnalysisTaskId='string',
    IsCaller=True|False
)
Parameters:
  • VoiceConnectorId (string) – [REQUIRED]

  • VoiceToneAnalysisTaskId (string) – [REQUIRED]

  • IsCaller (boolean) – [REQUIRED]

Return type:

dict

Returns:

Response Syntax

{
    'VoiceToneAnalysisTask': {
        'VoiceToneAnalysisTaskId': 'string',
        'VoiceToneAnalysisTaskStatus': 'string',
        'CallDetails': {
            'VoiceConnectorId': 'string',
            'TransactionId': 'string',
            'IsCaller': True|False
        },
        'CreatedTimestamp': datetime(2015, 1, 1),
        'UpdatedTimestamp': datetime(2015, 1, 1),
        'StartedTimestamp': datetime(2015, 1, 1),
        'StatusMessage': 'string'
    }
}

Response Structure

  • (dict) –

    • VoiceToneAnalysisTask (dict) –

      • VoiceToneAnalysisTaskId (string) –

      • VoiceToneAnalysisTaskStatus (string) –

      • CallDetails (dict) –

        • VoiceConnectorId (string) –

        • TransactionId (string) –

        • IsCaller (boolean) –

      • CreatedTimestamp (datetime) –

      • UpdatedTimestamp (datetime) –

      • StartedTimestamp (datetime) –

      • StatusMessage (string) –

Exceptions

  • ChimeSDKVoice.Client.exceptions.BadRequestException

  • ChimeSDKVoice.Client.exceptions.ForbiddenException

  • ChimeSDKVoice.Client.exceptions.NotFoundException

  • ChimeSDKVoice.Client.exceptions.ConflictException

  • ChimeSDKVoice.Client.exceptions.ThrottledClientException

  • ChimeSDKVoice.Client.exceptions.AccessDeniedException

  • ChimeSDKVoice.Client.exceptions.UnauthorizedClientException

  • ChimeSDKVoice.Client.exceptions.ServiceFailureException

  • ChimeSDKVoice.Client.exceptions.ServiceUnavailableException