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

Description

Updates settings for a server.

This operation is synchronous.

Synopsis

Creating a Request

data UpdateServer Source #

See: newUpdateServer smart constructor.

Constructors

UpdateServer' 

Fields

Instances

Instances details
Eq UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Read UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Show UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Generic UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Associated Types

type Rep UpdateServer :: Type -> Type #

NFData UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Methods

rnf :: UpdateServer -> () #

Hashable UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

ToJSON UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

AWSRequest UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Associated Types

type AWSResponse UpdateServer #

ToHeaders UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

ToPath UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

ToQuery UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

type Rep UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

type Rep UpdateServer = D1 ('MetaData "UpdateServer" "Amazonka.OpsWorksCM.UpdateServer" "libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm" 'False) (C1 ('MetaCons "UpdateServer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "disableAutomatedBackup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "preferredMaintenanceWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "preferredBackupWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "backupRetentionCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "serverName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateServer Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

newUpdateServer Source #

Create a value of UpdateServer 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:disableAutomatedBackup:UpdateServer', updateServer_disableAutomatedBackup - Setting DisableAutomatedBackup to true disables automated or scheduled backups. Automated backups are enabled by default.

$sel:preferredMaintenanceWindow:UpdateServer', updateServer_preferredMaintenanceWindow - Undocumented member.

$sel:preferredBackupWindow:UpdateServer', updateServer_preferredBackupWindow - Undocumented member.

$sel:backupRetentionCount:UpdateServer', updateServer_backupRetentionCount - Sets the number of automated backups that you want to keep.

$sel:serverName:UpdateServer', updateServer_serverName - The name of the server to update.

Request Lenses

updateServer_disableAutomatedBackup :: Lens' UpdateServer (Maybe Bool) Source #

Setting DisableAutomatedBackup to true disables automated or scheduled backups. Automated backups are enabled by default.

updateServer_backupRetentionCount :: Lens' UpdateServer (Maybe Int) Source #

Sets the number of automated backups that you want to keep.

updateServer_serverName :: Lens' UpdateServer Text Source #

The name of the server to update.

Destructuring the Response

data UpdateServerResponse Source #

See: newUpdateServerResponse smart constructor.

Constructors

UpdateServerResponse' 

Fields

Instances

Instances details
Eq UpdateServerResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Show UpdateServerResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Generic UpdateServerResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Associated Types

type Rep UpdateServerResponse :: Type -> Type #

NFData UpdateServerResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

Methods

rnf :: UpdateServerResponse -> () #

type Rep UpdateServerResponse Source # 
Instance details

Defined in Amazonka.OpsWorksCM.UpdateServer

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

newUpdateServerResponse Source #

Create a value of UpdateServerResponse 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:UpdateServerResponse', updateServerResponse_server - Contains the response to a UpdateServer request.

$sel:httpStatus:UpdateServerResponse', updateServerResponse_httpStatus - The response's http status code.

Response Lenses

updateServerResponse_server :: Lens' UpdateServerResponse (Maybe Server) Source #

Contains the response to a UpdateServer request.