libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.EnableOrganizationAdminAccount

Description

Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.

Synopsis

Creating a Request

data EnableOrganizationAdminAccount Source #

See: newEnableOrganizationAdminAccount smart constructor.

Constructors

EnableOrganizationAdminAccount' 

Fields

  • adminAccountId :: Text

    The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account.

Instances

Instances details
Eq EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

Read EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

Show EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

Generic EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

Associated Types

type Rep EnableOrganizationAdminAccount :: Type -> Type #

NFData EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

Hashable EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

ToJSON EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

AWSRequest EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

ToHeaders EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

ToPath EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

ToQuery EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

type Rep EnableOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

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

Defined in Amazonka.SecurityHub.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 Amazon Web Services account identifier of the account to designate as the Security Hub administrator account.

Request Lenses

enableOrganizationAdminAccount_adminAccountId :: Lens' EnableOrganizationAdminAccount Text Source #

The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account.

Destructuring the Response

data EnableOrganizationAdminAccountResponse Source #

Constructors

EnableOrganizationAdminAccountResponse' 

Fields

Instances

Instances details
Eq EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

Read EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

Show EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

Generic EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

NFData EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

type Rep EnableOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.EnableOrganizationAdminAccount

type Rep EnableOrganizationAdminAccountResponse = D1 ('MetaData "EnableOrganizationAdminAccountResponse" "Amazonka.SecurityHub.EnableOrganizationAdminAccount" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" '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