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

Description

(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.

Synopsis

Creating a Request

data GetMasterAccount Source #

See: newGetMasterAccount smart constructor.

Constructors

GetMasterAccount' 

Instances

Instances details
Eq GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Read GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Show GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Generic GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Associated Types

type Rep GetMasterAccount :: Type -> Type #

NFData GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Methods

rnf :: GetMasterAccount -> () #

Hashable GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

AWSRequest GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Associated Types

type AWSResponse GetMasterAccount #

ToHeaders GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

ToPath GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

ToQuery GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

type Rep GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

type Rep GetMasterAccount = D1 ('MetaData "GetMasterAccount" "Amazonka.MacieV2.GetMasterAccount" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "GetMasterAccount'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetMasterAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

newGetMasterAccount :: GetMasterAccount Source #

Create a value of GetMasterAccount with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetMasterAccountResponse Source #

See: newGetMasterAccountResponse smart constructor.

Constructors

GetMasterAccountResponse' 

Fields

  • master :: Maybe Invitation

    (Deprecated) The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Read GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Show GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Generic GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

Associated Types

type Rep GetMasterAccountResponse :: Type -> Type #

NFData GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

type Rep GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetMasterAccount

type Rep GetMasterAccountResponse = D1 ('MetaData "GetMasterAccountResponse" "Amazonka.MacieV2.GetMasterAccount" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "GetMasterAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "master") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Invitation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetMasterAccountResponse Source #

Create a value of GetMasterAccountResponse 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:master:GetMasterAccountResponse', getMasterAccountResponse_master - (Deprecated) The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.

$sel:httpStatus:GetMasterAccountResponse', getMasterAccountResponse_httpStatus - The response's http status code.

Response Lenses

getMasterAccountResponse_master :: Lens' GetMasterAccountResponse (Maybe Invitation) Source #

(Deprecated) The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.