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 |
Allows the update of one or more parameters of a database in Amazon Lightsail.
Parameter updates don't cause outages; therefore, their application is
not subject to the preferred maintenance window. However, there are two
ways in which parameter updates are applied: dynamic
or
pending-reboot
. Parameters marked with a dynamic
apply type are
applied immediately. Parameters marked with a pending-reboot
apply
type are applied only after the database is rebooted using the
reboot relational database
operation.
The update relational database parameters
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 UpdateRelationalDatabaseParameters = UpdateRelationalDatabaseParameters' {}
- newUpdateRelationalDatabaseParameters :: Text -> UpdateRelationalDatabaseParameters
- updateRelationalDatabaseParameters_relationalDatabaseName :: Lens' UpdateRelationalDatabaseParameters Text
- updateRelationalDatabaseParameters_parameters :: Lens' UpdateRelationalDatabaseParameters [RelationalDatabaseParameter]
- data UpdateRelationalDatabaseParametersResponse = UpdateRelationalDatabaseParametersResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newUpdateRelationalDatabaseParametersResponse :: Int -> UpdateRelationalDatabaseParametersResponse
- updateRelationalDatabaseParametersResponse_operations :: Lens' UpdateRelationalDatabaseParametersResponse (Maybe [Operation])
- updateRelationalDatabaseParametersResponse_httpStatus :: Lens' UpdateRelationalDatabaseParametersResponse Int
Creating a Request
data UpdateRelationalDatabaseParameters Source #
See: newUpdateRelationalDatabaseParameters
smart constructor.
UpdateRelationalDatabaseParameters' | |
|
Instances
newUpdateRelationalDatabaseParameters Source #
:: Text |
|
-> UpdateRelationalDatabaseParameters |
Create a value of UpdateRelationalDatabaseParameters
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:UpdateRelationalDatabaseParameters'
, updateRelationalDatabaseParameters_relationalDatabaseName
- The name of your database for which to update parameters.
$sel:parameters:UpdateRelationalDatabaseParameters'
, updateRelationalDatabaseParameters_parameters
- The database parameters to update.
Request Lenses
updateRelationalDatabaseParameters_relationalDatabaseName :: Lens' UpdateRelationalDatabaseParameters Text Source #
The name of your database for which to update parameters.
updateRelationalDatabaseParameters_parameters :: Lens' UpdateRelationalDatabaseParameters [RelationalDatabaseParameter] Source #
The database parameters to update.
Destructuring the Response
data UpdateRelationalDatabaseParametersResponse Source #
See: newUpdateRelationalDatabaseParametersResponse
smart constructor.
UpdateRelationalDatabaseParametersResponse' | |
|
Instances
newUpdateRelationalDatabaseParametersResponse Source #
Create a value of UpdateRelationalDatabaseParametersResponse
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:UpdateRelationalDatabaseParametersResponse'
, updateRelationalDatabaseParametersResponse_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:UpdateRelationalDatabaseParametersResponse'
, updateRelationalDatabaseParametersResponse_httpStatus
- The response's http status code.
Response Lenses
updateRelationalDatabaseParametersResponse_operations :: Lens' UpdateRelationalDatabaseParametersResponse (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.
updateRelationalDatabaseParametersResponse_httpStatus :: Lens' UpdateRelationalDatabaseParametersResponse Int Source #
The response's http status code.