Copyright | (c) 2013-2021 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 |
Amazonka.DocumentDB.RemoveFromGlobalCluster
Description
Detaches an Amazon DocumentDB secondary cluster from a global cluster. The cluster becomes a standalone cluster with read-write capability instead of being read-only and receiving data from a primary in a different region.
This action only applies to Amazon DocumentDB clusters.
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 #
Represents the input to RemoveFromGlobalCluster.
See: newRemoveFromGlobalCluster
smart constructor.
Constructors
RemoveFromGlobalCluster' | |
Fields
|
Instances
newRemoveFromGlobalCluster Source #
Arguments
:: Text | |
-> Text | |
-> RemoveFromGlobalCluster |
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:
$sel:globalClusterIdentifier:RemoveFromGlobalCluster'
, removeFromGlobalCluster_globalClusterIdentifier
- The cluster identifier to detach from the Amazon DocumentDB global
cluster.
$sel:dbClusterIdentifier:RemoveFromGlobalCluster'
, removeFromGlobalCluster_dbClusterIdentifier
- The Amazon Resource Name (ARN) identifying the cluster that was detached
from the Amazon DocumentDB global cluster.
Request Lenses
removeFromGlobalCluster_globalClusterIdentifier :: Lens' RemoveFromGlobalCluster Text Source #
The cluster identifier to detach from the Amazon DocumentDB global cluster.
removeFromGlobalCluster_dbClusterIdentifier :: Lens' RemoveFromGlobalCluster Text Source #
The Amazon Resource Name (ARN) identifying the cluster that was detached from the Amazon DocumentDB global 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.