amazonka-redshift-0.0.5: Amazon Redshift SDK.

Safe HaskellNone




Enables the automatic copy of snapshots from one region to another region for a specified cluster.



Request constructor

Request lenses

escClusterIdentifier :: Lens' EnableSnapshotCopy Text Source

The unique identifier of the source cluster to copy snapshots from.

Constraints: Must be the valid name of an existing cluster that does not already have cross-region snapshot copy enabled.

escDestinationRegion :: Lens' EnableSnapshotCopy Text Source

The destination region that you want to copy snapshots to.

Constraints: Must be the name of a valid region. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.

escRetentionPeriod :: Lens' EnableSnapshotCopy (Maybe Int) Source

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

Default: 7.

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


Response constructor

enableSnapshotCopyResponse :: EnableSnapshotCopyResponse Source

EnableSnapshotCopyResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses