2020/05/19 - Amazon Chime - 2 updated api methods
Changes Update chime client to latest version
{'StreamingConfiguration': {'StreamingNotificationTargets': [{'NotificationTarget': 'EventBridge ' '| ' 'SNS ' '| ' 'SQS'}]}}
Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector. Shows whether media streaming is enabled for sending to Amazon Kinesis. It also shows the retention period, in hours, for the Amazon Kinesis data.
See also: AWS API Documentation
Request Syntax
client.get_voice_connector_streaming_configuration( VoiceConnectorId='string' )
string
[REQUIRED]
The Amazon Chime Voice Connector ID.
dict
Response Syntax
{ 'StreamingConfiguration': { 'DataRetentionInHours': 123, 'Disabled': True|False, 'StreamingNotificationTargets': [ { 'NotificationTarget': 'EventBridge'|'SNS'|'SQS' }, ] } }
Response Structure
(dict) --
StreamingConfiguration (dict) --
The streaming configuration details.
DataRetentionInHours (integer) --
The retention period, in hours, for the Amazon Kinesis data.
Disabled (boolean) --
When true, media streaming to Amazon Kinesis is turned off.
StreamingNotificationTargets (list) --
The streaming notification targets.
(dict) --
The targeted recipient for a streaming configuration notification.
NotificationTarget (string) --
The streaming notification target.
{'StreamingConfiguration': {'StreamingNotificationTargets': [{'NotificationTarget': 'EventBridge ' '| ' 'SNS ' '| ' 'SQS'}]}}
Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration specifies whether media streaming is enabled for sending to Amazon Kinesis. It also sets the retention period, in hours, for the Amazon Kinesis data.
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' }, ] } )
string
[REQUIRED]
The Amazon Chime Voice Connector ID.
dict
[REQUIRED]
The streaming configuration details to add.
DataRetentionInHours (integer) -- [REQUIRED]
The retention period, in hours, for the Amazon Kinesis data.
Disabled (boolean) --
When true, media streaming to Amazon Kinesis is turned off.
StreamingNotificationTargets (list) --
The streaming notification targets.
(dict) --
The targeted recipient for a streaming configuration notification.
NotificationTarget (string) -- [REQUIRED]
The streaming notification target.
dict
Response Syntax
{ 'StreamingConfiguration': { 'DataRetentionInHours': 123, 'Disabled': True|False, 'StreamingNotificationTargets': [ { 'NotificationTarget': 'EventBridge'|'SNS'|'SQS' }, ] } }
Response Structure
(dict) --
StreamingConfiguration (dict) --
The updated streaming configuration details.
DataRetentionInHours (integer) --
The retention period, in hours, for the Amazon Kinesis data.
Disabled (boolean) --
When true, media streaming to Amazon Kinesis is turned off.
StreamingNotificationTargets (list) --
The streaming notification targets.
(dict) --
The targeted recipient for a streaming configuration notification.
NotificationTarget (string) --
The streaming notification target.