Struct aws_sdk_ec2::types::IpamDiscoveredAccount
source · #[non_exhaustive]pub struct IpamDiscoveredAccount {
pub account_id: Option<String>,
pub discovery_region: Option<String>,
pub failure_reason: Option<IpamDiscoveryFailureReason>,
pub last_attempted_discovery_time: Option<DateTime>,
pub last_successful_discovery_time: Option<DateTime>,
}
Expand description
An IPAM discovered account. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts.
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.account_id: Option<String>
The account ID.
discovery_region: Option<String>
The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.
failure_reason: Option<IpamDiscoveryFailureReason>
The resource discovery failure reason.
last_attempted_discovery_time: Option<DateTime>
The last attempted resource discovery time.
last_successful_discovery_time: Option<DateTime>
The last successful resource discovery time.
Implementations§
source§impl IpamDiscoveredAccount
impl IpamDiscoveredAccount
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The account ID.
sourcepub fn discovery_region(&self) -> Option<&str>
pub fn discovery_region(&self) -> Option<&str>
The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.
sourcepub fn failure_reason(&self) -> Option<&IpamDiscoveryFailureReason>
pub fn failure_reason(&self) -> Option<&IpamDiscoveryFailureReason>
The resource discovery failure reason.
sourcepub fn last_attempted_discovery_time(&self) -> Option<&DateTime>
pub fn last_attempted_discovery_time(&self) -> Option<&DateTime>
The last attempted resource discovery time.
sourcepub fn last_successful_discovery_time(&self) -> Option<&DateTime>
pub fn last_successful_discovery_time(&self) -> Option<&DateTime>
The last successful resource discovery time.
source§impl IpamDiscoveredAccount
impl IpamDiscoveredAccount
sourcepub fn builder() -> IpamDiscoveredAccountBuilder
pub fn builder() -> IpamDiscoveredAccountBuilder
Creates a new builder-style object to manufacture IpamDiscoveredAccount
.
Trait Implementations§
source§impl Clone for IpamDiscoveredAccount
impl Clone for IpamDiscoveredAccount
source§fn clone(&self) -> IpamDiscoveredAccount
fn clone(&self) -> IpamDiscoveredAccount
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IpamDiscoveredAccount
impl Debug for IpamDiscoveredAccount
source§impl PartialEq<IpamDiscoveredAccount> for IpamDiscoveredAccount
impl PartialEq<IpamDiscoveredAccount> for IpamDiscoveredAccount
source§fn eq(&self, other: &IpamDiscoveredAccount) -> bool
fn eq(&self, other: &IpamDiscoveredAccount) -> bool
self
and other
values to be equal, and is used
by ==
.