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
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:
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
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 #
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:
prrdcrsDBCluster
- Undocumented member.prrdcrsResponseStatus
- -- | The response status code.
data PromoteReadReplicaDBClusterResponse #
See: promoteReadReplicaDBClusterResponse
smart constructor.
Instances
Response Lenses
prrdcrsDBCluster :: Lens' PromoteReadReplicaDBClusterResponse (Maybe DBCluster) #
Undocumented member.
prrdcrsResponseStatus :: Lens' PromoteReadReplicaDBClusterResponse Int #
- - | The response status code.