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 HumanLoopConfig = HumanLoopConfig' {}
- newHumanLoopConfig :: Text -> Text -> Text -> Text -> Natural -> HumanLoopConfig
- humanLoopConfig_taskKeywords :: Lens' HumanLoopConfig (Maybe (NonEmpty Text))
- humanLoopConfig_publicWorkforceTaskPrice :: Lens' HumanLoopConfig (Maybe PublicWorkforceTaskPrice)
- humanLoopConfig_taskTimeLimitInSeconds :: Lens' HumanLoopConfig (Maybe Natural)
- humanLoopConfig_taskAvailabilityLifetimeInSeconds :: Lens' HumanLoopConfig (Maybe Natural)
- humanLoopConfig_workteamArn :: Lens' HumanLoopConfig Text
- humanLoopConfig_humanTaskUiArn :: Lens' HumanLoopConfig Text
- humanLoopConfig_taskTitle :: Lens' HumanLoopConfig Text
- humanLoopConfig_taskDescription :: Lens' HumanLoopConfig Text
- humanLoopConfig_taskCount :: Lens' HumanLoopConfig Natural
Documentation
data HumanLoopConfig Source #
Describes the work to be performed by human workers.
See: newHumanLoopConfig
smart constructor.
HumanLoopConfig' | |
|
Instances
Create a value of HumanLoopConfig
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:taskKeywords:HumanLoopConfig'
, humanLoopConfig_taskKeywords
- Keywords used to describe the task so that workers can discover the
task.
$sel:publicWorkforceTaskPrice:HumanLoopConfig'
, humanLoopConfig_publicWorkforceTaskPrice
- Undocumented member.
$sel:taskTimeLimitInSeconds:HumanLoopConfig'
, humanLoopConfig_taskTimeLimitInSeconds
- The amount of time that a worker has to complete a task. The default
value is 3,600 seconds (1 hour).
$sel:taskAvailabilityLifetimeInSeconds:HumanLoopConfig'
, humanLoopConfig_taskAvailabilityLifetimeInSeconds
- The length of time that a task remains available for review by human
workers.
$sel:workteamArn:HumanLoopConfig'
, humanLoopConfig_workteamArn
- Amazon Resource Name (ARN) of a team of workers. To learn more about the
types of workforces and work teams you can create and use with Amazon
A2I, see
Create and Manage Workforces.
$sel:humanTaskUiArn:HumanLoopConfig'
, humanLoopConfig_humanTaskUiArn
- The Amazon Resource Name (ARN) of the human task user interface.
You can use standard HTML and Crowd HTML Elements to create a custom worker task template. You use this template to create a human task UI.
To learn how to create a custom HTML template, see Create Custom Worker Task Template.
To learn how to create a human task UI, which is a worker task template that can be used in a flow definition, see Create and Delete a Worker Task Templates.
$sel:taskTitle:HumanLoopConfig'
, humanLoopConfig_taskTitle
- A title for the human worker task.
$sel:taskDescription:HumanLoopConfig'
, humanLoopConfig_taskDescription
- A description for the human worker task.
$sel:taskCount:HumanLoopConfig'
, humanLoopConfig_taskCount
- The number of distinct workers who will perform the same task on each
object. For example, if TaskCount
is set to 3
for an image
classification labeling job, three workers will classify each input
image. Increasing TaskCount
can improve label accuracy.
humanLoopConfig_taskKeywords :: Lens' HumanLoopConfig (Maybe (NonEmpty Text)) Source #
Keywords used to describe the task so that workers can discover the task.
humanLoopConfig_publicWorkforceTaskPrice :: Lens' HumanLoopConfig (Maybe PublicWorkforceTaskPrice) Source #
Undocumented member.
humanLoopConfig_taskTimeLimitInSeconds :: Lens' HumanLoopConfig (Maybe Natural) Source #
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
humanLoopConfig_taskAvailabilityLifetimeInSeconds :: Lens' HumanLoopConfig (Maybe Natural) Source #
The length of time that a task remains available for review by human workers.
humanLoopConfig_workteamArn :: Lens' HumanLoopConfig Text Source #
Amazon Resource Name (ARN) of a team of workers. To learn more about the types of workforces and work teams you can create and use with Amazon A2I, see Create and Manage Workforces.
humanLoopConfig_humanTaskUiArn :: Lens' HumanLoopConfig Text Source #
The Amazon Resource Name (ARN) of the human task user interface.
You can use standard HTML and Crowd HTML Elements to create a custom worker task template. You use this template to create a human task UI.
To learn how to create a custom HTML template, see Create Custom Worker Task Template.
To learn how to create a human task UI, which is a worker task template that can be used in a flow definition, see Create and Delete a Worker Task Templates.
humanLoopConfig_taskTitle :: Lens' HumanLoopConfig Text Source #
A title for the human worker task.
humanLoopConfig_taskDescription :: Lens' HumanLoopConfig Text Source #
A description for the human worker task.
humanLoopConfig_taskCount :: Lens' HumanLoopConfig Natural Source #
The number of distinct workers who will perform the same task on each
object. For example, if TaskCount
is set to 3
for an image
classification labeling job, three workers will classify each input
image. Increasing TaskCount
can improve label accuracy.