amazonka-redshift-1.6.0: 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.CreateClusterSnapshot

Contents

Description

Creates a manual snapshot of the specified cluster. The cluster must be in the available state.

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

Synopsis

Creating a Request

createClusterSnapshot Source #

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

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

  • ccsTags - A list of tag instances.
  • ccsSnapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account. Constraints: * Cannot be null, empty, or blank * Must contain from 1 to 255 alphanumeric characters or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id
  • ccsClusterIdentifier - The cluster identifier for which you want a snapshot.

data CreateClusterSnapshot Source #

See: createClusterSnapshot smart constructor.

Instances

Eq CreateClusterSnapshot Source # 
Data CreateClusterSnapshot Source # 

Methods

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

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

toConstr :: CreateClusterSnapshot -> Constr #

dataTypeOf :: CreateClusterSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateClusterSnapshot Source # 
Show CreateClusterSnapshot Source # 
Generic CreateClusterSnapshot Source # 
Hashable CreateClusterSnapshot Source # 
NFData CreateClusterSnapshot Source # 

Methods

rnf :: CreateClusterSnapshot -> () #

AWSRequest CreateClusterSnapshot Source # 
ToHeaders CreateClusterSnapshot Source # 
ToPath CreateClusterSnapshot Source # 
ToQuery CreateClusterSnapshot Source # 
type Rep CreateClusterSnapshot Source # 
type Rep CreateClusterSnapshot = D1 * (MetaData "CreateClusterSnapshot" "Network.AWS.Redshift.CreateClusterSnapshot" "amazonka-redshift-1.6.0-7nAokQL56xfEdvuigF8j6k" False) (C1 * (MetaCons "CreateClusterSnapshot'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccsSnapshotIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ccsClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreateClusterSnapshot Source # 

Request Lenses

ccsTags :: Lens' CreateClusterSnapshot [Tag] Source #

A list of tag instances.

ccsSnapshotIdentifier :: Lens' CreateClusterSnapshot Text Source #

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account. Constraints: * Cannot be null, empty, or blank * Must contain from 1 to 255 alphanumeric characters or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id

ccsClusterIdentifier :: Lens' CreateClusterSnapshot Text Source #

The cluster identifier for which you want a snapshot.

Destructuring the Response

createClusterSnapshotResponse Source #

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

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

data CreateClusterSnapshotResponse Source #

See: createClusterSnapshotResponse smart constructor.

Instances

Eq CreateClusterSnapshotResponse Source # 
Data CreateClusterSnapshotResponse Source # 

Methods

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

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

toConstr :: CreateClusterSnapshotResponse -> Constr #

dataTypeOf :: CreateClusterSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateClusterSnapshotResponse Source # 
Show CreateClusterSnapshotResponse Source # 
Generic CreateClusterSnapshotResponse Source # 
NFData CreateClusterSnapshotResponse Source # 
type Rep CreateClusterSnapshotResponse Source # 
type Rep CreateClusterSnapshotResponse = D1 * (MetaData "CreateClusterSnapshotResponse" "Network.AWS.Redshift.CreateClusterSnapshot" "amazonka-redshift-1.6.0-7nAokQL56xfEdvuigF8j6k" False) (C1 * (MetaCons "CreateClusterSnapshotResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_crersSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Snapshot))) (S1 * (MetaSel (Just Symbol "_crersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses