Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_accountId :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_administratorAccountId :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_arn :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_email :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_invitedAt :: Lens' GetMemberResponse (Maybe UTCTime)
- getMemberResponse_masterAccountId :: Lens' GetMemberResponse (Maybe Text)
- getMemberResponse_relationshipStatus :: Lens' GetMemberResponse (Maybe RelationshipStatus)
- getMemberResponse_tags :: Lens' GetMemberResponse (Maybe (HashMap Text Text))
- getMemberResponse_updatedAt :: Lens' GetMemberResponse (Maybe UTCTime)
- getMemberResponse_httpStatus :: Lens' GetMemberResponse Int
Creating a Request
See: newGetMember
smart constructor.
Instances
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 # | |
AWSRequest GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember type AWSResponse GetMember # request :: (Service -> Service) -> GetMember -> Request GetMember # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetMember -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetMember))) # | |
Generic GetMember Source # | |
Read GetMember Source # | |
Show GetMember Source # | |
NFData GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember | |
Eq GetMember Source # | |
Hashable GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember | |
type AWSResponse GetMember Source # | |
Defined in Amazonka.MacieV2.GetMember | |
type Rep 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:
GetMember
, getMember_id
- The unique identifier for the Amazon Macie resource that the request
applies to.
Request Lenses
getMember_id :: Lens' GetMember Text Source #
The unique identifier for the Amazon Macie resource 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:
GetMemberResponse
, getMemberResponse_accountId
- The Amazon Web Services account ID for the account.
GetMemberResponse
, getMemberResponse_administratorAccountId
- The Amazon Web Services account ID for the administrator account.
GetMemberResponse
, getMemberResponse_arn
- The Amazon Resource Name (ARN) of the account.
GetMemberResponse
, getMemberResponse_email
- The email address for the account.
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 an invitation hasn't been sent to the account.
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.
GetMemberResponse
, getMemberResponse_relationshipStatus
- The current status of the relationship between the account and the
administrator account.
GetMemberResponse
, getMemberResponse_tags
- A map of key-value pairs that specifies which tags (keys and values) are
associated with the account in Amazon Macie.
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:httpStatus:GetMemberResponse'
, getMemberResponse_httpStatus
- The response's http status code.
Response Lenses
getMemberResponse_accountId :: Lens' GetMemberResponse (Maybe Text) Source #
The Amazon Web Services account ID 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_email :: Lens' GetMemberResponse (Maybe Text) Source #
The email address for the account.
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 an invitation hasn't been sent to the 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_relationshipStatus :: Lens' GetMemberResponse (Maybe RelationshipStatus) Source #
The current 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 specifies which tags (keys and values) are associated with the account in Amazon Macie.
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_httpStatus :: Lens' GetMemberResponse Int Source #
The response's http status code.