| 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 |
Amazonka.DocumentDB.StopDBCluster
Description
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.
Constructors
| StopDBCluster' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StopDBCluster |
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:
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.
Constructors
| StopDBClusterResponse' | |
Fields
| |
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.