SageMaker.Client.
list_labeling_jobs_for_workteam
(**kwargs)¶Gets a list of labeling jobs assigned to a specified work team.
See also: AWS API Documentation
Request Syntax
response = client.list_labeling_jobs_for_workteam(
WorkteamArn='string',
MaxResults=123,
NextToken='string',
CreationTimeAfter=datetime(2015, 1, 1),
CreationTimeBefore=datetime(2015, 1, 1),
JobReferenceCodeContains='string',
SortBy='CreationTime',
SortOrder='Ascending'|'Descending'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the work team for which you want to see labeling jobs for.
ListLabelingJobsForWorkteam
request was truncated, the response includes a NextToken
. To retrieve the next set of labeling jobs, use the token in the next request.CreationTime
.Ascending
.dict
Response Syntax
{
'LabelingJobSummaryList': [
{
'LabelingJobName': 'string',
'JobReferenceCode': 'string',
'WorkRequesterAccountId': 'string',
'CreationTime': datetime(2015, 1, 1),
'LabelCounters': {
'HumanLabeled': 123,
'PendingHuman': 123,
'Total': 123
},
'NumberOfHumanWorkersPerDataObject': 123
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
LabelingJobSummaryList (list) --
An array of LabelingJobSummary
objects, each describing a labeling job.
(dict) --
Provides summary information for a work team.
LabelingJobName (string) --
The name of the labeling job that the work team is assigned to.
JobReferenceCode (string) --
A unique identifier for a labeling job. You can use this to refer to a specific labeling job.
WorkRequesterAccountId (string) --
The Amazon Web Services account ID of the account used to start the labeling job.
CreationTime (datetime) --
The date and time that the labeling job was created.
LabelCounters (dict) --
Provides information about the progress of a labeling job.
HumanLabeled (integer) --
The total number of data objects labeled by a human worker.
PendingHuman (integer) --
The total number of data objects that need to be labeled by a human worker.
Total (integer) --
The total number of tasks in the labeling job.
NumberOfHumanWorkersPerDataObject (integer) --
The configured number of workers per data object.
NextToken (string) --
If the response is truncated, SageMaker returns this token. To retrieve the next set of labeling jobs, use it in the subsequent request.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound