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

Description

Updates Audit Manager settings for the current user account.

Synopsis

Creating a Request

data UpdateSettings Source #

See: newUpdateSettings smart constructor.

Constructors

UpdateSettings' 

Fields

Instances

Instances details
Eq UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Read UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Show UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Generic UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Associated Types

type Rep UpdateSettings :: Type -> Type #

NFData UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Methods

rnf :: UpdateSettings -> () #

Hashable UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

ToJSON UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

AWSRequest UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Associated Types

type AWSResponse UpdateSettings #

ToHeaders UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

ToPath UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

ToQuery UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

type Rep UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

type Rep UpdateSettings = D1 ('MetaData "UpdateSettings" "Amazonka.AuditManager.UpdateSettings" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "UpdateSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kmsKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultAssessmentReportsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssessmentReportsDestination))) :*: (S1 ('MetaSel ('Just "snsTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultProcessOwners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Role])))))
type AWSResponse UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

newUpdateSettings :: UpdateSettings Source #

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

$sel:defaultAssessmentReportsDestination:UpdateSettings', updateSettings_defaultAssessmentReportsDestination - The default storage destination for assessment reports.

$sel:snsTopic:UpdateSettings', updateSettings_snsTopic - The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.

$sel:defaultProcessOwners:UpdateSettings', updateSettings_defaultProcessOwners - A list of the default audit owners.

Request Lenses

updateSettings_snsTopic :: Lens' UpdateSettings (Maybe Text) Source #

The Amazon Simple Notification Service (Amazon SNS) topic to which Audit Manager sends notifications.

updateSettings_defaultProcessOwners :: Lens' UpdateSettings (Maybe [Role]) Source #

A list of the default audit owners.

Destructuring the Response

data UpdateSettingsResponse Source #

See: newUpdateSettingsResponse smart constructor.

Constructors

UpdateSettingsResponse' 

Fields

Instances

Instances details
Eq UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Read UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Show UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Generic UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Associated Types

type Rep UpdateSettingsResponse :: Type -> Type #

NFData UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Methods

rnf :: UpdateSettingsResponse -> () #

type Rep UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

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

newUpdateSettingsResponse Source #

Create a value of UpdateSettingsResponse 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:settings:UpdateSettingsResponse', updateSettingsResponse_settings - The current list of settings.

$sel:httpStatus:UpdateSettingsResponse', updateSettingsResponse_httpStatus - The response's http status code.

Response Lenses