| 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.GetSettings
Description
Returns the settings for the specified Amazon Web Services account.
Synopsis
- data GetSettings = GetSettings' {}
- newGetSettings :: SettingAttribute -> GetSettings
- getSettings_attribute :: Lens' GetSettings SettingAttribute
- data GetSettingsResponse = GetSettingsResponse' {
- settings :: Maybe Settings
- httpStatus :: Int
- newGetSettingsResponse :: Int -> GetSettingsResponse
- getSettingsResponse_settings :: Lens' GetSettingsResponse (Maybe Settings)
- getSettingsResponse_httpStatus :: Lens' GetSettingsResponse Int
Creating a Request
data GetSettings Source #
See: newGetSettings smart constructor.
Constructors
| GetSettings' | |
Fields
| |
Instances
Arguments
| :: SettingAttribute | |
| -> GetSettings |
Create a value of GetSettings 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:attribute:GetSettings', getSettings_attribute - The list of setting attribute enum values.
Request Lenses
getSettings_attribute :: Lens' GetSettings SettingAttribute Source #
The list of setting attribute enum values.
Destructuring the Response
data GetSettingsResponse Source #
See: newGetSettingsResponse smart constructor.
Constructors
| GetSettingsResponse' | |
Fields
| |
Instances
newGetSettingsResponse Source #
Arguments
| :: Int | |
| -> GetSettingsResponse |
Create a value of GetSettingsResponse 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:GetSettingsResponse', getSettingsResponse_settings - The settings object that holds all supported Audit Manager settings.
$sel:httpStatus:GetSettingsResponse', getSettingsResponse_httpStatus - The response's http status code.
Response Lenses
getSettingsResponse_settings :: Lens' GetSettingsResponse (Maybe Settings) Source #
The settings object that holds all supported Audit Manager settings.
getSettingsResponse_httpStatus :: Lens' GetSettingsResponse Int Source #
The response's http status code.