Struct aws_sdk_ec2::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryInput
source · #[non_exhaustive]pub struct ModifyIpamResourceDiscoveryInput {
pub dry_run: Option<bool>,
pub ipam_resource_discovery_id: Option<String>,
pub description: Option<String>,
pub add_operating_regions: Option<Vec<AddIpamOperatingRegion>>,
pub remove_operating_regions: Option<Vec<RemoveIpamOperatingRegion>>,
}
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_resource_discovery_id: Option<String>
A resource discovery ID.
description: Option<String>
A resource discovery description.
add_operating_regions: Option<Vec<AddIpamOperatingRegion>>
Add operating Regions to the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
remove_operating_regions: Option<Vec<RemoveIpamOperatingRegion>>
Remove operating Regions.
Implementations§
source§impl ModifyIpamResourceDiscoveryInput
impl ModifyIpamResourceDiscoveryInput
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_resource_discovery_id(&self) -> Option<&str>
pub fn ipam_resource_discovery_id(&self) -> Option<&str>
A resource discovery ID.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A resource discovery description.
sourcepub fn add_operating_regions(&self) -> Option<&[AddIpamOperatingRegion]>
pub fn add_operating_regions(&self) -> Option<&[AddIpamOperatingRegion]>
Add operating Regions to the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
sourcepub fn remove_operating_regions(&self) -> Option<&[RemoveIpamOperatingRegion]>
pub fn remove_operating_regions(&self) -> Option<&[RemoveIpamOperatingRegion]>
Remove operating Regions.
source§impl ModifyIpamResourceDiscoveryInput
impl ModifyIpamResourceDiscoveryInput
sourcepub fn builder() -> ModifyIpamResourceDiscoveryInputBuilder
pub fn builder() -> ModifyIpamResourceDiscoveryInputBuilder
Creates a new builder-style object to manufacture ModifyIpamResourceDiscoveryInput
.
Trait Implementations§
source§impl Clone for ModifyIpamResourceDiscoveryInput
impl Clone for ModifyIpamResourceDiscoveryInput
source§fn clone(&self) -> ModifyIpamResourceDiscoveryInput
fn clone(&self) -> ModifyIpamResourceDiscoveryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ModifyIpamResourceDiscoveryInput> for ModifyIpamResourceDiscoveryInput
impl PartialEq<ModifyIpamResourceDiscoveryInput> for ModifyIpamResourceDiscoveryInput
source§fn eq(&self, other: &ModifyIpamResourceDiscoveryInput) -> bool
fn eq(&self, other: &ModifyIpamResourceDiscoveryInput) -> bool
self
and other
values to be equal, and is used
by ==
.