amazonka-opsworks-cm-1.6.1: Amazon OpsWorks for Chef Automate SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

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 private key (CHEF_PIVOTAL_KEY ), a Chef server's admin password (CHEF_DELIVERY_ADMIN_PASSWORD ), 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

# Creating a Request

Arguments

 :: Text useaServerName -> Text useaAttributeName -> UpdateServerEngineAttributes

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.

See: updateServerEngineAttributes smart constructor.

Instances

# Request Lenses

The value to set for the attribute.

The name of the server to update.

The name of the engine attribute to update.

# Destructuring the Response

Arguments

 :: Int usearsResponseStatus -> UpdateServerEngineAttributesResponse

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 an UpdateServerEngineAttributes request.
• usearsResponseStatus - -- | The response status code.

See: updateServerEngineAttributesResponse smart constructor.

Instances
Contains the response to an UpdateServerEngineAttributes request.