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
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 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 | |