amazonka-rds-1.5.0: Amazon Relational Database Service SDK.

Copyright(c) 2013-2017 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.RDS.CreateDBClusterSnapshot

Contents

Description

Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Synopsis

Creating a Request

createDBClusterSnapshot Source #

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

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

  • cdcsTags - The tags to be assigned to the DB cluster snapshot.
  • cdcsDBClusterSnapshotIdentifier - The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string. Constraints: * Must contain from 1 to 63 letters, numbers, or hyphens. * First character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster1-snapshot1
  • cdcsDBClusterIdentifier - The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive. Constraints: * Must match the identifier of an existing DBCluster. Example: my-cluster1

data CreateDBClusterSnapshot Source #

See: createDBClusterSnapshot smart constructor.

Instances

Eq CreateDBClusterSnapshot Source # 
Data CreateDBClusterSnapshot Source # 

Methods

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

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

toConstr :: CreateDBClusterSnapshot -> Constr #

dataTypeOf :: CreateDBClusterSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDBClusterSnapshot Source # 
Show CreateDBClusterSnapshot Source # 
Generic CreateDBClusterSnapshot Source # 
Hashable CreateDBClusterSnapshot Source # 
NFData CreateDBClusterSnapshot Source # 

Methods

rnf :: CreateDBClusterSnapshot -> () #

AWSRequest CreateDBClusterSnapshot Source # 
ToQuery CreateDBClusterSnapshot Source # 
ToPath CreateDBClusterSnapshot Source # 
ToHeaders CreateDBClusterSnapshot Source # 
type Rep CreateDBClusterSnapshot Source # 
type Rep CreateDBClusterSnapshot = D1 (MetaData "CreateDBClusterSnapshot" "Network.AWS.RDS.CreateDBClusterSnapshot" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "CreateDBClusterSnapshot'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdcsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdcsDBClusterSnapshotIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cdcsDBClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateDBClusterSnapshot Source # 

Request Lenses

cdcsTags :: Lens' CreateDBClusterSnapshot [Tag] Source #

The tags to be assigned to the DB cluster snapshot.

cdcsDBClusterSnapshotIdentifier :: Lens' CreateDBClusterSnapshot Text Source #

The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string. Constraints: * Must contain from 1 to 63 letters, numbers, or hyphens. * First character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster1-snapshot1

cdcsDBClusterIdentifier :: Lens' CreateDBClusterSnapshot Text Source #

The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive. Constraints: * Must match the identifier of an existing DBCluster. Example: my-cluster1

Destructuring the Response

createDBClusterSnapshotResponse Source #

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

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

data CreateDBClusterSnapshotResponse Source #

See: createDBClusterSnapshotResponse smart constructor.

Instances

Eq CreateDBClusterSnapshotResponse Source # 
Data CreateDBClusterSnapshotResponse Source # 

Methods

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

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

toConstr :: CreateDBClusterSnapshotResponse -> Constr #

dataTypeOf :: CreateDBClusterSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDBClusterSnapshotResponse Source # 
Show CreateDBClusterSnapshotResponse Source # 
Generic CreateDBClusterSnapshotResponse Source # 
NFData CreateDBClusterSnapshotResponse Source # 
type Rep CreateDBClusterSnapshotResponse Source # 
type Rep CreateDBClusterSnapshotResponse = D1 (MetaData "CreateDBClusterSnapshotResponse" "Network.AWS.RDS.CreateDBClusterSnapshot" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "CreateDBClusterSnapshotResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdbcsrsDBClusterSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBClusterSnapshot))) (S1 (MetaSel (Just Symbol "_cdbcsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses