odb / Client / restore_autonomous_database
restore_autonomous_database¶
- odb.Client.restore_autonomous_database(**kwargs)¶
Restores the specified Autonomous Database to a point in time.
See also: AWS API Documentation
Request Syntax
response = client.restore_autonomous_database( autonomousDatabaseId='string', timestamp=datetime(2015, 1, 1) )
- Parameters:
autonomousDatabaseId (string) –
[REQUIRED]
The unique identifier of the Autonomous Database to restore.
timestamp (datetime) –
[REQUIRED]
The date and time to which to restore the Autonomous Database.
- 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' }
Response Structure
(dict) –
autonomousDatabaseId (string) –
The unique identifier of the Autonomous Database that was restored.
displayName (string) –
The user-friendly name of the Autonomous Database.
status (string) –
The current status of the Autonomous Database after the restore operation.
statusReason (string) –
Additional information about the status of the Autonomous Database after the restore operation.
Exceptions
odb.Client.exceptions.ThrottlingExceptionodb.Client.exceptions.ValidationExceptionodb.Client.exceptions.ConflictExceptionodb.Client.exceptions.AccessDeniedExceptionodb.Client.exceptions.InternalServerExceptionodb.Client.exceptions.ResourceNotFoundException