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

Description

Retrieves information about the Amazon Macie administrator account for an account.

Synopsis

Creating a Request

data GetAdministratorAccount Source #

See: newGetAdministratorAccount smart constructor.

Instances

Instances details
Eq GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Read GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Show GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Generic GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Associated Types

type Rep GetAdministratorAccount :: Type -> Type #

NFData GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Methods

rnf :: GetAdministratorAccount -> () #

Hashable GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

AWSRequest GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

ToHeaders GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

ToPath GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

ToQuery GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

type Rep GetAdministratorAccount Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

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

Defined in Amazonka.MacieV2.GetAdministratorAccount

newGetAdministratorAccount :: GetAdministratorAccount Source #

Create a value of GetAdministratorAccount with all optional fields omitted.

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

Destructuring the Response

data GetAdministratorAccountResponse Source #

See: newGetAdministratorAccountResponse smart constructor.

Constructors

GetAdministratorAccountResponse' 

Fields

  • administrator :: Maybe Invitation

    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 GetAdministratorAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Read GetAdministratorAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Show GetAdministratorAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Generic GetAdministratorAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

Associated Types

type Rep GetAdministratorAccountResponse :: Type -> Type #

NFData GetAdministratorAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

type Rep GetAdministratorAccountResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetAdministratorAccount

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

newGetAdministratorAccountResponse Source #

Create a value of GetAdministratorAccountResponse 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:administrator:GetAdministratorAccountResponse', getAdministratorAccountResponse_administrator - 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:GetAdministratorAccountResponse', getAdministratorAccountResponse_httpStatus - The response's http status code.

Response Lenses

getAdministratorAccountResponse_administrator :: Lens' GetAdministratorAccountResponse (Maybe Invitation) Source #

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.