amazonka-redshift-1.4.5: 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.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 #

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 #

See: createClusterSnapshot smart constructor.

Instances

Eq CreateClusterSnapshot # 
Data CreateClusterSnapshot # 

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 # 
Show CreateClusterSnapshot # 
Generic CreateClusterSnapshot # 
Hashable CreateClusterSnapshot # 
NFData CreateClusterSnapshot # 

Methods

rnf :: CreateClusterSnapshot -> () #

AWSRequest CreateClusterSnapshot # 
ToQuery CreateClusterSnapshot # 
ToPath CreateClusterSnapshot # 
ToHeaders CreateClusterSnapshot # 
type Rep CreateClusterSnapshot # 
type Rep CreateClusterSnapshot = D1 (MetaData "CreateClusterSnapshot" "Network.AWS.Redshift.CreateClusterSnapshot" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" 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 # 

Request Lenses

ccsTags :: Lens' CreateClusterSnapshot [Tag] #

A list of tag instances.

ccsSnapshotIdentifier :: Lens' CreateClusterSnapshot Text #

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 #

The cluster identifier for which you want a snapshot.

Destructuring the Response

createClusterSnapshotResponse #

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 #

See: createClusterSnapshotResponse smart constructor.

Instances

Eq CreateClusterSnapshotResponse # 
Data CreateClusterSnapshotResponse # 

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 # 
Show CreateClusterSnapshotResponse # 
Generic CreateClusterSnapshotResponse # 
NFData CreateClusterSnapshotResponse # 
type Rep CreateClusterSnapshotResponse # 
type Rep CreateClusterSnapshotResponse = D1 (MetaData "CreateClusterSnapshotResponse" "Network.AWS.Redshift.CreateClusterSnapshot" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" False) (C1 (MetaCons "CreateClusterSnapshotResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crersSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Snapshot))) (S1 (MetaSel (Just Symbol "_crersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses