| 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 |
Network.AWS.Redshift.DisableSnapshotCopy
Description
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)
- dscrsResponseStatus :: Lens' DisableSnapshotCopyResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DisableSnapshotCopy |
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.
Instances
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
Arguments
| :: Int | |
| -> DisableSnapshotCopyResponse |
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.
dscrsResponseStatus :: Lens' DisableSnapshotCopyResponse Int Source
The response status code.