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

Contents

Description

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

Synopsis

Creating a Request

promoteReadReplicaDBCluster #

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 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. Example: my-cluster-replica1

data PromoteReadReplicaDBCluster #

See: promoteReadReplicaDBCluster smart constructor.

Instances

Eq PromoteReadReplicaDBCluster # 
Data PromoteReadReplicaDBCluster # 

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 # 
Show PromoteReadReplicaDBCluster # 
Generic PromoteReadReplicaDBCluster # 
Hashable PromoteReadReplicaDBCluster # 
NFData PromoteReadReplicaDBCluster # 
AWSRequest PromoteReadReplicaDBCluster # 
ToQuery PromoteReadReplicaDBCluster # 
ToPath PromoteReadReplicaDBCluster # 
ToHeaders PromoteReadReplicaDBCluster # 
type Rep PromoteReadReplicaDBCluster # 
type Rep PromoteReadReplicaDBCluster = D1 (MetaData "PromoteReadReplicaDBCluster" "Network.AWS.RDS.PromoteReadReplicaDBCluster" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" True) (C1 (MetaCons "PromoteReadReplicaDBCluster'" PrefixI True) (S1 (MetaSel (Just Symbol "_prrdcDBClusterIdentifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs PromoteReadReplicaDBCluster # 

Request Lenses

prrdcDBClusterIdentifier :: Lens' PromoteReadReplicaDBCluster Text #

The identifier of the DB cluster Read Replica to promote. This parameter is not case-sensitive. 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. Example: my-cluster-replica1

Destructuring the Response

promoteReadReplicaDBClusterResponse #

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 #

See: promoteReadReplicaDBClusterResponse smart constructor.

Instances

Eq PromoteReadReplicaDBClusterResponse # 
Data PromoteReadReplicaDBClusterResponse # 

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

Response Lenses