amazonka-datasync-2.0: Amazon DataSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataSync.Types.TaskListEntry

Description

 
Synopsis

Documentation

data TaskListEntry Source #

Represents a single entry in a list of tasks. TaskListEntry returns an array that contains a list of tasks when the ListTasks operation is called. A task includes the source and destination file systems to sync and the options to use for the tasks.

See: newTaskListEntry smart constructor.

Constructors

TaskListEntry' 

Fields

Instances

Instances details
FromJSON TaskListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskListEntry

Generic TaskListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskListEntry

Associated Types

type Rep TaskListEntry :: Type -> Type #

Read TaskListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskListEntry

Show TaskListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskListEntry

NFData TaskListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskListEntry

Methods

rnf :: TaskListEntry -> () #

Eq TaskListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskListEntry

Hashable TaskListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskListEntry

type Rep TaskListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskListEntry

type Rep TaskListEntry = D1 ('MetaData "TaskListEntry" "Amazonka.DataSync.Types.TaskListEntry" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "TaskListEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TaskStatus)) :*: S1 ('MetaSel ('Just "taskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newTaskListEntry :: TaskListEntry Source #

Create a value of TaskListEntry 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:name:TaskListEntry', taskListEntry_name - The name of the task.

$sel:status:TaskListEntry', taskListEntry_status - The status of the task.

$sel:taskArn:TaskListEntry', taskListEntry_taskArn - The Amazon Resource Name (ARN) of the task.

taskListEntry_taskArn :: Lens' TaskListEntry (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task.