create_db_backup
¶
create_db_backup(
name: DbBackupName,
db_resource_id: DbResourceId,
*,
config_overrides: Optional[TimestreamInfluxDBClientConfig] = None,
retention_days: Optional[RetentionDays] = None,
tags: Optional[RequestTagMap] = None,
) -> CreateDbBackupOutput
Creates a new on-demand backup of a Timestream for InfluxDB resource.
Parameters:
-
name(DbBackupName) –The name of the backup. Must be unique within the account and region.
-
db_resource_id(DbResourceId) –The id of the DB instance or DB cluster to back up.
-
retention_days(Optional[RetentionDays], default:None) –The number of days to retain the backup. Valid values are 1 to 3650.
-
tags(Optional[RequestTagMap], default:None) –A list of key-value pairs to associate with the backup.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request conflicts with an existing resource in Timestream for InfluxDB.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The requested resource was not found or does not exist.
-
ServiceQuotaExceededException–The request exceeds the service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by Timestream for InfluxDB.
-
UnknownServiceError–The service returned an error code this client does not model.