| 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.Panorama.DeleteDevice
Description
Deletes a device.
Synopsis
- data DeleteDevice = DeleteDevice' {}
- newDeleteDevice :: Text -> DeleteDevice
- deleteDevice_deviceId :: Lens' DeleteDevice Text
- data DeleteDeviceResponse = DeleteDeviceResponse' {
- deviceId :: Maybe Text
- httpStatus :: Int
- newDeleteDeviceResponse :: Int -> DeleteDeviceResponse
- deleteDeviceResponse_deviceId :: Lens' DeleteDeviceResponse (Maybe Text)
- deleteDeviceResponse_httpStatus :: Lens' DeleteDeviceResponse Int
Creating a Request
data DeleteDevice Source #
See: newDeleteDevice smart constructor.
Constructors
| DeleteDevice' | |
Instances
Arguments
| :: Text | |
| -> DeleteDevice |
Create a value of DeleteDevice 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:
DeleteDevice, deleteDevice_deviceId - The device's ID.
Request Lenses
deleteDevice_deviceId :: Lens' DeleteDevice Text Source #
The device's ID.
Destructuring the Response
data DeleteDeviceResponse Source #
See: newDeleteDeviceResponse smart constructor.
Constructors
| DeleteDeviceResponse' | |
Fields
| |
Instances
newDeleteDeviceResponse Source #
Arguments
| :: Int | |
| -> DeleteDeviceResponse |
Create a value of DeleteDeviceResponse 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:
DeleteDevice, deleteDeviceResponse_deviceId - The device's ID.
$sel:httpStatus:DeleteDeviceResponse', deleteDeviceResponse_httpStatus - The response's http status code.
Response Lenses
deleteDeviceResponse_deviceId :: Lens' DeleteDeviceResponse (Maybe Text) Source #
The device's ID.
deleteDeviceResponse_httpStatus :: Lens' DeleteDeviceResponse Int Source #
The response's http status code.