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

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Data CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.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 # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Show CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Generic CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Associated Types

type Rep CreateClusterSnapshot :: Type -> Type #

Hashable CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

AWSRequest CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Associated Types

type Rs CreateClusterSnapshot :: Type #

ToHeaders CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

ToPath CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

ToQuery CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

NFData CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Methods

rnf :: CreateClusterSnapshot -> () #

type Rep CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

type Rep CreateClusterSnapshot = D1 (MetaData "CreateClusterSnapshot" "Network.AWS.Redshift.CreateClusterSnapshot" "amazonka-redshift-1.6.1-7E7pXybui4gHstewEovezS" False) (C1 (MetaCons "CreateClusterSnapshot'" PrefixI True) (S1 (MetaSel (Just "_ccsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 (MetaSel (Just "_ccsSnapshotIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccsClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateClusterSnapshot # 
Instance details

Defined in Network.AWS.Redshift.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 # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Data CreateClusterSnapshotResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

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

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Show CreateClusterSnapshotResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Generic CreateClusterSnapshotResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

Associated Types

type Rep CreateClusterSnapshotResponse :: Type -> Type #

NFData CreateClusterSnapshotResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

type Rep CreateClusterSnapshotResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateClusterSnapshot

type Rep CreateClusterSnapshotResponse = D1 (MetaData "CreateClusterSnapshotResponse" "Network.AWS.Redshift.CreateClusterSnapshot" "amazonka-redshift-1.6.1-7E7pXybui4gHstewEovezS" False) (C1 (MetaCons "CreateClusterSnapshotResponse'" PrefixI True) (S1 (MetaSel (Just "_crersSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Snapshot)) :*: S1 (MetaSel (Just "_crersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses