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 |
Updates the configurable settings for the specified directory.
Synopsis
- data UpdateSettings = UpdateSettings' {
- directoryId :: Text
- settings :: [Setting]
- newUpdateSettings :: Text -> UpdateSettings
- updateSettings_directoryId :: Lens' UpdateSettings Text
- updateSettings_settings :: Lens' UpdateSettings [Setting]
- data UpdateSettingsResponse = UpdateSettingsResponse' {
- directoryId :: Maybe Text
- httpStatus :: Int
- newUpdateSettingsResponse :: Int -> UpdateSettingsResponse
- updateSettingsResponse_directoryId :: Lens' UpdateSettingsResponse (Maybe Text)
- updateSettingsResponse_httpStatus :: Lens' UpdateSettingsResponse Int
Creating a Request
data UpdateSettings Source #
See: newUpdateSettings
smart constructor.
UpdateSettings' | |
|
Instances
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_directoryId
- The identifier of the directory for which to update settings.
$sel:settings:UpdateSettings'
, updateSettings_settings
- The list of Setting objects.
Request Lenses
updateSettings_directoryId :: Lens' UpdateSettings Text Source #
The identifier of the directory for which to update settings.
updateSettings_settings :: Lens' UpdateSettings [Setting] Source #
The list of Setting objects.
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:
UpdateSettings
, updateSettingsResponse_directoryId
- The identifier of the directory.
$sel:httpStatus:UpdateSettingsResponse'
, updateSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
updateSettingsResponse_directoryId :: Lens' UpdateSettingsResponse (Maybe Text) Source #
The identifier of the directory.
updateSettingsResponse_httpStatus :: Lens' UpdateSettingsResponse Int Source #
The response's http status code.