| 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.ImportHypervisorConfiguration
Description
Connect to a hypervisor by importing its configuration.
Synopsis
- data ImportHypervisorConfiguration = ImportHypervisorConfiguration' {}
- newImportHypervisorConfiguration :: Text -> Text -> ImportHypervisorConfiguration
- importHypervisorConfiguration_kmsKeyArn :: Lens' ImportHypervisorConfiguration (Maybe Text)
- importHypervisorConfiguration_password :: Lens' ImportHypervisorConfiguration (Maybe Text)
- importHypervisorConfiguration_tags :: Lens' ImportHypervisorConfiguration (Maybe [Tag])
- importHypervisorConfiguration_username :: Lens' ImportHypervisorConfiguration (Maybe Text)
- importHypervisorConfiguration_host :: Lens' ImportHypervisorConfiguration Text
- importHypervisorConfiguration_name :: Lens' ImportHypervisorConfiguration Text
- data ImportHypervisorConfigurationResponse = ImportHypervisorConfigurationResponse' {
- hypervisorArn :: Maybe Text
- httpStatus :: Int
- newImportHypervisorConfigurationResponse :: Int -> ImportHypervisorConfigurationResponse
- importHypervisorConfigurationResponse_hypervisorArn :: Lens' ImportHypervisorConfigurationResponse (Maybe Text)
- importHypervisorConfigurationResponse_httpStatus :: Lens' ImportHypervisorConfigurationResponse Int
Creating a Request
data ImportHypervisorConfiguration Source #
See: newImportHypervisorConfiguration smart constructor.
Constructors
| ImportHypervisorConfiguration' | |
Fields
| |
Instances
newImportHypervisorConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> ImportHypervisorConfiguration |
Create a value of ImportHypervisorConfiguration 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:
ImportHypervisorConfiguration, importHypervisorConfiguration_kmsKeyArn - The Key Management Service for the hypervisor.
$sel:password:ImportHypervisorConfiguration', importHypervisorConfiguration_password - The password for the hypervisor.
$sel:tags:ImportHypervisorConfiguration', importHypervisorConfiguration_tags - The tags of the hypervisor configuration to import.
$sel:username:ImportHypervisorConfiguration', importHypervisorConfiguration_username - The username for the hypervisor.
ImportHypervisorConfiguration, importHypervisorConfiguration_host - The server host of the hypervisor. This can be either an IP address or a
fully-qualified domain name (FQDN).
ImportHypervisorConfiguration, importHypervisorConfiguration_name - The name of the hypervisor.
Request Lenses
importHypervisorConfiguration_kmsKeyArn :: Lens' ImportHypervisorConfiguration (Maybe Text) Source #
The Key Management Service for the hypervisor.
importHypervisorConfiguration_password :: Lens' ImportHypervisorConfiguration (Maybe Text) Source #
The password for the hypervisor.
importHypervisorConfiguration_tags :: Lens' ImportHypervisorConfiguration (Maybe [Tag]) Source #
The tags of the hypervisor configuration to import.
importHypervisorConfiguration_username :: Lens' ImportHypervisorConfiguration (Maybe Text) Source #
The username for the hypervisor.
importHypervisorConfiguration_host :: Lens' ImportHypervisorConfiguration Text Source #
The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
importHypervisorConfiguration_name :: Lens' ImportHypervisorConfiguration Text Source #
The name of the hypervisor.
Destructuring the Response
data ImportHypervisorConfigurationResponse Source #
See: newImportHypervisorConfigurationResponse smart constructor.
Constructors
| ImportHypervisorConfigurationResponse' | |
Fields
| |
Instances
newImportHypervisorConfigurationResponse Source #
Arguments
| :: Int | |
| -> ImportHypervisorConfigurationResponse |
Create a value of ImportHypervisorConfigurationResponse 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:
ImportHypervisorConfigurationResponse, importHypervisorConfigurationResponse_hypervisorArn - The Amazon Resource Name (ARN) of the hypervisor you disassociated.
$sel:httpStatus:ImportHypervisorConfigurationResponse', importHypervisorConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
importHypervisorConfigurationResponse_hypervisorArn :: Lens' ImportHypervisorConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the hypervisor you disassociated.
importHypervisorConfigurationResponse_httpStatus :: Lens' ImportHypervisorConfigurationResponse Int Source #
The response's http status code.