Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
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 the Chef server's private key (CHEF_PIVOTAL_KEY
).
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.
- updateServerEngineAttributes :: Text -> Text -> UpdateServerEngineAttributes
- data UpdateServerEngineAttributes
- useaAttributeValue :: Lens' UpdateServerEngineAttributes (Maybe Text)
- useaServerName :: Lens' UpdateServerEngineAttributes Text
- useaAttributeName :: Lens' UpdateServerEngineAttributes Text
- updateServerEngineAttributesResponse :: Int -> UpdateServerEngineAttributesResponse
- data UpdateServerEngineAttributesResponse
- usearsServer :: Lens' UpdateServerEngineAttributesResponse (Maybe Server)
- usearsResponseStatus :: Lens' UpdateServerEngineAttributesResponse Int
Creating a Request
updateServerEngineAttributes Source #
Creates a value of UpdateServerEngineAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
useaAttributeValue
- The value to set for the attribute.useaServerName
- The name of the server to update.useaAttributeName
- The name of the engine attribute to update.
data UpdateServerEngineAttributes Source #
See: updateServerEngineAttributes
smart constructor.
Request Lenses
useaAttributeValue :: Lens' UpdateServerEngineAttributes (Maybe Text) Source #
The value to set for the attribute.
useaServerName :: Lens' UpdateServerEngineAttributes Text Source #
The name of the server to update.
useaAttributeName :: Lens' UpdateServerEngineAttributes Text Source #
The name of the engine attribute to update.
Destructuring the Response
updateServerEngineAttributesResponse Source #
Creates a value of UpdateServerEngineAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usearsServer
- Contains the response to anUpdateServerEngineAttributes
request.usearsResponseStatus
- -- | The response status code.
data UpdateServerEngineAttributesResponse Source #
See: updateServerEngineAttributesResponse
smart constructor.
Response Lenses
usearsServer :: Lens' UpdateServerEngineAttributesResponse (Maybe Server) Source #
Contains the response to an UpdateServerEngineAttributes
request.
usearsResponseStatus :: Lens' UpdateServerEngineAttributesResponse Int Source #
- - | The response status code.