amazonka-redshift-1.6.1: Amazon Redshift SDK.

Copyright(c) 2013-2018 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.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:

  • rsaSnapshotClusterIdentifier - 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 - The identifier of the snapshot that the account can no longer access.
  • rsaAccountWithRestoreAccess - The identifier of the AWS customer account that can no longer restore the specified snapshot.

data RevokeSnapshotAccess Source #

See: revokeSnapshotAccess smart constructor.

Instances
Eq RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Data RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

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 # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Show RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Generic RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Associated Types

type Rep RevokeSnapshotAccess :: Type -> Type #

Hashable RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

AWSRequest RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Associated Types

type Rs RevokeSnapshotAccess :: Type #

ToHeaders RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

ToPath RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

ToQuery RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

NFData RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Methods

rnf :: RevokeSnapshotAccess -> () #

type Rep RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

type Rep RevokeSnapshotAccess = D1 (MetaData "RevokeSnapshotAccess" "Network.AWS.Redshift.RevokeSnapshotAccess" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "RevokeSnapshotAccess'" PrefixI True) (S1 (MetaSel (Just "_rsaSnapshotClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rsaSnapshotIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rsaAccountWithRestoreAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs RevokeSnapshotAccess Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

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 # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Data RevokeSnapshotAccessResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

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 # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Show RevokeSnapshotAccessResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Generic RevokeSnapshotAccessResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Associated Types

type Rep RevokeSnapshotAccessResponse :: Type -> Type #

NFData RevokeSnapshotAccessResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

type Rep RevokeSnapshotAccessResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

type Rep RevokeSnapshotAccessResponse = D1 (MetaData "RevokeSnapshotAccessResponse" "Network.AWS.Redshift.RevokeSnapshotAccess" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "RevokeSnapshotAccessResponse'" PrefixI True) (S1 (MetaSel (Just "_rsarsSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Snapshot)) :*: S1 (MetaSel (Just "_rsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses