amazonka-redshift-1.0.0: 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.EnableSnapshotCopy

Contents

Description

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

See: AWS API Reference for EnableSnapshotCopy.

Synopsis

Creating a Request

enableSnapshotCopy Source

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

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

Request Lenses

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.

escSnapshotCopyGrantName :: Lens' EnableSnapshotCopy (Maybe Text) Source

The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.

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.

Destructuring the Response

enableSnapshotCopyResponse Source

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

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

Response Lenses