| 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.Neptune.StopDBCluster
Description
Stops an Amazon Neptune DB cluster. When you stop a DB cluster, Neptune retains the DB cluster's metadata, including its endpoints and DB parameter groups.
Neptune also retains the transaction logs so you can do a point-in-time restore if necessary.
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 DB cluster identifier of the Neptune DB cluster to be stopped. This
parameter is stored as a lowercase string.
Request Lenses
stopDBCluster_dbClusterIdentifier :: Lens' StopDBCluster Text Source #
The DB cluster identifier of the Neptune DB cluster to be stopped. This parameter is stored as a lowercase string.
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.