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 |
Updates engine-specific attributes on a specified server. The server
enters the MODIFYING
state when this operation is in progress. Only
one update can occur at a time. You can use this command to reset a Chef
server's public key (CHEF_PIVOTAL_KEY
) or a Puppet server's admin
password (PUPPET_ADMIN_PASSWORD
).
This operation is asynchronous.
This operation can only be called for servers in HEALTHY
or
UNHEALTHY
states. Otherwise, an InvalidStateException
is raised. A
ResourceNotFoundException
is thrown when the server does not exist. A
ValidationException
is raised when parameters of the request are not
valid.
Synopsis
- data UpdateServerEngineAttributes = UpdateServerEngineAttributes' {}
- newUpdateServerEngineAttributes :: Text -> Text -> UpdateServerEngineAttributes
- updateServerEngineAttributes_attributeValue :: Lens' UpdateServerEngineAttributes (Maybe Text)
- updateServerEngineAttributes_serverName :: Lens' UpdateServerEngineAttributes Text
- updateServerEngineAttributes_attributeName :: Lens' UpdateServerEngineAttributes Text
- data UpdateServerEngineAttributesResponse = UpdateServerEngineAttributesResponse' {
- server :: Maybe Server
- httpStatus :: Int
- newUpdateServerEngineAttributesResponse :: Int -> UpdateServerEngineAttributesResponse
- updateServerEngineAttributesResponse_server :: Lens' UpdateServerEngineAttributesResponse (Maybe Server)
- updateServerEngineAttributesResponse_httpStatus :: Lens' UpdateServerEngineAttributesResponse Int
Creating a Request
data UpdateServerEngineAttributes Source #
See: newUpdateServerEngineAttributes
smart constructor.
UpdateServerEngineAttributes' | |
|
Instances
newUpdateServerEngineAttributes Source #
:: Text | |
-> Text | |
-> UpdateServerEngineAttributes |
Create a value of UpdateServerEngineAttributes
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:attributeValue:UpdateServerEngineAttributes'
, updateServerEngineAttributes_attributeValue
- The value to set for the attribute.
$sel:serverName:UpdateServerEngineAttributes'
, updateServerEngineAttributes_serverName
- The name of the server to update.
$sel:attributeName:UpdateServerEngineAttributes'
, updateServerEngineAttributes_attributeName
- The name of the engine attribute to update.
Request Lenses
updateServerEngineAttributes_attributeValue :: Lens' UpdateServerEngineAttributes (Maybe Text) Source #
The value to set for the attribute.
updateServerEngineAttributes_serverName :: Lens' UpdateServerEngineAttributes Text Source #
The name of the server to update.
updateServerEngineAttributes_attributeName :: Lens' UpdateServerEngineAttributes Text Source #
The name of the engine attribute to update.
Destructuring the Response
data UpdateServerEngineAttributesResponse Source #
See: newUpdateServerEngineAttributesResponse
smart constructor.
UpdateServerEngineAttributesResponse' | |
|
Instances
newUpdateServerEngineAttributesResponse Source #
Create a value of UpdateServerEngineAttributesResponse
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:server:UpdateServerEngineAttributesResponse'
, updateServerEngineAttributesResponse_server
- Contains the response to an UpdateServerEngineAttributes
request.
$sel:httpStatus:UpdateServerEngineAttributesResponse'
, updateServerEngineAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
updateServerEngineAttributesResponse_server :: Lens' UpdateServerEngineAttributesResponse (Maybe Server) Source #
Contains the response to an UpdateServerEngineAttributes
request.
updateServerEngineAttributesResponse_httpStatus :: Lens' UpdateServerEngineAttributesResponse Int Source #
The response's http status code.