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 |
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.
RemoveFromGlobalCluster' | |
|
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 cluster identifier to detach from the Amazon DocumentDB global
cluster.
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.
RemoveFromGlobalClusterResponse' | |
|
Instances
Generic RemoveFromGlobalClusterResponse Source # | |
Read RemoveFromGlobalClusterResponse Source # | |
Show RemoveFromGlobalClusterResponse Source # | |
Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster | |
NFData RemoveFromGlobalClusterResponse Source # | |
Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster rnf :: RemoveFromGlobalClusterResponse -> () # | |
Eq RemoveFromGlobalClusterResponse Source # | |
type Rep RemoveFromGlobalClusterResponse Source # | |
Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster type Rep RemoveFromGlobalClusterResponse = D1 ('MetaData "RemoveFromGlobalClusterResponse" "Amazonka.DocumentDB.RemoveFromGlobalCluster" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "RemoveFromGlobalClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalCluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GlobalCluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.