libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MigrationHub.Types.Task

Description

 
Synopsis

Documentation

data Task Source #

Task object encapsulating task information.

See: newTask smart constructor.

Constructors

Task' 

Fields

  • progressPercent :: Maybe Natural

    Indication of the percentage completion of the task.

  • statusDetail :: Maybe Text

    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.

  • status :: MigrationStatus

    Status of the task - Not Started, In-Progress, Complete.

Instances

Instances details
Eq Task Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.Task

Methods

(==) :: Task -> Task -> Bool #

(/=) :: Task -> Task -> Bool #

Read Task Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.Task

Show Task Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.Task

Methods

showsPrec :: Int -> Task -> ShowS #

show :: Task -> String #

showList :: [Task] -> ShowS #

Generic Task Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.Task

Associated Types

type Rep Task :: Type -> Type #

Methods

from :: Task -> Rep Task x #

to :: Rep Task x -> Task #

NFData Task Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.Task

Methods

rnf :: Task -> () #

Hashable Task Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.Task

Methods

hashWithSalt :: Int -> Task -> Int #

hash :: Task -> Int #

ToJSON Task Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.Task

FromJSON Task Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.Task

type Rep Task Source # 
Instance details

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))))

newTask Source #

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.