Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves information about an account that's associated with an Amazon Macie administrator account.
Synopsis
- data GetMember = GetMember' {}
- newGetMember :: Text -> GetMember
- getMember_id :: Lens' GetMember Text
- data GetMemberResponse = GetMemberResponse' {}
- newGetMemberResponse :: Int -> GetMemberResponse
- getMemberResponse_email :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_administratorAccountId :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_arn :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_relationshipStatus :: Lens' GetMemberResponse (Maybe RelationshipStatus)
- getMemberResponse_masterAccountId :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_invitedAt :: Lens' GetMemberResponse (Maybe UTCTime)
- getMemberResponse_accountId :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_updatedAt :: Lens' GetMemberResponse (Maybe UTCTime)
- getMemberResponse_tags :: Lens' GetMemberResponse (Maybe (HashMap Text Text))
- getMemberResponse_httpStatus :: Lens' GetMemberResponse Int
Creating a Request
See: newGetMember
smart constructor.
Instances
Eq GetMember Source # | |
Read GetMember Source # | |
Show GetMember Source # | |
Generic GetMember Source # | |
NFData GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember | |
Hashable GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember | |
AWSRequest GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember type AWSResponse GetMember # request :: GetMember -> Request GetMember # response :: MonadResource m => Logger -> Service -> Proxy GetMember -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetMember))) # | |
ToHeaders GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember | |
ToPath GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember toPath :: GetMember -> ByteString # | |
ToQuery GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember toQuery :: GetMember -> QueryString # | |
type Rep GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember | |
type AWSResponse GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember |
Create a value of GetMember
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:GetMember'
, getMember_id
- The unique identifier for the Amazon Macie resource or account that the
request applies to.
Request Lenses
getMember_id :: Lens' GetMember Text Source #
The unique identifier for the Amazon Macie resource or account that the request applies to.
Destructuring the Response
data GetMemberResponse Source #
See: newGetMemberResponse
smart constructor.
GetMemberResponse' | |
|
Instances
Create a value of GetMemberResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:email:GetMemberResponse'
, getMemberResponse_email
- The email address for the account.
$sel:administratorAccountId:GetMemberResponse'
, getMemberResponse_administratorAccountId
- The Amazon Web Services account ID for the administrator account.
$sel:arn:GetMemberResponse'
, getMemberResponse_arn
- The Amazon Resource Name (ARN) of the account.
$sel:relationshipStatus:GetMemberResponse'
, getMemberResponse_relationshipStatus
- The current status of the relationship between the account and the
administrator account.
$sel:masterAccountId:GetMemberResponse'
, getMemberResponse_masterAccountId
- (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.
$sel:invitedAt:GetMemberResponse'
, getMemberResponse_invitedAt
- 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 invitation hasn't been sent to the account.
$sel:accountId:GetMemberResponse'
, getMemberResponse_accountId
- The Amazon Web Services account ID for the account.
$sel:updatedAt:GetMemberResponse'
, getMemberResponse_updatedAt
- 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.
$sel:tags:GetMemberResponse'
, getMemberResponse_tags
- A map of key-value pairs that identifies the tags (keys and values) that
are associated with the member account in Amazon Macie.
$sel:httpStatus:GetMemberResponse'
, getMemberResponse_httpStatus
- The response's http status code.
Response Lenses
getMemberResponse_email :: Lens' GetMemberResponse (Maybe Text) Source #
The email address for the account.
getMemberResponse_administratorAccountId :: Lens' GetMemberResponse (Maybe Text) Source #
The Amazon Web Services account ID for the administrator account.
getMemberResponse_arn :: Lens' GetMemberResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the account.
getMemberResponse_relationshipStatus :: Lens' GetMemberResponse (Maybe RelationshipStatus) Source #
The current status of the relationship between the account and the administrator account.
getMemberResponse_masterAccountId :: Lens' GetMemberResponse (Maybe Text) Source #
(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.
getMemberResponse_invitedAt :: Lens' GetMemberResponse (Maybe UTCTime) Source #
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 invitation hasn't been sent to the account.
getMemberResponse_accountId :: Lens' GetMemberResponse (Maybe Text) Source #
The Amazon Web Services account ID for the account.
getMemberResponse_updatedAt :: Lens' GetMemberResponse (Maybe UTCTime) Source #
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.
getMemberResponse_tags :: Lens' GetMemberResponse (Maybe (HashMap Text Text)) Source #
A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.
getMemberResponse_httpStatus :: Lens' GetMemberResponse Int Source #
The response's http status code.