| 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.Lightsail.RebootRelationalDatabase
Description
Restarts a specific database in Amazon Lightsail.
The reboot relational database operation supports tag-based access
control via resource tags applied to the resource identified by
relationalDatabaseName. For more information, see the
Amazon Lightsail Developer Guide.
Synopsis
- data RebootRelationalDatabase = RebootRelationalDatabase' {}
- newRebootRelationalDatabase :: Text -> RebootRelationalDatabase
- rebootRelationalDatabase_relationalDatabaseName :: Lens' RebootRelationalDatabase Text
- data RebootRelationalDatabaseResponse = RebootRelationalDatabaseResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newRebootRelationalDatabaseResponse :: Int -> RebootRelationalDatabaseResponse
- rebootRelationalDatabaseResponse_operations :: Lens' RebootRelationalDatabaseResponse (Maybe [Operation])
- rebootRelationalDatabaseResponse_httpStatus :: Lens' RebootRelationalDatabaseResponse Int
Creating a Request
data RebootRelationalDatabase Source #
See: newRebootRelationalDatabase smart constructor.
Constructors
| RebootRelationalDatabase' | |
Fields
| |
Instances
newRebootRelationalDatabase Source #
Create a value of RebootRelationalDatabase 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:relationalDatabaseName:RebootRelationalDatabase', rebootRelationalDatabase_relationalDatabaseName - The name of your database to reboot.
Request Lenses
rebootRelationalDatabase_relationalDatabaseName :: Lens' RebootRelationalDatabase Text Source #
The name of your database to reboot.
Destructuring the Response
data RebootRelationalDatabaseResponse Source #
See: newRebootRelationalDatabaseResponse smart constructor.
Constructors
| RebootRelationalDatabaseResponse' | |
Fields
| |
Instances
newRebootRelationalDatabaseResponse Source #
Create a value of RebootRelationalDatabaseResponse 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:operations:RebootRelationalDatabaseResponse', rebootRelationalDatabaseResponse_operations - An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:RebootRelationalDatabaseResponse', rebootRelationalDatabaseResponse_httpStatus - The response's http status code.
Response Lenses
rebootRelationalDatabaseResponse_operations :: Lens' RebootRelationalDatabaseResponse (Maybe [Operation]) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
rebootRelationalDatabaseResponse_httpStatus :: Lens' RebootRelationalDatabaseResponse Int Source #
The response's http status code.