aws_sdk_macie2/client/get_member.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetMember`](crate::operation::get_member::builders::GetMemberFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::get_member::builders::GetMemberFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_member::builders::GetMemberFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier for the Amazon Macie resource that the request applies to.</p><br>
/// - On success, responds with [`GetMemberOutput`](crate::operation::get_member::GetMemberOutput) with field(s):
/// - [`account_id(Option<String>)`](crate::operation::get_member::GetMemberOutput::account_id): <p>The Amazon Web Services account ID for the account.</p>
/// - [`administrator_account_id(Option<String>)`](crate::operation::get_member::GetMemberOutput::administrator_account_id): <p>The Amazon Web Services account ID for the administrator account.</p>
/// - [`arn(Option<String>)`](crate::operation::get_member::GetMemberOutput::arn): <p>The Amazon Resource Name (ARN) of the account.</p>
/// - [`email(Option<String>)`](crate::operation::get_member::GetMemberOutput::email): <p>The email address for the account. This value is null if the account is associated with the administrator account through Organizations.</p>
/// - [`invited_at(Option<DateTime>)`](crate::operation::get_member::GetMemberOutput::invited_at): <p>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.</p>
/// - [`master_account_id(Option<String>)`](crate::operation::get_member::GetMemberOutput::master_account_id): <p>(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.</p>
/// - [`relationship_status(Option<RelationshipStatus>)`](crate::operation::get_member::GetMemberOutput::relationship_status): <p>The current status of the relationship between the account and the administrator account.</p>
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_member::GetMemberOutput::tags): <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::get_member::GetMemberOutput::updated_at): <p>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.</p>
/// - On failure, responds with [`SdkError<GetMemberError>`](crate::operation::get_member::GetMemberError)
pub fn get_member(&self) -> crate::operation::get_member::builders::GetMemberFluentBuilder {
crate::operation::get_member::builders::GetMemberFluentBuilder::new(self.handle.clone())
}
}