AWS SDK Version 3 for .NET
API Reference

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.

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.

Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.

This operation does not support continuous backups.

Note:

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

Syntax

C#
public virtual UpdateRecoveryPointLifecycleResponse UpdateRecoveryPointLifecycle(
         UpdateRecoveryPointLifecycleRequest request
)

Parameters

request
Type: Amazon.Backup.Model.UpdateRecoveryPointLifecycleRequest

Container for the necessary parameters to execute the UpdateRecoveryPointLifecycle service method.

Return Value


The response from the UpdateRecoveryPointLifecycle service method, as returned by Backup.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also