| 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.Neptune.RemoveFromGlobalCluster
Description
Detaches a Neptune DB cluster from a Neptune global database. A secondary cluster becomes a normal standalone cluster with read-write capability instead of being read-only, and no longer receives data from a the primary cluster.
Synopsis
- data RemoveFromGlobalCluster = RemoveFromGlobalCluster' {}
- newRemoveFromGlobalCluster :: Text -> Text -> RemoveFromGlobalCluster
- removeFromGlobalCluster_globalClusterIdentifier :: Lens' RemoveFromGlobalCluster Text
- removeFromGlobalCluster_dbClusterIdentifier :: Lens' RemoveFromGlobalCluster 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 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_globalClusterIdentifier - The identifier of the Neptune global database from which to detach the
specified Neptune DB cluster.
RemoveFromGlobalCluster, removeFromGlobalCluster_dbClusterIdentifier - The Amazon Resource Name (ARN) identifying the cluster to be detached
from the Neptune global database cluster.
Request Lenses
removeFromGlobalCluster_globalClusterIdentifier :: Lens' RemoveFromGlobalCluster Text Source #
The identifier of the Neptune global database from which to detach the specified Neptune DB cluster.
removeFromGlobalCluster_dbClusterIdentifier :: Lens' RemoveFromGlobalCluster Text Source #
The Amazon Resource Name (ARN) identifying the cluster to be detached from the Neptune 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.