AWS Backup

2020/05/20 - AWS Backup - 2 new api methods

Changes  Update backup client to latest version

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