Struct rusoto_sagemaker::HumanLoopConfig
source · [−]pub struct HumanLoopConfig {
pub human_task_ui_arn: String,
pub public_workforce_task_price: Option<PublicWorkforceTaskPrice>,
pub task_availability_lifetime_in_seconds: Option<i64>,
pub task_count: i64,
pub task_description: String,
pub task_keywords: Option<Vec<String>>,
pub task_time_limit_in_seconds: Option<i64>,
pub task_title: String,
pub workteam_arn: String,
}
Expand description
Describes the work to be performed by human workers.
Fields
human_task_ui_arn: String
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.
public_workforce_task_price: Option<PublicWorkforceTaskPrice>
task_availability_lifetime_in_seconds: Option<i64>
The length of time that a task remains available for review by human workers.
task_count: i64
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.
task_description: String
A description for the human worker task.
task_keywords: Option<Vec<String>>
Keywords used to describe the task so that workers can discover the task.
task_time_limit_in_seconds: Option<i64>
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
task_title: String
A title for the human worker task.
workteam_arn: String
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.
Trait Implementations
sourceimpl Clone for HumanLoopConfig
impl Clone for HumanLoopConfig
sourcefn clone(&self) -> HumanLoopConfig
fn clone(&self) -> HumanLoopConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HumanLoopConfig
impl Debug for HumanLoopConfig
sourceimpl Default for HumanLoopConfig
impl Default for HumanLoopConfig
sourcefn default() -> HumanLoopConfig
fn default() -> HumanLoopConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HumanLoopConfig
impl<'de> Deserialize<'de> for HumanLoopConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<HumanLoopConfig> for HumanLoopConfig
impl PartialEq<HumanLoopConfig> for HumanLoopConfig
sourcefn eq(&self, other: &HumanLoopConfig) -> bool
fn eq(&self, other: &HumanLoopConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HumanLoopConfig) -> bool
fn ne(&self, other: &HumanLoopConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for HumanLoopConfig
impl Serialize for HumanLoopConfig
impl StructuralPartialEq for HumanLoopConfig
Auto Trait Implementations
impl RefUnwindSafe for HumanLoopConfig
impl Send for HumanLoopConfig
impl Sync for HumanLoopConfig
impl Unpin for HumanLoopConfig
impl UnwindSafe for HumanLoopConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more