create_autonomous_database_backup
¶
create_autonomous_database_backup(
autonomous_database_id: ResourceIdOrArn,
*,
config_overrides: Optional[odbClientConfig] = 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/odb.py
1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 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 | |