#[non_exhaustive]pub struct CreateFlowInput {
pub availability_zone: Option<String>,
pub entitlements: Option<Vec<GrantEntitlementRequest>>,
pub media_streams: Option<Vec<AddMediaStreamRequest>>,
pub name: Option<String>,
pub outputs: Option<Vec<AddOutputRequest>>,
pub source: Option<SetSourceRequest>,
pub source_failover_config: Option<FailoverConfig>,
pub sources: Option<Vec<SetSourceRequest>>,
pub vpc_interfaces: Option<Vec<VpcInterfaceRequest>>,
pub maintenance: Option<AddMaintenance>,
}Expand description
Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
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 Region.
entitlements: Option<Vec<GrantEntitlementRequest>>The entitlements that you want to grant on a flow.
media_streams: Option<Vec<AddMediaStreamRequest>>The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.
name: Option<String>The name of the flow.
outputs: Option<Vec<AddOutputRequest>>The outputs that you want to add to this flow.
source: Option<SetSourceRequest>The settings for the source of the flow.
source_failover_config: Option<FailoverConfig>The settings for source failover.
sources: Option<Vec<SetSourceRequest>>§vpc_interfaces: Option<Vec<VpcInterfaceRequest>>The VPC interfaces you want on the flow.
maintenance: Option<AddMaintenance>Create maintenance setting for a flow
Implementations§
source§impl CreateFlowInput
impl CreateFlowInput
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 Region.
sourcepub fn entitlements(&self) -> &[GrantEntitlementRequest]
pub fn entitlements(&self) -> &[GrantEntitlementRequest]
The entitlements that you want to grant on a 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) -> &[AddMediaStreamRequest]
pub fn media_streams(&self) -> &[AddMediaStreamRequest]
The media streams that you want to add to the flow. You can associate these media streams with sources and 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) -> &[AddOutputRequest]
pub fn outputs(&self) -> &[AddOutputRequest]
The outputs that you want to add to 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(&self) -> Option<&SetSourceRequest>
pub fn source(&self) -> Option<&SetSourceRequest>
The settings for the source of the flow.
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) -> &[SetSourceRequest]
pub fn sources(&self) -> &[SetSourceRequest]
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) -> &[VpcInterfaceRequest]
pub fn vpc_interfaces(&self) -> &[VpcInterfaceRequest]
The VPC interfaces you want 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 .vpc_interfaces.is_none().
sourcepub fn maintenance(&self) -> Option<&AddMaintenance>
pub fn maintenance(&self) -> Option<&AddMaintenance>
Create maintenance setting for a flow
source§impl CreateFlowInput
impl CreateFlowInput
sourcepub fn builder() -> CreateFlowInputBuilder
pub fn builder() -> CreateFlowInputBuilder
Creates a new builder-style object to manufacture CreateFlowInput.
Trait Implementations§
source§impl Clone for CreateFlowInput
impl Clone for CreateFlowInput
source§fn clone(&self) -> CreateFlowInput
fn clone(&self) -> CreateFlowInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateFlowInput
impl Debug for CreateFlowInput
source§impl PartialEq for CreateFlowInput
impl PartialEq for CreateFlowInput
source§fn eq(&self, other: &CreateFlowInput) -> bool
fn eq(&self, other: &CreateFlowInput) -> bool
self and other values to be equal, and is used
by ==.