2023/03/23 - Amazon Chime SDK Voice - 19 new2 updated api methods
Changes This release adds Amazon Chime SDK call analytics. Call analytics include voice analytics, which provides speaker search and voice tone analysis. These capabilities can be used with Amazon Transcribe and Transcribe Call Analytics to generate machine-learning-powered insights from real-time audio.
See also: AWS API Documentation
Request Syntax
client.list_voice_profile_domains( NextToken='string', MaxResults=123 )
string
integer
dict
Response Syntax
{ 'VoiceProfileDomains': [ { 'VoiceProfileDomainId': 'string', 'VoiceProfileDomainArn': 'string', 'Name': 'string', 'Description': 'string', 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) --
VoiceProfileDomains (list) --
(dict) --
VoiceProfileDomainId (string) --
VoiceProfileDomainArn (string) --
Name (string) --
Description (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.get_voice_profile( VoiceProfileId='string' )
string
[REQUIRED]
dict
Response Syntax
{ 'VoiceProfile': { 'VoiceProfileId': 'string', 'VoiceProfileArn': 'string', 'VoiceProfileDomainId': 'string', 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1), 'ExpirationTimestamp': datetime(2015, 1, 1) } }
Response Structure
(dict) --
VoiceProfile (dict) --
VoiceProfileId (string) --
VoiceProfileArn (string) --
VoiceProfileDomainId (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
ExpirationTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.delete_voice_profile( VoiceProfileId='string' )
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.start_voice_tone_analysis_task( VoiceConnectorId='string', TransactionId='string', LanguageCode='en-US', ClientRequestToken='string' )
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
string
dict
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) --
See also: AWS API Documentation
Request Syntax
client.get_voice_tone_analysis_task( VoiceConnectorId='string', VoiceToneAnalysisTaskId='string', IsCaller=True|False )
string
[REQUIRED]
string
[REQUIRED]
boolean
[REQUIRED]
dict
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) --
See also: AWS API Documentation
Request Syntax
client.stop_voice_tone_analysis_task( VoiceConnectorId='string', VoiceToneAnalysisTaskId='string' )
string
[REQUIRED]
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.create_voice_profile_domain( Name='string', Description='string', ServerSideEncryptionConfiguration={ 'KmsKeyArn': 'string' }, ClientRequestToken='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
string
[REQUIRED]
string
dict
[REQUIRED]
KmsKeyArn (string) -- [REQUIRED]
string
list
(dict) --
Key (string) -- [REQUIRED]
Value (string) -- [REQUIRED]
dict
Response Syntax
{ 'VoiceProfileDomain': { 'VoiceProfileDomainId': 'string', 'VoiceProfileDomainArn': 'string', 'Name': 'string', 'Description': 'string', 'ServerSideEncryptionConfiguration': { 'KmsKeyArn': 'string' }, 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1) } }
Response Structure
(dict) --
VoiceProfileDomain (dict) --
VoiceProfileDomainId (string) --
VoiceProfileDomainArn (string) --
Name (string) --
Description (string) --
ServerSideEncryptionConfiguration (dict) --
KmsKeyArn (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.get_speaker_search_task( VoiceConnectorId='string', SpeakerSearchTaskId='string' )
string
[REQUIRED]
string
[REQUIRED]
dict
Response Syntax
{ 'SpeakerSearchTask': { 'SpeakerSearchTaskId': 'string', 'SpeakerSearchTaskStatus': 'string', 'CallDetails': { 'VoiceConnectorId': 'string', 'TransactionId': 'string', 'IsCaller': True|False }, 'SpeakerSearchDetails': { 'Results': [ { 'ConfidenceScore': ..., 'VoiceProfileId': 'string' }, ], 'VoiceprintGenerationStatus': 'string' }, 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1), 'StartedTimestamp': datetime(2015, 1, 1), 'StatusMessage': 'string' } }
Response Structure
(dict) --
SpeakerSearchTask (dict) --
SpeakerSearchTaskId (string) --
SpeakerSearchTaskStatus (string) --
CallDetails (dict) --
VoiceConnectorId (string) --
TransactionId (string) --
IsCaller (boolean) --
SpeakerSearchDetails (dict) --
Results (list) --
(dict) --
ConfidenceScore (float) --
VoiceProfileId (string) --
VoiceprintGenerationStatus (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
StartedTimestamp (datetime) --
StatusMessage (string) --
See also: AWS API Documentation
Request Syntax
client.stop_speaker_search_task( VoiceConnectorId='string', SpeakerSearchTaskId='string' )
string
[REQUIRED]
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.tag_resource( ResourceARN='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
string
[REQUIRED]
list
[REQUIRED]
(dict) --
Key (string) -- [REQUIRED]
Value (string) -- [REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.delete_voice_profile_domain( VoiceProfileDomainId='string' )
string
[REQUIRED]
None
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource( ResourceARN='string' )
string
[REQUIRED]
dict
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) --
Tags (list) --
(dict) --
Key (string) --
Value (string) --
See also: AWS API Documentation
Request Syntax
client.list_voice_profiles( VoiceProfileDomainId='string', NextToken='string', MaxResults=123 )
string
[REQUIRED]
string
integer
dict
Response Syntax
{ 'VoiceProfiles': [ { 'VoiceProfileId': 'string', 'VoiceProfileArn': 'string', 'VoiceProfileDomainId': 'string', 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1), 'ExpirationTimestamp': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) --
VoiceProfiles (list) --
(dict) --
VoiceProfileId (string) --
VoiceProfileArn (string) --
VoiceProfileDomainId (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
ExpirationTimestamp (datetime) --
NextToken (string) --
See also: AWS API Documentation
Request Syntax
client.update_voice_profile( VoiceProfileId='string', SpeakerSearchTaskId='string' )
string
[REQUIRED]
string
[REQUIRED]
dict
Response Syntax
{ 'VoiceProfile': { 'VoiceProfileId': 'string', 'VoiceProfileArn': 'string', 'VoiceProfileDomainId': 'string', 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1), 'ExpirationTimestamp': datetime(2015, 1, 1) } }
Response Structure
(dict) --
VoiceProfile (dict) --
VoiceProfileId (string) --
VoiceProfileArn (string) --
VoiceProfileDomainId (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
ExpirationTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.start_speaker_search_task( VoiceConnectorId='string', TransactionId='string', VoiceProfileDomainId='string', ClientRequestToken='string' )
string
[REQUIRED]
string
[REQUIRED]
string
[REQUIRED]
string
dict
Response Syntax
{ 'SpeakerSearchTask': { 'SpeakerSearchTaskId': 'string', 'SpeakerSearchTaskStatus': 'string', 'CallDetails': { 'VoiceConnectorId': 'string', 'TransactionId': 'string', 'IsCaller': True|False }, 'SpeakerSearchDetails': { 'Results': [ { 'ConfidenceScore': ..., 'VoiceProfileId': 'string' }, ], 'VoiceprintGenerationStatus': 'string' }, 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1), 'StartedTimestamp': datetime(2015, 1, 1), 'StatusMessage': 'string' } }
Response Structure
(dict) --
SpeakerSearchTask (dict) --
SpeakerSearchTaskId (string) --
SpeakerSearchTaskStatus (string) --
CallDetails (dict) --
VoiceConnectorId (string) --
TransactionId (string) --
IsCaller (boolean) --
SpeakerSearchDetails (dict) --
Results (list) --
(dict) --
ConfidenceScore (float) --
VoiceProfileId (string) --
VoiceprintGenerationStatus (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
StartedTimestamp (datetime) --
StatusMessage (string) --
See also: AWS API Documentation
Request Syntax
client.get_voice_profile_domain( VoiceProfileDomainId='string' )
string
[REQUIRED]
dict
Response Syntax
{ 'VoiceProfileDomain': { 'VoiceProfileDomainId': 'string', 'VoiceProfileDomainArn': 'string', 'Name': 'string', 'Description': 'string', 'ServerSideEncryptionConfiguration': { 'KmsKeyArn': 'string' }, 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1) } }
Response Structure
(dict) --
VoiceProfileDomain (dict) --
VoiceProfileDomainId (string) --
VoiceProfileDomainArn (string) --
Name (string) --
Description (string) --
ServerSideEncryptionConfiguration (dict) --
KmsKeyArn (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.create_voice_profile( SpeakerSearchTaskId='string' )
string
[REQUIRED]
dict
Response Syntax
{ 'VoiceProfile': { 'VoiceProfileId': 'string', 'VoiceProfileArn': 'string', 'VoiceProfileDomainId': 'string', 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1), 'ExpirationTimestamp': datetime(2015, 1, 1) } }
Response Structure
(dict) --
VoiceProfile (dict) --
VoiceProfileId (string) --
VoiceProfileArn (string) --
VoiceProfileDomainId (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
ExpirationTimestamp (datetime) --
See also: AWS API Documentation
Request Syntax
client.untag_resource( ResourceARN='string', TagKeys=[ 'string', ] )
string
[REQUIRED]
list
[REQUIRED]
(string) --
None
See also: AWS API Documentation
Request Syntax
client.update_voice_profile_domain( VoiceProfileDomainId='string', Name='string', Description='string' )
string
[REQUIRED]
string
string
dict
Response Syntax
{ 'VoiceProfileDomain': { 'VoiceProfileDomainId': 'string', 'VoiceProfileDomainArn': 'string', 'Name': 'string', 'Description': 'string', 'ServerSideEncryptionConfiguration': { 'KmsKeyArn': 'string' }, 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1) } }
Response Structure
(dict) --
VoiceProfileDomain (dict) --
VoiceProfileDomainId (string) --
VoiceProfileDomainArn (string) --
Name (string) --
Description (string) --
ServerSideEncryptionConfiguration (dict) --
KmsKeyArn (string) --
CreatedTimestamp (datetime) --
UpdatedTimestamp (datetime) --
{'StreamingConfiguration': {'MediaInsightsConfiguration': {'ConfigurationArn': 'string', 'Disabled': 'boolean'}}}
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_streaming_configuration( VoiceConnectorId='string' )
string
[REQUIRED]
dict
Response Syntax
{ 'StreamingConfiguration': { 'DataRetentionInHours': 123, 'Disabled': True|False, 'StreamingNotificationTargets': [ { 'NotificationTarget': 'EventBridge'|'SNS'|'SQS' }, ], 'MediaInsightsConfiguration': { 'Disabled': True|False, 'ConfigurationArn': 'string' } } }
Response Structure
(dict) --
StreamingConfiguration (dict) --
DataRetentionInHours (integer) --
Disabled (boolean) --
StreamingNotificationTargets (list) --
(dict) --
NotificationTarget (string) --
MediaInsightsConfiguration (dict) --
Disabled (boolean) --
ConfigurationArn (string) --
{'StreamingConfiguration': {'MediaInsightsConfiguration': {'ConfigurationArn': 'string', 'Disabled': 'boolean'}}}
See also: AWS API Documentation
Request Syntax
client.put_voice_connector_streaming_configuration( VoiceConnectorId='string', StreamingConfiguration={ 'DataRetentionInHours': 123, 'Disabled': True|False, 'StreamingNotificationTargets': [ { 'NotificationTarget': 'EventBridge'|'SNS'|'SQS' }, ], 'MediaInsightsConfiguration': { 'Disabled': True|False, 'ConfigurationArn': 'string' } } )
string
[REQUIRED]
dict
[REQUIRED]
DataRetentionInHours (integer) -- [REQUIRED]
Disabled (boolean) -- [REQUIRED]
StreamingNotificationTargets (list) --
(dict) --
NotificationTarget (string) --
MediaInsightsConfiguration (dict) --
Disabled (boolean) --
ConfigurationArn (string) --
dict
Response Syntax
{ 'StreamingConfiguration': { 'DataRetentionInHours': 123, 'Disabled': True|False, 'StreamingNotificationTargets': [ { 'NotificationTarget': 'EventBridge'|'SNS'|'SQS' }, ], 'MediaInsightsConfiguration': { 'Disabled': True|False, 'ConfigurationArn': 'string' } } }
Response Structure
(dict) --
StreamingConfiguration (dict) --
DataRetentionInHours (integer) --
Disabled (boolean) --
StreamingNotificationTargets (list) --
(dict) --
NotificationTarget (string) --
MediaInsightsConfiguration (dict) --
Disabled (boolean) --
ConfigurationArn (string) --