| 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.DeleteHypervisor
Description
Deletes a hypervisor.
Synopsis
- data DeleteHypervisor = DeleteHypervisor' {}
- newDeleteHypervisor :: Text -> DeleteHypervisor
- deleteHypervisor_hypervisorArn :: Lens' DeleteHypervisor Text
- data DeleteHypervisorResponse = DeleteHypervisorResponse' {
- hypervisorArn :: Maybe Text
- httpStatus :: Int
- newDeleteHypervisorResponse :: Int -> DeleteHypervisorResponse
- deleteHypervisorResponse_hypervisorArn :: Lens' DeleteHypervisorResponse (Maybe Text)
- deleteHypervisorResponse_httpStatus :: Lens' DeleteHypervisorResponse Int
Creating a Request
data DeleteHypervisor Source #
See: newDeleteHypervisor smart constructor.
Constructors
| DeleteHypervisor' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteHypervisor |
Create a value of DeleteHypervisor 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:
DeleteHypervisor, deleteHypervisor_hypervisorArn - The Amazon Resource Name (ARN) of the hypervisor to delete.
Request Lenses
deleteHypervisor_hypervisorArn :: Lens' DeleteHypervisor Text Source #
The Amazon Resource Name (ARN) of the hypervisor to delete.
Destructuring the Response
data DeleteHypervisorResponse Source #
See: newDeleteHypervisorResponse smart constructor.
Constructors
| DeleteHypervisorResponse' | |
Fields
| |
Instances
newDeleteHypervisorResponse Source #
Create a value of DeleteHypervisorResponse 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:
DeleteHypervisor, deleteHypervisorResponse_hypervisorArn - The Amazon Resource Name (ARN) of the hypervisor you deleted.
$sel:httpStatus:DeleteHypervisorResponse', deleteHypervisorResponse_httpStatus - The response's http status code.
Response Lenses
deleteHypervisorResponse_hypervisorArn :: Lens' DeleteHypervisorResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the hypervisor you deleted.
deleteHypervisorResponse_httpStatus :: Lens' DeleteHypervisorResponse Int Source #
The response's http status code.