libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorksCM.UpdateServerEngineAttributes

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 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

Creating a Request

data UpdateServerEngineAttributes Source #

See: newUpdateServerEngineAttributes smart constructor.

Constructors

UpdateServerEngineAttributes' 

Fields

Instances

Instances details
Eq UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

Read UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

Show UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

Generic UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

Associated Types

type Rep UpdateServerEngineAttributes :: Type -> Type #

NFData UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

Hashable UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

ToJSON UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

AWSRequest UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

ToHeaders UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

ToPath UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

ToQuery UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

type Rep UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

type Rep UpdateServerEngineAttributes = D1 ('MetaData "UpdateServerEngineAttributes" "Amazonka.OpsWorksCM.UpdateServerEngineAttributes" "libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm" 'False) (C1 ('MetaCons "UpdateServerEngineAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serverName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateServerEngineAttributes Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

newUpdateServerEngineAttributes Source #

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

Destructuring the Response

data UpdateServerEngineAttributesResponse Source #

Constructors

UpdateServerEngineAttributesResponse' 

Fields

Instances

Instances details
Eq UpdateServerEngineAttributesResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

Show UpdateServerEngineAttributesResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

Generic UpdateServerEngineAttributesResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

NFData UpdateServerEngineAttributesResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

type Rep UpdateServerEngineAttributesResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServerEngineAttributes

type Rep UpdateServerEngineAttributesResponse = D1 ('MetaData "UpdateServerEngineAttributesResponse" "Amazonka.OpsWorksCM.UpdateServerEngineAttributes" "libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm" 'False) (C1 ('MetaCons "UpdateServerEngineAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "server") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Server)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.