Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Disables the automatic copying of snapshots from one region to another region for a specified cluster.
If your cluster and its snapshots are encrypted using a customer master key (CMK) from AWS KMS, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the CMK in the destination region.
See: AWS API Reference for DisableSnapshotCopy.
- disableSnapshotCopy :: Text -> DisableSnapshotCopy
- data DisableSnapshotCopy
- dscClusterIdentifier :: Lens' DisableSnapshotCopy Text
- disableSnapshotCopyResponse :: Int -> DisableSnapshotCopyResponse
- data DisableSnapshotCopyResponse
- dscrsCluster :: Lens' DisableSnapshotCopyResponse (Maybe Cluster)
- dscrsStatus :: Lens' DisableSnapshotCopyResponse Int
Creating a Request
Creates a value of DisableSnapshotCopy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisableSnapshotCopy Source
See: disableSnapshotCopy
smart constructor.
Request Lenses
dscClusterIdentifier :: Lens' DisableSnapshotCopy Text Source
The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.
Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.
Destructuring the Response
disableSnapshotCopyResponse Source
Creates a value of DisableSnapshotCopyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisableSnapshotCopyResponse Source
See: disableSnapshotCopyResponse
smart constructor.
Response Lenses
dscrsCluster :: Lens' DisableSnapshotCopyResponse (Maybe Cluster) Source
Undocumented member.
dscrsStatus :: Lens' DisableSnapshotCopyResponse Int Source
The response status code.