Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Disassociates a device from your AWS account using its device ID.
Synopsis
- data UnclaimDevice = UnclaimDevice' {}
- newUnclaimDevice :: Text -> UnclaimDevice
- unclaimDevice_deviceId :: Lens' UnclaimDevice Text
- data UnclaimDeviceResponse = UnclaimDeviceResponse' {
- state :: Maybe Text
- httpStatus :: Int
- newUnclaimDeviceResponse :: Int -> UnclaimDeviceResponse
- unclaimDeviceResponse_state :: Lens' UnclaimDeviceResponse (Maybe Text)
- unclaimDeviceResponse_httpStatus :: Lens' UnclaimDeviceResponse Int
Creating a Request
data UnclaimDevice Source #
See: newUnclaimDevice
smart constructor.
Instances
Create a value of UnclaimDevice
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:deviceId:UnclaimDevice'
, unclaimDevice_deviceId
- The unique identifier of the device.
Request Lenses
unclaimDevice_deviceId :: Lens' UnclaimDevice Text Source #
The unique identifier of the device.
Destructuring the Response
data UnclaimDeviceResponse Source #
See: newUnclaimDeviceResponse
smart constructor.
UnclaimDeviceResponse' | |
|
Instances
newUnclaimDeviceResponse Source #
Create a value of UnclaimDeviceResponse
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:state:UnclaimDeviceResponse'
, unclaimDeviceResponse_state
- The device's final claim state.
$sel:httpStatus:UnclaimDeviceResponse'
, unclaimDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
unclaimDeviceResponse_state :: Lens' UnclaimDeviceResponse (Maybe Text) Source #
The device's final claim state.
unclaimDeviceResponse_httpStatus :: Lens' UnclaimDeviceResponse Int Source #
The response's http status code.