Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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 an encrypted symmetric key from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the key in the destination region.
Synopsis
- data DisableSnapshotCopy = DisableSnapshotCopy' {}
- newDisableSnapshotCopy :: Text -> DisableSnapshotCopy
- disableSnapshotCopy_clusterIdentifier :: Lens' DisableSnapshotCopy Text
- data DisableSnapshotCopyResponse = DisableSnapshotCopyResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newDisableSnapshotCopyResponse :: Int -> DisableSnapshotCopyResponse
- disableSnapshotCopyResponse_cluster :: Lens' DisableSnapshotCopyResponse (Maybe Cluster)
- disableSnapshotCopyResponse_httpStatus :: Lens' DisableSnapshotCopyResponse Int
Creating a Request
data DisableSnapshotCopy Source #
See: newDisableSnapshotCopy
smart constructor.
DisableSnapshotCopy' | |
|
Instances
newDisableSnapshotCopy Source #
Create a value of DisableSnapshotCopy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DisableSnapshotCopy
, disableSnapshotCopy_clusterIdentifier
- 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.
Request Lenses
disableSnapshotCopy_clusterIdentifier :: 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
data DisableSnapshotCopyResponse Source #
See: newDisableSnapshotCopyResponse
smart constructor.
DisableSnapshotCopyResponse' | |
|
Instances
newDisableSnapshotCopyResponse Source #
Create a value of DisableSnapshotCopyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cluster:DisableSnapshotCopyResponse'
, disableSnapshotCopyResponse_cluster
- Undocumented member.
$sel:httpStatus:DisableSnapshotCopyResponse'
, disableSnapshotCopyResponse_httpStatus
- The response's http status code.
Response Lenses
disableSnapshotCopyResponse_cluster :: Lens' DisableSnapshotCopyResponse (Maybe Cluster) Source #
Undocumented member.
disableSnapshotCopyResponse_httpStatus :: Lens' DisableSnapshotCopyResponse Int Source #
The response's http status code.