aws_sdk_macie2/client/get_member.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetMember`](crate::operation::get_member::builders::GetMemberFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetMemberOutput`](crate::operation::get_member::GetMemberOutput) with field(s):
8 /// - [`account_id(Option<String>)`](crate::operation::get_member::GetMemberOutput::account_id): <p>The Amazon Web Services account ID for the account.</p>
9 /// - [`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>
10 /// - [`arn(Option<String>)`](crate::operation::get_member::GetMemberOutput::arn): <p>The Amazon Resource Name (ARN) of the account.</p>
11 /// - [`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>
12 /// - [`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>
13 /// - [`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>
14 /// - [`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>
15 /// - [`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>
16 /// - [`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>
17 /// - On failure, responds with [`SdkError<GetMemberError>`](crate::operation::get_member::GetMemberError)
18 pub fn get_member(&self) -> crate::operation::get_member::builders::GetMemberFluentBuilder {
19 crate::operation::get_member::builders::GetMemberFluentBuilder::new(self.handle.clone())
20 }
21}