:doc:`Backup <../../backup>` / Client / update_region_settings

**********************
update_region_settings
**********************



.. py:method:: Backup.Client.update_region_settings(**kwargs)

  

  Updates the current service opt-in settings for the Region.

   

  Use the ``DescribeRegionSettings`` API to determine the resource types that are supported.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettings>`_  


  **Request Syntax**
  ::

    response = 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.

     

    If resource assignments are only based on tags, then service opt-in settings are applied. If a resource type is explicitly assigned to a backup plan, such as Amazon S3, Amazon EC2, or Amazon RDS, it will be included in the backup even if the opt-in is not enabled for that particular service. If both a resource type and tags are specified in a resource assignment, the resource type specified in the backup plan takes priority over the tag condition. Service opt-in settings are disregarded in this situation.

    

  
    - *(string) --* 

    
      - *(boolean) --* 

      


  :type ResourceTypeManagementPreference: dict
  :param ResourceTypeManagementPreference: 

    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 <https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html>`__, follow the procedure to `enable advanced DynamoDB backup programmatically <https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli>`__.

    

  
    - *(string) --* 

    
      - *(boolean) --* 

      


  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Backup.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Backup.Client.exceptions.MissingParameterValueException`

  
  *   :py:class:`Backup.Client.exceptions.InvalidParameterValueException`

  