amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 that the request applies to.

Instances

Instances details
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

AWSRequest GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Associated Types

type AWSResponse GetMember #

Generic GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Associated Types

type Rep GetMember :: Type -> Type #

Read GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Show GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

NFData GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Methods

rnf :: GetMember -> () #

Eq GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Hashable GetMember Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

type AWSResponse 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" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetMember Source #

Arguments

:: Text

GetMember

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

Constructors

GetMemberResponse' 

Fields

  • accountId :: Maybe Text

    The Amazon Web Services account ID 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.

  • email :: Maybe Text

    The email address for the account.

  • invitedAt :: Maybe ISO8601

    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.

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

  • relationshipStatus :: Maybe RelationshipStatus

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

  • tags :: Maybe (HashMap Text Text)

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

  • updatedAt :: Maybe ISO8601

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Associated Types

type Rep GetMemberResponse :: Type -> Type #

Read GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Show GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

NFData GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

Methods

rnf :: GetMemberResponse -> () #

Eq GetMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMember

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:

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.