logo
pub struct SetSourceRequest {
Show 14 fields pub decryption: Option<Encryption>, pub description: Option<String>, pub entitlement_arn: Option<String>, pub ingest_port: Option<i64>, pub max_bitrate: Option<i64>, pub max_latency: Option<i64>, pub max_sync_buffer: Option<i64>, pub media_stream_source_configurations: Option<Vec<MediaStreamSourceConfigurationRequest>>, pub min_latency: Option<i64>, pub name: Option<String>, pub protocol: Option<String>, pub stream_id: Option<String>, pub vpc_interface_name: Option<String>, pub whitelist_cidr: Option<String>,
}
Expand description

The settings for the source of the flow.

Fields

decryption: Option<Encryption>

The type of encryption that is used on the content ingested from this source.

description: Option<String>

A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

entitlement_arn: Option<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.

ingest_port: Option<i64>

The port that the flow will be listening on for incoming content.

max_bitrate: Option<i64>

The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

max_latency: Option<i64>

The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.

max_sync_buffer: Option<i64>

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

media_stream_source_configurations: Option<Vec<MediaStreamSourceConfigurationRequest>>

The media streams that are associated with the source, and the parameters for those associations.

min_latency: Option<i64>

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: Option<String>

The name of the source.

protocol: Option<String>

The protocol that is used by the source.

stream_id: Option<String>

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

vpc_interface_name: Option<String>

The name of the VPC interface to use for this source.

whitelist_cidr: Option<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.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more