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 an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora retains the DB cluster's metadata, including its endpoints and DB parameter groups. Aurora also retains the transaction logs so you can do a point-in-time restore if necessary.
For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide.
This action only applies to Aurora DB clusters.
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 DB cluster identifier of the Amazon Aurora 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 Amazon Aurora DB cluster to be stopped. This parameter is stored as a lowercase string.
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.