libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.GetMasterAccount

Description

Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.

Synopsis

Creating a Request

data GetMasterAccount Source #

See: newGetMasterAccount smart constructor.

Constructors

GetMasterAccount' 

Fields

  • detectorId :: Text

    The unique ID of the detector of the GuardDuty member account.

Instances

Instances details
Eq GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Read GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Show GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Generic GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Associated Types

type Rep GetMasterAccount :: Type -> Type #

NFData GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Methods

rnf :: GetMasterAccount -> () #

Hashable GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

AWSRequest GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Associated Types

type AWSResponse GetMasterAccount #

ToHeaders GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

ToPath GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

ToQuery GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

type Rep GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

type Rep GetMasterAccount = D1 ('MetaData "GetMasterAccount" "Amazonka.GuardDuty.GetMasterAccount" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "GetMasterAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetMasterAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

newGetMasterAccount Source #

Create a value of GetMasterAccount 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:detectorId:GetMasterAccount', getMasterAccount_detectorId - The unique ID of the detector of the GuardDuty member account.

Request Lenses

getMasterAccount_detectorId :: Lens' GetMasterAccount Text Source #

The unique ID of the detector of the GuardDuty member account.

Destructuring the Response

data GetMasterAccountResponse Source #

See: newGetMasterAccountResponse smart constructor.

Constructors

GetMasterAccountResponse' 

Fields

Instances

Instances details
Eq GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Read GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Show GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Generic GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

Associated Types

type Rep GetMasterAccountResponse :: Type -> Type #

NFData GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

type Rep GetMasterAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.GetMasterAccount

type Rep GetMasterAccountResponse = D1 ('MetaData "GetMasterAccountResponse" "Amazonka.GuardDuty.GetMasterAccount" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "GetMasterAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "master") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Master)))

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:httpStatus:GetMasterAccountResponse', getMasterAccountResponse_httpStatus - The response's http status code.

$sel:master:GetMasterAccountResponse', getMasterAccountResponse_master - The administrator account details.

Response Lenses