Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.AuditManager.UpdateSettings
Description
Updates Audit Manager settings for the current user account.
Synopsis
- data UpdateSettings = UpdateSettings' {}
- newUpdateSettings :: UpdateSettings
- updateSettings_defaultAssessmentReportsDestination :: Lens' UpdateSettings (Maybe AssessmentReportsDestination)
- updateSettings_defaultProcessOwners :: Lens' UpdateSettings (Maybe [Role])
- updateSettings_deregistrationPolicy :: Lens' UpdateSettings (Maybe DeregistrationPolicy)
- updateSettings_evidenceFinderEnabled :: Lens' UpdateSettings (Maybe Bool)
- updateSettings_kmsKey :: Lens' UpdateSettings (Maybe Text)
- updateSettings_snsTopic :: Lens' UpdateSettings (Maybe Text)
- data UpdateSettingsResponse = UpdateSettingsResponse' {
- settings :: Maybe Settings
- httpStatus :: Int
- newUpdateSettingsResponse :: Int -> UpdateSettingsResponse
- updateSettingsResponse_settings :: Lens' UpdateSettingsResponse (Maybe Settings)
- updateSettingsResponse_httpStatus :: Lens' UpdateSettingsResponse Int
Creating a Request
data UpdateSettings Source #
See: newUpdateSettings
smart constructor.
Constructors
UpdateSettings' | |
Fields
|
Instances
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_defaultAssessmentReportsDestination :: Lens' UpdateSettings (Maybe AssessmentReportsDestination) Source #
The default storage destination for assessment reports.
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_kmsKey :: Lens' UpdateSettings (Maybe Text) Source #
The KMS key details.
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
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
updateSettingsResponse_settings :: Lens' UpdateSettingsResponse (Maybe Settings) Source #
The current list of settings.
updateSettingsResponse_httpStatus :: Lens' UpdateSettingsResponse Int Source #
The response's http status code.