aws_sdk_cloudfront/client/update_anycast_ip_list.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 [`UpdateAnycastIpList`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the Anycast static IP list.</p><br>
7 /// - [`ip_address_type(IpAddressType)`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::ip_address_type) / [`set_ip_address_type(Option<IpAddressType>)`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::set_ip_address_type):<br>required: **false**<br><p>The IP address type for the Anycast static IP list. You can specify one of the following options:</p> <ul> <li> <p><code>ipv4</code> only</p></li> <li> <p><code>ipv6</code> only</p></li> <li> <p><code>dualstack</code> - Allocate a list of both IPv4 and IPv6 addresses</p></li> </ul><br>
8 /// - [`ipam_cidr_configs(IpamCidrConfig)`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::ipam_cidr_configs) / [`set_ipam_cidr_configs(Option<Vec::<IpamCidrConfig>>)`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::set_ipam_cidr_configs):<br>required: **false**<br><p>A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for updating the Anycast static IP list.</p><br>
9 /// - [`if_match(impl Into<String>)`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::set_if_match):<br>required: **true**<br><p>The current version (ETag value) of the Anycast static IP list that you are updating.</p><br>
10 /// - On success, responds with [`UpdateAnycastIpListOutput`](crate::operation::update_anycast_ip_list::UpdateAnycastIpListOutput) with field(s):
11 /// - [`anycast_ip_list(Option<AnycastIpList>)`](crate::operation::update_anycast_ip_list::UpdateAnycastIpListOutput::anycast_ip_list): <p>An Anycast static IP list. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html">Request Anycast static IPs to use for allowlisting</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
12 /// - [`e_tag(Option<String>)`](crate::operation::update_anycast_ip_list::UpdateAnycastIpListOutput::e_tag): <p>The current version of the Anycast static IP list.</p>
13 /// - On failure, responds with [`SdkError<UpdateAnycastIpListError>`](crate::operation::update_anycast_ip_list::UpdateAnycastIpListError)
14 pub fn update_anycast_ip_list(&self) -> crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder {
15 crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::new(self.handle.clone())
16 }
17}