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 |
Returns information about a device instance belonging to a private device fleet.
- getDeviceInstance :: Text -> GetDeviceInstance
- data GetDeviceInstance
- gdiArn :: Lens' GetDeviceInstance Text
- getDeviceInstanceResponse :: Int -> GetDeviceInstanceResponse
- data GetDeviceInstanceResponse
- gdirsDeviceInstance :: Lens' GetDeviceInstanceResponse (Maybe DeviceInstance)
- gdirsResponseStatus :: Lens' GetDeviceInstanceResponse Int
Creating a Request
Creates a value of GetDeviceInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdiArn
- The Amazon Resource Name (ARN) of the instance you're requesting information about.
data GetDeviceInstance Source #
See: getDeviceInstance
smart constructor.
Request Lenses
gdiArn :: Lens' GetDeviceInstance Text Source #
The Amazon Resource Name (ARN) of the instance you're requesting information about.
Destructuring the Response
getDeviceInstanceResponse Source #
Creates a value of GetDeviceInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdirsDeviceInstance
- An object containing information about your device instance.gdirsResponseStatus
- -- | The response status code.
data GetDeviceInstanceResponse Source #
See: getDeviceInstanceResponse
smart constructor.
Response Lenses
gdirsDeviceInstance :: Lens' GetDeviceInstanceResponse (Maybe DeviceInstance) Source #
An object containing information about your device instance.
gdirsResponseStatus :: Lens' GetDeviceInstanceResponse Int Source #
- - | The response status code.