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 for IpamDiscoveredAccount
impl PartialEq 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 ==
.impl StructuralPartialEq for IpamDiscoveredAccount
Auto Trait Implementations§
impl Freeze for IpamDiscoveredAccount
impl RefUnwindSafe for IpamDiscoveredAccount
impl Send for IpamDiscoveredAccount
impl Sync for IpamDiscoveredAccount
impl Unpin for IpamDiscoveredAccount
impl UnwindSafe for IpamDiscoveredAccount
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> 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