MediaConnect.Client.
add_flow_outputs
(**kwargs)¶Adds outputs to an existing flow. You can create up to 50 outputs per flow.
See also: AWS API Documentation
Request Syntax
response = client.add_flow_outputs(
FlowArn='string',
Outputs=[
{
'CidrAllowList': [
'string',
],
'Description': 'string',
'Destination': 'string',
'Encryption': {
'Algorithm': 'aes128'|'aes192'|'aes256',
'ConstantInitializationVector': 'string',
'DeviceId': 'string',
'KeyType': 'speke'|'static-key'|'srt-password',
'Region': 'string',
'ResourceId': 'string',
'RoleArn': 'string',
'SecretArn': 'string',
'Url': 'string'
},
'MaxLatency': 123,
'MediaStreamOutputConfigurations': [
{
'DestinationConfigurations': [
{
'DestinationIp': 'string',
'DestinationPort': 123,
'Interface': {
'Name': 'string'
}
},
],
'EncodingName': 'jxsv'|'raw'|'smpte291'|'pcm',
'EncodingParameters': {
'CompressionFactor': 123.0,
'EncoderProfile': 'main'|'high'
},
'MediaStreamName': 'string'
},
],
'MinLatency': 123,
'Name': 'string',
'Port': 123,
'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos',
'RemoteId': 'string',
'SenderControlPort': 123,
'SmoothingLatency': 123,
'StreamId': 'string',
'VpcInterfaceAttachment': {
'VpcInterfaceName': 'string'
}
},
]
)
[REQUIRED] A list of outputs that you want to add.
dict
Response Syntax
{
'FlowArn': 'string',
'Outputs': [
{
'DataTransferSubscriberFeePercent': 123,
'Description': 'string',
'Destination': 'string',
'Encryption': {
'Algorithm': 'aes128'|'aes192'|'aes256',
'ConstantInitializationVector': 'string',
'DeviceId': 'string',
'KeyType': 'speke'|'static-key'|'srt-password',
'Region': 'string',
'ResourceId': 'string',
'RoleArn': 'string',
'SecretArn': 'string',
'Url': 'string'
},
'EntitlementArn': 'string',
'ListenerAddress': 'string',
'MediaLiveInputArn': 'string',
'MediaStreamOutputConfigurations': [
{
'DestinationConfigurations': [
{
'DestinationIp': 'string',
'DestinationPort': 123,
'Interface': {
'Name': 'string'
},
'OutboundIp': 'string'
},
],
'EncodingName': 'jxsv'|'raw'|'smpte291'|'pcm',
'EncodingParameters': {
'CompressionFactor': 123.0,
'EncoderProfile': 'main'|'high'
},
'MediaStreamName': 'string'
},
],
'Name': 'string',
'OutputArn': 'string',
'Port': 123,
'Transport': {
'CidrAllowList': [
'string',
],
'MaxBitrate': 123,
'MaxLatency': 123,
'MaxSyncBuffer': 123,
'MinLatency': 123,
'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos',
'RemoteId': 'string',
'SenderControlPort': 123,
'SenderIpAddress': 'string',
'SmoothingLatency': 123,
'SourceListenerAddress': 'string',
'SourceListenerPort': 123,
'StreamId': 'string'
},
'VpcInterfaceAttachment': {
'VpcInterfaceName': 'string'
}
},
]
}
Response Structure
Exceptions
MediaConnect.Client.exceptions.AddFlowOutputs420Exception
MediaConnect.Client.exceptions.BadRequestException
MediaConnect.Client.exceptions.InternalServerErrorException
MediaConnect.Client.exceptions.ForbiddenException
MediaConnect.Client.exceptions.NotFoundException
MediaConnect.Client.exceptions.ServiceUnavailableException
MediaConnect.Client.exceptions.TooManyRequestsException