AWS Backup

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.

DescribeRegionSettings (new) Link ¶

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()
rtype

dict

returns

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) --

UpdateRegionSettings (new) Link ¶

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
    }
)
type ResourceTypeOptInPreference

dict

param ResourceTypeOptInPreference

Updates the list of services along with the opt-in preferences for the region.

  • (string) --

    • (boolean) --

returns

None