#[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>,
pub verification_method: Option<VerificationMethod>,
pub ipam_external_resource_verification_token_id: 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 only applies to IPv4 and IPv6 pools in the public scope.
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.
verification_method: Option<VerificationMethod>The method for verifying control of a public IP address range. Defaults to remarks-x509 if not specified. This option only applies to IPv4 and IPv6 pools in the public scope.
ipam_external_resource_verification_token_id: Option<String>Verification token ID. This option only applies to IPv4 and IPv6 pools in the public scope.
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 only applies to IPv4 and IPv6 pools in the public scope.
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.
sourcepub fn verification_method(&self) -> Option<&VerificationMethod>
pub fn verification_method(&self) -> Option<&VerificationMethod>
The method for verifying control of a public IP address range. Defaults to remarks-x509 if not specified. This option only applies to IPv4 and IPv6 pools in the public scope.
sourcepub fn ipam_external_resource_verification_token_id(&self) -> Option<&str>
pub fn ipam_external_resource_verification_token_id(&self) -> Option<&str>
Verification token ID. This option only applies to IPv4 and IPv6 pools in the public scope.
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
impl StructuralPartialEq for ProvisionIpamPoolCidrInput
Auto Trait Implementations§
impl Freeze for ProvisionIpamPoolCidrInput
impl RefUnwindSafe for ProvisionIpamPoolCidrInput
impl Send for ProvisionIpamPoolCidrInput
impl Sync for ProvisionIpamPoolCidrInput
impl Unpin for ProvisionIpamPoolCidrInput
impl UnwindSafe for ProvisionIpamPoolCidrInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more