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.Backup.UpdateRegionSettings
Description
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_resourceTypeManagementPreference :: Lens' UpdateRegionSettings (Maybe (HashMap Text Bool))
- updateRegionSettings_resourceTypeOptInPreference :: Lens' UpdateRegionSettings (Maybe (HashMap Text Bool))
- data UpdateRegionSettingsResponse = UpdateRegionSettingsResponse' {
- newUpdateRegionSettingsResponse :: UpdateRegionSettingsResponse
Creating a Request
data UpdateRegionSettings Source #
See: newUpdateRegionSettings
smart constructor.
Constructors
UpdateRegionSettings' | |
Fields
|
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:resourceTypeManagementPreference:UpdateRegionSettings'
, updateRegionSettings_resourceTypeManagementPreference
- Enables or disables full Backup management of backups for a resource
type. To enable full Backup management for DynamoDB along with
Backup's advanced DynamoDB backup features,
follow the procedure to
enable advanced DynamoDB backup programmatically.
$sel:resourceTypeOptInPreference:UpdateRegionSettings'
, updateRegionSettings_resourceTypeOptInPreference
- Updates the list of services along with the opt-in preferences for the
Region.
Request Lenses
updateRegionSettings_resourceTypeManagementPreference :: Lens' UpdateRegionSettings (Maybe (HashMap Text Bool)) Source #
Enables or disables full Backup management of backups for a resource type. To enable full Backup management for DynamoDB along with Backup's advanced DynamoDB backup features, follow the procedure to enable advanced DynamoDB backup programmatically.
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.
Constructors
UpdateRegionSettingsResponse' | |
Instances
Generic UpdateRegionSettingsResponse Source # | |
Defined in Amazonka.Backup.UpdateRegionSettings Associated Types type Rep UpdateRegionSettingsResponse :: Type -> Type # | |
Read UpdateRegionSettingsResponse Source # | |
Show UpdateRegionSettingsResponse Source # | |
Defined in Amazonka.Backup.UpdateRegionSettings Methods showsPrec :: Int -> UpdateRegionSettingsResponse -> ShowS # show :: UpdateRegionSettingsResponse -> String # showList :: [UpdateRegionSettingsResponse] -> ShowS # | |
NFData UpdateRegionSettingsResponse Source # | |
Defined in Amazonka.Backup.UpdateRegionSettings Methods rnf :: UpdateRegionSettingsResponse -> () # | |
Eq UpdateRegionSettingsResponse Source # | |
Defined in Amazonka.Backup.UpdateRegionSettings Methods (==) :: UpdateRegionSettingsResponse -> UpdateRegionSettingsResponse -> Bool # (/=) :: UpdateRegionSettingsResponse -> UpdateRegionSettingsResponse -> Bool # | |
type Rep UpdateRegionSettingsResponse Source # | |
Defined in Amazonka.Backup.UpdateRegionSettings |
newUpdateRegionSettingsResponse :: UpdateRegionSettingsResponse Source #
Create a value of UpdateRegionSettingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.