| 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 |
Amazonka.BackupGateway.GetHypervisor
Description
This action requests information about the specified hypervisor to which the gateway will connect. A hypervisor is hardware, software, or firmware that creates and manages virtual machines, and allocates resources to them.
Synopsis
- data GetHypervisor = GetHypervisor' {}
- newGetHypervisor :: Text -> GetHypervisor
- getHypervisor_hypervisorArn :: Lens' GetHypervisor Text
- data GetHypervisorResponse = GetHypervisorResponse' {}
- newGetHypervisorResponse :: Int -> GetHypervisorResponse
- getHypervisorResponse_hypervisor :: Lens' GetHypervisorResponse (Maybe HypervisorDetails)
- getHypervisorResponse_httpStatus :: Lens' GetHypervisorResponse Int
Creating a Request
data GetHypervisor Source #
See: newGetHypervisor smart constructor.
Constructors
| GetHypervisor' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetHypervisor |
Create a value of GetHypervisor 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:
GetHypervisor, getHypervisor_hypervisorArn - The Amazon Resource Name (ARN) of the hypervisor.
Request Lenses
getHypervisor_hypervisorArn :: Lens' GetHypervisor Text Source #
The Amazon Resource Name (ARN) of the hypervisor.
Destructuring the Response
data GetHypervisorResponse Source #
See: newGetHypervisorResponse smart constructor.
Constructors
| GetHypervisorResponse' | |
Fields
| |
Instances
newGetHypervisorResponse Source #
Create a value of GetHypervisorResponse 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:hypervisor:GetHypervisorResponse', getHypervisorResponse_hypervisor - Details about the requested hypervisor.
$sel:httpStatus:GetHypervisorResponse', getHypervisorResponse_httpStatus - The response's http status code.
Response Lenses
getHypervisorResponse_hypervisor :: Lens' GetHypervisorResponse (Maybe HypervisorDetails) Source #
Details about the requested hypervisor.
getHypervisorResponse_httpStatus :: Lens' GetHypervisorResponse Int Source #
The response's http status code.