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

Contents

Description

Promotes a Read Replica DB cluster to a standalone DB cluster.

Synopsis

Creating a Request

promoteReadReplicaDBCluster Source #

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

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

  • prrdcDBClusterIdentifier - The identifier of the DB cluster Read Replica to promote. This parameter is not case-sensitive. Constraints: * Must match the identifier of an existing DBCluster Read Replica. Example: my-cluster-replica1

data PromoteReadReplicaDBCluster Source #

See: promoteReadReplicaDBCluster smart constructor.

Instances

Eq PromoteReadReplicaDBCluster Source # 
Data PromoteReadReplicaDBCluster Source # 

Methods

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

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

toConstr :: PromoteReadReplicaDBCluster -> Constr #

dataTypeOf :: PromoteReadReplicaDBCluster -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PromoteReadReplicaDBCluster Source # 
Show PromoteReadReplicaDBCluster Source # 
Generic PromoteReadReplicaDBCluster Source # 
Hashable PromoteReadReplicaDBCluster Source # 
NFData PromoteReadReplicaDBCluster Source # 
AWSRequest PromoteReadReplicaDBCluster Source # 
ToHeaders PromoteReadReplicaDBCluster Source # 
ToPath PromoteReadReplicaDBCluster Source # 
ToQuery PromoteReadReplicaDBCluster Source # 
type Rep PromoteReadReplicaDBCluster Source # 
type Rep PromoteReadReplicaDBCluster = D1 * (MetaData "PromoteReadReplicaDBCluster" "Network.AWS.RDS.PromoteReadReplicaDBCluster" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" True) (C1 * (MetaCons "PromoteReadReplicaDBCluster'" PrefixI True) (S1 * (MetaSel (Just Symbol "_prrdcDBClusterIdentifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs PromoteReadReplicaDBCluster Source # 

Request Lenses

prrdcDBClusterIdentifier :: Lens' PromoteReadReplicaDBCluster Text Source #

The identifier of the DB cluster Read Replica to promote. This parameter is not case-sensitive. Constraints: * Must match the identifier of an existing DBCluster Read Replica. Example: my-cluster-replica1

Destructuring the Response

promoteReadReplicaDBClusterResponse Source #

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

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

data PromoteReadReplicaDBClusterResponse Source #

See: promoteReadReplicaDBClusterResponse smart constructor.

Instances

Eq PromoteReadReplicaDBClusterResponse Source # 
Data PromoteReadReplicaDBClusterResponse Source # 

Methods

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

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

toConstr :: PromoteReadReplicaDBClusterResponse -> Constr #

dataTypeOf :: PromoteReadReplicaDBClusterResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PromoteReadReplicaDBClusterResponse Source # 
Show PromoteReadReplicaDBClusterResponse Source # 
Generic PromoteReadReplicaDBClusterResponse Source # 
NFData PromoteReadReplicaDBClusterResponse Source # 
type Rep PromoteReadReplicaDBClusterResponse Source # 
type Rep PromoteReadReplicaDBClusterResponse = D1 * (MetaData "PromoteReadReplicaDBClusterResponse" "Network.AWS.RDS.PromoteReadReplicaDBCluster" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "PromoteReadReplicaDBClusterResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_prrdcrsDBCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DBCluster))) (S1 * (MetaSel (Just Symbol "_prrdcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses