| 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.RemoveFromGlobalCluster
Description
Detaches an Aurora secondary cluster from an Aurora global database cluster. The cluster becomes a standalone cluster with read-write capability instead of being read-only and receiving data from a primary cluster in a different Region.
This action only applies to Aurora DB clusters.
Synopsis
- data RemoveFromGlobalCluster = RemoveFromGlobalCluster' {}
- newRemoveFromGlobalCluster :: RemoveFromGlobalCluster
- removeFromGlobalCluster_dbClusterIdentifier :: Lens' RemoveFromGlobalCluster (Maybe Text)
- removeFromGlobalCluster_globalClusterIdentifier :: Lens' RemoveFromGlobalCluster (Maybe Text)
- data RemoveFromGlobalClusterResponse = RemoveFromGlobalClusterResponse' {}
- newRemoveFromGlobalClusterResponse :: Int -> RemoveFromGlobalClusterResponse
- removeFromGlobalClusterResponse_globalCluster :: Lens' RemoveFromGlobalClusterResponse (Maybe GlobalCluster)
- removeFromGlobalClusterResponse_httpStatus :: Lens' RemoveFromGlobalClusterResponse Int
Creating a Request
data RemoveFromGlobalCluster Source #
See: newRemoveFromGlobalCluster smart constructor.
Constructors
| RemoveFromGlobalCluster' | |
Fields
| |
Instances
newRemoveFromGlobalCluster :: RemoveFromGlobalCluster Source #
Create a value of RemoveFromGlobalCluster 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:
RemoveFromGlobalCluster, removeFromGlobalCluster_dbClusterIdentifier - The Amazon Resource Name (ARN) identifying the cluster that was detached
from the Aurora global database cluster.
RemoveFromGlobalCluster, removeFromGlobalCluster_globalClusterIdentifier - The cluster identifier to detach from the Aurora global database
cluster.
Request Lenses
removeFromGlobalCluster_dbClusterIdentifier :: Lens' RemoveFromGlobalCluster (Maybe Text) Source #
The Amazon Resource Name (ARN) identifying the cluster that was detached from the Aurora global database cluster.
removeFromGlobalCluster_globalClusterIdentifier :: Lens' RemoveFromGlobalCluster (Maybe Text) Source #
The cluster identifier to detach from the Aurora global database cluster.
Destructuring the Response
data RemoveFromGlobalClusterResponse Source #
See: newRemoveFromGlobalClusterResponse smart constructor.
Constructors
| RemoveFromGlobalClusterResponse' | |
Fields
| |
Instances
newRemoveFromGlobalClusterResponse Source #
Create a value of RemoveFromGlobalClusterResponse 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:globalCluster:RemoveFromGlobalClusterResponse', removeFromGlobalClusterResponse_globalCluster - Undocumented member.
$sel:httpStatus:RemoveFromGlobalClusterResponse', removeFromGlobalClusterResponse_httpStatus - The response's http status code.
Response Lenses
removeFromGlobalClusterResponse_globalCluster :: Lens' RemoveFromGlobalClusterResponse (Maybe GlobalCluster) Source #
Undocumented member.
removeFromGlobalClusterResponse_httpStatus :: Lens' RemoveFromGlobalClusterResponse Int Source #
The response's http status code.