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 |
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.
TestHypervisorConfiguration' | |
|
Instances
newTestHypervisorConfiguration Source #
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.
TestHypervisorConfigurationResponse' | |
|
Instances
Generic TestHypervisorConfigurationResponse Source # | |
Defined in Amazonka.BackupGateway.TestHypervisorConfiguration type Rep TestHypervisorConfigurationResponse :: Type -> Type # | |
Read TestHypervisorConfigurationResponse Source # | |
Show TestHypervisorConfigurationResponse Source # | |
NFData TestHypervisorConfigurationResponse Source # | |
Defined in Amazonka.BackupGateway.TestHypervisorConfiguration rnf :: TestHypervisorConfigurationResponse -> () # | |
Eq TestHypervisorConfigurationResponse Source # | |
type Rep TestHypervisorConfigurationResponse Source # | |
Defined in Amazonka.BackupGateway.TestHypervisorConfiguration type Rep TestHypervisorConfigurationResponse = D1 ('MetaData "TestHypervisorConfigurationResponse" "Amazonka.BackupGateway.TestHypervisorConfiguration" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "TestHypervisorConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newTestHypervisorConfigurationResponse Source #
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.