AWS SDK Version 2 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.

.NET Framework 3.5
 
Modifies the number of days to retain automated snapshots in the destination region after they are copied from the source region.

Namespace: Amazon.Redshift
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual ModifySnapshotCopyRetentionPeriodResponse ModifySnapshotCopyRetentionPeriod(
         ModifySnapshotCopyRetentionPeriodRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.ModifySnapshotCopyRetentionPeriodRequest

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

Return Value
Type: Amazon.Redshift.Model.ModifySnapshotCopyRetentionPeriodResponse
The response from the ModifySnapshotCopyRetentionPeriod service method, as returned by Redshift.

Exceptions

ExceptionCondition
ClusterNotFoundException The ClusterIdentifier parameter does not refer to an existing cluster.
InvalidClusterStateException The specified cluster is not in the available state.
SnapshotCopyDisabledException Cross-region snapshot copy was temporarily disabled. Try your request again.
UnauthorizedOperationException Your account is not authorized to perform the requested operation.

Version Information

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