| 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 |
Amazonka.DeviceFarm.GetDeviceInstance
Description
Returns information about a device instance that belongs to a private device fleet.
Synopsis
- data GetDeviceInstance = GetDeviceInstance' {}
- newGetDeviceInstance :: Text -> GetDeviceInstance
- getDeviceInstance_arn :: Lens' GetDeviceInstance Text
- data GetDeviceInstanceResponse = GetDeviceInstanceResponse' {}
- newGetDeviceInstanceResponse :: Int -> GetDeviceInstanceResponse
- getDeviceInstanceResponse_deviceInstance :: Lens' GetDeviceInstanceResponse (Maybe DeviceInstance)
- getDeviceInstanceResponse_httpStatus :: Lens' GetDeviceInstanceResponse Int
Creating a Request
data GetDeviceInstance Source #
See: newGetDeviceInstance smart constructor.
Constructors
| GetDeviceInstance' | |
Instances
Arguments
| :: Text | |
| -> GetDeviceInstance |
Create a value of GetDeviceInstance 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:
GetDeviceInstance, getDeviceInstance_arn - The Amazon Resource Name (ARN) of the instance you're requesting
information about.
Request Lenses
getDeviceInstance_arn :: Lens' GetDeviceInstance Text Source #
The Amazon Resource Name (ARN) of the instance you're requesting information about.
Destructuring the Response
data GetDeviceInstanceResponse Source #
See: newGetDeviceInstanceResponse smart constructor.
Constructors
| GetDeviceInstanceResponse' | |
Fields
| |
Instances
newGetDeviceInstanceResponse Source #
Create a value of GetDeviceInstanceResponse 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:GetDeviceInstanceResponse', getDeviceInstanceResponse_deviceInstance - An object that contains information about your device instance.
$sel:httpStatus:GetDeviceInstanceResponse', getDeviceInstanceResponse_httpStatus - The response's http status code.
Response Lenses
getDeviceInstanceResponse_deviceInstance :: Lens' GetDeviceInstanceResponse (Maybe DeviceInstance) Source #
An object that contains information about your device instance.
getDeviceInstanceResponse_httpStatus :: Lens' GetDeviceInstanceResponse Int Source #
The response's http status code.