Safe Haskell | None |
---|---|
Language | Haskell2010 |
Enables the automatic copy of snapshots from one region to another region for a specified cluster.
http://docs.aws.amazon.com/redshift/latest/APIReference/API_EnableSnapshotCopy.html
- data EnableSnapshotCopy
- enableSnapshotCopy :: Text -> Text -> EnableSnapshotCopy
- escClusterIdentifier :: Lens' EnableSnapshotCopy Text
- escDestinationRegion :: Lens' EnableSnapshotCopy Text
- escRetentionPeriod :: Lens' EnableSnapshotCopy (Maybe Int)
- data EnableSnapshotCopyResponse
- enableSnapshotCopyResponse :: EnableSnapshotCopyResponse
- escrCluster :: Lens' EnableSnapshotCopyResponse (Maybe Cluster)
Request
data EnableSnapshotCopy Source
Request constructor
EnableSnapshotCopy
constructor.
The fields accessible through corresponding lenses are:
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
Response constructor
enableSnapshotCopyResponse :: EnableSnapshotCopyResponse Source
EnableSnapshotCopyResponse
constructor.
The fields accessible through corresponding lenses are: