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 |
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 #
:: 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.
RemoveFromGlobalClusterResponse' | |
|
Instances
Eq RemoveFromGlobalClusterResponse Source # | |
Read RemoveFromGlobalClusterResponse Source # | |
Show RemoveFromGlobalClusterResponse Source # | |
Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster | |
Generic RemoveFromGlobalClusterResponse Source # | |
NFData RemoveFromGlobalClusterResponse Source # | |
Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster rnf :: RemoveFromGlobalClusterResponse -> () # | |
type Rep RemoveFromGlobalClusterResponse Source # | |
Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster type Rep RemoveFromGlobalClusterResponse = D1 ('MetaData "RemoveFromGlobalClusterResponse" "Amazonka.DocumentDB.RemoveFromGlobalCluster" "libZSservicesZSamazonka-docdbZSamazonka-docdb" '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.