1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AdvertiseByoipCidr`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cidr(impl Into<String>)`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::cidr) / [`set_cidr(Option<String>)`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::set_cidr):<br>required: **true**<br><p>The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.</p><br>
    ///   - [`asn(impl Into<String>)`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::asn) / [`set_asn(Option<String>)`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::set_asn):<br>required: **false**<br><p>The public 2-byte or 4-byte ASN that you want to advertise.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    ///   - [`network_border_group(impl Into<String>)`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::network_border_group) / [`set_network_border_group(Option<String>)`](crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::set_network_border_group):<br>required: **false**<br><p>If you have <a href="https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html">Local Zones</a> enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.</p> <p>You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:</p> <ul>  <li>   <p>us-east-1-dfw-2</p></li>  <li>   <p>us-west-2-lax-1</p></li>  <li>   <p>us-west-2-phx-2</p></li> </ul><note>  <p>You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.</p> </note><br>
    /// - On success, responds with [`AdvertiseByoipCidrOutput`](crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrOutput) with field(s):
    ///   - [`byoip_cidr(Option<ByoipCidr>)`](crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrOutput::byoip_cidr): <p>Information about the address range.</p>
    /// - On failure, responds with [`SdkError<AdvertiseByoipCidrError>`](crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError)
    pub fn advertise_byoip_cidr(&self) -> crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder {
        crate::operation::advertise_byoip_cidr::builders::AdvertiseByoipCidrFluentBuilder::new(self.handle.clone())
    }
}