Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 #
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.
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:
prrdcrsDBCluster
- Undocumented member.prrdcrsResponseStatus
- -- | The response status code.
data PromoteReadReplicaDBClusterResponse Source #
See: promoteReadReplicaDBClusterResponse
smart constructor.
Response Lenses
prrdcrsDBCluster :: Lens' PromoteReadReplicaDBClusterResponse (Maybe DBCluster) Source #
Undocumented member.
prrdcrsResponseStatus :: Lens' PromoteReadReplicaDBClusterResponse Int Source #
- - | The response status code.