create_autonomous_database_backup
async
¶
create_autonomous_database_backup(
autonomous_database_id: ResourceIdOrArn,
*,
config_overrides: Optional[AsyncodbClientConfig] = None,
display_name: Optional[ResourceDisplayName] = None,
retention_period_in_days: Optional[int] = None,
client_token: Optional[GeneralInputString] = None,
tags: Optional[RequestTagMap] = None,
) -> CreateAutonomousDatabaseBackupOutput
Creates a new backup of the specified Autonomous Database.
Parameters:
-
autonomous_database_id(ResourceIdOrArn) –The unique identifier of the Autonomous Database to back up.
-
display_name(Optional[ResourceDisplayName], default:None) –The user-friendly name for the Autonomous Database backup.
-
retention_period_in_days(Optional[int], default:None) –The retention period, in days, for the Autonomous Database backup.
-
client_token(Optional[GeneralInputString], default:None) –A client-provided token to ensure the idempotency of the request.
-
tags(Optional[RequestTagMap], default:None) –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.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.
-
ConflictException–Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.
-
InternalServerException–Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.
-
ResourceNotFoundException–The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.
-
ServiceQuotaExceededException–You have exceeded the service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request has failed validation because it is missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_odb/_services/async_odb.py
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 | |