Struct aws_sdk_ec2::operation::delete_ipam::DeleteIpamInput
source · #[non_exhaustive]pub struct DeleteIpamInput {
pub dry_run: Option<bool>,
pub ipam_id: Option<String>,
pub cascade: Option<bool>,
}
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_id: Option<String>
The ID of the IPAM to delete.
cascade: Option<bool>
Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and any allocations in the pools in private scopes. You cannot delete the IPAM with this option if there is a pool in your public scope. If you use this option, IPAM does the following:
-
Deallocates any CIDRs allocated to VPC resources (such as VPCs) in pools in private scopes.
No VPC resources are deleted as a result of enabling this option. The CIDR associated with the resource will no longer be allocated from an IPAM pool, but the CIDR itself will remain unchanged.
-
Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private scopes.
-
Deletes all IPAM pools in private scopes.
-
Deletes all non-default private scopes in the IPAM.
-
Deletes the default public and private scopes and the IPAM.
Implementations§
source§impl DeleteIpamInput
impl DeleteIpamInput
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 cascade(&self) -> Option<bool>
pub fn cascade(&self) -> Option<bool>
Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and any allocations in the pools in private scopes. You cannot delete the IPAM with this option if there is a pool in your public scope. If you use this option, IPAM does the following:
-
Deallocates any CIDRs allocated to VPC resources (such as VPCs) in pools in private scopes.
No VPC resources are deleted as a result of enabling this option. The CIDR associated with the resource will no longer be allocated from an IPAM pool, but the CIDR itself will remain unchanged.
-
Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private scopes.
-
Deletes all IPAM pools in private scopes.
-
Deletes all non-default private scopes in the IPAM.
-
Deletes the default public and private scopes and the IPAM.
source§impl DeleteIpamInput
impl DeleteIpamInput
sourcepub fn builder() -> DeleteIpamInputBuilder
pub fn builder() -> DeleteIpamInputBuilder
Creates a new builder-style object to manufacture DeleteIpamInput
.
Trait Implementations§
source§impl Clone for DeleteIpamInput
impl Clone for DeleteIpamInput
source§fn clone(&self) -> DeleteIpamInput
fn clone(&self) -> DeleteIpamInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteIpamInput
impl Debug for DeleteIpamInput
source§impl PartialEq for DeleteIpamInput
impl PartialEq for DeleteIpamInput
source§fn eq(&self, other: &DeleteIpamInput) -> bool
fn eq(&self, other: &DeleteIpamInput) -> bool
self
and other
values to be equal, and is used
by ==
.