convert_recovery_point_to_snapshot
async
¶
convert_recovery_point_to_snapshot(
recovery_point_id: str,
snapshot_name: str,
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
retention_period: Optional[int] = None,
tags: Optional[TagList] = None,
) -> ConvertRecoveryPointToSnapshotResponse
Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.
Parameters:
-
recovery_point_id(str) –The unique identifier of the recovery point.
-
snapshot_name(str) –The name of the snapshot.
-
retention_period(Optional[int], default:None) –How long to retain the snapshot.
-
tags(Optional[TagList], default:None) –An array of Tag objects to associate with the created snapshot.
Raises:
-
ConflictException–The submitted action has conflicts.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource could not be found.
-
ServiceQuotaExceededException–The service limit was exceeded.
-
TooManyTagsException–The request exceeded the number of tags allowed for a resource.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift_serverless/_services/async_redshift_serverless.py
2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 | |