amazonka-backup-gateway-2.0: Amazon Backup Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BackupGateway.UpdateHypervisor

Description

Updates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.

Synopsis

Creating a Request

data UpdateHypervisor Source #

See: newUpdateHypervisor smart constructor.

Constructors

UpdateHypervisor' 

Fields

Instances

Instances details
ToJSON UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

ToHeaders UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

ToPath UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

ToQuery UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

AWSRequest UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

Associated Types

type AWSResponse UpdateHypervisor #

Generic UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

Associated Types

type Rep UpdateHypervisor :: Type -> Type #

Show UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

NFData UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

Methods

rnf :: UpdateHypervisor -> () #

Eq UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

Hashable UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

type AWSResponse UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

type Rep UpdateHypervisor Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

type Rep UpdateHypervisor = D1 ('MetaData "UpdateHypervisor" "Amazonka.BackupGateway.UpdateHypervisor" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "UpdateHypervisor'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "host") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "hypervisorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateHypervisor Source #

Create a value of UpdateHypervisor 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:

UpdateHypervisor, updateHypervisor_host - The updated host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).

UpdateHypervisor, updateHypervisor_logGroupArn - The Amazon Resource Name (ARN) of the group of gateways within the requested log.

UpdateHypervisor, updateHypervisor_name - The updated name for the hypervisor

$sel:password:UpdateHypervisor', updateHypervisor_password - The updated password for the hypervisor.

$sel:username:UpdateHypervisor', updateHypervisor_username - The updated username for the hypervisor.

UpdateHypervisor, updateHypervisor_hypervisorArn - The Amazon Resource Name (ARN) of the hypervisor to update.

Request Lenses

updateHypervisor_host :: Lens' UpdateHypervisor (Maybe Text) Source #

The updated host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).

updateHypervisor_logGroupArn :: Lens' UpdateHypervisor (Maybe Text) Source #

The Amazon Resource Name (ARN) of the group of gateways within the requested log.

updateHypervisor_name :: Lens' UpdateHypervisor (Maybe Text) Source #

The updated name for the hypervisor

updateHypervisor_password :: Lens' UpdateHypervisor (Maybe Text) Source #

The updated password for the hypervisor.

updateHypervisor_username :: Lens' UpdateHypervisor (Maybe Text) Source #

The updated username for the hypervisor.

updateHypervisor_hypervisorArn :: Lens' UpdateHypervisor Text Source #

The Amazon Resource Name (ARN) of the hypervisor to update.

Destructuring the Response

data UpdateHypervisorResponse Source #

See: newUpdateHypervisorResponse smart constructor.

Constructors

UpdateHypervisorResponse' 

Fields

Instances

Instances details
Generic UpdateHypervisorResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

Associated Types

type Rep UpdateHypervisorResponse :: Type -> Type #

Read UpdateHypervisorResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

Show UpdateHypervisorResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

NFData UpdateHypervisorResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

Eq UpdateHypervisorResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

type Rep UpdateHypervisorResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateHypervisor

type Rep UpdateHypervisorResponse = D1 ('MetaData "UpdateHypervisorResponse" "Amazonka.BackupGateway.UpdateHypervisor" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "UpdateHypervisorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hypervisorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateHypervisorResponse Source #

Create a value of UpdateHypervisorResponse 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:

UpdateHypervisor, updateHypervisorResponse_hypervisorArn - The Amazon Resource Name (ARN) of the hypervisor you updated.

$sel:httpStatus:UpdateHypervisorResponse', updateHypervisorResponse_httpStatus - The response's http status code.

Response Lenses

updateHypervisorResponse_hypervisorArn :: Lens' UpdateHypervisorResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the hypervisor you updated.