#[non_exhaustive]pub struct ProvisionIpamPoolCidrInput {
pub dry_run: Option<bool>,
pub ipam_pool_id: Option<String>,
pub cidr: Option<String>,
pub cidr_authorization_context: Option<IpamCidrAuthorizationContext>,
pub netmask_length: Option<i32>,
pub client_token: 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
.
ipam_pool_id: Option<String>
The ID of the IPAM pool to which you want to assign a CIDR.
cidr: Option<String>
The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.
A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.
netmask_length: Option<i32>
The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
Implementations§
source§impl ProvisionIpamPoolCidrInput
impl ProvisionIpamPoolCidrInput
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 ipam_pool_id(&self) -> Option<&str>
pub fn ipam_pool_id(&self) -> Option<&str>
The ID of the IPAM pool to which you want to assign a CIDR.
sourcepub fn cidr(&self) -> Option<&str>
pub fn cidr(&self) -> Option<&str>
The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.
A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.
sourcepub fn netmask_length(&self) -> Option<i32>
pub fn netmask_length(&self) -> Option<i32>
The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
source§impl ProvisionIpamPoolCidrInput
impl ProvisionIpamPoolCidrInput
sourcepub fn builder() -> ProvisionIpamPoolCidrInputBuilder
pub fn builder() -> ProvisionIpamPoolCidrInputBuilder
Creates a new builder-style object to manufacture ProvisionIpamPoolCidrInput
.
Trait Implementations§
source§impl Clone for ProvisionIpamPoolCidrInput
impl Clone for ProvisionIpamPoolCidrInput
source§fn clone(&self) -> ProvisionIpamPoolCidrInput
fn clone(&self) -> ProvisionIpamPoolCidrInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProvisionIpamPoolCidrInput
impl Debug for ProvisionIpamPoolCidrInput
source§impl PartialEq<ProvisionIpamPoolCidrInput> for ProvisionIpamPoolCidrInput
impl PartialEq<ProvisionIpamPoolCidrInput> for ProvisionIpamPoolCidrInput
source§fn eq(&self, other: &ProvisionIpamPoolCidrInput) -> bool
fn eq(&self, other: &ProvisionIpamPoolCidrInput) -> bool
self
and other
values to be equal, and is used
by ==
.