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 |
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.
RebootRelationalDatabase' | |
|
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.
RebootRelationalDatabaseResponse' | |
|
Instances
Eq RebootRelationalDatabaseResponse Source # | |
Read RebootRelationalDatabaseResponse Source # | |
Show RebootRelationalDatabaseResponse Source # | |
Generic RebootRelationalDatabaseResponse Source # | |
NFData RebootRelationalDatabaseResponse Source # | |
Defined in Amazonka.Lightsail.RebootRelationalDatabase rnf :: RebootRelationalDatabaseResponse -> () # | |
type Rep RebootRelationalDatabaseResponse Source # | |
Defined in Amazonka.Lightsail.RebootRelationalDatabase type Rep RebootRelationalDatabaseResponse = D1 ('MetaData "RebootRelationalDatabaseResponse" "Amazonka.Lightsail.RebootRelationalDatabase" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "RebootRelationalDatabaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.