2020/05/20 - AWS Backup - 2 new api methods
Changes This release allows customers to enable or disable AWS Backup support for an AWS resource type. This release also includes new APIs, update-region-settings and describe-region-settings, which can be used to opt in to a specific resource type. For all current AWS Backup customers, the default settings enable support for EBS, EC2, StorageGateway, EFS, DDB and RDS resource types.
Updates the current service opt-in settings for the region. If the service has a value set to true, AWS Backup will attempt to protect that service's resources in this region, when included in an on-demand backup or scheduled backup plan. If the value is set to false for a service, AWS Backup will not attempt to protect that service's resources in this region.
See also: AWS API Documentation
Request Syntax
client.update_region_settings( ResourceTypeOptInPreference={ 'string': True|False } )
dict
Updates the list of services along with the opt-in preferences for the region.
(string) --
(boolean) --
None
Returns the current service opt-in settings for the region. If the service has a value set to true, AWS Backup will attempt to protect that service's resources in this region, when included in an on-demand backup or scheduled backup plan. If the value is set to false for a service, AWS Backup will not attempt to protect that service's resources in this region.
See also: AWS API Documentation
Request Syntax
client.describe_region_settings()
dict
Response Syntax
{ 'ResourceTypeOptInPreference': { 'string': True|False } }
Response Structure
(dict) --
ResourceTypeOptInPreference (dict) --
Returns a list of all services along with the opt-in preferences in the region.
(string) --
(boolean) --