amazonka-redshift-1.3.5: Amazon Redshift SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod

Contents

Description

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

See: AWS API Reference for ModifySnapshotCopyRetentionPeriod.

Synopsis

Creating a Request

modifySnapshotCopyRetentionPeriod Source

Creates a value of ModifySnapshotCopyRetentionPeriod with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

mscrpClusterIdentifier :: Lens' ModifySnapshotCopyRetentionPeriod Text Source

The unique identifier of the cluster for which you want to change the retention period for automated snapshots that are copied to a destination region.

Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.

mscrpRetentionPeriod :: Lens' ModifySnapshotCopyRetentionPeriod Int Source

The number of days to retain automated snapshots in the destination region after they are copied from the source region.

If you decrease the retention period for automated snapshots that are copied to a destination region, Amazon Redshift will delete any existing automated snapshots that were copied to the destination region and that fall outside of the new retention period.

Constraints: Must be at least 1 and no more than 35.

Destructuring the Response

modifySnapshotCopyRetentionPeriodResponse Source

Creates a value of ModifySnapshotCopyRetentionPeriodResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses