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 |
Updates information about a private device instance.
Synopsis
- data UpdateDeviceInstance = UpdateDeviceInstance' {}
- newUpdateDeviceInstance :: Text -> UpdateDeviceInstance
- updateDeviceInstance_labels :: Lens' UpdateDeviceInstance (Maybe [Text])
- updateDeviceInstance_profileArn :: Lens' UpdateDeviceInstance (Maybe Text)
- updateDeviceInstance_arn :: Lens' UpdateDeviceInstance Text
- data UpdateDeviceInstanceResponse = UpdateDeviceInstanceResponse' {}
- newUpdateDeviceInstanceResponse :: Int -> UpdateDeviceInstanceResponse
- updateDeviceInstanceResponse_deviceInstance :: Lens' UpdateDeviceInstanceResponse (Maybe DeviceInstance)
- updateDeviceInstanceResponse_httpStatus :: Lens' UpdateDeviceInstanceResponse Int
Creating a Request
data UpdateDeviceInstance Source #
See: newUpdateDeviceInstance
smart constructor.
Instances
newUpdateDeviceInstance Source #
Create a value of UpdateDeviceInstance
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:
UpdateDeviceInstance
, updateDeviceInstance_labels
- An array of strings that you want to associate with the device instance.
$sel:profileArn:UpdateDeviceInstance'
, updateDeviceInstance_profileArn
- The ARN of the profile that you want to associate with the device
instance.
UpdateDeviceInstance
, updateDeviceInstance_arn
- The Amazon Resource Name (ARN) of the device instance.
Request Lenses
updateDeviceInstance_labels :: Lens' UpdateDeviceInstance (Maybe [Text]) Source #
An array of strings that you want to associate with the device instance.
updateDeviceInstance_profileArn :: Lens' UpdateDeviceInstance (Maybe Text) Source #
The ARN of the profile that you want to associate with the device instance.
updateDeviceInstance_arn :: Lens' UpdateDeviceInstance Text Source #
The Amazon Resource Name (ARN) of the device instance.
Destructuring the Response
data UpdateDeviceInstanceResponse Source #
See: newUpdateDeviceInstanceResponse
smart constructor.
UpdateDeviceInstanceResponse' | |
|
Instances
newUpdateDeviceInstanceResponse Source #
Create a value of UpdateDeviceInstanceResponse
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:deviceInstance:UpdateDeviceInstanceResponse'
, updateDeviceInstanceResponse_deviceInstance
- An object that contains information about your device instance.
$sel:httpStatus:UpdateDeviceInstanceResponse'
, updateDeviceInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
updateDeviceInstanceResponse_deviceInstance :: Lens' UpdateDeviceInstanceResponse (Maybe DeviceInstance) Source #
An object that contains information about your device instance.
updateDeviceInstanceResponse_httpStatus :: Lens' UpdateDeviceInstanceResponse Int Source #
The response's http status code.