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 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
FromJSON Task Source # | |
ToJSON Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
Generic Task Source # | |
Read Task Source # | |
Show Task Source # | |
NFData Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
Eq Task Source # | |
Hashable Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
type Rep Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task type Rep Task = D1 ('MetaData "Task" "Amazonka.MigrationHub.Types.Task" "amazonka-migrationhub-2.0-HPFHfkzHnlJDPxcpvPbrRQ" '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.