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

Contents

Description

Updates a manual DB snapshot, which can be encrypted or not encrypted, with a new engine version.

Amazon RDS supports upgrading DB snapshots for MySQL and Oracle.

Synopsis

Creating a Request

modifyDBSnapshot Source #

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

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

  • mdsEngineVersion - The engine version to upgrade the DB snapshot to. The following are the database engines and engine versions that are available when you upgrade a DB snapshot. MySQL * 5.5.46 (supported for 5.1 DB snapshots) Oracle * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots) * 11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots) * 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)
  • mdsOptionGroupName - The option group to identify with the upgraded DB snapshot. You can specify this parameter when you upgrade an Oracle DB snapshot. The same option group considerations apply when upgrading a DB snapshot as when upgrading a DB instance. For more information, see Option Group Considerations .
  • mdsDBSnapshotIdentifier - The identifier of the DB snapshot to modify.

data ModifyDBSnapshot Source #

See: modifyDBSnapshot smart constructor.

Instances

Eq ModifyDBSnapshot Source # 
Data ModifyDBSnapshot Source # 

Methods

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

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

toConstr :: ModifyDBSnapshot -> Constr #

dataTypeOf :: ModifyDBSnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyDBSnapshot Source # 
Show ModifyDBSnapshot Source # 
Generic ModifyDBSnapshot Source # 
Hashable ModifyDBSnapshot Source # 
NFData ModifyDBSnapshot Source # 

Methods

rnf :: ModifyDBSnapshot -> () #

AWSRequest ModifyDBSnapshot Source # 
ToQuery ModifyDBSnapshot Source # 
ToPath ModifyDBSnapshot Source # 
ToHeaders ModifyDBSnapshot Source # 
type Rep ModifyDBSnapshot Source # 
type Rep ModifyDBSnapshot = D1 (MetaData "ModifyDBSnapshot" "Network.AWS.RDS.ModifyDBSnapshot" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "ModifyDBSnapshot'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mdsEngineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mdsOptionGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mdsDBSnapshotIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ModifyDBSnapshot Source # 

Request Lenses

mdsEngineVersion :: Lens' ModifyDBSnapshot (Maybe Text) Source #

The engine version to upgrade the DB snapshot to. The following are the database engines and engine versions that are available when you upgrade a DB snapshot. MySQL * 5.5.46 (supported for 5.1 DB snapshots) Oracle * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots) * 11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots) * 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

mdsOptionGroupName :: Lens' ModifyDBSnapshot (Maybe Text) Source #

The option group to identify with the upgraded DB snapshot. You can specify this parameter when you upgrade an Oracle DB snapshot. The same option group considerations apply when upgrading a DB snapshot as when upgrading a DB instance. For more information, see Option Group Considerations .

mdsDBSnapshotIdentifier :: Lens' ModifyDBSnapshot Text Source #

The identifier of the DB snapshot to modify.

Destructuring the Response

modifyDBSnapshotResponse Source #

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

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

data ModifyDBSnapshotResponse Source #

See: modifyDBSnapshotResponse smart constructor.

Instances

Eq ModifyDBSnapshotResponse Source # 
Data ModifyDBSnapshotResponse Source # 

Methods

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

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

toConstr :: ModifyDBSnapshotResponse -> Constr #

dataTypeOf :: ModifyDBSnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses