Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates information about an existing private device instance.
Synopsis
- updateDeviceInstance :: Text -> UpdateDeviceInstance
- data UpdateDeviceInstance
- udiProfileARN :: Lens' UpdateDeviceInstance (Maybe Text)
- udiLabels :: Lens' UpdateDeviceInstance [Text]
- udiArn :: Lens' UpdateDeviceInstance Text
- updateDeviceInstanceResponse :: Int -> UpdateDeviceInstanceResponse
- data UpdateDeviceInstanceResponse
- udirsDeviceInstance :: Lens' UpdateDeviceInstanceResponse (Maybe DeviceInstance)
- udirsResponseStatus :: Lens' UpdateDeviceInstanceResponse Int
Creating a Request
Creates a value of UpdateDeviceInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udiProfileARN
- The Amazon Resource Name (ARN) of the profile that you want to associate with the device instance.udiLabels
- An array of strings that you want to associate with the device instance.udiArn
- The Amazon Resource Name (ARN) of the device instance.
data UpdateDeviceInstance Source #
See: updateDeviceInstance
smart constructor.
Instances
Request Lenses
udiProfileARN :: Lens' UpdateDeviceInstance (Maybe Text) Source #
The Amazon Resource Name (ARN) of the profile that you want to associate with the device instance.
udiLabels :: Lens' UpdateDeviceInstance [Text] Source #
An array of strings that you want to associate with the device instance.
udiArn :: Lens' UpdateDeviceInstance Text Source #
The Amazon Resource Name (ARN) of the device instance.
Destructuring the Response
updateDeviceInstanceResponse Source #
Creates a value of UpdateDeviceInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udirsDeviceInstance
- An object containing information about your device instance.udirsResponseStatus
- -- | The response status code.
data UpdateDeviceInstanceResponse Source #
See: updateDeviceInstanceResponse
smart constructor.
Instances
Response Lenses
udirsDeviceInstance :: Lens' UpdateDeviceInstanceResponse (Maybe DeviceInstance) Source #
An object containing information about your device instance.
udirsResponseStatus :: Lens' UpdateDeviceInstanceResponse Int Source #
- - | The response status code.