libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager
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.AuditManager.RegisterAccount

Description

Enables Audit Manager for the specified Amazon Web Services account.

Synopsis

Creating a Request

data RegisterAccount Source #

See: newRegisterAccount smart constructor.

Constructors

RegisterAccount' 

Fields

Instances

Instances details
Eq RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Read RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Show RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Generic RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Associated Types

type Rep RegisterAccount :: Type -> Type #

NFData RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Methods

rnf :: RegisterAccount -> () #

Hashable RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

ToJSON RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

AWSRequest RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Associated Types

type AWSResponse RegisterAccount #

ToHeaders RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

ToPath RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

ToQuery RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

type Rep RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

type Rep RegisterAccount = D1 ('MetaData "RegisterAccount" "Amazonka.AuditManager.RegisterAccount" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "RegisterAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "delegatedAdminAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse RegisterAccount Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

newRegisterAccount :: RegisterAccount Source #

Create a value of RegisterAccount 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:kmsKey:RegisterAccount', registerAccount_kmsKey - The KMS key details.

$sel:delegatedAdminAccount:RegisterAccount', registerAccount_delegatedAdminAccount - The delegated administrator account for Audit Manager.

Request Lenses

registerAccount_delegatedAdminAccount :: Lens' RegisterAccount (Maybe Text) Source #

The delegated administrator account for Audit Manager.

Destructuring the Response

data RegisterAccountResponse Source #

See: newRegisterAccountResponse smart constructor.

Constructors

RegisterAccountResponse' 

Fields

Instances

Instances details
Eq RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Read RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Show RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Generic RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Associated Types

type Rep RegisterAccountResponse :: Type -> Type #

NFData RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

Methods

rnf :: RegisterAccountResponse -> () #

type Rep RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.AuditManager.RegisterAccount

type Rep RegisterAccountResponse = D1 ('MetaData "RegisterAccountResponse" "Amazonka.AuditManager.RegisterAccount" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "RegisterAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccountStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRegisterAccountResponse Source #

Create a value of RegisterAccountResponse 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:status:RegisterAccountResponse', registerAccountResponse_status - The status of the account registration request.

$sel:httpStatus:RegisterAccountResponse', registerAccountResponse_httpStatus - The response's http status code.

Response Lenses

registerAccountResponse_status :: Lens' RegisterAccountResponse (Maybe AccountStatus) Source #

The status of the account registration request.