Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates Audit Manager settings for the current user account.
Synopsis
- data UpdateSettings = UpdateSettings' {}
- newUpdateSettings :: UpdateSettings
- updateSettings_kmsKey :: Lens' UpdateSettings (Maybe Text)
- updateSettings_defaultAssessmentReportsDestination :: Lens' UpdateSettings (Maybe AssessmentReportsDestination)
- updateSettings_snsTopic :: Lens' UpdateSettings (Maybe Text)
- updateSettings_defaultProcessOwners :: Lens' UpdateSettings (Maybe [Role])
- 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.
UpdateSettings' | |
|
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:
$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_kmsKey :: Lens' UpdateSettings (Maybe Text) Source #
The KMS key details.
updateSettings_defaultAssessmentReportsDestination :: Lens' UpdateSettings (Maybe AssessmentReportsDestination) Source #
The default storage destination for assessment reports.
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.
UpdateSettingsResponse' | |
|
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.