| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RDS.PromoteReadReplicaDBCluster
Description
Promotes a read replica DB cluster to a standalone DB cluster.
Synopsis
- data PromoteReadReplicaDBCluster = PromoteReadReplicaDBCluster' {}
- newPromoteReadReplicaDBCluster :: Text -> PromoteReadReplicaDBCluster
- promoteReadReplicaDBCluster_dbClusterIdentifier :: Lens' PromoteReadReplicaDBCluster Text
- data PromoteReadReplicaDBClusterResponse = PromoteReadReplicaDBClusterResponse' {
- dbCluster :: Maybe DBCluster
- httpStatus :: Int
- newPromoteReadReplicaDBClusterResponse :: Int -> PromoteReadReplicaDBClusterResponse
- promoteReadReplicaDBClusterResponse_dbCluster :: Lens' PromoteReadReplicaDBClusterResponse (Maybe DBCluster)
- promoteReadReplicaDBClusterResponse_httpStatus :: Lens' PromoteReadReplicaDBClusterResponse Int
Creating a Request
data PromoteReadReplicaDBCluster Source #
See: newPromoteReadReplicaDBCluster smart constructor.
Constructors
| PromoteReadReplicaDBCluster' | |
Fields
| |
Instances
newPromoteReadReplicaDBCluster Source #
Arguments
| :: Text | |
| -> PromoteReadReplicaDBCluster |
Create a value of PromoteReadReplicaDBCluster with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PromoteReadReplicaDBCluster, promoteReadReplicaDBCluster_dbClusterIdentifier - The identifier of the DB cluster read replica to promote. This parameter
isn't case-sensitive.
Constraints:
- Must match the identifier of an existing DB cluster read replica.
Example: my-cluster-replica1
Request Lenses
promoteReadReplicaDBCluster_dbClusterIdentifier :: Lens' PromoteReadReplicaDBCluster Text Source #
The identifier of the DB cluster read replica to promote. This parameter isn't case-sensitive.
Constraints:
- Must match the identifier of an existing DB cluster read replica.
Example: my-cluster-replica1
Destructuring the Response
data PromoteReadReplicaDBClusterResponse Source #
See: newPromoteReadReplicaDBClusterResponse smart constructor.
Constructors
| PromoteReadReplicaDBClusterResponse' | |
Fields
| |
Instances
newPromoteReadReplicaDBClusterResponse Source #
Arguments
| :: Int | |
| -> PromoteReadReplicaDBClusterResponse |
Create a value of PromoteReadReplicaDBClusterResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dbCluster:PromoteReadReplicaDBClusterResponse', promoteReadReplicaDBClusterResponse_dbCluster - Undocumented member.
$sel:httpStatus:PromoteReadReplicaDBClusterResponse', promoteReadReplicaDBClusterResponse_httpStatus - The response's http status code.
Response Lenses
promoteReadReplicaDBClusterResponse_dbCluster :: Lens' PromoteReadReplicaDBClusterResponse (Maybe DBCluster) Source #
Undocumented member.
promoteReadReplicaDBClusterResponse_httpStatus :: Lens' PromoteReadReplicaDBClusterResponse Int Source #
The response's http status code.