AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Sets the transition lifecycle of a recovery point.
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Resource types that can transition to cold storage are listed in the Feature availability by resource table. Backup ignores this expression for other resource types.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
If your lifecycle currently uses the parameters DeleteAfterDays
and MoveToColdStorageAfterDays
,
include these parameters and their values when you call this operation. Not including
them may result in your plan updating with null values.
This operation does not support continuous backups.
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateRecoveryPointLifecycleAsync.
Namespace: Amazon.Backup
Assembly: AWSSDK.Backup.dll
Version: 3.x.y.z
public virtual UpdateRecoveryPointLifecycleResponse UpdateRecoveryPointLifecycle( UpdateRecoveryPointLifecycleRequest request )
Container for the necessary parameters to execute the UpdateRecoveryPointLifecycle service method.
Exception | Condition |
---|---|
InvalidParameterValueException | Indicates that something is wrong with a parameter's value. For example, the value is out of range. |
InvalidRequestException | Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type. |
MissingParameterValueException | Indicates that a required parameter is missing. |
ResourceNotFoundException | A resource that is required for the action doesn't exist. |
ServiceUnavailableException | The request failed due to a temporary failure of the server. |
.NET Framework:
Supported in: 4.5 and newer, 3.5