put_voice_connector_streaming_configuration
(**kwargs)¶Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration specifies whether media streaming is enabled for sending to Kinesis. It also sets the retention period, in hours, for the Amazon Kinesis data.
See also: AWS API Documentation
Request Syntax
response = client.put_voice_connector_streaming_configuration(
VoiceConnectorId='string',
StreamingConfiguration={
'DataRetentionInHours': 123,
'Disabled': True|False,
'StreamingNotificationTargets': [
{
'NotificationTarget': 'EventBridge'|'SNS'|'SQS'
},
]
}
)
[REQUIRED]
The Amazon Chime Voice Connector ID.
[REQUIRED]
The streaming configuration details to add.
The retention period, in hours, for the Amazon Kinesis data.
When true, media streaming to Amazon Kinesis is turned off.
The streaming notification targets.
The targeted recipient for a streaming configuration notification.
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.
Exceptions
Chime.Client.exceptions.UnauthorizedClientException
Chime.Client.exceptions.NotFoundException
Chime.Client.exceptions.ForbiddenException
Chime.Client.exceptions.BadRequestException
Chime.Client.exceptions.ThrottledClientException
Chime.Client.exceptions.ServiceUnavailableException
Chime.Client.exceptions.ServiceFailureException