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 |
Synopsis
- data ControlOperation = ControlOperation' {}
- newControlOperation :: ControlOperation
- controlOperation_endTime :: Lens' ControlOperation (Maybe UTCTime)
- controlOperation_operationType :: Lens' ControlOperation (Maybe ControlOperationType)
- controlOperation_startTime :: Lens' ControlOperation (Maybe UTCTime)
- controlOperation_status :: Lens' ControlOperation (Maybe ControlOperationStatus)
- controlOperation_statusMessage :: Lens' ControlOperation (Maybe Text)
Documentation
data ControlOperation Source #
An operation performed by the control.
See: newControlOperation
smart constructor.
ControlOperation' | |
|
Instances
newControlOperation :: ControlOperation Source #
Create a value of ControlOperation
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:endTime:ControlOperation'
, controlOperation_endTime
- The time that the operation finished.
$sel:operationType:ControlOperation'
, controlOperation_operationType
- One of ENABLE_CONTROL
or DISABLE_CONTROL
.
$sel:startTime:ControlOperation'
, controlOperation_startTime
- The time that the operation began.
$sel:status:ControlOperation'
, controlOperation_status
- One of IN_PROGRESS
, SUCEEDED
, or FAILED
.
$sel:statusMessage:ControlOperation'
, controlOperation_statusMessage
- If the operation result is FAILED
, this string contains a message
explaining why the operation failed.
controlOperation_endTime :: Lens' ControlOperation (Maybe UTCTime) Source #
The time that the operation finished.
controlOperation_operationType :: Lens' ControlOperation (Maybe ControlOperationType) Source #
One of ENABLE_CONTROL
or DISABLE_CONTROL
.
controlOperation_startTime :: Lens' ControlOperation (Maybe UTCTime) Source #
The time that the operation began.
controlOperation_status :: Lens' ControlOperation (Maybe ControlOperationStatus) Source #
One of IN_PROGRESS
, SUCEEDED
, or FAILED
.
controlOperation_statusMessage :: Lens' ControlOperation (Maybe Text) Source #
If the operation result is FAILED
, this string contains a message
explaining why the operation failed.