AWS MediaConnect

2022/09/19 - AWS MediaConnect - 7 updated api methods

Changes  This change allows the customer to use the SRT Caller protocol as part of their flows

AddFlowOutputs (updated) Link ¶
Changes (request, response)
Request
{'Outputs': {'Protocol': {'srt-caller'}}}
Response
{'Outputs': {'Transport': {'Protocol': {'srt-caller'},
                           'SourceListenerAddress': 'string',
                           'SourceListenerPort': 'integer'}}}

Adds outputs to an existing flow. You can create up to 50 outputs per flow.

See also: AWS API Documentation

Request Syntax

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'
            }
        },
    ]
)
type FlowArn

string

param FlowArn

[REQUIRED] The flow that you want to add outputs to.

type Outputs

list

param Outputs

[REQUIRED] A list of outputs that you want to add.

  • (dict) -- The output that you want to add to this flow.

    • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

      • (string) --

    • Description (string) -- A description of the output. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the end user.

    • Destination (string) -- The IP address from which video will be sent to output destinations.

    • Encryption (dict) -- The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

      • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

      • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

      • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

      • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • RoleArn (string) -- [REQUIRED] The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

      • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

      • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

    • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

    • MediaStreamOutputConfigurations (list) -- The media streams that are associated with the output, and the parameters for those associations.

      • (dict) -- The media stream that you want to associate with the output, and the parameters for that association.

        • DestinationConfigurations (list) -- The transport parameters that you want to associate with the media stream.

          • (dict) -- The transport parameters that you want to associate with an outbound media stream.

            • DestinationIp (string) -- [REQUIRED] The IP address where you want MediaConnect to send contents of the media stream.

            • DestinationPort (integer) -- [REQUIRED] The port that you want MediaConnect to use when it distributes the media stream to the output.

            • Interface (dict) -- [REQUIRED] The VPC interface that you want to use for the media stream associated with the output.

              • Name (string) -- [REQUIRED] The name of the VPC interface.

        • EncodingName (string) -- [REQUIRED] The format that will be used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

        • EncodingParameters (dict) -- A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.

          • CompressionFactor (float) -- [REQUIRED] A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.

          • EncoderProfile (string) -- [REQUIRED] A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, if at least one source on the flow uses the CDI protocol.

        • MediaStreamName (string) -- [REQUIRED] The name of the media stream that is associated with the output.

    • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

    • Name (string) -- The name of the output. This value must be unique within the current flow.

    • Port (integer) -- The port to use when content is distributed to this output.

    • Protocol (string) -- [REQUIRED] The protocol to use for the output.

    • RemoteId (string) -- The remote ID for the Zixi-pull output stream.

    • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

    • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

    • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

    • VpcInterfaceAttachment (dict) -- The name of the VPC interface attachment to use for this output.

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

rtype

dict

returns

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

  • (dict) -- AWS Elemental MediaConnect added the outputs successfully.

    • FlowArn (string) -- The ARN of the flow that these outputs were added to.

    • Outputs (list) -- The details of the newly added outputs.

      • (dict) -- The settings for an output.

        • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

        • Description (string) -- A description of the output.

        • Destination (string) -- The address where you want to send the output.

        • Encryption (dict) -- The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

          • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

          • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

          • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

          • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

          • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

          • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • EntitlementArn (string) -- The ARN of the entitlement on the originator''s flow. This value is relevant only on entitled flows.

        • ListenerAddress (string) -- The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol.

        • MediaLiveInputArn (string) -- The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.

        • MediaStreamOutputConfigurations (list) -- The configuration for each media stream that is associated with the output.

          • (dict) -- The media stream that is associated with the output, and the parameters for that association.

            • DestinationConfigurations (list) -- The transport parameters that are associated with each outbound media stream.

              • (dict) -- The transport parameters that are associated with an outbound media stream.

                • DestinationIp (string) -- The IP address where contents of the media stream will be sent.

                • DestinationPort (integer) -- The port to use when the content of the media stream is distributed to the output.

                • Interface (dict) -- The VPC interface that is used for the media stream associated with the output.

                  • Name (string) -- The name of the VPC interface.

                • OutboundIp (string) -- The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.

            • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

            • EncodingParameters (dict) -- Encoding parameters

              • CompressionFactor (float) -- A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.

              • EncoderProfile (string) -- A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.

            • MediaStreamName (string) -- The name of the media stream.

        • Name (string) -- The name of the output. This value must be unique within the current flow.

        • OutputArn (string) -- The ARN of the output.

        • Port (integer) -- The port to use when content is distributed to this output.

        • Transport (dict) -- Attributes related to the transport stream that are used in the output.

          • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

            • (string) --

          • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

          • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

          • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

          • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

          • Protocol (string) -- The protocol that is used by the source or output.

          • RemoteId (string) -- The remote ID for the Zixi-pull stream.

          • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

          • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

          • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

          • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

          • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

          • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

        • VpcInterfaceAttachment (dict) -- The name of the VPC interface attachment to use for this output.

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

AddFlowSources (updated) Link ¶
Changes (request, response)
Request
{'Sources': {'Protocol': {'srt-caller'},
             'SourceListenerAddress': 'string',
             'SourceListenerPort': 'integer'}}
Response
{'Sources': {'Transport': {'Protocol': {'srt-caller'},
                           'SourceListenerAddress': 'string',
                           'SourceListenerPort': 'integer'}}}

Adds Sources to flow

See also: AWS API Documentation

Request Syntax

client.add_flow_sources(
    FlowArn='string',
    Sources=[
        {
            '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',
            'IngestPort': 123,
            'MaxBitrate': 123,
            'MaxLatency': 123,
            'MaxSyncBuffer': 123,
            'MediaStreamSourceConfigurations': [
                {
                    'EncodingName': 'jxsv'|'raw'|'smpte291'|'pcm',
                    'InputConfigurations': [
                        {
                            'InputPort': 123,
                            'Interface': {
                                'Name': 'string'
                            }
                        },
                    ],
                    'MediaStreamName': 'string'
                },
            ],
            'MinLatency': 123,
            'Name': 'string',
            'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos',
            'SenderControlPort': 123,
            'SenderIpAddress': 'string',
            'SourceListenerAddress': 'string',
            'SourceListenerPort': 123,
            'StreamId': 'string',
            'VpcInterfaceName': 'string',
            'WhitelistCidr': 'string'
        },
    ]
)
type FlowArn

string

param FlowArn

[REQUIRED] The flow that you want to mutate.

type Sources

list

param Sources

[REQUIRED] A list of sources that you want to add.

  • (dict) -- The settings for the source of the flow.

    • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

      • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

      • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

      • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

      • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • RoleArn (string) -- [REQUIRED] The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

      • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

      • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

    • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

    • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.

    • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

    • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

    • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

    • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

    • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

      • (dict) -- The definition of a media stream that you want to associate with the source.

        • EncodingName (string) -- [REQUIRED] The format you want to use to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

        • InputConfigurations (list) -- The transport parameters that you want to associate with the media stream.

          • (dict) -- The transport parameters that you want to associate with an incoming media stream.

            • InputPort (integer) -- [REQUIRED] The port that you want the flow to listen on for an incoming media stream.

            • Interface (dict) -- [REQUIRED] The VPC interface that you want to use for the incoming media stream.

              • Name (string) -- [REQUIRED] The name of the VPC interface.

        • MediaStreamName (string) -- [REQUIRED] The name of the media stream.

    • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

    • Name (string) -- The name of the source.

    • Protocol (string) -- The protocol that is used by the source.

    • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

    • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

    • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

    • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

    • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

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

    • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

rtype

dict

returns

Response Syntax

{
    'FlowArn': 'string',
    'Sources': [
        {
            '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

  • (dict) -- AWS Elemental MediaConnect added sources to the flow successfully.

    • FlowArn (string) -- The ARN of the flow that these sources were added to.

    • Sources (list) -- The details of the newly added sources.

      • (dict) -- The settings for the source of the flow.

        • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

        • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

          • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

          • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

          • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

          • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

          • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

          • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

        • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

        • IngestIp (string) -- The IP address that the flow will be listening on for incoming content.

        • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

        • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

          • (dict) -- The media stream that is associated with the source, and the parameters for that association.

            • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

            • InputConfigurations (list) -- The transport parameters that are associated with an incoming media stream.

              • (dict) -- The transport parameters that are associated with an incoming media stream.

                • InputIp (string) -- The IP address that the flow listens on for incoming content for a media stream.

                • InputPort (integer) -- The port that the flow listens on for an incoming media stream.

                • Interface (dict) -- The VPC interface where the media stream comes in from.

                  • Name (string) -- The name of the VPC interface.

            • MediaStreamName (string) -- The name of the media stream.

        • Name (string) -- The name of the source.

        • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

        • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

        • SourceArn (string) -- The ARN of the source.

        • Transport (dict) -- Attributes related to the transport stream that are used in the source.

          • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

            • (string) --

          • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

          • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

          • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

          • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

          • Protocol (string) -- The protocol that is used by the source or output.

          • RemoteId (string) -- The remote ID for the Zixi-pull stream.

          • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

          • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

          • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

          • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

          • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

          • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

        • VpcInterfaceName (string) -- The name of the VPC interface that is used for this source.

        • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

CreateFlow (updated) Link ¶
Changes (request, response)
Request
{'Outputs': {'Protocol': {'srt-caller'}},
 'Source': {'Protocol': {'srt-caller'},
            'SourceListenerAddress': 'string',
            'SourceListenerPort': 'integer'},
 'Sources': {'Protocol': {'srt-caller'},
             'SourceListenerAddress': 'string',
             'SourceListenerPort': 'integer'}}
Response
{'Flow': {'Outputs': {'Transport': {'Protocol': {'srt-caller'},
                                    'SourceListenerAddress': 'string',
                                    'SourceListenerPort': 'integer'}},
          'Source': {'Transport': {'Protocol': {'srt-caller'},
                                   'SourceListenerAddress': 'string',
                                   'SourceListenerPort': 'integer'}},
          'Sources': {'Transport': {'Protocol': {'srt-caller'},
                                    'SourceListenerAddress': 'string',
                                    'SourceListenerPort': 'integer'}}}}

Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).

See also: AWS API Documentation

Request Syntax

client.create_flow(
    AvailabilityZone='string',
    Entitlements=[
        {
            'DataTransferSubscriberFeePercent': 123,
            'Description': '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'
            },
            'EntitlementStatus': 'ENABLED'|'DISABLED',
            'Name': 'string',
            'Subscribers': [
                'string',
            ]
        },
    ],
    MediaStreams=[
        {
            'Attributes': {
                'Fmtp': {
                    'ChannelOrder': 'string',
                    'Colorimetry': 'BT601'|'BT709'|'BT2020'|'BT2100'|'ST2065-1'|'ST2065-3'|'XYZ',
                    'ExactFramerate': 'string',
                    'Par': 'string',
                    'Range': 'NARROW'|'FULL'|'FULLPROTECT',
                    'ScanMode': 'progressive'|'interlace'|'progressive-segmented-frame',
                    'Tcs': 'SDR'|'PQ'|'HLG'|'LINEAR'|'BT2100LINPQ'|'BT2100LINHLG'|'ST2065-1'|'ST428-1'|'DENSITY'
                },
                'Lang': 'string'
            },
            'ClockRate': 123,
            'Description': 'string',
            'MediaStreamId': 123,
            'MediaStreamName': 'string',
            'MediaStreamType': 'video'|'audio'|'ancillary-data',
            'VideoFormat': 'string'
        },
    ],
    Name='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'
            }
        },
    ],
    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',
        'IngestPort': 123,
        'MaxBitrate': 123,
        'MaxLatency': 123,
        'MaxSyncBuffer': 123,
        'MediaStreamSourceConfigurations': [
            {
                'EncodingName': 'jxsv'|'raw'|'smpte291'|'pcm',
                'InputConfigurations': [
                    {
                        'InputPort': 123,
                        'Interface': {
                            'Name': 'string'
                        }
                    },
                ],
                'MediaStreamName': 'string'
            },
        ],
        'MinLatency': 123,
        'Name': 'string',
        'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos',
        'SenderControlPort': 123,
        'SenderIpAddress': 'string',
        'SourceListenerAddress': 'string',
        'SourceListenerPort': 123,
        'StreamId': 'string',
        'VpcInterfaceName': 'string',
        'WhitelistCidr': 'string'
    },
    SourceFailoverConfig={
        'FailoverMode': 'MERGE'|'FAILOVER',
        'RecoveryWindow': 123,
        'SourcePriority': {
            'PrimarySource': 'string'
        },
        'State': 'ENABLED'|'DISABLED'
    },
    Sources=[
        {
            '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',
            'IngestPort': 123,
            'MaxBitrate': 123,
            'MaxLatency': 123,
            'MaxSyncBuffer': 123,
            'MediaStreamSourceConfigurations': [
                {
                    'EncodingName': 'jxsv'|'raw'|'smpte291'|'pcm',
                    'InputConfigurations': [
                        {
                            'InputPort': 123,
                            'Interface': {
                                'Name': 'string'
                            }
                        },
                    ],
                    'MediaStreamName': 'string'
                },
            ],
            'MinLatency': 123,
            'Name': 'string',
            'Protocol': 'zixi-push'|'rtp-fec'|'rtp'|'zixi-pull'|'rist'|'st2110-jpegxs'|'cdi'|'srt-listener'|'srt-caller'|'fujitsu-qos',
            'SenderControlPort': 123,
            'SenderIpAddress': 'string',
            'SourceListenerAddress': 'string',
            'SourceListenerPort': 123,
            'StreamId': 'string',
            'VpcInterfaceName': 'string',
            'WhitelistCidr': 'string'
        },
    ],
    VpcInterfaces=[
        {
            'Name': 'string',
            'NetworkInterfaceType': 'ena'|'efa',
            'RoleArn': 'string',
            'SecurityGroupIds': [
                'string',
            ],
            'SubnetId': 'string'
        },
    ],
    Maintenance={
        'MaintenanceDay': 'Monday'|'Tuesday'|'Wednesday'|'Thursday'|'Friday'|'Saturday'|'Sunday',
        'MaintenanceStartHour': 'string'
    }
)
type AvailabilityZone

string

param AvailabilityZone

The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.

type Entitlements

list

param Entitlements

The entitlements that you want to grant on a flow.

  • (dict) -- The entitlements that you want to grant on a flow.

    • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

    • Description (string) -- A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.

    • Encryption (dict) -- The type of encryption that will be used on the output that is associated with this entitlement.

      • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

      • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

      • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

      • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • RoleArn (string) -- [REQUIRED] The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

      • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

      • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

    • EntitlementStatus (string) -- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.

    • Name (string) -- The name of the entitlement. This value must be unique within the current flow.

    • Subscribers (list) -- [REQUIRED] The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.

      • (string) --

type MediaStreams

list

param MediaStreams

The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.

  • (dict) -- The media stream that you want to add to the flow.

    • Attributes (dict) -- The attributes that you want to assign to the new media stream.

      • Fmtp (dict) -- The settings that you want to use to define the media stream.

        • ChannelOrder (string) -- The format of the audio channel.

        • Colorimetry (string) -- The format that is used for the representation of color.

        • ExactFramerate (string) -- The frame rate for the video stream, in frames/second. For example: 60000/1001. If you specify a whole number, MediaConnect uses a ratio of N/1. For example, if you specify 60, MediaConnect uses 60/1 as the exactFramerate.

        • Par (string) -- The pixel aspect ratio (PAR) of the video.

        • Range (string) -- The encoding range of the video.

        • ScanMode (string) -- The type of compression that was used to smooth the video’s appearance.

        • Tcs (string) -- The transfer characteristic system (TCS) that is used in the video.

      • Lang (string) -- The audio language, in a format that is recognized by the receiver.

    • ClockRate (integer) -- The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.

    • Description (string) -- A description that can help you quickly identify what your media stream is used for.

    • MediaStreamId (integer) -- [REQUIRED] A unique identifier for the media stream.

    • MediaStreamName (string) -- [REQUIRED] A name that helps you distinguish one media stream from another.

    • MediaStreamType (string) -- [REQUIRED] The type of media stream.

    • VideoFormat (string) -- The resolution of the video.

type Name

string

param Name

[REQUIRED] The name of the flow.

type Outputs

list

param Outputs

The outputs that you want to add to this flow.

  • (dict) -- The output that you want to add to this flow.

    • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

      • (string) --

    • Description (string) -- A description of the output. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the end user.

    • Destination (string) -- The IP address from which video will be sent to output destinations.

    • Encryption (dict) -- The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

      • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

      • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

      • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

      • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • RoleArn (string) -- [REQUIRED] The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

      • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

      • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

    • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

    • MediaStreamOutputConfigurations (list) -- The media streams that are associated with the output, and the parameters for those associations.

      • (dict) -- The media stream that you want to associate with the output, and the parameters for that association.

        • DestinationConfigurations (list) -- The transport parameters that you want to associate with the media stream.

          • (dict) -- The transport parameters that you want to associate with an outbound media stream.

            • DestinationIp (string) -- [REQUIRED] The IP address where you want MediaConnect to send contents of the media stream.

            • DestinationPort (integer) -- [REQUIRED] The port that you want MediaConnect to use when it distributes the media stream to the output.

            • Interface (dict) -- [REQUIRED] The VPC interface that you want to use for the media stream associated with the output.

              • Name (string) -- [REQUIRED] The name of the VPC interface.

        • EncodingName (string) -- [REQUIRED] The format that will be used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

        • EncodingParameters (dict) -- A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.

          • CompressionFactor (float) -- [REQUIRED] A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.

          • EncoderProfile (string) -- [REQUIRED] A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, if at least one source on the flow uses the CDI protocol.

        • MediaStreamName (string) -- [REQUIRED] The name of the media stream that is associated with the output.

    • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

    • Name (string) -- The name of the output. This value must be unique within the current flow.

    • Port (integer) -- The port to use when content is distributed to this output.

    • Protocol (string) -- [REQUIRED] The protocol to use for the output.

    • RemoteId (string) -- The remote ID for the Zixi-pull output stream.

    • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

    • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

    • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

    • VpcInterfaceAttachment (dict) -- The name of the VPC interface attachment to use for this output.

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

type Source

dict

param Source

The settings for the source of the flow.

  • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

    • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

    • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

    • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

    • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

    • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

    • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

    • RoleArn (string) -- [REQUIRED] The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

    • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

    • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

  • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

  • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.

  • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

  • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

  • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

  • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

  • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

    • (dict) -- The definition of a media stream that you want to associate with the source.

      • EncodingName (string) -- [REQUIRED] The format you want to use to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

      • InputConfigurations (list) -- The transport parameters that you want to associate with the media stream.

        • (dict) -- The transport parameters that you want to associate with an incoming media stream.

          • InputPort (integer) -- [REQUIRED] The port that you want the flow to listen on for an incoming media stream.

          • Interface (dict) -- [REQUIRED] The VPC interface that you want to use for the incoming media stream.

            • Name (string) -- [REQUIRED] The name of the VPC interface.

      • MediaStreamName (string) -- [REQUIRED] The name of the media stream.

  • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

  • Name (string) -- The name of the source.

  • Protocol (string) -- The protocol that is used by the source.

  • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

  • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

  • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

  • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

  • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

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

  • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

type SourceFailoverConfig

dict

param SourceFailoverConfig

The settings for source failover.

  • FailoverMode (string) -- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.

  • RecoveryWindow (integer) -- Search window time to look for dash-7 packets

  • SourcePriority (dict) -- The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.

    • PrimarySource (string) -- The name of the source you choose as the primary source for this flow.

  • State (string) --

type Sources

list

param Sources
  • (dict) -- The settings for the source of the flow.

    • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

      • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

      • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

      • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

      • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • RoleArn (string) -- [REQUIRED] The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

      • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

      • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

    • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

    • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.

    • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

    • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

    • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

    • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

    • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

      • (dict) -- The definition of a media stream that you want to associate with the source.

        • EncodingName (string) -- [REQUIRED] The format you want to use to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

        • InputConfigurations (list) -- The transport parameters that you want to associate with the media stream.

          • (dict) -- The transport parameters that you want to associate with an incoming media stream.

            • InputPort (integer) -- [REQUIRED] The port that you want the flow to listen on for an incoming media stream.

            • Interface (dict) -- [REQUIRED] The VPC interface that you want to use for the incoming media stream.

              • Name (string) -- [REQUIRED] The name of the VPC interface.

        • MediaStreamName (string) -- [REQUIRED] The name of the media stream.

    • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

    • Name (string) -- The name of the source.

    • Protocol (string) -- The protocol that is used by the source.

    • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

    • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

    • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

    • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

    • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

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

    • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

type VpcInterfaces

list

param VpcInterfaces

The VPC interfaces you want on the flow.

  • (dict) -- Desired VPC Interface for a Flow

    • Name (string) -- [REQUIRED] The name of the VPC Interface. This value must be unique within the current flow.

    • NetworkInterfaceType (string) -- The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.

    • RoleArn (string) -- [REQUIRED] Role Arn MediaConnect can assumes to create ENIs in customer's account

    • SecurityGroupIds (list) -- [REQUIRED] Security Group IDs to be used on ENI.

      • (string) --

    • SubnetId (string) -- [REQUIRED] Subnet must be in the AZ of the Flow

type Maintenance

dict

param Maintenance

Create maintenance setting for a flow

  • MaintenanceDay (string) -- [REQUIRED] A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.

  • MaintenanceStartHour (string) -- [REQUIRED] UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.

rtype

dict

returns

Response Syntax

{
    'Flow': {
        'AvailabilityZone': 'string',
        'Description': 'string',
        'EgressIp': 'string',
        'Entitlements': [
            {
                'DataTransferSubscriberFeePercent': 123,
                'Description': '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',
                'EntitlementStatus': 'ENABLED'|'DISABLED',
                'Name': 'string',
                'Subscribers': [
                    'string',
                ]
            },
        ],
        'FlowArn': 'string',
        'MediaStreams': [
            {
                'Attributes': {
                    'Fmtp': {
                        'ChannelOrder': 'string',
                        'Colorimetry': 'BT601'|'BT709'|'BT2020'|'BT2100'|'ST2065-1'|'ST2065-3'|'XYZ',
                        'ExactFramerate': 'string',
                        'Par': 'string',
                        'Range': 'NARROW'|'FULL'|'FULLPROTECT',
                        'ScanMode': 'progressive'|'interlace'|'progressive-segmented-frame',
                        'Tcs': 'SDR'|'PQ'|'HLG'|'LINEAR'|'BT2100LINPQ'|'BT2100LINHLG'|'ST2065-1'|'ST428-1'|'DENSITY'
                    },
                    'Lang': 'string'
                },
                'ClockRate': 123,
                'Description': 'string',
                'Fmt': 123,
                'MediaStreamId': 123,
                'MediaStreamName': 'string',
                'MediaStreamType': 'video'|'audio'|'ancillary-data',
                'VideoFormat': 'string'
            },
        ],
        'Name': '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'
                }
            },
        ],
        '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'
        },
        'SourceFailoverConfig': {
            'FailoverMode': 'MERGE'|'FAILOVER',
            'RecoveryWindow': 123,
            'SourcePriority': {
                'PrimarySource': 'string'
            },
            'State': 'ENABLED'|'DISABLED'
        },
        'Sources': [
            {
                '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'
            },
        ],
        'Status': 'STANDBY'|'ACTIVE'|'UPDATING'|'DELETING'|'STARTING'|'STOPPING'|'ERROR',
        'VpcInterfaces': [
            {
                'Name': 'string',
                'NetworkInterfaceIds': [
                    'string',
                ],
                'NetworkInterfaceType': 'ena'|'efa',
                'RoleArn': 'string',
                'SecurityGroupIds': [
                    'string',
                ],
                'SubnetId': 'string'
            },
        ],
        'Maintenance': {
            'MaintenanceDay': 'Monday'|'Tuesday'|'Wednesday'|'Thursday'|'Friday'|'Saturday'|'Sunday',
            'MaintenanceDeadline': 'string',
            'MaintenanceScheduledDate': 'string',
            'MaintenanceStartHour': 'string'
        }
    }
}

Response Structure

  • (dict) -- AWS Elemental MediaConnect created the new flow successfully.

    • Flow (dict) -- The settings for a flow, including its source, outputs, and entitlements.

      • AvailabilityZone (string) -- The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.

      • Description (string) -- A description of the flow. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

      • EgressIp (string) -- The IP address from which video will be sent to output destinations.

      • Entitlements (list) -- The entitlements in this flow.

        • (dict) -- The settings for a flow entitlement.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Description (string) -- A description of the entitlement.

          • Encryption (dict) -- The type of encryption that will be used on the output that is associated with this entitlement.

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • EntitlementArn (string) -- The ARN of the entitlement.

          • EntitlementStatus (string) -- An indication of whether the entitlement is enabled.

          • Name (string) -- The name of the entitlement.

          • Subscribers (list) -- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.

            • (string) --

      • FlowArn (string) -- The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.

      • MediaStreams (list) -- The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.

        • (dict) -- A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.

          • Attributes (dict) -- Attributes that are related to the media stream.

            • Fmtp (dict) -- A set of parameters that define the media stream.

              • ChannelOrder (string) -- The format of the audio channel.

              • Colorimetry (string) -- The format that is used for the representation of color.

              • ExactFramerate (string) -- The frame rate for the video stream, in frames/second. For example: 60000/1001. If you specify a whole number, MediaConnect uses a ratio of N/1. For example, if you specify 60, MediaConnect uses 60/1 as the exactFramerate.

              • Par (string) -- The pixel aspect ratio (PAR) of the video.

              • Range (string) -- The encoding range of the video.

              • ScanMode (string) -- The type of compression that was used to smooth the video’s appearance

              • Tcs (string) -- The transfer characteristic system (TCS) that is used in the video.

            • Lang (string) -- The audio language, in a format that is recognized by the receiver.

          • ClockRate (integer) -- The sample rate for the stream. This value is measured in Hz.

          • Description (string) -- A description that can help you quickly identify what your media stream is used for.

          • Fmt (integer) -- The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.

          • MediaStreamId (integer) -- A unique identifier for the media stream.

          • MediaStreamName (string) -- A name that helps you distinguish one media stream from another.

          • MediaStreamType (string) -- The type of media stream.

          • VideoFormat (string) -- The resolution of the video.

      • Name (string) -- The name of the flow.

      • Outputs (list) -- The outputs in this flow.

        • (dict) -- The settings for an output.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Description (string) -- A description of the output.

          • Destination (string) -- The address where you want to send the output.

          • Encryption (dict) -- The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • EntitlementArn (string) -- The ARN of the entitlement on the originator''s flow. This value is relevant only on entitled flows.

          • ListenerAddress (string) -- The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol.

          • MediaLiveInputArn (string) -- The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.

          • MediaStreamOutputConfigurations (list) -- The configuration for each media stream that is associated with the output.

            • (dict) -- The media stream that is associated with the output, and the parameters for that association.

              • DestinationConfigurations (list) -- The transport parameters that are associated with each outbound media stream.

                • (dict) -- The transport parameters that are associated with an outbound media stream.

                  • DestinationIp (string) -- The IP address where contents of the media stream will be sent.

                  • DestinationPort (integer) -- The port to use when the content of the media stream is distributed to the output.

                  • Interface (dict) -- The VPC interface that is used for the media stream associated with the output.

                    • Name (string) -- The name of the VPC interface.

                  • OutboundIp (string) -- The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.

              • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

              • EncodingParameters (dict) -- Encoding parameters

                • CompressionFactor (float) -- A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.

                • EncoderProfile (string) -- A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.

              • MediaStreamName (string) -- The name of the media stream.

          • Name (string) -- The name of the output. This value must be unique within the current flow.

          • OutputArn (string) -- The ARN of the output.

          • Port (integer) -- The port to use when content is distributed to this output.

          • Transport (dict) -- Attributes related to the transport stream that are used in the output.

            • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

              • (string) --

            • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

            • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

            • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

            • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

            • Protocol (string) -- The protocol that is used by the source or output.

            • RemoteId (string) -- The remote ID for the Zixi-pull stream.

            • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

            • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

            • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

            • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

            • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

            • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

          • VpcInterfaceAttachment (dict) -- The name of the VPC interface attachment to use for this output.

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

      • Source (dict) -- The settings for the source of the flow.

        • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

        • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

          • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

          • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

          • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

          • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

          • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

          • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

        • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

        • IngestIp (string) -- The IP address that the flow will be listening on for incoming content.

        • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

        • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

          • (dict) -- The media stream that is associated with the source, and the parameters for that association.

            • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

            • InputConfigurations (list) -- The transport parameters that are associated with an incoming media stream.

              • (dict) -- The transport parameters that are associated with an incoming media stream.

                • InputIp (string) -- The IP address that the flow listens on for incoming content for a media stream.

                • InputPort (integer) -- The port that the flow listens on for an incoming media stream.

                • Interface (dict) -- The VPC interface where the media stream comes in from.

                  • Name (string) -- The name of the VPC interface.

            • MediaStreamName (string) -- The name of the media stream.

        • Name (string) -- The name of the source.

        • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

        • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

        • SourceArn (string) -- The ARN of the source.

        • Transport (dict) -- Attributes related to the transport stream that are used in the source.

          • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

            • (string) --

          • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

          • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

          • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

          • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

          • Protocol (string) -- The protocol that is used by the source or output.

          • RemoteId (string) -- The remote ID for the Zixi-pull stream.

          • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

          • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

          • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

          • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

          • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

          • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

        • VpcInterfaceName (string) -- The name of the VPC interface that is used for this source.

        • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

      • SourceFailoverConfig (dict) -- The settings for source failover.

        • FailoverMode (string) -- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.

        • RecoveryWindow (integer) -- Search window time to look for dash-7 packets

        • SourcePriority (dict) -- The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.

          • PrimarySource (string) -- The name of the source you choose as the primary source for this flow.

        • State (string) --

      • Sources (list) --

        • (dict) -- The settings for the source of the flow.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

          • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

          • IngestIp (string) -- The IP address that the flow will be listening on for incoming content.

          • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

          • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

            • (dict) -- The media stream that is associated with the source, and the parameters for that association.

              • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

              • InputConfigurations (list) -- The transport parameters that are associated with an incoming media stream.

                • (dict) -- The transport parameters that are associated with an incoming media stream.

                  • InputIp (string) -- The IP address that the flow listens on for incoming content for a media stream.

                  • InputPort (integer) -- The port that the flow listens on for an incoming media stream.

                  • Interface (dict) -- The VPC interface where the media stream comes in from.

                    • Name (string) -- The name of the VPC interface.

              • MediaStreamName (string) -- The name of the media stream.

          • Name (string) -- The name of the source.

          • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

          • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

          • SourceArn (string) -- The ARN of the source.

          • Transport (dict) -- Attributes related to the transport stream that are used in the source.

            • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

              • (string) --

            • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

            • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

            • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

            • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

            • Protocol (string) -- The protocol that is used by the source or output.

            • RemoteId (string) -- The remote ID for the Zixi-pull stream.

            • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

            • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

            • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

            • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

            • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

            • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

          • VpcInterfaceName (string) -- The name of the VPC interface that is used for this source.

          • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

      • Status (string) -- The current status of the flow.

      • VpcInterfaces (list) -- The VPC Interfaces for this flow.

        • (dict) -- The settings for a VPC Source.

          • Name (string) -- Immutable and has to be a unique against other VpcInterfaces in this Flow.

          • NetworkInterfaceIds (list) -- IDs of the network interfaces created in customer's account by MediaConnect.

            • (string) --

          • NetworkInterfaceType (string) -- The type of network interface.

          • RoleArn (string) -- Role Arn MediaConnect can assumes to create ENIs in customer's account

          • SecurityGroupIds (list) -- Security Group IDs to be used on ENI.

            • (string) --

          • SubnetId (string) -- Subnet must be in the AZ of the Flow

      • Maintenance (dict) -- The maintenance setting of a flow

        • MaintenanceDay (string) -- A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.

        • MaintenanceDeadline (string) -- The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.

        • MaintenanceScheduledDate (string) -- A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.

        • MaintenanceStartHour (string) -- UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.

DescribeFlow (updated) Link ¶
Changes (response)
{'Flow': {'Outputs': {'Transport': {'Protocol': {'srt-caller'},
                                    'SourceListenerAddress': 'string',
                                    'SourceListenerPort': 'integer'}},
          'Source': {'Transport': {'Protocol': {'srt-caller'},
                                   'SourceListenerAddress': 'string',
                                   'SourceListenerPort': 'integer'}},
          'Sources': {'Transport': {'Protocol': {'srt-caller'},
                                    'SourceListenerAddress': 'string',
                                    'SourceListenerPort': 'integer'}}}}

Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.

See also: AWS API Documentation

Request Syntax

client.describe_flow(
    FlowArn='string'
)
type FlowArn

string

param FlowArn

[REQUIRED] The ARN of the flow that you want to describe.

rtype

dict

returns

Response Syntax

{
    'Flow': {
        'AvailabilityZone': 'string',
        'Description': 'string',
        'EgressIp': 'string',
        'Entitlements': [
            {
                'DataTransferSubscriberFeePercent': 123,
                'Description': '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',
                'EntitlementStatus': 'ENABLED'|'DISABLED',
                'Name': 'string',
                'Subscribers': [
                    'string',
                ]
            },
        ],
        'FlowArn': 'string',
        'MediaStreams': [
            {
                'Attributes': {
                    'Fmtp': {
                        'ChannelOrder': 'string',
                        'Colorimetry': 'BT601'|'BT709'|'BT2020'|'BT2100'|'ST2065-1'|'ST2065-3'|'XYZ',
                        'ExactFramerate': 'string',
                        'Par': 'string',
                        'Range': 'NARROW'|'FULL'|'FULLPROTECT',
                        'ScanMode': 'progressive'|'interlace'|'progressive-segmented-frame',
                        'Tcs': 'SDR'|'PQ'|'HLG'|'LINEAR'|'BT2100LINPQ'|'BT2100LINHLG'|'ST2065-1'|'ST428-1'|'DENSITY'
                    },
                    'Lang': 'string'
                },
                'ClockRate': 123,
                'Description': 'string',
                'Fmt': 123,
                'MediaStreamId': 123,
                'MediaStreamName': 'string',
                'MediaStreamType': 'video'|'audio'|'ancillary-data',
                'VideoFormat': 'string'
            },
        ],
        'Name': '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'
                }
            },
        ],
        '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'
        },
        'SourceFailoverConfig': {
            'FailoverMode': 'MERGE'|'FAILOVER',
            'RecoveryWindow': 123,
            'SourcePriority': {
                'PrimarySource': 'string'
            },
            'State': 'ENABLED'|'DISABLED'
        },
        'Sources': [
            {
                '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'
            },
        ],
        'Status': 'STANDBY'|'ACTIVE'|'UPDATING'|'DELETING'|'STARTING'|'STOPPING'|'ERROR',
        'VpcInterfaces': [
            {
                'Name': 'string',
                'NetworkInterfaceIds': [
                    'string',
                ],
                'NetworkInterfaceType': 'ena'|'efa',
                'RoleArn': 'string',
                'SecurityGroupIds': [
                    'string',
                ],
                'SubnetId': 'string'
            },
        ],
        'Maintenance': {
            'MaintenanceDay': 'Monday'|'Tuesday'|'Wednesday'|'Thursday'|'Friday'|'Saturday'|'Sunday',
            'MaintenanceDeadline': 'string',
            'MaintenanceScheduledDate': 'string',
            'MaintenanceStartHour': 'string'
        }
    },
    'Messages': {
        'Errors': [
            'string',
        ]
    }
}

Response Structure

  • (dict) -- AWS Elemental MediaConnect returned the flow details successfully.

    • Flow (dict) -- The settings for a flow, including its source, outputs, and entitlements.

      • AvailabilityZone (string) -- The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.

      • Description (string) -- A description of the flow. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

      • EgressIp (string) -- The IP address from which video will be sent to output destinations.

      • Entitlements (list) -- The entitlements in this flow.

        • (dict) -- The settings for a flow entitlement.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Description (string) -- A description of the entitlement.

          • Encryption (dict) -- The type of encryption that will be used on the output that is associated with this entitlement.

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • EntitlementArn (string) -- The ARN of the entitlement.

          • EntitlementStatus (string) -- An indication of whether the entitlement is enabled.

          • Name (string) -- The name of the entitlement.

          • Subscribers (list) -- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.

            • (string) --

      • FlowArn (string) -- The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.

      • MediaStreams (list) -- The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.

        • (dict) -- A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.

          • Attributes (dict) -- Attributes that are related to the media stream.

            • Fmtp (dict) -- A set of parameters that define the media stream.

              • ChannelOrder (string) -- The format of the audio channel.

              • Colorimetry (string) -- The format that is used for the representation of color.

              • ExactFramerate (string) -- The frame rate for the video stream, in frames/second. For example: 60000/1001. If you specify a whole number, MediaConnect uses a ratio of N/1. For example, if you specify 60, MediaConnect uses 60/1 as the exactFramerate.

              • Par (string) -- The pixel aspect ratio (PAR) of the video.

              • Range (string) -- The encoding range of the video.

              • ScanMode (string) -- The type of compression that was used to smooth the video’s appearance

              • Tcs (string) -- The transfer characteristic system (TCS) that is used in the video.

            • Lang (string) -- The audio language, in a format that is recognized by the receiver.

          • ClockRate (integer) -- The sample rate for the stream. This value is measured in Hz.

          • Description (string) -- A description that can help you quickly identify what your media stream is used for.

          • Fmt (integer) -- The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.

          • MediaStreamId (integer) -- A unique identifier for the media stream.

          • MediaStreamName (string) -- A name that helps you distinguish one media stream from another.

          • MediaStreamType (string) -- The type of media stream.

          • VideoFormat (string) -- The resolution of the video.

      • Name (string) -- The name of the flow.

      • Outputs (list) -- The outputs in this flow.

        • (dict) -- The settings for an output.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Description (string) -- A description of the output.

          • Destination (string) -- The address where you want to send the output.

          • Encryption (dict) -- The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • EntitlementArn (string) -- The ARN of the entitlement on the originator''s flow. This value is relevant only on entitled flows.

          • ListenerAddress (string) -- The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol.

          • MediaLiveInputArn (string) -- The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.

          • MediaStreamOutputConfigurations (list) -- The configuration for each media stream that is associated with the output.

            • (dict) -- The media stream that is associated with the output, and the parameters for that association.

              • DestinationConfigurations (list) -- The transport parameters that are associated with each outbound media stream.

                • (dict) -- The transport parameters that are associated with an outbound media stream.

                  • DestinationIp (string) -- The IP address where contents of the media stream will be sent.

                  • DestinationPort (integer) -- The port to use when the content of the media stream is distributed to the output.

                  • Interface (dict) -- The VPC interface that is used for the media stream associated with the output.

                    • Name (string) -- The name of the VPC interface.

                  • OutboundIp (string) -- The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.

              • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

              • EncodingParameters (dict) -- Encoding parameters

                • CompressionFactor (float) -- A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.

                • EncoderProfile (string) -- A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.

              • MediaStreamName (string) -- The name of the media stream.

          • Name (string) -- The name of the output. This value must be unique within the current flow.

          • OutputArn (string) -- The ARN of the output.

          • Port (integer) -- The port to use when content is distributed to this output.

          • Transport (dict) -- Attributes related to the transport stream that are used in the output.

            • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

              • (string) --

            • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

            • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

            • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

            • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

            • Protocol (string) -- The protocol that is used by the source or output.

            • RemoteId (string) -- The remote ID for the Zixi-pull stream.

            • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

            • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

            • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

            • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

            • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

            • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

          • VpcInterfaceAttachment (dict) -- The name of the VPC interface attachment to use for this output.

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

      • Source (dict) -- The settings for the source of the flow.

        • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

        • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

          • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

          • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

          • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

          • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

          • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

          • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

        • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

        • IngestIp (string) -- The IP address that the flow will be listening on for incoming content.

        • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

        • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

          • (dict) -- The media stream that is associated with the source, and the parameters for that association.

            • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

            • InputConfigurations (list) -- The transport parameters that are associated with an incoming media stream.

              • (dict) -- The transport parameters that are associated with an incoming media stream.

                • InputIp (string) -- The IP address that the flow listens on for incoming content for a media stream.

                • InputPort (integer) -- The port that the flow listens on for an incoming media stream.

                • Interface (dict) -- The VPC interface where the media stream comes in from.

                  • Name (string) -- The name of the VPC interface.

            • MediaStreamName (string) -- The name of the media stream.

        • Name (string) -- The name of the source.

        • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

        • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

        • SourceArn (string) -- The ARN of the source.

        • Transport (dict) -- Attributes related to the transport stream that are used in the source.

          • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

            • (string) --

          • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

          • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

          • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

          • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

          • Protocol (string) -- The protocol that is used by the source or output.

          • RemoteId (string) -- The remote ID for the Zixi-pull stream.

          • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

          • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

          • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

          • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

          • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

          • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

        • VpcInterfaceName (string) -- The name of the VPC interface that is used for this source.

        • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

      • SourceFailoverConfig (dict) -- The settings for source failover.

        • FailoverMode (string) -- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.

        • RecoveryWindow (integer) -- Search window time to look for dash-7 packets

        • SourcePriority (dict) -- The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.

          • PrimarySource (string) -- The name of the source you choose as the primary source for this flow.

        • State (string) --

      • Sources (list) --

        • (dict) -- The settings for the source of the flow.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

          • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

          • IngestIp (string) -- The IP address that the flow will be listening on for incoming content.

          • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

          • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

            • (dict) -- The media stream that is associated with the source, and the parameters for that association.

              • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

              • InputConfigurations (list) -- The transport parameters that are associated with an incoming media stream.

                • (dict) -- The transport parameters that are associated with an incoming media stream.

                  • InputIp (string) -- The IP address that the flow listens on for incoming content for a media stream.

                  • InputPort (integer) -- The port that the flow listens on for an incoming media stream.

                  • Interface (dict) -- The VPC interface where the media stream comes in from.

                    • Name (string) -- The name of the VPC interface.

              • MediaStreamName (string) -- The name of the media stream.

          • Name (string) -- The name of the source.

          • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

          • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

          • SourceArn (string) -- The ARN of the source.

          • Transport (dict) -- Attributes related to the transport stream that are used in the source.

            • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

              • (string) --

            • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

            • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

            • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

            • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

            • Protocol (string) -- The protocol that is used by the source or output.

            • RemoteId (string) -- The remote ID for the Zixi-pull stream.

            • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

            • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

            • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

            • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

            • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

            • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

          • VpcInterfaceName (string) -- The name of the VPC interface that is used for this source.

          • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

      • Status (string) -- The current status of the flow.

      • VpcInterfaces (list) -- The VPC Interfaces for this flow.

        • (dict) -- The settings for a VPC Source.

          • Name (string) -- Immutable and has to be a unique against other VpcInterfaces in this Flow.

          • NetworkInterfaceIds (list) -- IDs of the network interfaces created in customer's account by MediaConnect.

            • (string) --

          • NetworkInterfaceType (string) -- The type of network interface.

          • RoleArn (string) -- Role Arn MediaConnect can assumes to create ENIs in customer's account

          • SecurityGroupIds (list) -- Security Group IDs to be used on ENI.

            • (string) --

          • SubnetId (string) -- Subnet must be in the AZ of the Flow

      • Maintenance (dict) -- The maintenance setting of a flow

        • MaintenanceDay (string) -- A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.

        • MaintenanceDeadline (string) -- The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.

        • MaintenanceScheduledDate (string) -- A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.

        • MaintenanceStartHour (string) -- UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.

    • Messages (dict) -- Messages that provide the state of the flow.

      • Errors (list) -- A list of errors that might have been generated from processes on this flow.

        • (string) --

UpdateFlow (updated) Link ¶
Changes (response)
{'Flow': {'Outputs': {'Transport': {'Protocol': {'srt-caller'},
                                    'SourceListenerAddress': 'string',
                                    'SourceListenerPort': 'integer'}},
          'Source': {'Transport': {'Protocol': {'srt-caller'},
                                   'SourceListenerAddress': 'string',
                                   'SourceListenerPort': 'integer'}},
          'Sources': {'Transport': {'Protocol': {'srt-caller'},
                                    'SourceListenerAddress': 'string',
                                    'SourceListenerPort': 'integer'}}}}

Updates flow

See also: AWS API Documentation

Request Syntax

client.update_flow(
    FlowArn='string',
    SourceFailoverConfig={
        'FailoverMode': 'MERGE'|'FAILOVER',
        'RecoveryWindow': 123,
        'SourcePriority': {
            'PrimarySource': 'string'
        },
        'State': 'ENABLED'|'DISABLED'
    },
    Maintenance={
        'MaintenanceDay': 'Monday'|'Tuesday'|'Wednesday'|'Thursday'|'Friday'|'Saturday'|'Sunday',
        'MaintenanceScheduledDate': 'string',
        'MaintenanceStartHour': 'string'
    }
)
type FlowArn

string

param FlowArn

[REQUIRED] The flow that you want to update.

type SourceFailoverConfig

dict

param SourceFailoverConfig

The settings for source failover.

  • FailoverMode (string) -- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.

  • RecoveryWindow (integer) -- Recovery window time to look for dash-7 packets

  • SourcePriority (dict) -- The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.

    • PrimarySource (string) -- The name of the source you choose as the primary source for this flow.

  • State (string) --

type Maintenance

dict

param Maintenance

Update maintenance setting for a flow

  • MaintenanceDay (string) -- A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.

  • MaintenanceScheduledDate (string) -- A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.

  • MaintenanceStartHour (string) -- UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.

rtype

dict

returns

Response Syntax

{
    'Flow': {
        'AvailabilityZone': 'string',
        'Description': 'string',
        'EgressIp': 'string',
        'Entitlements': [
            {
                'DataTransferSubscriberFeePercent': 123,
                'Description': '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',
                'EntitlementStatus': 'ENABLED'|'DISABLED',
                'Name': 'string',
                'Subscribers': [
                    'string',
                ]
            },
        ],
        'FlowArn': 'string',
        'MediaStreams': [
            {
                'Attributes': {
                    'Fmtp': {
                        'ChannelOrder': 'string',
                        'Colorimetry': 'BT601'|'BT709'|'BT2020'|'BT2100'|'ST2065-1'|'ST2065-3'|'XYZ',
                        'ExactFramerate': 'string',
                        'Par': 'string',
                        'Range': 'NARROW'|'FULL'|'FULLPROTECT',
                        'ScanMode': 'progressive'|'interlace'|'progressive-segmented-frame',
                        'Tcs': 'SDR'|'PQ'|'HLG'|'LINEAR'|'BT2100LINPQ'|'BT2100LINHLG'|'ST2065-1'|'ST428-1'|'DENSITY'
                    },
                    'Lang': 'string'
                },
                'ClockRate': 123,
                'Description': 'string',
                'Fmt': 123,
                'MediaStreamId': 123,
                'MediaStreamName': 'string',
                'MediaStreamType': 'video'|'audio'|'ancillary-data',
                'VideoFormat': 'string'
            },
        ],
        'Name': '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'
                }
            },
        ],
        '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'
        },
        'SourceFailoverConfig': {
            'FailoverMode': 'MERGE'|'FAILOVER',
            'RecoveryWindow': 123,
            'SourcePriority': {
                'PrimarySource': 'string'
            },
            'State': 'ENABLED'|'DISABLED'
        },
        'Sources': [
            {
                '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'
            },
        ],
        'Status': 'STANDBY'|'ACTIVE'|'UPDATING'|'DELETING'|'STARTING'|'STOPPING'|'ERROR',
        'VpcInterfaces': [
            {
                'Name': 'string',
                'NetworkInterfaceIds': [
                    'string',
                ],
                'NetworkInterfaceType': 'ena'|'efa',
                'RoleArn': 'string',
                'SecurityGroupIds': [
                    'string',
                ],
                'SubnetId': 'string'
            },
        ],
        'Maintenance': {
            'MaintenanceDay': 'Monday'|'Tuesday'|'Wednesday'|'Thursday'|'Friday'|'Saturday'|'Sunday',
            'MaintenanceDeadline': 'string',
            'MaintenanceScheduledDate': 'string',
            'MaintenanceStartHour': 'string'
        }
    }
}

Response Structure

  • (dict) -- AWS Elemental MediaConnect updated the flow successfully.

    • Flow (dict) -- The settings for a flow, including its source, outputs, and entitlements.

      • AvailabilityZone (string) -- The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.

      • Description (string) -- A description of the flow. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

      • EgressIp (string) -- The IP address from which video will be sent to output destinations.

      • Entitlements (list) -- The entitlements in this flow.

        • (dict) -- The settings for a flow entitlement.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Description (string) -- A description of the entitlement.

          • Encryption (dict) -- The type of encryption that will be used on the output that is associated with this entitlement.

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • EntitlementArn (string) -- The ARN of the entitlement.

          • EntitlementStatus (string) -- An indication of whether the entitlement is enabled.

          • Name (string) -- The name of the entitlement.

          • Subscribers (list) -- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.

            • (string) --

      • FlowArn (string) -- The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.

      • MediaStreams (list) -- The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.

        • (dict) -- A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.

          • Attributes (dict) -- Attributes that are related to the media stream.

            • Fmtp (dict) -- A set of parameters that define the media stream.

              • ChannelOrder (string) -- The format of the audio channel.

              • Colorimetry (string) -- The format that is used for the representation of color.

              • ExactFramerate (string) -- The frame rate for the video stream, in frames/second. For example: 60000/1001. If you specify a whole number, MediaConnect uses a ratio of N/1. For example, if you specify 60, MediaConnect uses 60/1 as the exactFramerate.

              • Par (string) -- The pixel aspect ratio (PAR) of the video.

              • Range (string) -- The encoding range of the video.

              • ScanMode (string) -- The type of compression that was used to smooth the video’s appearance

              • Tcs (string) -- The transfer characteristic system (TCS) that is used in the video.

            • Lang (string) -- The audio language, in a format that is recognized by the receiver.

          • ClockRate (integer) -- The sample rate for the stream. This value is measured in Hz.

          • Description (string) -- A description that can help you quickly identify what your media stream is used for.

          • Fmt (integer) -- The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.

          • MediaStreamId (integer) -- A unique identifier for the media stream.

          • MediaStreamName (string) -- A name that helps you distinguish one media stream from another.

          • MediaStreamType (string) -- The type of media stream.

          • VideoFormat (string) -- The resolution of the video.

      • Name (string) -- The name of the flow.

      • Outputs (list) -- The outputs in this flow.

        • (dict) -- The settings for an output.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Description (string) -- A description of the output.

          • Destination (string) -- The address where you want to send the output.

          • Encryption (dict) -- The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • EntitlementArn (string) -- The ARN of the entitlement on the originator''s flow. This value is relevant only on entitled flows.

          • ListenerAddress (string) -- The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol.

          • MediaLiveInputArn (string) -- The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.

          • MediaStreamOutputConfigurations (list) -- The configuration for each media stream that is associated with the output.

            • (dict) -- The media stream that is associated with the output, and the parameters for that association.

              • DestinationConfigurations (list) -- The transport parameters that are associated with each outbound media stream.

                • (dict) -- The transport parameters that are associated with an outbound media stream.

                  • DestinationIp (string) -- The IP address where contents of the media stream will be sent.

                  • DestinationPort (integer) -- The port to use when the content of the media stream is distributed to the output.

                  • Interface (dict) -- The VPC interface that is used for the media stream associated with the output.

                    • Name (string) -- The name of the VPC interface.

                  • OutboundIp (string) -- The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.

              • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

              • EncodingParameters (dict) -- Encoding parameters

                • CompressionFactor (float) -- A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.

                • EncoderProfile (string) -- A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.

              • MediaStreamName (string) -- The name of the media stream.

          • Name (string) -- The name of the output. This value must be unique within the current flow.

          • OutputArn (string) -- The ARN of the output.

          • Port (integer) -- The port to use when content is distributed to this output.

          • Transport (dict) -- Attributes related to the transport stream that are used in the output.

            • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

              • (string) --

            • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

            • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

            • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

            • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

            • Protocol (string) -- The protocol that is used by the source or output.

            • RemoteId (string) -- The remote ID for the Zixi-pull stream.

            • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

            • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

            • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

            • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

            • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

            • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

          • VpcInterfaceAttachment (dict) -- The name of the VPC interface attachment to use for this output.

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

      • Source (dict) -- The settings for the source of the flow.

        • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

        • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

          • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

          • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

          • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

          • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

          • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

          • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

        • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

        • IngestIp (string) -- The IP address that the flow will be listening on for incoming content.

        • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

        • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

          • (dict) -- The media stream that is associated with the source, and the parameters for that association.

            • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

            • InputConfigurations (list) -- The transport parameters that are associated with an incoming media stream.

              • (dict) -- The transport parameters that are associated with an incoming media stream.

                • InputIp (string) -- The IP address that the flow listens on for incoming content for a media stream.

                • InputPort (integer) -- The port that the flow listens on for an incoming media stream.

                • Interface (dict) -- The VPC interface where the media stream comes in from.

                  • Name (string) -- The name of the VPC interface.

            • MediaStreamName (string) -- The name of the media stream.

        • Name (string) -- The name of the source.

        • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

        • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

        • SourceArn (string) -- The ARN of the source.

        • Transport (dict) -- Attributes related to the transport stream that are used in the source.

          • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

            • (string) --

          • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

          • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

          • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

          • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

          • Protocol (string) -- The protocol that is used by the source or output.

          • RemoteId (string) -- The remote ID for the Zixi-pull stream.

          • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

          • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

          • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

          • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

          • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

          • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

        • VpcInterfaceName (string) -- The name of the VPC interface that is used for this source.

        • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

      • SourceFailoverConfig (dict) -- The settings for source failover.

        • FailoverMode (string) -- The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.

        • RecoveryWindow (integer) -- Search window time to look for dash-7 packets

        • SourcePriority (dict) -- The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.

          • PrimarySource (string) -- The name of the source you choose as the primary source for this flow.

        • State (string) --

      • Sources (list) --

        • (dict) -- The settings for the source of the flow.

          • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

          • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

            • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

            • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

            • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

            • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

            • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

            • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

            • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

          • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

          • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

          • IngestIp (string) -- The IP address that the flow will be listening on for incoming content.

          • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

          • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

            • (dict) -- The media stream that is associated with the source, and the parameters for that association.

              • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

              • InputConfigurations (list) -- The transport parameters that are associated with an incoming media stream.

                • (dict) -- The transport parameters that are associated with an incoming media stream.

                  • InputIp (string) -- The IP address that the flow listens on for incoming content for a media stream.

                  • InputPort (integer) -- The port that the flow listens on for an incoming media stream.

                  • Interface (dict) -- The VPC interface where the media stream comes in from.

                    • Name (string) -- The name of the VPC interface.

              • MediaStreamName (string) -- The name of the media stream.

          • Name (string) -- The name of the source.

          • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

          • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

          • SourceArn (string) -- The ARN of the source.

          • Transport (dict) -- Attributes related to the transport stream that are used in the source.

            • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

              • (string) --

            • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

            • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

            • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

            • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

            • Protocol (string) -- The protocol that is used by the source or output.

            • RemoteId (string) -- The remote ID for the Zixi-pull stream.

            • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

            • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

            • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

            • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

            • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

            • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

          • VpcInterfaceName (string) -- The name of the VPC interface that is used for this source.

          • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

      • Status (string) -- The current status of the flow.

      • VpcInterfaces (list) -- The VPC Interfaces for this flow.

        • (dict) -- The settings for a VPC Source.

          • Name (string) -- Immutable and has to be a unique against other VpcInterfaces in this Flow.

          • NetworkInterfaceIds (list) -- IDs of the network interfaces created in customer's account by MediaConnect.

            • (string) --

          • NetworkInterfaceType (string) -- The type of network interface.

          • RoleArn (string) -- Role Arn MediaConnect can assumes to create ENIs in customer's account

          • SecurityGroupIds (list) -- Security Group IDs to be used on ENI.

            • (string) --

          • SubnetId (string) -- Subnet must be in the AZ of the Flow

      • Maintenance (dict) -- The maintenance setting of a flow

        • MaintenanceDay (string) -- A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.

        • MaintenanceDeadline (string) -- The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.

        • MaintenanceScheduledDate (string) -- A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.

        • MaintenanceStartHour (string) -- UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.

UpdateFlowOutput (updated) Link ¶
Changes (request, response)
Request
{'Protocol': {'srt-caller'}}
Response
{'Output': {'Transport': {'Protocol': {'srt-caller'},
                          'SourceListenerAddress': 'string',
                          'SourceListenerPort': 'integer'}}}

Updates an existing flow output.

See also: AWS API Documentation

Request Syntax

client.update_flow_output(
    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'
    },
    FlowArn='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,
    OutputArn='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,
    SenderIpAddress='string',
    SmoothingLatency=123,
    StreamId='string',
    VpcInterfaceAttachment={
        'VpcInterfaceName': 'string'
    }
)
type CidrAllowList

list

param CidrAllowList

The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

  • (string) --

type Description

string

param Description

A description of the output. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the end user.

type Destination

string

param Destination

The IP address where you want to send the output.

type Encryption

dict

param Encryption

The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

  • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

  • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

  • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

  • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

  • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

  • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

  • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

  • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

  • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

type FlowArn

string

param FlowArn

[REQUIRED] The flow that is associated with the output that you want to update.

type MaxLatency

integer

param MaxLatency

The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

type MediaStreamOutputConfigurations

list

param MediaStreamOutputConfigurations

The media streams that are associated with the output, and the parameters for those associations.

  • (dict) -- The media stream that you want to associate with the output, and the parameters for that association.

    • DestinationConfigurations (list) -- The transport parameters that you want to associate with the media stream.

      • (dict) -- The transport parameters that you want to associate with an outbound media stream.

        • DestinationIp (string) -- [REQUIRED] The IP address where you want MediaConnect to send contents of the media stream.

        • DestinationPort (integer) -- [REQUIRED] The port that you want MediaConnect to use when it distributes the media stream to the output.

        • Interface (dict) -- [REQUIRED] The VPC interface that you want to use for the media stream associated with the output.

          • Name (string) -- [REQUIRED] The name of the VPC interface.

    • EncodingName (string) -- [REQUIRED] The format that will be used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

    • EncodingParameters (dict) -- A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.

      • CompressionFactor (float) -- [REQUIRED] A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.

      • EncoderProfile (string) -- [REQUIRED] A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, if at least one source on the flow uses the CDI protocol.

    • MediaStreamName (string) -- [REQUIRED] The name of the media stream that is associated with the output.

type MinLatency

integer

param MinLatency

The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

type OutputArn

string

param OutputArn

[REQUIRED] The ARN of the output that you want to update.

type Port

integer

param Port

The port to use when content is distributed to this output.

type Protocol

string

param Protocol

The protocol to use for the output.

type RemoteId

string

param RemoteId

The remote ID for the Zixi-pull stream.

type SenderControlPort

integer

param SenderControlPort

The port that the flow uses to send outbound requests to initiate connection with the sender.

type SenderIpAddress

string

param SenderIpAddress

The IP address that the flow communicates with to initiate connection with the sender.

type SmoothingLatency

integer

param SmoothingLatency

The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

type StreamId

string

param StreamId

The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

type VpcInterfaceAttachment

dict

param VpcInterfaceAttachment

The name of the VPC interface attachment to use for this output.

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

rtype

dict

returns

Response Syntax

{
    'FlowArn': 'string',
    'Output': {
        '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

  • (dict) -- AWS Elemental MediaConnect updated the output successfully.

    • FlowArn (string) -- The ARN of the flow that is associated with the updated output.

    • Output (dict) -- The new settings of the output that you updated.

      • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

      • Description (string) -- A description of the output.

      • Destination (string) -- The address where you want to send the output.

      • Encryption (dict) -- The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

        • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

        • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

        • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

        • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

        • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

        • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • EntitlementArn (string) -- The ARN of the entitlement on the originator''s flow. This value is relevant only on entitled flows.

      • ListenerAddress (string) -- The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol.

      • MediaLiveInputArn (string) -- The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.

      • MediaStreamOutputConfigurations (list) -- The configuration for each media stream that is associated with the output.

        • (dict) -- The media stream that is associated with the output, and the parameters for that association.

          • DestinationConfigurations (list) -- The transport parameters that are associated with each outbound media stream.

            • (dict) -- The transport parameters that are associated with an outbound media stream.

              • DestinationIp (string) -- The IP address where contents of the media stream will be sent.

              • DestinationPort (integer) -- The port to use when the content of the media stream is distributed to the output.

              • Interface (dict) -- The VPC interface that is used for the media stream associated with the output.

                • Name (string) -- The name of the VPC interface.

              • OutboundIp (string) -- The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.

          • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

          • EncodingParameters (dict) -- Encoding parameters

            • CompressionFactor (float) -- A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.

            • EncoderProfile (string) -- A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.

          • MediaStreamName (string) -- The name of the media stream.

      • Name (string) -- The name of the output. This value must be unique within the current flow.

      • OutputArn (string) -- The ARN of the output.

      • Port (integer) -- The port to use when content is distributed to this output.

      • Transport (dict) -- Attributes related to the transport stream that are used in the output.

        • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

          • (string) --

        • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

        • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

        • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

        • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

        • Protocol (string) -- The protocol that is used by the source or output.

        • RemoteId (string) -- The remote ID for the Zixi-pull stream.

        • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

        • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

        • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

        • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

        • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

        • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

      • VpcInterfaceAttachment (dict) -- The name of the VPC interface attachment to use for this output.

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

UpdateFlowSource (updated) Link ¶
Changes (request, response)
Request
{'Protocol': {'srt-caller'},
 'SourceListenerAddress': 'string',
 'SourceListenerPort': 'integer'}
Response
{'Source': {'Transport': {'Protocol': {'srt-caller'},
                          'SourceListenerAddress': 'string',
                          'SourceListenerPort': 'integer'}}}

Updates the source of a flow.

See also: AWS API Documentation

Request Syntax

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'
)
type Decryption

dict

param Decryption

The type of encryption used on the content ingested from this source.

  • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

  • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

  • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

  • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

  • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

  • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

  • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

  • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

  • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

type Description

string

param Description

A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

type EntitlementArn

string

param EntitlementArn

The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.

type FlowArn

string

param FlowArn

[REQUIRED] The flow that is associated with the source that you want to update.

type IngestPort

integer

param IngestPort

The port that the flow will be listening on for incoming content.

type MaxBitrate

integer

param MaxBitrate

The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

type MaxLatency

integer

param MaxLatency

The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

type MaxSyncBuffer

integer

param MaxSyncBuffer

The size of the buffer (in milliseconds) to use to sync incoming source data.

type MediaStreamSourceConfigurations

list

param MediaStreamSourceConfigurations

The media streams that are associated with the source, and the parameters for those associations.

  • (dict) -- The definition of a media stream that you want to associate with the source.

    • EncodingName (string) -- [REQUIRED] The format you want to use to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

    • InputConfigurations (list) -- The transport parameters that you want to associate with the media stream.

      • (dict) -- The transport parameters that you want to associate with an incoming media stream.

        • InputPort (integer) -- [REQUIRED] The port that you want the flow to listen on for an incoming media stream.

        • Interface (dict) -- [REQUIRED] The VPC interface that you want to use for the incoming media stream.

          • Name (string) -- [REQUIRED] The name of the VPC interface.

    • MediaStreamName (string) -- [REQUIRED] The name of the media stream.

type MinLatency

integer

param MinLatency

The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

type Protocol

string

param Protocol

The protocol that is used by the source.

type SenderControlPort

integer

param SenderControlPort

The port that the flow uses to send outbound requests to initiate connection with the sender.

type SenderIpAddress

string

param SenderIpAddress

The IP address that the flow communicates with to initiate connection with the sender.

type SourceArn

string

param SourceArn

[REQUIRED] The ARN of the source that you want to update.

type SourceListenerAddress

string

param SourceListenerAddress

Source IP or domain name for SRT-caller protocol.

type SourceListenerPort

integer

param SourceListenerPort

Source port for SRT-caller protocol.

type StreamId

string

param StreamId

The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

type VpcInterfaceName

string

param VpcInterfaceName

The name of the VPC interface to use for this source.

type WhitelistCidr

string

param WhitelistCidr

The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

rtype

dict

returns

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

  • (dict) -- AWS Elemental MediaConnect updated the flow successfully.

    • FlowArn (string) -- The ARN of the flow that you want to update.

    • Source (dict) -- The settings for the source of the flow.

      • DataTransferSubscriberFeePercent (integer) -- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

      • Decryption (dict) -- The type of encryption that is used on the content ingested from this source.

        • Algorithm (string) -- The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

        • ConstantInitializationVector (string) -- A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

        • DeviceId (string) -- The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • KeyType (string) -- The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

        • Region (string) -- The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • ResourceId (string) -- An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

        • RoleArn (string) -- The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

        • SecretArn (string) -- The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

        • Url (string) -- The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

      • Description (string) -- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

      • EntitlementArn (string) -- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.

      • IngestIp (string) -- The IP address that the flow will be listening on for incoming content.

      • IngestPort (integer) -- The port that the flow will be listening on for incoming content.

      • MediaStreamSourceConfigurations (list) -- The media streams that are associated with the source, and the parameters for those associations.

        • (dict) -- The media stream that is associated with the source, and the parameters for that association.

          • EncodingName (string) -- The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

          • InputConfigurations (list) -- The transport parameters that are associated with an incoming media stream.

            • (dict) -- The transport parameters that are associated with an incoming media stream.

              • InputIp (string) -- The IP address that the flow listens on for incoming content for a media stream.

              • InputPort (integer) -- The port that the flow listens on for an incoming media stream.

              • Interface (dict) -- The VPC interface where the media stream comes in from.

                • Name (string) -- The name of the VPC interface.

          • MediaStreamName (string) -- The name of the media stream.

      • Name (string) -- The name of the source.

      • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

      • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

      • SourceArn (string) -- The ARN of the source.

      • Transport (dict) -- Attributes related to the transport stream that are used in the source.

        • CidrAllowList (list) -- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

          • (string) --

        • MaxBitrate (integer) -- The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

        • MaxLatency (integer) -- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.

        • MaxSyncBuffer (integer) -- The size of the buffer (in milliseconds) to use to sync incoming source data.

        • MinLatency (integer) -- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

        • Protocol (string) -- The protocol that is used by the source or output.

        • RemoteId (string) -- The remote ID for the Zixi-pull stream.

        • SenderControlPort (integer) -- The port that the flow uses to send outbound requests to initiate connection with the sender.

        • SenderIpAddress (string) -- The IP address that the flow communicates with to initiate connection with the sender.

        • SmoothingLatency (integer) -- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

        • SourceListenerAddress (string) -- Source IP or domain name for SRT-caller protocol.

        • SourceListenerPort (integer) -- Source port for SRT-caller protocol.

        • StreamId (string) -- The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

      • VpcInterfaceName (string) -- The name of the VPC interface that is used for this source.

      • WhitelistCidr (string) -- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.