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 Task = Task' {}
- newTask :: MigrationStatus -> Task
- task_progressPercent :: Lens' Task (Maybe Natural)
- task_statusDetail :: Lens' Task (Maybe Text)
- task_status :: Lens' Task MigrationStatus
Documentation
Task object encapsulating task information.
See: newTask
smart constructor.
Task' | |
|
Instances
Eq Task Source # | |
Read Task Source # | |
Show Task Source # | |
Generic Task Source # | |
NFData Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
Hashable Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
ToJSON Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
FromJSON Task Source # | |
type Rep Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task type Rep Task = D1 ('MetaData "Task" "Amazonka.MigrationHub.Types.Task" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "Task'" 'PrefixI 'True) (S1 ('MetaSel ('Just "progressPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "statusDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MigrationStatus)))) |
Create a value of Task
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:progressPercent:Task'
, task_progressPercent
- Indication of the percentage completion of the task.
$sel:statusDetail:Task'
, task_statusDetail
- Details of task status as notified by a migration tool. A tool might use
this field to provide clarifying information about the status that is
unique to that tool or that explains an error state.
$sel:status:Task'
, task_status
- Status of the task - Not Started, In-Progress, Complete.
task_progressPercent :: Lens' Task (Maybe Natural) Source #
Indication of the percentage completion of the task.
task_statusDetail :: Lens' Task (Maybe Text) Source #
Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.
task_status :: Lens' Task MigrationStatus Source #
Status of the task - Not Started, In-Progress, Complete.