aws_sdk_ec2/client/delete_public_ipv4_pool.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 [`DeletePublicIpv4Pool`](crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for 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>
7 /// - [`pool_id(impl Into<String>)`](crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder::pool_id) / [`set_pool_id(Option<String>)`](crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder::set_pool_id):<br>required: **true**<br><p>The ID of the public IPv4 pool you want to delete.</p><br>
8 /// - [`network_border_group(impl Into<String>)`](crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder::network_border_group) / [`set_network_border_group(Option<String>)`](crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder::set_network_border_group):<br>required: **false**<br><p>The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">Local Zone availability</a> in the <i>Amazon EC2 User Guide</i>.</p><br>
9 /// - On success, responds with [`DeletePublicIpv4PoolOutput`](crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolOutput) with field(s):
10 /// - [`return_value(Option<bool>)`](crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolOutput::return_value): <p>Information about the result of deleting the public IPv4 pool.</p>
11 /// - On failure, responds with [`SdkError<DeletePublicIpv4PoolError>`](crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError)
12 pub fn delete_public_ipv4_pool(&self) -> crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder {
13 crate::operation::delete_public_ipv4_pool::builders::DeletePublicIpv4PoolFluentBuilder::new(self.handle.clone())
14 }
15}