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 |
Deletes a global cluster. The primary and secondary clusters must already be detached or deleted before attempting to delete a global cluster.
This action only applies to Amazon DocumentDB clusters.
Synopsis
- data DeleteGlobalCluster = DeleteGlobalCluster' {}
- newDeleteGlobalCluster :: Text -> DeleteGlobalCluster
- deleteGlobalCluster_globalClusterIdentifier :: Lens' DeleteGlobalCluster Text
- data DeleteGlobalClusterResponse = DeleteGlobalClusterResponse' {}
- newDeleteGlobalClusterResponse :: Int -> DeleteGlobalClusterResponse
- deleteGlobalClusterResponse_globalCluster :: Lens' DeleteGlobalClusterResponse (Maybe GlobalCluster)
- deleteGlobalClusterResponse_httpStatus :: Lens' DeleteGlobalClusterResponse Int
Creating a Request
data DeleteGlobalCluster Source #
Represents the input to DeleteGlobalCluster.
See: newDeleteGlobalCluster
smart constructor.
DeleteGlobalCluster' | |
|
Instances
newDeleteGlobalCluster Source #
Create a value of DeleteGlobalCluster
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:DeleteGlobalCluster'
, deleteGlobalCluster_globalClusterIdentifier
- The cluster identifier of the global cluster being deleted.
Request Lenses
deleteGlobalCluster_globalClusterIdentifier :: Lens' DeleteGlobalCluster Text Source #
The cluster identifier of the global cluster being deleted.
Destructuring the Response
data DeleteGlobalClusterResponse Source #
See: newDeleteGlobalClusterResponse
smart constructor.
DeleteGlobalClusterResponse' | |
|
Instances
newDeleteGlobalClusterResponse Source #
Create a value of DeleteGlobalClusterResponse
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:DeleteGlobalClusterResponse'
, deleteGlobalClusterResponse_globalCluster
- Undocumented member.
$sel:httpStatus:DeleteGlobalClusterResponse'
, deleteGlobalClusterResponse_httpStatus
- The response's http status code.
Response Lenses
deleteGlobalClusterResponse_globalCluster :: Lens' DeleteGlobalClusterResponse (Maybe GlobalCluster) Source #
Undocumented member.
deleteGlobalClusterResponse_httpStatus :: Lens' DeleteGlobalClusterResponse Int Source #
The response's http status code.