amazonka-redshift-1.5.0: Amazon Redshift SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Redshift.DisableSnapshotCopy

Contents

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.

Synopsis

Creating a Request

disableSnapshotCopy Source #

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:

  • dscClusterIdentifier - 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.

data DisableSnapshotCopy Source #

See: disableSnapshotCopy smart constructor.

Instances

Eq DisableSnapshotCopy Source # 
Data DisableSnapshotCopy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisableSnapshotCopy -> c DisableSnapshotCopy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisableSnapshotCopy #

toConstr :: DisableSnapshotCopy -> Constr #

dataTypeOf :: DisableSnapshotCopy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DisableSnapshotCopy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisableSnapshotCopy) #

gmapT :: (forall b. Data b => b -> b) -> DisableSnapshotCopy -> DisableSnapshotCopy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisableSnapshotCopy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisableSnapshotCopy -> r #

gmapQ :: (forall d. Data d => d -> u) -> DisableSnapshotCopy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisableSnapshotCopy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisableSnapshotCopy -> m DisableSnapshotCopy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableSnapshotCopy -> m DisableSnapshotCopy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableSnapshotCopy -> m DisableSnapshotCopy #

Read DisableSnapshotCopy Source # 
Show DisableSnapshotCopy Source # 
Generic DisableSnapshotCopy Source # 
Hashable DisableSnapshotCopy Source # 
NFData DisableSnapshotCopy Source # 

Methods

rnf :: DisableSnapshotCopy -> () #

AWSRequest DisableSnapshotCopy Source # 
ToQuery DisableSnapshotCopy Source # 
ToPath DisableSnapshotCopy Source # 
ToHeaders DisableSnapshotCopy Source # 
type Rep DisableSnapshotCopy Source # 
type Rep DisableSnapshotCopy = D1 (MetaData "DisableSnapshotCopy" "Network.AWS.Redshift.DisableSnapshotCopy" "amazonka-redshift-1.5.0-Dab3rZV2tPBCgimwpoJly0" True) (C1 (MetaCons "DisableSnapshotCopy'" PrefixI True) (S1 (MetaSel (Just Symbol "_dscClusterIdentifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DisableSnapshotCopy Source # 

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.

Instances

Eq DisableSnapshotCopyResponse Source # 
Data DisableSnapshotCopyResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisableSnapshotCopyResponse -> c DisableSnapshotCopyResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisableSnapshotCopyResponse #

toConstr :: DisableSnapshotCopyResponse -> Constr #

dataTypeOf :: DisableSnapshotCopyResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DisableSnapshotCopyResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisableSnapshotCopyResponse) #

gmapT :: (forall b. Data b => b -> b) -> DisableSnapshotCopyResponse -> DisableSnapshotCopyResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisableSnapshotCopyResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisableSnapshotCopyResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DisableSnapshotCopyResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisableSnapshotCopyResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisableSnapshotCopyResponse -> m DisableSnapshotCopyResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableSnapshotCopyResponse -> m DisableSnapshotCopyResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisableSnapshotCopyResponse -> m DisableSnapshotCopyResponse #

Read DisableSnapshotCopyResponse Source # 
Show DisableSnapshotCopyResponse Source # 
Generic DisableSnapshotCopyResponse Source # 
NFData DisableSnapshotCopyResponse Source # 
type Rep DisableSnapshotCopyResponse Source # 
type Rep DisableSnapshotCopyResponse = D1 (MetaData "DisableSnapshotCopyResponse" "Network.AWS.Redshift.DisableSnapshotCopy" "amazonka-redshift-1.5.0-Dab3rZV2tPBCgimwpoJly0" False) (C1 (MetaCons "DisableSnapshotCopyResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dscrsCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Cluster))) (S1 (MetaSel (Just Symbol "_dscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses