Struct aws_sdk_ec2::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrInput
source · #[non_exhaustive]pub struct DeprovisionPublicIpv4PoolCidrInput {
pub dry_run: Option<bool>,
pub pool_id: Option<String>,
pub cidr: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dry_run: Option<bool>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 DryRunOperation. Otherwise, it is UnauthorizedOperation.
pool_id: Option<String>The ID of the pool that you want to deprovision the CIDR from.
cidr: Option<String>The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of /32. You must rerun this command for each IP address in the CIDR range. If your CIDR is a /24, you will have to run this command to deprovision each of the 256 IP addresses in the /24 CIDR.
Implementations§
source§impl DeprovisionPublicIpv4PoolCidrInput
impl DeprovisionPublicIpv4PoolCidrInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
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 DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn pool_id(&self) -> Option<&str>
pub fn pool_id(&self) -> Option<&str>
The ID of the pool that you want to deprovision the CIDR from.
sourcepub fn cidr(&self) -> Option<&str>
pub fn cidr(&self) -> Option<&str>
The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of /32. You must rerun this command for each IP address in the CIDR range. If your CIDR is a /24, you will have to run this command to deprovision each of the 256 IP addresses in the /24 CIDR.
source§impl DeprovisionPublicIpv4PoolCidrInput
impl DeprovisionPublicIpv4PoolCidrInput
sourcepub fn builder() -> DeprovisionPublicIpv4PoolCidrInputBuilder
pub fn builder() -> DeprovisionPublicIpv4PoolCidrInputBuilder
Creates a new builder-style object to manufacture DeprovisionPublicIpv4PoolCidrInput.
Trait Implementations§
source§impl Clone for DeprovisionPublicIpv4PoolCidrInput
impl Clone for DeprovisionPublicIpv4PoolCidrInput
source§fn clone(&self) -> DeprovisionPublicIpv4PoolCidrInput
fn clone(&self) -> DeprovisionPublicIpv4PoolCidrInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DeprovisionPublicIpv4PoolCidrInput
impl PartialEq for DeprovisionPublicIpv4PoolCidrInput
source§fn eq(&self, other: &DeprovisionPublicIpv4PoolCidrInput) -> bool
fn eq(&self, other: &DeprovisionPublicIpv4PoolCidrInput) -> bool
self and other values to be equal, and is used
by ==.