aws_sdk_ec2/client/create_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 [`CreatePublicIpv4Pool`](crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder::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 /// - [`tag_specifications(TagSpecification)`](crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder::tag_specifications) / [`set_tag_specifications(Option<Vec::<TagSpecification>>)`](crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder::set_tag_specifications):<br>required: **false**<br><p>The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p><br>
8 /// - [`network_border_group(impl Into<String>)`](crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder::network_border_group) / [`set_network_border_group(Option<String>)`](crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder::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 [`CreatePublicIpv4PoolOutput`](crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolOutput) with field(s):
10 /// - [`pool_id(Option<String>)`](crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolOutput::pool_id): <p>The ID of the public IPv4 pool.</p>
11 /// - On failure, responds with [`SdkError<CreatePublicIpv4PoolError>`](crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError)
12 pub fn create_public_ipv4_pool(&self) -> crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder {
13 crate::operation::create_public_ipv4_pool::builders::CreatePublicIpv4PoolFluentBuilder::new(self.handle.clone())
14 }
15}