| 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.MediaLive.RebootInputDevice
Description
Send a reboot command to the specified input device. The device will begin rebooting within a few seconds of sending the command. When the reboot is complete, the device’s connection status will change to connected.
Synopsis
- data RebootInputDevice' = RebootInputDevice'' {}
- newRebootInputDevice' :: Text -> RebootInputDevice'
- rebootInputDevice'_force :: Lens' RebootInputDevice' (Maybe RebootInputDeviceForce)
- rebootInputDevice'_inputDeviceId :: Lens' RebootInputDevice' Text
- data RebootInputDeviceResponse = RebootInputDeviceResponse' {
- httpStatus :: Int
- newRebootInputDeviceResponse :: Int -> RebootInputDeviceResponse
- rebootInputDeviceResponse_httpStatus :: Lens' RebootInputDeviceResponse Int
Creating a Request
data RebootInputDevice' Source #
A request to reboot an AWS Elemental device.
See: newRebootInputDevice' smart constructor.
Constructors
| RebootInputDevice'' | |
Fields
| |
Instances
newRebootInputDevice' Source #
Arguments
| :: Text | |
| -> RebootInputDevice' |
Create a value of RebootInputDevice' 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:force:RebootInputDevice'', rebootInputDevice'_force - Force a reboot of an input device. If the device is streaming, it will
stop streaming and begin rebooting within a few seconds of sending the
command. If the device was streaming prior to the reboot, the device
will resume streaming when the reboot completes.
$sel:inputDeviceId:RebootInputDevice'', rebootInputDevice'_inputDeviceId - The unique ID of the input device to reboot. For example,
hd-123456789abcdef.
Request Lenses
rebootInputDevice'_force :: Lens' RebootInputDevice' (Maybe RebootInputDeviceForce) Source #
Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.
rebootInputDevice'_inputDeviceId :: Lens' RebootInputDevice' Text Source #
The unique ID of the input device to reboot. For example, hd-123456789abcdef.
Destructuring the Response
data RebootInputDeviceResponse Source #
Placeholder documentation for RebootInputDeviceResponse
See: newRebootInputDeviceResponse smart constructor.
Constructors
| RebootInputDeviceResponse' | |
Fields
| |
Instances
newRebootInputDeviceResponse Source #
Create a value of RebootInputDeviceResponse 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:httpStatus:RebootInputDeviceResponse', rebootInputDeviceResponse_httpStatus - The response's http status code.
Response Lenses
rebootInputDeviceResponse_httpStatus :: Lens' RebootInputDeviceResponse Int Source #
The response's http status code.