Backup / Client / update_region_settings

update_region_settings#

Backup.Client.update_region_settings(**kwargs)#

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

response = client.update_region_settings(
    ResourceTypeOptInPreference={
        'string': True|False
    },
    ResourceTypeManagementPreference={
        'string': True|False
    }
)
Parameters:
  • ResourceTypeOptInPreference (dict) –

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

    • (string) –

      • (boolean) –

  • ResourceTypeManagementPreference (dict) –

    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.

    • (string) –

      • (boolean) –

Returns:

None

Exceptions

  • Backup.Client.exceptions.ServiceUnavailableException

  • Backup.Client.exceptions.MissingParameterValueException

  • Backup.Client.exceptions.InvalidParameterValueException