Struct aws_sdk_macie2::types::Member
source · #[non_exhaustive]pub struct Member {
pub account_id: Option<String>,
pub administrator_account_id: Option<String>,
pub arn: Option<String>,
pub email: Option<String>,
pub invited_at: Option<DateTime>,
pub master_account_id: Option<String>,
pub relationship_status: Option<RelationshipStatus>,
pub tags: Option<HashMap<String, String>>,
pub updated_at: Option<DateTime>,
}
Expand description
Provides information about an account that's associated with an Amazon Macie administrator account.
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 Amazon Web Services account ID for the account.
administrator_account_id: Option<String>
The Amazon Web Services account ID for the administrator account.
arn: Option<String>
The Amazon Resource Name (ARN) of the account.
email: Option<String>
The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
invited_at: Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
master_account_id: Option<String>
(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
relationship_status: Option<RelationshipStatus>
The current status of the relationship between the account and the administrator account.
A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
updated_at: Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.
Implementations§
source§impl Member
impl Member
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID for the account.
sourcepub fn administrator_account_id(&self) -> Option<&str>
pub fn administrator_account_id(&self) -> Option<&str>
The Amazon Web Services account ID for the administrator account.
sourcepub fn email(&self) -> Option<&str>
pub fn email(&self) -> Option<&str>
The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
sourcepub fn invited_at(&self) -> Option<&DateTime>
pub fn invited_at(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
sourcepub fn master_account_id(&self) -> Option<&str>
pub fn master_account_id(&self) -> Option<&str>
(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
sourcepub fn relationship_status(&self) -> Option<&RelationshipStatus>
pub fn relationship_status(&self) -> Option<&RelationshipStatus>
The current status of the relationship between the account and the administrator account.
A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.
Trait Implementations§
source§impl PartialEq for Member
impl PartialEq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnwindSafe for Member
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