update_flow_source(**kwargs)¶Updates the source of a flow.
See also: AWS API Documentation
Request Syntax
response = client.update_flow_source(
    Decryption={
        'Algorithm': 'aes128'|'aes192'|'aes256',
        'ConstantInitializationVector': 'string',
        'DeviceId': 'string',
        'KeyType': 'speke'|'static-key'|'srt-password',
        'Region': 'string',
        'ResourceId': 'string',
        'RoleArn': 'string',
        'SecretArn': 'string',
        'Url': 'string'
    },
    Description='string',
    EntitlementArn='string',
    FlowArn='string',
    IngestPort=123,
    MaxBitrate=123,
    MaxLatency=123,
    MaxSyncBuffer=123,
    MediaStreamSourceConfigurations=[
        {
            'EncodingName': 'jxsv'|'raw'|'smpte291'|'pcm',
            'InputConfigurations': [
                {
                    'InputPort': 123,
                    'Interface': {
                        'Name': 'string'
                    }
                },
            ],
            'MediaStreamName': 'string'
        },
    ],
    MinLatency=123,
    Protocol='zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos',
    SenderControlPort=123,
    SenderIpAddress='string',
    SourceArn='string',
    SourceListenerAddress='string',
    SourceListenerPort=123,
    StreamId='string',
    VpcInterfaceName='string',
    WhitelistCidr='string'
)
The type of encryption used on the content ingested from this source.
The media streams that are associated with the source, and the parameters for those associations.
dict
Response Syntax
{
    'FlowArn': 'string',
    'Source': {
        'DataTransferSubscriberFeePercent': 123,
        'Decryption': {
            'Algorithm': 'aes128'|'aes192'|'aes256',
            'ConstantInitializationVector': 'string',
            'DeviceId': 'string',
            'KeyType': 'speke'|'static-key'|'srt-password',
            'Region': 'string',
            'ResourceId': 'string',
            'RoleArn': 'string',
            'SecretArn': 'string',
            'Url': 'string'
        },
        'Description': 'string',
        'EntitlementArn': 'string',
        'IngestIp': 'string',
        'IngestPort': 123,
        'MediaStreamSourceConfigurations': [
            {
                'EncodingName': 'jxsv'|'raw'|'smpte291'|'pcm',
                'InputConfigurations': [
                    {
                        'InputIp': 'string',
                        'InputPort': 123,
                        'Interface': {
                            'Name': 'string'
                        }
                    },
                ],
                'MediaStreamName': 'string'
            },
        ],
        'Name': 'string',
        'SenderControlPort': 123,
        'SenderIpAddress': 'string',
        'SourceArn': 'string',
        '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'
        },
        'VpcInterfaceName': 'string',
        'WhitelistCidr': 'string'
    }
}
Response Structure
Exceptions
MediaConnect.Client.exceptions.BadRequestExceptionMediaConnect.Client.exceptions.InternalServerErrorExceptionMediaConnect.Client.exceptions.ForbiddenExceptionMediaConnect.Client.exceptions.NotFoundExceptionMediaConnect.Client.exceptions.ServiceUnavailableExceptionMediaConnect.Client.exceptions.TooManyRequestsException