Struct aws_sdk_mediaconnect::types::Flow
source · #[non_exhaustive]pub struct Flow {Show 14 fields
pub availability_zone: Option<String>,
pub description: Option<String>,
pub egress_ip: Option<String>,
pub entitlements: Option<Vec<Entitlement>>,
pub flow_arn: Option<String>,
pub media_streams: Option<Vec<MediaStream>>,
pub name: Option<String>,
pub outputs: Option<Vec<Output>>,
pub source: Option<Source>,
pub source_failover_config: Option<FailoverConfig>,
pub sources: Option<Vec<Source>>,
pub status: Option<Status>,
pub vpc_interfaces: Option<Vec<VpcInterface>>,
pub maintenance: Option<Maintenance>,
}Expand description
The settings for a flow, including its source, outputs, and entitlements.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.availability_zone: Option<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: Option<String>A description of the flow. This value is not used or seen outside of the current AWS Elemental MediaConnect account.
egress_ip: Option<String>The IP address from which video will be sent to output destinations.
entitlements: Option<Vec<Entitlement>>The entitlements in this flow.
flow_arn: Option<String>The Amazon Resource Name (ARN) of the flow.
media_streams: Option<Vec<MediaStream>>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.
name: Option<String>The name of the flow.
outputs: Option<Vec<Output>>The outputs in this flow.
source: Option<Source>The settings for the source of the flow.
source_failover_config: Option<FailoverConfig>The settings for source failover.
sources: Option<Vec<Source>>§status: Option<Status>The current status of the flow.
vpc_interfaces: Option<Vec<VpcInterface>>The VPC Interfaces for this flow.
maintenance: Option<Maintenance>The maintenance setting of a flow
Implementations§
source§impl Flow
impl Flow
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the flow. This value is not used or seen outside of the current AWS Elemental MediaConnect account.
sourcepub fn egress_ip(&self) -> Option<&str>
pub fn egress_ip(&self) -> Option<&str>
The IP address from which video will be sent to output destinations.
sourcepub fn entitlements(&self) -> &[Entitlement]
pub fn entitlements(&self) -> &[Entitlement]
The entitlements in this flow.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .entitlements.is_none().
sourcepub fn media_streams(&self) -> &[MediaStream]
pub fn media_streams(&self) -> &[MediaStream]
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .media_streams.is_none().
sourcepub fn outputs(&self) -> &[Output]
pub fn outputs(&self) -> &[Output]
The outputs in this flow.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .outputs.is_none().
sourcepub fn source_failover_config(&self) -> Option<&FailoverConfig>
pub fn source_failover_config(&self) -> Option<&FailoverConfig>
The settings for source failover.
sourcepub fn sources(&self) -> &[Source]
pub fn sources(&self) -> &[Source]
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sources.is_none().
sourcepub fn vpc_interfaces(&self) -> &[VpcInterface]
pub fn vpc_interfaces(&self) -> &[VpcInterface]
The VPC Interfaces for this flow.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vpc_interfaces.is_none().
sourcepub fn maintenance(&self) -> Option<&Maintenance>
pub fn maintenance(&self) -> Option<&Maintenance>
The maintenance setting of a flow