Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod
Description
Modifies the number of days to retain automated snapshots in the destination region after they are copied from the source region.
http://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifySnapshotCopyRetentionPeriod.html
- data ModifySnapshotCopyRetentionPeriod
- modifySnapshotCopyRetentionPeriod :: Text -> Int -> ModifySnapshotCopyRetentionPeriod
- mscrpClusterIdentifier :: Lens' ModifySnapshotCopyRetentionPeriod Text
- mscrpRetentionPeriod :: Lens' ModifySnapshotCopyRetentionPeriod Int
- data ModifySnapshotCopyRetentionPeriodResponse
- modifySnapshotCopyRetentionPeriodResponse :: ModifySnapshotCopyRetentionPeriodResponse
- mscrprCluster :: Lens' ModifySnapshotCopyRetentionPeriodResponse (Maybe Cluster)
Request
data ModifySnapshotCopyRetentionPeriod Source
Instances
Request constructor
modifySnapshotCopyRetentionPeriod Source
Arguments
:: Text | |
-> Int | |
-> ModifySnapshotCopyRetentionPeriod |
ModifySnapshotCopyRetentionPeriod
constructor.
The fields accessible through corresponding lenses are:
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.
Response
Response constructor
modifySnapshotCopyRetentionPeriodResponse :: ModifySnapshotCopyRetentionPeriodResponse Source
ModifySnapshotCopyRetentionPeriodResponse
constructor.
The fields accessible through corresponding lenses are: