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 |
Stops the running cluster that is specified by DBClusterIdentifier
.
The cluster must be in the available state. For more information, see
Stopping and Starting an Amazon DocumentDB Cluster.
Synopsis
- data StopDBCluster = StopDBCluster' {}
- newStopDBCluster :: Text -> StopDBCluster
- stopDBCluster_dbClusterIdentifier :: Lens' StopDBCluster Text
- data StopDBClusterResponse = StopDBClusterResponse' {
- dbCluster :: Maybe DBCluster
- httpStatus :: Int
- newStopDBClusterResponse :: Int -> StopDBClusterResponse
- stopDBClusterResponse_dbCluster :: Lens' StopDBClusterResponse (Maybe DBCluster)
- stopDBClusterResponse_httpStatus :: Lens' StopDBClusterResponse Int
Creating a Request
data StopDBCluster Source #
See: newStopDBCluster
smart constructor.
StopDBCluster' | |
|
Instances
Create a value of StopDBCluster
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:dbClusterIdentifier:StopDBCluster'
, stopDBCluster_dbClusterIdentifier
- The identifier of the cluster to stop. Example:
docdb-2019-05-28-15-24-52
Request Lenses
stopDBCluster_dbClusterIdentifier :: Lens' StopDBCluster Text Source #
The identifier of the cluster to stop. Example:
docdb-2019-05-28-15-24-52
Destructuring the Response
data StopDBClusterResponse Source #
See: newStopDBClusterResponse
smart constructor.
StopDBClusterResponse' | |
|
Instances
newStopDBClusterResponse Source #
Create a value of StopDBClusterResponse
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:dbCluster:StopDBClusterResponse'
, stopDBClusterResponse_dbCluster
- Undocumented member.
$sel:httpStatus:StopDBClusterResponse'
, stopDBClusterResponse_httpStatus
- The response's http status code.
Response Lenses
stopDBClusterResponse_dbCluster :: Lens' StopDBClusterResponse (Maybe DBCluster) Source #
Undocumented member.
stopDBClusterResponse_httpStatus :: Lens' StopDBClusterResponse Int Source #
The response's http status code.