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 #

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 #

See: revokeSnapshotAccess smart constructor.

Instances
Eq RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

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

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Show RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Generic RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Associated Types

type Rep RevokeSnapshotAccess :: Type -> Type #

Hashable RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

AWSRequest RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Associated Types

type Rs RevokeSnapshotAccess :: Type #

ToHeaders RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

ToPath RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

ToQuery RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

NFData RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Methods

rnf :: RevokeSnapshotAccess -> () #

type Rep RevokeSnapshotAccess # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

type Rep RevokeSnapshotAccess = D1 (MetaData "RevokeSnapshotAccess" "Network.AWS.Redshift.RevokeSnapshotAccess" "amazonka-redshift-1.6.1-7E7pXybui4gHstewEovezS" 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 # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Request Lenses

rsaSnapshotClusterIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text) #

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 #

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

rsaAccountWithRestoreAccess :: Lens' RevokeSnapshotAccess Text #

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

Destructuring the Response

revokeSnapshotAccessResponse #

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 #

See: revokeSnapshotAccessResponse smart constructor.

Instances
Eq RevokeSnapshotAccessResponse # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

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

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Show RevokeSnapshotAccessResponse # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Generic RevokeSnapshotAccessResponse # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

Associated Types

type Rep RevokeSnapshotAccessResponse :: Type -> Type #

NFData RevokeSnapshotAccessResponse # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

type Rep RevokeSnapshotAccessResponse # 
Instance details

Defined in Network.AWS.Redshift.RevokeSnapshotAccess

type Rep RevokeSnapshotAccessResponse = D1 (MetaData "RevokeSnapshotAccessResponse" "Network.AWS.Redshift.RevokeSnapshotAccess" "amazonka-redshift-1.6.1-7E7pXybui4gHstewEovezS" 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