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 |
Removes a device from Alexa For Business.
Synopsis
- data DeleteDevice = DeleteDevice' {}
- newDeleteDevice :: Text -> DeleteDevice
- deleteDevice_deviceArn :: Lens' DeleteDevice Text
- data DeleteDeviceResponse = DeleteDeviceResponse' {
- httpStatus :: Int
- newDeleteDeviceResponse :: Int -> DeleteDeviceResponse
- deleteDeviceResponse_httpStatus :: Lens' DeleteDeviceResponse Int
Creating a Request
data DeleteDevice Source #
See: newDeleteDevice
smart constructor.
Instances
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_deviceArn
- The ARN of the device for which to request details.
Request Lenses
deleteDevice_deviceArn :: Lens' DeleteDevice Text Source #
The ARN of the device for which to request details.
Destructuring the Response
data DeleteDeviceResponse Source #
See: newDeleteDeviceResponse
smart constructor.
DeleteDeviceResponse' | |
|
Instances
newDeleteDeviceResponse Source #
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:
$sel:httpStatus:DeleteDeviceResponse'
, deleteDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDeviceResponse_httpStatus :: Lens' DeleteDeviceResponse Int Source #
The response's http status code.