Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.RDS.PromoteReadReplicaDBCluster
Description
Promotes a Read Replica DB cluster to a standalone DB cluster.
- promoteReadReplicaDBCluster :: Text -> PromoteReadReplicaDBCluster
- data PromoteReadReplicaDBCluster
- prrdcDBClusterIdentifier :: Lens' PromoteReadReplicaDBCluster Text
- promoteReadReplicaDBClusterResponse :: Int -> PromoteReadReplicaDBClusterResponse
- data PromoteReadReplicaDBClusterResponse
- prrdcrsDBCluster :: Lens' PromoteReadReplicaDBClusterResponse (Maybe DBCluster)
- prrdcrsResponseStatus :: Lens' PromoteReadReplicaDBClusterResponse Int
Creating a Request
promoteReadReplicaDBCluster Source #
Arguments
:: Text | |
-> 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:
data PromoteReadReplicaDBCluster Source #
See: promoteReadReplicaDBCluster
smart constructor.
Instances
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 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 Source #
Arguments
:: Int | |
-> 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 Source #
See: promoteReadReplicaDBClusterResponse
smart constructor.
Instances
Response Lenses
prrdcrsDBCluster :: Lens' PromoteReadReplicaDBClusterResponse (Maybe DBCluster) Source #
Undocumented member.
prrdcrsResponseStatus :: Lens' PromoteReadReplicaDBClusterResponse Int Source #
The response status code.