amazonka-redshift-1.4.3: Amazon Redshift SDK.

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

Network.AWS.Redshift.RevokeSnapshotAccess

Contents

Description

Removes the ability of the specified AWS customer account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

Synopsis

Creating a Request

revokeSnapshotAccess Source #

Creates a value of RevokeSnapshotAccess with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RevokeSnapshotAccess Source #

See: revokeSnapshotAccess smart constructor.

Instances

Eq RevokeSnapshotAccess Source # 
Data RevokeSnapshotAccess Source # 

Methods

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

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

toConstr :: RevokeSnapshotAccess -> Constr #

dataTypeOf :: RevokeSnapshotAccess -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RevokeSnapshotAccess Source # 
Show RevokeSnapshotAccess Source # 
Generic RevokeSnapshotAccess Source # 
Hashable RevokeSnapshotAccess Source # 
NFData RevokeSnapshotAccess Source # 

Methods

rnf :: RevokeSnapshotAccess -> () #

AWSRequest RevokeSnapshotAccess Source # 
ToPath RevokeSnapshotAccess Source # 
ToHeaders RevokeSnapshotAccess Source # 
ToQuery RevokeSnapshotAccess Source # 
type Rep RevokeSnapshotAccess Source # 
type Rep RevokeSnapshotAccess = D1 (MetaData "RevokeSnapshotAccess" "Network.AWS.Redshift.RevokeSnapshotAccess" "amazonka-redshift-1.4.3-AWSyrfpmrT1ruH0Xy72OB" False) (C1 (MetaCons "RevokeSnapshotAccess'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rsaSnapshotClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rsaSnapshotIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rsaAccountWithRestoreAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs RevokeSnapshotAccess Source # 

Request Lenses

rsaSnapshotClusterIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text) Source #

The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

rsaSnapshotIdentifier :: Lens' RevokeSnapshotAccess Text Source #

The identifier of the snapshot that the account can no longer access.

rsaAccountWithRestoreAccess :: Lens' RevokeSnapshotAccess Text Source #

The identifier of the AWS customer account that can no longer restore the specified snapshot.

Destructuring the Response

revokeSnapshotAccessResponse Source #

Creates a value of RevokeSnapshotAccessResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RevokeSnapshotAccessResponse Source #

See: revokeSnapshotAccessResponse smart constructor.

Instances

Eq RevokeSnapshotAccessResponse Source # 
Data RevokeSnapshotAccessResponse Source # 

Methods

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

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

toConstr :: RevokeSnapshotAccessResponse -> Constr #

dataTypeOf :: RevokeSnapshotAccessResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RevokeSnapshotAccessResponse Source # 
Show RevokeSnapshotAccessResponse Source # 
Generic RevokeSnapshotAccessResponse Source # 
NFData RevokeSnapshotAccessResponse Source # 
type Rep RevokeSnapshotAccessResponse Source # 
type Rep RevokeSnapshotAccessResponse = D1 (MetaData "RevokeSnapshotAccessResponse" "Network.AWS.Redshift.RevokeSnapshotAccess" "amazonka-redshift-1.4.3-AWSyrfpmrT1ruH0Xy72OB" False) (C1 (MetaCons "RevokeSnapshotAccessResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rsarsSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Snapshot))) (S1 (MetaSel (Just Symbol "_rsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses