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 Update = Update' {
- createdAt :: Maybe POSIX
- errors :: Maybe [ErrorDetail]
- id :: Maybe Text
- params :: Maybe [UpdateParam]
- status :: Maybe UpdateStatus
- type' :: Maybe UpdateType
- newUpdate :: Update
- update_createdAt :: Lens' Update (Maybe UTCTime)
- update_errors :: Lens' Update (Maybe [ErrorDetail])
- update_id :: Lens' Update (Maybe Text)
- update_params :: Lens' Update (Maybe [UpdateParam])
- update_status :: Lens' Update (Maybe UpdateStatus)
- update_type :: Lens' Update (Maybe UpdateType)
Documentation
An object representing an asynchronous update.
See: newUpdate
smart constructor.
Update' | |
|
Instances
Create a value of Update
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:createdAt:Update'
, update_createdAt
- The Unix epoch timestamp in seconds for when the update was created.
$sel:errors:Update'
, update_errors
- Any errors associated with a Failed
update.
$sel:id:Update'
, update_id
- A UUID that is used to track the update.
$sel:params:Update'
, update_params
- A key-value map that contains the parameters associated with the update.
$sel:status:Update'
, update_status
- The current status of the update.
Update
, update_type
- The type of the update.
update_createdAt :: Lens' Update (Maybe UTCTime) Source #
The Unix epoch timestamp in seconds for when the update was created.
update_errors :: Lens' Update (Maybe [ErrorDetail]) Source #
Any errors associated with a Failed
update.
update_params :: Lens' Update (Maybe [UpdateParam]) Source #
A key-value map that contains the parameters associated with the update.
update_status :: Lens' Update (Maybe UpdateStatus) Source #
The current status of the update.
update_type :: Lens' Update (Maybe UpdateType) Source #
The type of the update.