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 |
Network.AWS.DeviceFarm.GetDeviceInstance
Description
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
Arguments
:: Text | |
-> GetDeviceInstance |
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 #
See: getDeviceInstance
smart constructor.
Instances
Request Lenses
gdiArn :: Lens' GetDeviceInstance Text #
The Amazon Resource Name (ARN) of the instance you're requesting information about.
Destructuring the Response
Arguments
:: Int | |
-> GetDeviceInstanceResponse |
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 #
See: getDeviceInstanceResponse
smart constructor.
Response Lenses
gdirsDeviceInstance :: Lens' GetDeviceInstanceResponse (Maybe DeviceInstance) #
An object containing information about your device instance.
gdirsResponseStatus :: Lens' GetDeviceInstanceResponse Int #
- - | The response status code.