amazonka-rds-1.6.0: Amazon Relational Database Service 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.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 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 #

See: createDBSnapshot smart constructor.

Instances
Eq CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Data CreateDBSnapshot # 
Instance details

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

Defined in Network.AWS.RDS.CreateDBSnapshot

Show CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Generic CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Associated Types

type Rep CreateDBSnapshot :: * -> * #

Hashable CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

AWSRequest CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Associated Types

type Rs CreateDBSnapshot :: * #

ToHeaders CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

ToPath CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

ToQuery CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

NFData CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Methods

rnf :: CreateDBSnapshot -> () #

type Rep CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

type Rep CreateDBSnapshot = D1 (MetaData "CreateDBSnapshot" "Network.AWS.RDS.CreateDBSnapshot" "amazonka-rds-1.6.0-62mw5vrBA3M4x0SZvkmRx5" False) (C1 (MetaCons "CreateDBSnapshot'" PrefixI True) (S1 (MetaSel (Just "_cdbsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 (MetaSel (Just "_cdbsDBSnapshotIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cdbsDBInstanceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateDBSnapshot # 
Instance details

Defined in Network.AWS.RDS.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 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 #

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 #

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

Defined in Network.AWS.RDS.CreateDBSnapshot

Data CreateDBSnapshotResponse # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

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

Defined in Network.AWS.RDS.CreateDBSnapshot

Show CreateDBSnapshotResponse # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Generic CreateDBSnapshotResponse # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Associated Types

type Rep CreateDBSnapshotResponse :: * -> * #

NFData CreateDBSnapshotResponse # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

type Rep CreateDBSnapshotResponse # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

type Rep CreateDBSnapshotResponse = D1 (MetaData "CreateDBSnapshotResponse" "Network.AWS.RDS.CreateDBSnapshot" "amazonka-rds-1.6.0-62mw5vrBA3M4x0SZvkmRx5" False) (C1 (MetaCons "CreateDBSnapshotResponse'" PrefixI True) (S1 (MetaSel (Just "_cdbsrsDBSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBSnapshot)) :*: S1 (MetaSel (Just "_cdbsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

cdbsrsResponseStatus :: Lens' CreateDBSnapshotResponse Int #

  • - | The response status code.