odb / Client / start_autonomous_database_refresh

start_autonomous_database_refresh

odb.Client.start_autonomous_database_refresh(**kwargs)

Starts a refresh of the specified refreshable clone Autonomous Database with data from its source database. The refresh runs asynchronously. To track its progress, check the refreshableStatus of the Autonomous Database.

See also: AWS API Documentation

Request Syntax

response = client.start_autonomous_database_refresh(
    autonomousDatabaseId='string',
    timeOfRefreshCutoff=datetime(2015, 1, 1)
)
Parameters:
  • autonomousDatabaseId (string) –

    [REQUIRED]

    The unique identifier of the refreshable clone Autonomous Database to refresh.

  • timeOfRefreshCutoff (datetime) – The date and time up to which the refreshable clone Autonomous Database is refreshed from its source database. Data committed on the source database after this time isn’t applied to the refreshable clone. The time must be at least 1 minute and at most 7 days in the past, and later than the clone’s last refresh point.

Return type:

dict

Returns:

Response Syntax

{
    'autonomousDatabaseId': 'string',
    'displayName': 'string',
    'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS'|'STOPPING'|'STOPPED'|'STARTING'|'UNAVAILABLE'|'RESTORE_IN_PROGRESS'|'RESTORE_FAILED'|'BACKUP_IN_PROGRESS'|'SCALE_IN_PROGRESS'|'AVAILABLE_NEEDS_ATTENTION'|'RESTARTING'|'RECREATING'|'ROLE_CHANGE_IN_PROGRESS'|'UPGRADING'|'INACCESSIBLE'|'STANDBY',
    'statusReason': 'string',
    'refreshableStatus': 'REFRESHING'|'NOT_REFRESHING'
}

Response Structure

  • (dict) –

    • autonomousDatabaseId (string) –

      The unique identifier of the refreshable clone Autonomous Database that is being refreshed.

    • displayName (string) –

      The user-friendly name of the Autonomous Database.

    • status (string) –

      The current status of the Autonomous Database.

    • statusReason (string) –

      Additional information about the current status of the Autonomous Database.

    • refreshableStatus (string) –

      The refresh status of the refreshable clone Autonomous Database.

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