amazonka-rds-1.4.5: Amazon Relational Database Service 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.RDS.CreateDBSnapshot

Contents

Description

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

Synopsis

Creating a Request

createDBSnapshot #

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 alphanumeric characters or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id
  • cdbsDBInstanceIdentifier - The DB instance identifier. This is the unique key that identifies a DB instance. Constraints: * Must contain from 1 to 63 alphanumeric characters or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens

data CreateDBSnapshot #

See: createDBSnapshot smart constructor.

Instances

Eq CreateDBSnapshot # 
Data CreateDBSnapshot # 

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

Methods

rnf :: CreateDBSnapshot -> () #

AWSRequest CreateDBSnapshot # 
ToQuery CreateDBSnapshot # 
ToPath CreateDBSnapshot # 
ToHeaders CreateDBSnapshot # 
type Rep CreateDBSnapshot # 
type Rep CreateDBSnapshot = D1 (MetaData "CreateDBSnapshot" "Network.AWS.RDS.CreateDBSnapshot" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" 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 # 

Request Lenses

cdbsTags :: Lens' CreateDBSnapshot [Tag] #

Undocumented member.

cdbsDBSnapshotIdentifier :: Lens' CreateDBSnapshot Text #

The identifier for the DB snapshot. 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

cdbsDBInstanceIdentifier :: Lens' CreateDBSnapshot Text #

The DB instance identifier. This is the unique key that identifies a DB instance. Constraints: * Must contain from 1 to 63 alphanumeric characters or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens

Destructuring the Response

createDBSnapshotResponse #

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 #

See: createDBSnapshotResponse smart constructor.

Instances

Eq CreateDBSnapshotResponse # 
Data CreateDBSnapshotResponse # 

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 # 
Show CreateDBSnapshotResponse # 
Generic CreateDBSnapshotResponse # 
NFData CreateDBSnapshotResponse # 
type Rep CreateDBSnapshotResponse # 
type Rep CreateDBSnapshotResponse = D1 (MetaData "CreateDBSnapshotResponse" "Network.AWS.RDS.CreateDBSnapshot" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" False) (C1 (MetaCons "CreateDBSnapshotResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cdbsrsDBSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBSnapshot))) (S1 (MetaSel (Just Symbol "_cdbsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

cdbsrsResponseStatus :: Lens' CreateDBSnapshotResponse Int #

  • - | The response status code.