odb / Client / create_autonomous_database_backup

create_autonomous_database_backup

odb.Client.create_autonomous_database_backup(**kwargs)

Creates a new backup of the specified Autonomous Database.

See also: AWS API Documentation

Request Syntax

response = client.create_autonomous_database_backup(
    autonomousDatabaseId='string',
    displayName='string',
    retentionPeriodInDays=123,
    clientToken='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • autonomousDatabaseId (string) –

    [REQUIRED]

    The unique identifier of the Autonomous Database to back up.

  • displayName (string) – The user-friendly name for the Autonomous Database backup.

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

  • clientToken (string) –

    A client-provided token to ensure the idempotency of the request.

    This field is autopopulated if not provided.

  • tags (dict) –

    The list of resource tags to apply to the Autonomous Database backup. Each tag is a key-value pair with no predefined name, type, or namespace.

    • (string) –

      • (string) –

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 that was created.

    • 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 created.

Exceptions

  • odb.Client.exceptions.ThrottlingException

  • odb.Client.exceptions.ServiceQuotaExceededException

  • odb.Client.exceptions.ValidationException

  • odb.Client.exceptions.ConflictException

  • odb.Client.exceptions.AccessDeniedException

  • odb.Client.exceptions.InternalServerException

  • odb.Client.exceptions.ResourceNotFoundException