Copyright | (c) 2013-2021 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 |
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.
Instances
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:
$sel:arn: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.
GetDeviceInstanceResponse' | |
|
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.