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

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

Network.AWS.OpsWorksCM.UpdateServerEngineAttributes

Contents

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

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:

data UpdateServerEngineAttributes Source #

See: updateServerEngineAttributes smart constructor.

Instances

Eq UpdateServerEngineAttributes Source # 
Data UpdateServerEngineAttributes Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateServerEngineAttributes -> c UpdateServerEngineAttributes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateServerEngineAttributes #

toConstr :: UpdateServerEngineAttributes -> Constr #

dataTypeOf :: UpdateServerEngineAttributes -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateServerEngineAttributes) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateServerEngineAttributes) #

gmapT :: (forall b. Data b => b -> b) -> UpdateServerEngineAttributes -> UpdateServerEngineAttributes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServerEngineAttributes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServerEngineAttributes -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateServerEngineAttributes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateServerEngineAttributes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateServerEngineAttributes -> m UpdateServerEngineAttributes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServerEngineAttributes -> m UpdateServerEngineAttributes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServerEngineAttributes -> m UpdateServerEngineAttributes #

Read UpdateServerEngineAttributes Source # 
Show UpdateServerEngineAttributes Source # 
Generic UpdateServerEngineAttributes Source # 
Hashable UpdateServerEngineAttributes Source # 
ToJSON UpdateServerEngineAttributes Source # 
NFData UpdateServerEngineAttributes Source # 
AWSRequest UpdateServerEngineAttributes Source # 
ToHeaders UpdateServerEngineAttributes Source # 
ToPath UpdateServerEngineAttributes Source # 
ToQuery UpdateServerEngineAttributes Source # 
type Rep UpdateServerEngineAttributes Source # 
type Rep UpdateServerEngineAttributes = D1 * (MetaData "UpdateServerEngineAttributes" "Network.AWS.OpsWorksCM.UpdateServerEngineAttributes" "amazonka-opsworks-cm-1.6.0-D1lLq3cpj5Y52sT2PvyDqA" False) (C1 * (MetaCons "UpdateServerEngineAttributes'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_useaAttributeValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_useaServerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_useaAttributeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateServerEngineAttributes Source # 

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:

data UpdateServerEngineAttributesResponse Source #

See: updateServerEngineAttributesResponse smart constructor.

Instances

Eq UpdateServerEngineAttributesResponse Source # 
Data UpdateServerEngineAttributesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateServerEngineAttributesResponse -> c UpdateServerEngineAttributesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateServerEngineAttributesResponse #

toConstr :: UpdateServerEngineAttributesResponse -> Constr #

dataTypeOf :: UpdateServerEngineAttributesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateServerEngineAttributesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateServerEngineAttributesResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateServerEngineAttributesResponse -> UpdateServerEngineAttributesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServerEngineAttributesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateServerEngineAttributesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateServerEngineAttributesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateServerEngineAttributesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateServerEngineAttributesResponse -> m UpdateServerEngineAttributesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServerEngineAttributesResponse -> m UpdateServerEngineAttributesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateServerEngineAttributesResponse -> m UpdateServerEngineAttributesResponse #

Show UpdateServerEngineAttributesResponse Source # 
Generic UpdateServerEngineAttributesResponse Source # 
NFData UpdateServerEngineAttributesResponse Source # 
type Rep UpdateServerEngineAttributesResponse Source # 
type Rep UpdateServerEngineAttributesResponse = D1 * (MetaData "UpdateServerEngineAttributesResponse" "Network.AWS.OpsWorksCM.UpdateServerEngineAttributes" "amazonka-opsworks-cm-1.6.0-D1lLq3cpj5Y52sT2PvyDqA" False) (C1 * (MetaCons "UpdateServerEngineAttributesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_usearsServer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Server))) (S1 * (MetaSel (Just Symbol "_usearsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

usearsServer :: Lens' UpdateServerEngineAttributesResponse (Maybe Server) Source #

Contains the response to an UpdateServerEngineAttributes request.