amazonka-inspector2-2.0: Amazon Inspector2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector2.EnableDelegatedAdminAccount

Description

Enables the Amazon Inspector delegated administrator for your Organizations organization.

Synopsis

Creating a Request

data EnableDelegatedAdminAccount Source #

See: newEnableDelegatedAdminAccount smart constructor.

Constructors

EnableDelegatedAdminAccount' 

Fields

Instances

Instances details
ToJSON EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

ToHeaders EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

ToPath EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

ToQuery EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

AWSRequest EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

Generic EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

Associated Types

type Rep EnableDelegatedAdminAccount :: Type -> Type #

Read EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

Show EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

NFData EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

Eq EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

Hashable EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

type AWSResponse EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

type Rep EnableDelegatedAdminAccount Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

type Rep EnableDelegatedAdminAccount = D1 ('MetaData "EnableDelegatedAdminAccount" "Amazonka.Inspector2.EnableDelegatedAdminAccount" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "EnableDelegatedAdminAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "delegatedAdminAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEnableDelegatedAdminAccount Source #

Create a value of EnableDelegatedAdminAccount 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:clientToken:EnableDelegatedAdminAccount', enableDelegatedAdminAccount_clientToken - The idempotency token for the request.

EnableDelegatedAdminAccount, enableDelegatedAdminAccount_delegatedAdminAccountId - The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

Request Lenses

enableDelegatedAdminAccount_delegatedAdminAccountId :: Lens' EnableDelegatedAdminAccount Text Source #

The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

Destructuring the Response

data EnableDelegatedAdminAccountResponse Source #

Constructors

EnableDelegatedAdminAccountResponse' 

Fields

Instances

Instances details
Generic EnableDelegatedAdminAccountResponse Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

Read EnableDelegatedAdminAccountResponse Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

Show EnableDelegatedAdminAccountResponse Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

NFData EnableDelegatedAdminAccountResponse Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

Eq EnableDelegatedAdminAccountResponse Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

type Rep EnableDelegatedAdminAccountResponse Source # 
Instance details

Defined in Amazonka.Inspector2.EnableDelegatedAdminAccount

type Rep EnableDelegatedAdminAccountResponse = D1 ('MetaData "EnableDelegatedAdminAccountResponse" "Amazonka.Inspector2.EnableDelegatedAdminAccount" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "EnableDelegatedAdminAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "delegatedAdminAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEnableDelegatedAdminAccountResponse Source #

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

EnableDelegatedAdminAccount, enableDelegatedAdminAccountResponse_delegatedAdminAccountId - The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.

Response Lenses

enableDelegatedAdminAccountResponse_delegatedAdminAccountId :: Lens' EnableDelegatedAdminAccountResponse Text Source #

The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.