amazonka-rds-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Data CreateDBSnapshot Source # 
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 Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Show CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Generic CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Associated Types

type Rep CreateDBSnapshot :: Type -> Type #

Hashable CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

AWSRequest CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Associated Types

type Rs CreateDBSnapshot :: Type #

ToHeaders CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

ToPath CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

ToQuery CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

NFData CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Methods

rnf :: CreateDBSnapshot -> () #

type Rep CreateDBSnapshot Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

type Rep CreateDBSnapshot = D1 (MetaData "CreateDBSnapshot" "Network.AWS.RDS.CreateDBSnapshot" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" 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 Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

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

Defined in Network.AWS.RDS.CreateDBSnapshot

Data CreateDBSnapshotResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Show CreateDBSnapshotResponse Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Generic CreateDBSnapshotResponse Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

Associated Types

type Rep CreateDBSnapshotResponse :: Type -> Type #

NFData CreateDBSnapshotResponse Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

type Rep CreateDBSnapshotResponse Source # 
Instance details

Defined in Network.AWS.RDS.CreateDBSnapshot

type Rep CreateDBSnapshotResponse = D1 (MetaData "CreateDBSnapshotResponse" "Network.AWS.RDS.CreateDBSnapshot" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" 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