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> - Allocate a list of only IPv4 addresses</p></li>  <li>   <p><code>ipv6</code> - Allocate a list of only IPv4 addresses</p></li>  <li>   <p><code>dualstack</code> - Allocate a list of both IPv4 and IPv6 addresses</p></li> </ul><br>
8    ///   - [`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>
9    /// - On success, responds with [`UpdateAnycastIpListOutput`](crate::operation::update_anycast_ip_list::UpdateAnycastIpListOutput) with field(s):
10    ///   - [`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>
11    ///   - [`e_tag(Option<String>)`](crate::operation::update_anycast_ip_list::UpdateAnycastIpListOutput::e_tag): <p>The current version of the Anycast static IP list.</p>
12    /// - On failure, responds with [`SdkError<UpdateAnycastIpListError>`](crate::operation::update_anycast_ip_list::UpdateAnycastIpListError)
13    pub fn update_anycast_ip_list(&self) -> crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder {
14        crate::operation::update_anycast_ip_list::builders::UpdateAnycastIpListFluentBuilder::new(self.handle.clone())
15    }
16}