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 |
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.
StartInputDeviceMaintenanceWindow' | |
|
Instances
newStartInputDeviceMaintenanceWindow Source #
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.
StartInputDeviceMaintenanceWindowResponse' | |
|
Instances
Generic StartInputDeviceMaintenanceWindowResponse Source # | |
Defined in Amazonka.MediaLive.StartInputDeviceMaintenanceWindow type Rep StartInputDeviceMaintenanceWindowResponse :: Type -> Type # | |
Read StartInputDeviceMaintenanceWindowResponse Source # | |
Show StartInputDeviceMaintenanceWindowResponse Source # | |
NFData StartInputDeviceMaintenanceWindowResponse Source # | |
Eq StartInputDeviceMaintenanceWindowResponse Source # | |
type Rep StartInputDeviceMaintenanceWindowResponse Source # | |
Defined in Amazonka.MediaLive.StartInputDeviceMaintenanceWindow type Rep StartInputDeviceMaintenanceWindowResponse = D1 ('MetaData "StartInputDeviceMaintenanceWindowResponse" "Amazonka.MediaLive.StartInputDeviceMaintenanceWindow" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "StartInputDeviceMaintenanceWindowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartInputDeviceMaintenanceWindowResponse Source #
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.