| 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.TestHypervisorConfiguration
Description
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
Synopsis
- data TestHypervisorConfiguration = TestHypervisorConfiguration' {}
- newTestHypervisorConfiguration :: Text -> Text -> TestHypervisorConfiguration
- testHypervisorConfiguration_password :: Lens' TestHypervisorConfiguration (Maybe Text)
- testHypervisorConfiguration_username :: Lens' TestHypervisorConfiguration (Maybe Text)
- testHypervisorConfiguration_gatewayArn :: Lens' TestHypervisorConfiguration Text
- testHypervisorConfiguration_host :: Lens' TestHypervisorConfiguration Text
- data TestHypervisorConfigurationResponse = TestHypervisorConfigurationResponse' {
- httpStatus :: Int
- newTestHypervisorConfigurationResponse :: Int -> TestHypervisorConfigurationResponse
- testHypervisorConfigurationResponse_httpStatus :: Lens' TestHypervisorConfigurationResponse Int
Creating a Request
data TestHypervisorConfiguration Source #
See: newTestHypervisorConfiguration smart constructor.
Constructors
| TestHypervisorConfiguration' | |
Fields
| |
Instances
newTestHypervisorConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> TestHypervisorConfiguration |
Create a value of TestHypervisorConfiguration 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:password:TestHypervisorConfiguration', testHypervisorConfiguration_password - The password for the hypervisor.
$sel:username:TestHypervisorConfiguration', testHypervisorConfiguration_username - The username for the hypervisor.
TestHypervisorConfiguration, testHypervisorConfiguration_gatewayArn - The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.
TestHypervisorConfiguration, testHypervisorConfiguration_host - The server host of the hypervisor. This can be either an IP address or a
fully-qualified domain name (FQDN).
Request Lenses
testHypervisorConfiguration_password :: Lens' TestHypervisorConfiguration (Maybe Text) Source #
The password for the hypervisor.
testHypervisorConfiguration_username :: Lens' TestHypervisorConfiguration (Maybe Text) Source #
The username for the hypervisor.
testHypervisorConfiguration_gatewayArn :: Lens' TestHypervisorConfiguration Text Source #
The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.
testHypervisorConfiguration_host :: Lens' TestHypervisorConfiguration Text Source #
The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
Destructuring the Response
data TestHypervisorConfigurationResponse Source #
See: newTestHypervisorConfigurationResponse smart constructor.
Constructors
| TestHypervisorConfigurationResponse' | |
Fields
| |
Instances
newTestHypervisorConfigurationResponse Source #
Arguments
| :: Int | |
| -> TestHypervisorConfigurationResponse |
Create a value of TestHypervisorConfigurationResponse 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:httpStatus:TestHypervisorConfigurationResponse', testHypervisorConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
testHypervisorConfigurationResponse_httpStatus :: Lens' TestHypervisorConfigurationResponse Int Source #
The response's http status code.