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

Description

Enables an AWS account within the organization as the GuardDuty delegated administrator.

Synopsis

Creating a Request

data EnableOrganizationAdminAccount Source #

See: newEnableOrganizationAdminAccount smart constructor.

Constructors

EnableOrganizationAdminAccount' 

Fields

  • adminAccountId :: Text

    The AWS Account ID for the organization account to be enabled as a GuardDuty delegated administrator.

Instances

Instances details
Eq EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

Read EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

Show EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

Generic EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

Associated Types

type Rep EnableOrganizationAdminAccount :: Type -> Type #

NFData EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

Hashable EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

ToJSON EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

AWSRequest EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

ToHeaders EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

ToPath EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

ToQuery EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

type Rep EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

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

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

newEnableOrganizationAdminAccount Source #

Create a value of EnableOrganizationAdminAccount 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:adminAccountId:EnableOrganizationAdminAccount', enableOrganizationAdminAccount_adminAccountId - The AWS Account ID for the organization account to be enabled as a GuardDuty delegated administrator.

Request Lenses

enableOrganizationAdminAccount_adminAccountId :: Lens' EnableOrganizationAdminAccount Text Source #

The AWS Account ID for the organization account to be enabled as a GuardDuty delegated administrator.

Destructuring the Response

data EnableOrganizationAdminAccountResponse Source #

Constructors

EnableOrganizationAdminAccountResponse' 

Fields

Instances

Instances details
Eq EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

Read EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

Show EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

Generic EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

NFData EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

type Rep EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.EnableOrganizationAdminAccount

type Rep EnableOrganizationAdminAccountResponse = D1 ('MetaData "EnableOrganizationAdminAccountResponse" "Amazonka.GuardDuty.EnableOrganizationAdminAccount" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "EnableOrganizationAdminAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newEnableOrganizationAdminAccountResponse Source #

Create a value of EnableOrganizationAdminAccountResponse 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:EnableOrganizationAdminAccountResponse', enableOrganizationAdminAccountResponse_httpStatus - The response's http status code.

Response Lenses