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.StartInputDeviceMaintenanceWindow
Description
Start a maintenance window for the specified input device. Starting a maintenance window will give the device up to two hours to install software. If the device was streaming prior to the maintenance, it will resume streaming when the software is fully installed. Devices automatically install updates while they are powered on and their MediaLive channels are stopped. A maintenance window allows you to update a device without having to stop MediaLive channels that use the device. The device must remain powered on and connected to the internet for the duration of the maintenance.
Synopsis
- data StartInputDeviceMaintenanceWindow = StartInputDeviceMaintenanceWindow' {}
- newStartInputDeviceMaintenanceWindow :: Text -> StartInputDeviceMaintenanceWindow
- startInputDeviceMaintenanceWindow_inputDeviceId :: Lens' StartInputDeviceMaintenanceWindow Text
- data StartInputDeviceMaintenanceWindowResponse = StartInputDeviceMaintenanceWindowResponse' {
- httpStatus :: Int
- newStartInputDeviceMaintenanceWindowResponse :: Int -> StartInputDeviceMaintenanceWindowResponse
- startInputDeviceMaintenanceWindowResponse_httpStatus :: Lens' StartInputDeviceMaintenanceWindowResponse Int
Creating a Request
data StartInputDeviceMaintenanceWindow Source #
Placeholder documentation for StartInputDeviceMaintenanceWindowRequest
See: newStartInputDeviceMaintenanceWindow
smart constructor.
Constructors
StartInputDeviceMaintenanceWindow' | |
Fields
|
Instances
newStartInputDeviceMaintenanceWindow Source #
Arguments
:: Text | |
-> StartInputDeviceMaintenanceWindow |
Create a value of StartInputDeviceMaintenanceWindow
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:inputDeviceId:StartInputDeviceMaintenanceWindow'
, startInputDeviceMaintenanceWindow_inputDeviceId
- The unique ID of the input device to start a maintenance window for. For
example, hd-123456789abcdef.
Request Lenses
startInputDeviceMaintenanceWindow_inputDeviceId :: Lens' StartInputDeviceMaintenanceWindow Text Source #
The unique ID of the input device to start a maintenance window for. For example, hd-123456789abcdef.
Destructuring the Response
data StartInputDeviceMaintenanceWindowResponse Source #
Placeholder documentation for StartInputDeviceMaintenanceWindowResponse
See: newStartInputDeviceMaintenanceWindowResponse
smart constructor.
Constructors
StartInputDeviceMaintenanceWindowResponse' | |
Fields
|
Instances
newStartInputDeviceMaintenanceWindowResponse Source #
Arguments
:: Int | |
-> StartInputDeviceMaintenanceWindowResponse |
Create a value of StartInputDeviceMaintenanceWindowResponse
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:StartInputDeviceMaintenanceWindowResponse'
, startInputDeviceMaintenanceWindowResponse_httpStatus
- The response's http status code.
Response Lenses
startInputDeviceMaintenanceWindowResponse_httpStatus :: Lens' StartInputDeviceMaintenanceWindowResponse Int Source #
The response's http status code.