amazonka-auditmanager-2.0: Amazon Audit Manager 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.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
ToJSON UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.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

AWSRequest UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Associated Types

type AWSResponse UpdateSettings #

Generic UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Associated Types

type Rep UpdateSettings :: Type -> Type #

Read UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Show UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

NFData UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Methods

rnf :: UpdateSettings -> () #

Eq UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Hashable UpdateSettings Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

type AWSResponse 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" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "UpdateSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultAssessmentReportsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssessmentReportsDestination)) :*: (S1 ('MetaSel ('Just "defaultProcessOwners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Role])) :*: S1 ('MetaSel ('Just "deregistrationPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeregistrationPolicy)))) :*: (S1 ('MetaSel ('Just "evidenceFinderEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "kmsKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:

UpdateSettings, updateSettings_defaultAssessmentReportsDestination - The default storage destination for assessment reports.

UpdateSettings, updateSettings_defaultProcessOwners - A list of the default audit owners.

UpdateSettings, updateSettings_deregistrationPolicy - The deregistration policy for your Audit Manager data. You can use this attribute to determine how your data is handled when you deregister Audit Manager.

$sel:evidenceFinderEnabled:UpdateSettings', updateSettings_evidenceFinderEnabled - Specifies whether the evidence finder feature is enabled. Change this attribute to enable or disable evidence finder.

When you use this attribute to disable evidence finder, Audit Manager deletes the event data store that’s used to query your evidence data. As a result, you can’t re-enable evidence finder and use the feature again. Your only alternative is to deregister and then re-register Audit Manager.

UpdateSettings, updateSettings_kmsKey - The KMS key details.

UpdateSettings, updateSettings_snsTopic - The Amazon Simple Notification Service (Amazon SNS) topic that Audit Manager sends notifications to.

Request Lenses

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

A list of the default audit owners.

updateSettings_deregistrationPolicy :: Lens' UpdateSettings (Maybe DeregistrationPolicy) Source #

The deregistration policy for your Audit Manager data. You can use this attribute to determine how your data is handled when you deregister Audit Manager.

updateSettings_evidenceFinderEnabled :: Lens' UpdateSettings (Maybe Bool) Source #

Specifies whether the evidence finder feature is enabled. Change this attribute to enable or disable evidence finder.

When you use this attribute to disable evidence finder, Audit Manager deletes the event data store that’s used to query your evidence data. As a result, you can’t re-enable evidence finder and use the feature again. Your only alternative is to deregister and then re-register Audit Manager.

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

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

Destructuring the Response

data UpdateSettingsResponse Source #

See: newUpdateSettingsResponse smart constructor.

Constructors

UpdateSettingsResponse' 

Fields

Instances

Instances details
Generic UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Associated Types

type Rep UpdateSettingsResponse :: Type -> Type #

Read UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Show UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

NFData UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

Methods

rnf :: UpdateSettingsResponse -> () #

Eq UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

type Rep UpdateSettingsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.UpdateSettings

type Rep UpdateSettingsResponse = D1 ('MetaData "UpdateSettingsResponse" "Amazonka.AuditManager.UpdateSettings" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" '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