| 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.GetDevice
Description
Gets information about a unique device type.
Synopsis
- data GetDevice = GetDevice' {}
- newGetDevice :: Text -> GetDevice
- getDevice_arn :: Lens' GetDevice Text
- data GetDeviceResponse = GetDeviceResponse' {
- device :: Maybe Device
- httpStatus :: Int
- newGetDeviceResponse :: Int -> GetDeviceResponse
- getDeviceResponse_device :: Lens' GetDeviceResponse (Maybe Device)
- getDeviceResponse_httpStatus :: Lens' GetDeviceResponse Int
Creating a Request
Represents a request to the get device request.
See: newGetDevice smart constructor.
Constructors
| GetDevice' | |
Instances
Create a value of GetDevice 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:
GetDevice, getDevice_arn - The device type's ARN.
Request Lenses
Destructuring the Response
data GetDeviceResponse Source #
Represents the result of a get device request.
See: newGetDeviceResponse smart constructor.
Constructors
| GetDeviceResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetDeviceResponse |
Create a value of GetDeviceResponse 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:
GetDeviceResponse, getDeviceResponse_device - An object that contains information about the requested device.
$sel:httpStatus:GetDeviceResponse', getDeviceResponse_httpStatus - The response's http status code.
Response Lenses
getDeviceResponse_device :: Lens' GetDeviceResponse (Maybe Device) Source #
An object that contains information about the requested device.
getDeviceResponse_httpStatus :: Lens' GetDeviceResponse Int Source #
The response's http status code.