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.CreateDBSnapshot

Contents

Description

Creates a DBSnapshot. The source DBInstance must be in "available" state.

Synopsis

Creating a Request

createDBSnapshot Source #

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

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

  • cdbsTags - Undocumented member.
  • cdbsDBSnapshotIdentifier - The identifier for the DB snapshot. Constraints: * Cannot be null, empty, or blank * Must contain from 1 to 255 letters, numbers, or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id
  • cdbsDBInstanceIdentifier - The identifier of the DB instance that you want to create the snapshot of. Constraints: * Must match the identifier of an existing DBInstance.

data CreateDBSnapshot Source #

See: createDBSnapshot smart constructor.

Instances

Eq CreateDBSnapshot Source # 
Data CreateDBSnapshot Source # 

Methods

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

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

toConstr :: CreateDBSnapshot -> Constr #

dataTypeOf :: CreateDBSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDBSnapshot Source # 
Show CreateDBSnapshot Source # 
Generic CreateDBSnapshot Source # 
Hashable CreateDBSnapshot Source # 
NFData CreateDBSnapshot Source # 

Methods

rnf :: CreateDBSnapshot -> () #

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

Request Lenses

cdbsTags :: Lens' CreateDBSnapshot [Tag] Source #

Undocumented member.

cdbsDBSnapshotIdentifier :: Lens' CreateDBSnapshot Text Source #

The identifier for the DB snapshot. Constraints: * Cannot be null, empty, or blank * Must contain from 1 to 255 letters, numbers, or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id

cdbsDBInstanceIdentifier :: Lens' CreateDBSnapshot Text Source #

The identifier of the DB instance that you want to create the snapshot of. Constraints: * Must match the identifier of an existing DBInstance.

Destructuring the Response

createDBSnapshotResponse Source #

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

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

data CreateDBSnapshotResponse Source #

See: createDBSnapshotResponse smart constructor.

Instances

Eq CreateDBSnapshotResponse Source # 
Data CreateDBSnapshotResponse Source # 

Methods

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

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

toConstr :: CreateDBSnapshotResponse -> Constr #

dataTypeOf :: CreateDBSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses