AWS Backup

2021/11/23 - AWS Backup - 2 updated api methods

Changes  This release adds new opt-in settings for advanced features for DynamoDB backups

DescribeRegionSettings (updated) Link ¶
Changes (response)
{'ResourceTypeManagementPreference': {'string': 'boolean'}}

Returns 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.

See also: AWS API Documentation

Request Syntax

client.describe_region_settings()
rtype

dict

returns

Response Syntax

{
    'ResourceTypeOptInPreference': {
        'string': True|False
    },
    'ResourceTypeManagementPreference': {
        '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) --

    • ResourceTypeManagementPreference (dict) --

      Returns whether a DynamoDB recovery point was taken using Backup's advanced DynamoDB backup features .

      • (string) --

        • (boolean) --

UpdateRegionSettings (updated) Link ¶
Changes (request)
{'ResourceTypeManagementPreference': {'string': 'boolean'}}

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.

See also: AWS API Documentation

Request Syntax

client.update_region_settings(
    ResourceTypeOptInPreference={
        'string': True|False
    },
    ResourceTypeManagementPreference={
        'string': True|False
    }
)
type ResourceTypeOptInPreference

dict

param ResourceTypeOptInPreference

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

  • (string) --

    • (boolean) --

type ResourceTypeManagementPreference

dict

param ResourceTypeManagementPreference

Enables or disables Backup's advanced DynamoDB backup features for the Region.

  • (string) --

    • (boolean) --

returns

None