Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data UpdateHypervisor = UpdateHypervisor' {}
- newUpdateHypervisor :: Text -> UpdateHypervisor
- updateHypervisor_host :: Lens' UpdateHypervisor (Maybe Text)
- updateHypervisor_logGroupArn :: Lens' UpdateHypervisor (Maybe Text)
- updateHypervisor_name :: Lens' UpdateHypervisor (Maybe Text)
- updateHypervisor_password :: Lens' UpdateHypervisor (Maybe Text)
- updateHypervisor_username :: Lens' UpdateHypervisor (Maybe Text)
- updateHypervisor_hypervisorArn :: Lens' UpdateHypervisor Text
- data UpdateHypervisorResponse = UpdateHypervisorResponse' {
- hypervisorArn :: Maybe Text
- httpStatus :: Int
- newUpdateHypervisorResponse :: Int -> UpdateHypervisorResponse
- updateHypervisorResponse_hypervisorArn :: Lens' UpdateHypervisorResponse (Maybe Text)
- updateHypervisorResponse_httpStatus :: Lens' UpdateHypervisorResponse Int
Creating a Request
data UpdateHypervisor Source #
See: newUpdateHypervisor
smart constructor.
UpdateHypervisor' | |
|
Instances
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.
UpdateHypervisorResponse' | |
|
Instances
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.
updateHypervisorResponse_httpStatus :: Lens' UpdateHypervisorResponse Int Source #
The response's http status code.