// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateFlowSource`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`decryption(UpdateEncryption)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::decryption) / [`set_decryption(Option<UpdateEncryption>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_decryption):<br>required: **false**<br>The type of encryption used on the content ingested from this source. Allowable encryption types: static-key.<br>
/// - [`description(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_description):<br>required: **false**<br>A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.<br>
/// - [`entitlement_arn(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::entitlement_arn) / [`set_entitlement_arn(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_entitlement_arn):<br>required: **false**<br>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.<br>
/// - [`flow_arn(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::flow_arn) / [`set_flow_arn(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_flow_arn):<br>required: **true**<br>The flow that is associated with the source that you want to update.<br>
/// - [`ingest_port(i32)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::ingest_port) / [`set_ingest_port(Option<i32>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_ingest_port):<br>required: **false**<br>The port that the flow will be listening on for incoming content.<br>
/// - [`max_bitrate(i32)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::max_bitrate) / [`set_max_bitrate(Option<i32>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_max_bitrate):<br>required: **false**<br>The smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.<br>
/// - [`max_latency(i32)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::max_latency) / [`set_max_latency(Option<i32>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_max_latency):<br>required: **false**<br>The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.<br>
/// - [`max_sync_buffer(i32)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::max_sync_buffer) / [`set_max_sync_buffer(Option<i32>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_max_sync_buffer):<br>required: **false**<br>The size of the buffer (in milliseconds) to use to sync incoming source data.<br>
/// - [`media_stream_source_configurations(MediaStreamSourceConfigurationRequest)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::media_stream_source_configurations) / [`set_media_stream_source_configurations(Option<Vec::<MediaStreamSourceConfigurationRequest>>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_media_stream_source_configurations):<br>required: **false**<br>The media streams that are associated with the source, and the parameters for those associations.<br>
/// - [`min_latency(i32)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::min_latency) / [`set_min_latency(Option<i32>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_min_latency):<br>required: **false**<br>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.<br>
/// - [`protocol(Protocol)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::protocol) / [`set_protocol(Option<Protocol>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_protocol):<br>required: **false**<br>The protocol that is used by the source.<br>
/// - [`sender_control_port(i32)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::sender_control_port) / [`set_sender_control_port(Option<i32>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_sender_control_port):<br>required: **false**<br>The port that the flow uses to send outbound requests to initiate connection with the sender.<br>
/// - [`sender_ip_address(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::sender_ip_address) / [`set_sender_ip_address(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_sender_ip_address):<br>required: **false**<br>The IP address that the flow communicates with to initiate connection with the sender.<br>
/// - [`source_arn(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::source_arn) / [`set_source_arn(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_source_arn):<br>required: **true**<br>The ARN of the source that you want to update.<br>
/// - [`source_listener_address(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::source_listener_address) / [`set_source_listener_address(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_source_listener_address):<br>required: **false**<br>Source IP or domain name for SRT-caller protocol.<br>
/// - [`source_listener_port(i32)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::source_listener_port) / [`set_source_listener_port(Option<i32>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_source_listener_port):<br>required: **false**<br>Source port for SRT-caller protocol.<br>
/// - [`stream_id(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::stream_id) / [`set_stream_id(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_stream_id):<br>required: **false**<br>The stream ID that you want to use for this transport. This parameter applies only to Zixi and SRT caller-based streams.<br>
/// - [`vpc_interface_name(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::vpc_interface_name) / [`set_vpc_interface_name(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_vpc_interface_name):<br>required: **false**<br>The name of the VPC interface to use for this source.<br>
/// - [`whitelist_cidr(impl Into<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::whitelist_cidr) / [`set_whitelist_cidr(Option<String>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_whitelist_cidr):<br>required: **false**<br>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.<br>
/// - [`gateway_bridge_source(UpdateGatewayBridgeSourceRequest)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::gateway_bridge_source) / [`set_gateway_bridge_source(Option<UpdateGatewayBridgeSourceRequest>)`](crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::set_gateway_bridge_source):<br>required: **false**<br>The source configuration for cloud flows receiving a stream from a bridge.<br>
/// - On success, responds with [`UpdateFlowSourceOutput`](crate::operation::update_flow_source::UpdateFlowSourceOutput) with field(s):
/// - [`flow_arn(Option<String>)`](crate::operation::update_flow_source::UpdateFlowSourceOutput::flow_arn): The ARN of the flow that you want to update.
/// - [`source(Option<Source>)`](crate::operation::update_flow_source::UpdateFlowSourceOutput::source): The settings for the source of the flow.
/// - On failure, responds with [`SdkError<UpdateFlowSourceError>`](crate::operation::update_flow_source::UpdateFlowSourceError)
pub fn update_flow_source(&self) -> crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder {
crate::operation::update_flow_source::builders::UpdateFlowSourceFluentBuilder::new(self.handle.clone())
}
}