aws_sdk_medialive/client/update_network.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateNetwork`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`ip_pools(IpPoolUpdateRequest)`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder::ip_pools) / [`set_ip_pools(Option<Vec::<IpPoolUpdateRequest>>)`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder::set_ip_pools):<br>required: **false**<br>Include this parameter only if you want to change the pool of IP addresses in the network. An array of IpPoolCreateRequests that identify a collection of IP addresses in this network that you want to reserve for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPoolUpdateRequest specifies one CIDR block.<br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder::set_name):<br>required: **false**<br>Include this parameter only if you want to change the name of the Network. Specify a name that is unique in the AWS account. Names are case-sensitive.<br>
8 /// - [`network_id(impl Into<String>)`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder::set_network_id):<br>required: **true**<br>The ID of the network<br>
9 /// - [`routes(RouteUpdateRequest)`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder::routes) / [`set_routes(Option<Vec::<RouteUpdateRequest>>)`](crate::operation::update_network::builders::UpdateNetworkFluentBuilder::set_routes):<br>required: **false**<br>Include this parameter only if you want to change or add routes in the Network. An array of Routes that MediaLive Anywhere needs to know about in order to route encoding traffic.<br>
10 /// - On success, responds with [`UpdateNetworkOutput`](crate::operation::update_network::UpdateNetworkOutput) with field(s):
11 /// - [`arn(Option<String>)`](crate::operation::update_network::UpdateNetworkOutput::arn): The ARN of this Network. It is automatically assigned when the Network is created.
12 /// - [`associated_cluster_ids(Option<Vec::<String>>)`](crate::operation::update_network::UpdateNetworkOutput::associated_cluster_ids): Placeholder documentation for __listOf__string
13 /// - [`id(Option<String>)`](crate::operation::update_network::UpdateNetworkOutput::id): The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN.
14 /// - [`ip_pools(Option<Vec::<IpPool>>)`](crate::operation::update_network::UpdateNetworkOutput::ip_pools): An array of IpPools in your organization's network that identify a collection of IP addresses in this network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block.
15 /// - [`name(Option<String>)`](crate::operation::update_network::UpdateNetworkOutput::name): The name that you specified for the Network.
16 /// - [`routes(Option<Vec::<Route>>)`](crate::operation::update_network::UpdateNetworkOutput::routes): An array of Routes that MediaLive Anywhere needs to know about in order to route encoding traffic.
17 /// - [`state(Option<NetworkState>)`](crate::operation::update_network::UpdateNetworkOutput::state): The current state of the Network. Only MediaLive Anywhere can change the state.
18 /// - On failure, responds with [`SdkError<UpdateNetworkError>`](crate::operation::update_network::UpdateNetworkError)
19 pub fn update_network(&self) -> crate::operation::update_network::builders::UpdateNetworkFluentBuilder {
20 crate::operation::update_network::builders::UpdateNetworkFluentBuilder::new(self.handle.clone())
21 }
22}