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 the current service opt-in settings for the Region. If
service-opt-in is enabled for a service, Backup tries to protect that
service's resources in this Region, when the resource is included in an
on-demand backup or scheduled backup plan. Otherwise, Backup does not
try to protect that service's resources in this Region. Use the
DescribeRegionSettings
API to determine the resource types that are
supported.
Synopsis
- data UpdateRegionSettings = UpdateRegionSettings' {}
- newUpdateRegionSettings :: UpdateRegionSettings
- updateRegionSettings_resourceTypeOptInPreference :: Lens' UpdateRegionSettings (Maybe (HashMap Text Bool))
- data UpdateRegionSettingsResponse = UpdateRegionSettingsResponse' {
- newUpdateRegionSettingsResponse :: UpdateRegionSettingsResponse
Creating a Request
data UpdateRegionSettings Source #
See: newUpdateRegionSettings
smart constructor.
UpdateRegionSettings' | |
|
Instances
newUpdateRegionSettings :: UpdateRegionSettings Source #
Create a value of UpdateRegionSettings
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:resourceTypeOptInPreference:UpdateRegionSettings'
, updateRegionSettings_resourceTypeOptInPreference
- Updates the list of services along with the opt-in preferences for the
Region.
Request Lenses
updateRegionSettings_resourceTypeOptInPreference :: Lens' UpdateRegionSettings (Maybe (HashMap Text Bool)) Source #
Updates the list of services along with the opt-in preferences for the Region.
Destructuring the Response
data UpdateRegionSettingsResponse Source #
See: newUpdateRegionSettingsResponse
smart constructor.
Instances
newUpdateRegionSettingsResponse :: UpdateRegionSettingsResponse Source #
Create a value of UpdateRegionSettingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.