| 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.StartDBCluster
Description
Restarts the stopped cluster that is specified by DBClusterIdentifier.
For more information, see
Stopping and Starting an Amazon DocumentDB Cluster.
Synopsis
- data StartDBCluster = StartDBCluster' {}
- newStartDBCluster :: Text -> StartDBCluster
- startDBCluster_dbClusterIdentifier :: Lens' StartDBCluster Text
- data StartDBClusterResponse = StartDBClusterResponse' {
- dbCluster :: Maybe DBCluster
- httpStatus :: Int
- newStartDBClusterResponse :: Int -> StartDBClusterResponse
- startDBClusterResponse_dbCluster :: Lens' StartDBClusterResponse (Maybe DBCluster)
- startDBClusterResponse_httpStatus :: Lens' StartDBClusterResponse Int
Creating a Request
data StartDBCluster Source #
See: newStartDBCluster smart constructor.
Constructors
| StartDBCluster' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StartDBCluster |
Create a value of StartDBCluster 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:
StartDBCluster, startDBCluster_dbClusterIdentifier - The identifier of the cluster to restart. Example:
docdb-2019-05-28-15-24-52
Request Lenses
startDBCluster_dbClusterIdentifier :: Lens' StartDBCluster Text Source #
The identifier of the cluster to restart. Example:
docdb-2019-05-28-15-24-52
Destructuring the Response
data StartDBClusterResponse Source #
See: newStartDBClusterResponse smart constructor.
Constructors
| StartDBClusterResponse' | |
Fields
| |
Instances
newStartDBClusterResponse Source #
Create a value of StartDBClusterResponse 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:StartDBClusterResponse', startDBClusterResponse_dbCluster - Undocumented member.
$sel:httpStatus:StartDBClusterResponse', startDBClusterResponse_httpStatus - The response's http status code.
Response Lenses
startDBClusterResponse_dbCluster :: Lens' StartDBClusterResponse (Maybe DBCluster) Source #
Undocumented member.
startDBClusterResponse_httpStatus :: Lens' StartDBClusterResponse Int Source #
The response's http status code.