odb / Client / update_autonomous_database_backup

update_autonomous_database_backup

odb.Client.update_autonomous_database_backup(**kwargs)

Updates the properties of an Autonomous Database backup.

See also: AWS API Documentation

Request Syntax

response = client.update_autonomous_database_backup(
    autonomousDatabaseBackupId='string',
    retentionPeriodInDays=123
)
Parameters:
  • autonomousDatabaseBackupId (string) –

    [REQUIRED]

    The unique identifier of the Autonomous Database backup to update.

  • retentionPeriodInDays (integer) – The retention period, in days, for the Autonomous Database backup.

Return type:

dict

Returns:

Response Syntax

{
    'displayName': 'string',
    'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS',
    'statusReason': 'string',
    'autonomousDatabaseBackupId': 'string'
}

Response Structure

  • (dict) –

    • displayName (string) –

      The user-friendly name of the Autonomous Database backup.

    • status (string) –

      The current status of the Autonomous Database backup.

    • statusReason (string) –

      Additional information about the current status of the Autonomous Database backup, if applicable.

    • autonomousDatabaseBackupId (string) –

      The unique identifier of the Autonomous Database backup that was updated.

Exceptions

  • odb.Client.exceptions.ThrottlingException

  • odb.Client.exceptions.ValidationException

  • odb.Client.exceptions.ConflictException

  • odb.Client.exceptions.AccessDeniedException

  • odb.Client.exceptions.InternalServerException

  • odb.Client.exceptions.ResourceNotFoundException