Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Update = Update' {
- status :: Maybe UpdateStatus
- createdAt :: Maybe POSIX
- params :: Maybe [UpdateParam]
- id :: Maybe Text
- type' :: Maybe UpdateType
- errors :: Maybe [ErrorDetail]
- newUpdate :: Update
- update_status :: Lens' Update (Maybe UpdateStatus)
- update_createdAt :: Lens' Update (Maybe UTCTime)
- update_params :: Lens' Update (Maybe [UpdateParam])
- update_id :: Lens' Update (Maybe Text)
- update_type :: Lens' Update (Maybe UpdateType)
- update_errors :: Lens' Update (Maybe [ErrorDetail])
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:status:Update'
, update_status
- The current status of the update.
$sel:createdAt:Update'
, update_createdAt
- The Unix epoch timestamp in seconds for when the update was created.
$sel:params:Update'
, update_params
- A key-value map that contains the parameters associated with the update.
$sel:id:Update'
, update_id
- A UUID that is used to track the update.
$sel:type':Update'
, update_type
- The type of the update.
$sel:errors:Update'
, update_errors
- Any errors associated with a Failed
update.
update_status :: Lens' Update (Maybe UpdateStatus) Source #
The current status of the update.
update_createdAt :: Lens' Update (Maybe UTCTime) Source #
The Unix epoch timestamp in seconds for when the update was created.
update_params :: Lens' Update (Maybe [UpdateParam]) Source #
A key-value map that contains the parameters associated with the update.
update_type :: Lens' Update (Maybe UpdateType) Source #
The type of the update.
update_errors :: Lens' Update (Maybe [ErrorDetail]) Source #
Any errors associated with a Failed
update.