libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MacieV2.GetMember

Description

Retrieves information about an account that's associated with an Amazon Macie administrator account.

Synopsis

Creating a Request

data GetMember Source #

See: newGetMember smart constructor.

Constructors

GetMember' 

Fields

  • id :: Text

    The unique identifier for the Amazon Macie resource or account that the request applies to.

Instances

Instances details
Eq GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Read GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Show GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Generic GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Associated Types

type Rep GetMember :: Type -> Type #

NFData GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Methods

rnf :: GetMember -> () #

Hashable GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

AWSRequest GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Associated Types

type AWSResponse GetMember #

ToHeaders GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Methods

toHeaders :: GetMember -> [Header] #

ToPath GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

ToQuery GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

type Rep GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

type Rep GetMember = D1 ('MetaData "GetMember" "Amazonka.MacieV2.GetMember" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "GetMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

newGetMember Source #

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.

Constructors

GetMemberResponse' 

Fields

  • email :: Maybe Text

    The email address for the account.

  • administratorAccountId :: Maybe Text

    The Amazon Web Services account ID for the administrator account.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the account.

  • relationshipStatus :: Maybe RelationshipStatus

    The current status of the relationship between the account and the administrator account.

  • masterAccountId :: Maybe Text

    (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.

  • invitedAt :: Maybe POSIX

    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.

  • accountId :: Maybe Text

    The Amazon Web Services account ID for the account.

  • updatedAt :: Maybe POSIX

    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.

  • tags :: Maybe (HashMap Text Text)

    A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Read GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Show GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Generic GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Associated Types

type Rep GetMemberResponse :: Type -> Type #

NFData GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Methods

rnf :: GetMemberResponse -> () #

type Rep GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

newGetMemberResponse Source #

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.