Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the CMK 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:
$sel:clusterIdentifier: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.