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:

This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginUpdateRecoveryPointLifecycle and EndUpdateRecoveryPointLifecycle.

Namespace: Amazon.Backup
Assembly: AWSSDK.Backup.dll
Version: 3.x.y.z

Syntax

C#
public abstract Task<UpdateRecoveryPointLifecycleResponse> UpdateRecoveryPointLifecycleAsync(
         UpdateRecoveryPointLifecycleRequest request,
         CancellationToken cancellationToken
)

Parameters

request
Type: Amazon.Backup.Model.UpdateRecoveryPointLifecycleRequest

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

cancellationToken
Type: System.Threading.CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5

See Also