MediaConnect / Client / update_bridge_source

update_bridge_source#

MediaConnect.Client.update_bridge_source(**kwargs)#

Updates an existing bridge source.

See also: AWS API Documentation

Request Syntax

response = client.update_bridge_source(
    BridgeArn='string',
    FlowSource={
        'FlowArn': 'string',
        'FlowVpcInterfaceAttachment': {
            'VpcInterfaceName': 'string'
        }
    },
    NetworkSource={
        'MulticastIp': 'string',
        'NetworkName': 'string',
        'Port': 123,
        'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos'|'udp'
    },
    SourceName='string'
)
Parameters:
  • BridgeArn (string) – [REQUIRED] The ARN of the bridge that you want to update.

  • FlowSource (dict) –

    Update the flow source of the bridge.

    • FlowArn (string) – The ARN of the cloud flow to use as a source of this bridge.

    • FlowVpcInterfaceAttachment (dict) – The name of the VPC interface attachment to use for this source.

      • VpcInterfaceName (string) – The name of the VPC interface to use for this resource.

  • NetworkSource (dict) –

    Update the network source of the bridge.

    • MulticastIp (string) – The network source multicast IP.

    • NetworkName (string) – The network source’s gateway network name.

    • Port (integer) – The network source port.

    • Protocol (string) – The network source protocol.

  • SourceName (string) – [REQUIRED] The name of the source that you want to update.

Return type:

dict

Returns:

Response Syntax

{
    'BridgeArn': 'string',
    'Source': {
        'FlowSource': {
            'FlowArn': 'string',
            'FlowVpcInterfaceAttachment': {
                'VpcInterfaceName': 'string'
            },
            'Name': 'string',
            'OutputArn': 'string'
        },
        'NetworkSource': {
            'MulticastIp': 'string',
            'Name': 'string',
            'NetworkName': 'string',
            'Port': 123,
            'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos'|'udp'
        }
    }
}

Response Structure

  • (dict) – MediaConnect is updating the bridge source.

    • BridgeArn (string) – The Amazon Resource Number (ARN) of the bridge.

    • Source (dict) – The bridge’s source.

      • FlowSource (dict) – The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.

        • FlowArn (string) – The ARN of the cloud flow used as a source of this bridge.

        • FlowVpcInterfaceAttachment (dict) – The name of the VPC interface attachment to use for this source.

          • VpcInterfaceName (string) – The name of the VPC interface to use for this resource.

        • Name (string) – The name of the flow source.

        • OutputArn (string) – The Amazon Resource Number (ARN) of the output.

      • NetworkSource (dict) – The source of the bridge. A network source originates at your premises.

        • MulticastIp (string) – The network source multicast IP.

        • Name (string) – The name of the network source.

        • NetworkName (string) – The network source’s gateway network name.

        • Port (integer) – The network source port.

        • Protocol (string) – The network source protocol.

Exceptions

  • MediaConnect.Client.exceptions.BadRequestException

  • MediaConnect.Client.exceptions.InternalServerErrorException

  • MediaConnect.Client.exceptions.ForbiddenException

  • MediaConnect.Client.exceptions.NotFoundException

  • MediaConnect.Client.exceptions.ServiceUnavailableException

  • MediaConnect.Client.exceptions.TooManyRequestsException

  • MediaConnect.Client.exceptions.ConflictException