Type definitions#
Auto-generated documentation for MTurk type annotations stubs module mypy-boto3-mturk.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
ParameterMapEntryUnionTypeDef#
# ParameterMapEntryUnionTypeDef definition
ParameterMapEntryUnionTypeDef = Union[
ParameterMapEntryTypeDef, # (1)
ParameterMapEntryOutputTypeDef, # (2)
]
QualificationRequirementUnionTypeDef#
# QualificationRequirementUnionTypeDef definition
QualificationRequirementUnionTypeDef = Union[
QualificationRequirementTypeDef, # (1)
QualificationRequirementOutputTypeDef, # (2)
]
PolicyParameterUnionTypeDef#
# PolicyParameterUnionTypeDef definition
PolicyParameterUnionTypeDef = Union[
PolicyParameterTypeDef, # (1)
PolicyParameterOutputTypeDef, # (2)
]
AcceptQualificationRequestRequestRequestTypeDef#
# AcceptQualificationRequestRequestRequestTypeDef definition
class AcceptQualificationRequestRequestRequestTypeDef(TypedDict):
QualificationRequestId: str,
IntegerValue: NotRequired[int],
ApproveAssignmentRequestRequestTypeDef#
# ApproveAssignmentRequestRequestTypeDef definition
class ApproveAssignmentRequestRequestTypeDef(TypedDict):
AssignmentId: str,
RequesterFeedback: NotRequired[str],
OverrideRejection: NotRequired[bool],
AssignmentTypeDef#
# AssignmentTypeDef definition
class AssignmentTypeDef(TypedDict):
AssignmentId: NotRequired[str],
WorkerId: NotRequired[str],
HITId: NotRequired[str],
AssignmentStatus: NotRequired[AssignmentStatusType], # (1)
AutoApprovalTime: NotRequired[datetime],
AcceptTime: NotRequired[datetime],
SubmitTime: NotRequired[datetime],
ApprovalTime: NotRequired[datetime],
RejectionTime: NotRequired[datetime],
Deadline: NotRequired[datetime],
Answer: NotRequired[str],
RequesterFeedback: NotRequired[str],
AssociateQualificationWithWorkerRequestRequestTypeDef#
# AssociateQualificationWithWorkerRequestRequestTypeDef definition
class AssociateQualificationWithWorkerRequestRequestTypeDef(TypedDict):
QualificationTypeId: str,
WorkerId: str,
IntegerValue: NotRequired[int],
SendNotification: NotRequired[bool],
BonusPaymentTypeDef#
# BonusPaymentTypeDef definition
class BonusPaymentTypeDef(TypedDict):
WorkerId: NotRequired[str],
BonusAmount: NotRequired[str],
AssignmentId: NotRequired[str],
Reason: NotRequired[str],
GrantTime: NotRequired[datetime],
CreateAdditionalAssignmentsForHITRequestRequestTypeDef#
# CreateAdditionalAssignmentsForHITRequestRequestTypeDef definition
class CreateAdditionalAssignmentsForHITRequestRequestTypeDef(TypedDict):
HITId: str,
NumberOfAdditionalAssignments: int,
UniqueRequestToken: NotRequired[str],
HITLayoutParameterTypeDef#
# HITLayoutParameterTypeDef definition
class HITLayoutParameterTypeDef(TypedDict):
Name: str,
Value: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
CreateQualificationTypeRequestRequestTypeDef#
# CreateQualificationTypeRequestRequestTypeDef definition
class CreateQualificationTypeRequestRequestTypeDef(TypedDict):
Name: str,
Description: str,
QualificationTypeStatus: QualificationTypeStatusType, # (1)
Keywords: NotRequired[str],
RetryDelayInSeconds: NotRequired[int],
Test: NotRequired[str],
AnswerKey: NotRequired[str],
TestDurationInSeconds: NotRequired[int],
AutoGranted: NotRequired[bool],
AutoGrantedValue: NotRequired[int],
QualificationTypeTypeDef#
# QualificationTypeTypeDef definition
class QualificationTypeTypeDef(TypedDict):
QualificationTypeId: NotRequired[str],
CreationTime: NotRequired[datetime],
Name: NotRequired[str],
Description: NotRequired[str],
Keywords: NotRequired[str],
QualificationTypeStatus: NotRequired[QualificationTypeStatusType], # (1)
Test: NotRequired[str],
TestDurationInSeconds: NotRequired[int],
AnswerKey: NotRequired[str],
RetryDelayInSeconds: NotRequired[int],
IsRequestable: NotRequired[bool],
AutoGranted: NotRequired[bool],
AutoGrantedValue: NotRequired[int],
CreateWorkerBlockRequestRequestTypeDef#
# CreateWorkerBlockRequestRequestTypeDef definition
class CreateWorkerBlockRequestRequestTypeDef(TypedDict):
WorkerId: str,
Reason: str,
DeleteHITRequestRequestTypeDef#
# DeleteHITRequestRequestTypeDef definition
class DeleteHITRequestRequestTypeDef(TypedDict):
HITId: str,
DeleteQualificationTypeRequestRequestTypeDef#
# DeleteQualificationTypeRequestRequestTypeDef definition
class DeleteQualificationTypeRequestRequestTypeDef(TypedDict):
QualificationTypeId: str,
DeleteWorkerBlockRequestRequestTypeDef#
# DeleteWorkerBlockRequestRequestTypeDef definition
class DeleteWorkerBlockRequestRequestTypeDef(TypedDict):
WorkerId: str,
Reason: NotRequired[str],
DisassociateQualificationFromWorkerRequestRequestTypeDef#
# DisassociateQualificationFromWorkerRequestRequestTypeDef definition
class DisassociateQualificationFromWorkerRequestRequestTypeDef(TypedDict):
WorkerId: str,
QualificationTypeId: str,
Reason: NotRequired[str],
GetAssignmentRequestRequestTypeDef#
# GetAssignmentRequestRequestTypeDef definition
class GetAssignmentRequestRequestTypeDef(TypedDict):
AssignmentId: str,
GetFileUploadURLRequestRequestTypeDef#
# GetFileUploadURLRequestRequestTypeDef definition
class GetFileUploadURLRequestRequestTypeDef(TypedDict):
AssignmentId: str,
QuestionIdentifier: str,
GetHITRequestRequestTypeDef#
# GetHITRequestRequestTypeDef definition
class GetHITRequestRequestTypeDef(TypedDict):
HITId: str,
GetQualificationScoreRequestRequestTypeDef#
# GetQualificationScoreRequestRequestTypeDef definition
class GetQualificationScoreRequestRequestTypeDef(TypedDict):
QualificationTypeId: str,
WorkerId: str,
GetQualificationTypeRequestRequestTypeDef#
# GetQualificationTypeRequestRequestTypeDef definition
class GetQualificationTypeRequestRequestTypeDef(TypedDict):
QualificationTypeId: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListAssignmentsForHITRequestRequestTypeDef#
# ListAssignmentsForHITRequestRequestTypeDef definition
class ListAssignmentsForHITRequestRequestTypeDef(TypedDict):
HITId: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
AssignmentStatuses: NotRequired[Sequence[AssignmentStatusType]], # (1)
ListBonusPaymentsRequestRequestTypeDef#
# ListBonusPaymentsRequestRequestTypeDef definition
class ListBonusPaymentsRequestRequestTypeDef(TypedDict):
HITId: NotRequired[str],
AssignmentId: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListHITsForQualificationTypeRequestRequestTypeDef#
# ListHITsForQualificationTypeRequestRequestTypeDef definition
class ListHITsForQualificationTypeRequestRequestTypeDef(TypedDict):
QualificationTypeId: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListHITsRequestRequestTypeDef#
# ListHITsRequestRequestTypeDef definition
class ListHITsRequestRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListQualificationRequestsRequestRequestTypeDef#
# ListQualificationRequestsRequestRequestTypeDef definition
class ListQualificationRequestsRequestRequestTypeDef(TypedDict):
QualificationTypeId: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
QualificationRequestTypeDef#
# QualificationRequestTypeDef definition
class QualificationRequestTypeDef(TypedDict):
QualificationRequestId: NotRequired[str],
QualificationTypeId: NotRequired[str],
WorkerId: NotRequired[str],
Test: NotRequired[str],
Answer: NotRequired[str],
SubmitTime: NotRequired[datetime],
ListQualificationTypesRequestRequestTypeDef#
# ListQualificationTypesRequestRequestTypeDef definition
class ListQualificationTypesRequestRequestTypeDef(TypedDict):
MustBeRequestable: bool,
Query: NotRequired[str],
MustBeOwnedByCaller: NotRequired[bool],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListReviewPolicyResultsForHITRequestRequestTypeDef#
# ListReviewPolicyResultsForHITRequestRequestTypeDef definition
class ListReviewPolicyResultsForHITRequestRequestTypeDef(TypedDict):
HITId: str,
PolicyLevels: NotRequired[Sequence[ReviewPolicyLevelType]], # (1)
RetrieveActions: NotRequired[bool],
RetrieveResults: NotRequired[bool],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListReviewableHITsRequestRequestTypeDef#
# ListReviewableHITsRequestRequestTypeDef definition
class ListReviewableHITsRequestRequestTypeDef(TypedDict):
HITTypeId: NotRequired[str],
Status: NotRequired[ReviewableHITStatusType], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListWorkerBlocksRequestRequestTypeDef#
# ListWorkerBlocksRequestRequestTypeDef definition
class ListWorkerBlocksRequestRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
WorkerBlockTypeDef#
# WorkerBlockTypeDef definition
class WorkerBlockTypeDef(TypedDict):
WorkerId: NotRequired[str],
Reason: NotRequired[str],
ListWorkersWithQualificationTypeRequestRequestTypeDef#
# ListWorkersWithQualificationTypeRequestRequestTypeDef definition
class ListWorkersWithQualificationTypeRequestRequestTypeDef(TypedDict):
QualificationTypeId: str,
Status: NotRequired[QualificationStatusType], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
LocaleTypeDef#
# LocaleTypeDef definition
class LocaleTypeDef(TypedDict):
Country: str,
Subdivision: NotRequired[str],
NotificationSpecificationTypeDef#
# NotificationSpecificationTypeDef definition
class NotificationSpecificationTypeDef(TypedDict):
Destination: str,
Transport: NotificationTransportType, # (1)
Version: str,
EventTypes: Sequence[EventTypeType], # (2)
NotifyWorkersFailureStatusTypeDef#
# NotifyWorkersFailureStatusTypeDef definition
class NotifyWorkersFailureStatusTypeDef(TypedDict):
NotifyWorkersFailureCode: NotRequired[NotifyWorkersFailureCodeType], # (1)
NotifyWorkersFailureMessage: NotRequired[str],
WorkerId: NotRequired[str],
NotifyWorkersRequestRequestTypeDef#
# NotifyWorkersRequestRequestTypeDef definition
class NotifyWorkersRequestRequestTypeDef(TypedDict):
Subject: str,
MessageText: str,
WorkerIds: Sequence[str],
ParameterMapEntryOutputTypeDef#
# ParameterMapEntryOutputTypeDef definition
class ParameterMapEntryOutputTypeDef(TypedDict):
Key: NotRequired[str],
Values: NotRequired[List[str]],
ParameterMapEntryTypeDef#
# ParameterMapEntryTypeDef definition
class ParameterMapEntryTypeDef(TypedDict):
Key: NotRequired[str],
Values: NotRequired[Sequence[str]],
RejectAssignmentRequestRequestTypeDef#
# RejectAssignmentRequestRequestTypeDef definition
class RejectAssignmentRequestRequestTypeDef(TypedDict):
AssignmentId: str,
RequesterFeedback: str,
RejectQualificationRequestRequestRequestTypeDef#
# RejectQualificationRequestRequestRequestTypeDef definition
class RejectQualificationRequestRequestRequestTypeDef(TypedDict):
QualificationRequestId: str,
Reason: NotRequired[str],
ReviewActionDetailTypeDef#
# ReviewActionDetailTypeDef definition
class ReviewActionDetailTypeDef(TypedDict):
ActionId: NotRequired[str],
ActionName: NotRequired[str],
TargetId: NotRequired[str],
TargetType: NotRequired[str],
Status: NotRequired[ReviewActionStatusType], # (1)
CompleteTime: NotRequired[datetime],
Result: NotRequired[str],
ErrorCode: NotRequired[str],
ReviewResultDetailTypeDef#
# ReviewResultDetailTypeDef definition
class ReviewResultDetailTypeDef(TypedDict):
ActionId: NotRequired[str],
SubjectId: NotRequired[str],
SubjectType: NotRequired[str],
QuestionId: NotRequired[str],
Key: NotRequired[str],
Value: NotRequired[str],
SendBonusRequestRequestTypeDef#
# SendBonusRequestRequestTypeDef definition
class SendBonusRequestRequestTypeDef(TypedDict):
WorkerId: str,
BonusAmount: str,
AssignmentId: str,
Reason: str,
UniqueRequestToken: NotRequired[str],
UpdateHITReviewStatusRequestRequestTypeDef#
# UpdateHITReviewStatusRequestRequestTypeDef definition
class UpdateHITReviewStatusRequestRequestTypeDef(TypedDict):
HITId: str,
Revert: NotRequired[bool],
UpdateHITTypeOfHITRequestRequestTypeDef#
# UpdateHITTypeOfHITRequestRequestTypeDef definition
class UpdateHITTypeOfHITRequestRequestTypeDef(TypedDict):
HITId: str,
HITTypeId: str,
UpdateQualificationTypeRequestRequestTypeDef#
# UpdateQualificationTypeRequestRequestTypeDef definition
class UpdateQualificationTypeRequestRequestTypeDef(TypedDict):
QualificationTypeId: str,
Description: NotRequired[str],
QualificationTypeStatus: NotRequired[QualificationTypeStatusType], # (1)
Test: NotRequired[str],
AnswerKey: NotRequired[str],
TestDurationInSeconds: NotRequired[int],
RetryDelayInSeconds: NotRequired[int],
AutoGranted: NotRequired[bool],
AutoGrantedValue: NotRequired[int],
CreateHITTypeResponseTypeDef#
# CreateHITTypeResponseTypeDef definition
class CreateHITTypeResponseTypeDef(TypedDict):
HITTypeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetAccountBalanceResponseTypeDef#
# GetAccountBalanceResponseTypeDef definition
class GetAccountBalanceResponseTypeDef(TypedDict):
AvailableBalance: str,
OnHoldBalance: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetFileUploadURLResponseTypeDef#
# GetFileUploadURLResponseTypeDef definition
class GetFileUploadURLResponseTypeDef(TypedDict):
FileUploadURL: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListAssignmentsForHITResponseTypeDef#
# ListAssignmentsForHITResponseTypeDef definition
class ListAssignmentsForHITResponseTypeDef(TypedDict):
NumResults: int,
Assignments: List[AssignmentTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListBonusPaymentsResponseTypeDef#
# ListBonusPaymentsResponseTypeDef definition
class ListBonusPaymentsResponseTypeDef(TypedDict):
NumResults: int,
BonusPayments: List[BonusPaymentTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
CreateQualificationTypeResponseTypeDef#
# CreateQualificationTypeResponseTypeDef definition
class CreateQualificationTypeResponseTypeDef(TypedDict):
QualificationType: QualificationTypeTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetQualificationTypeResponseTypeDef#
# GetQualificationTypeResponseTypeDef definition
class GetQualificationTypeResponseTypeDef(TypedDict):
QualificationType: QualificationTypeTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListQualificationTypesResponseTypeDef#
# ListQualificationTypesResponseTypeDef definition
class ListQualificationTypesResponseTypeDef(TypedDict):
NumResults: int,
QualificationTypes: List[QualificationTypeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
UpdateQualificationTypeResponseTypeDef#
# UpdateQualificationTypeResponseTypeDef definition
class UpdateQualificationTypeResponseTypeDef(TypedDict):
QualificationType: QualificationTypeTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListAssignmentsForHITRequestListAssignmentsForHITPaginateTypeDef#
# ListAssignmentsForHITRequestListAssignmentsForHITPaginateTypeDef definition
class ListAssignmentsForHITRequestListAssignmentsForHITPaginateTypeDef(TypedDict):
HITId: str,
AssignmentStatuses: NotRequired[Sequence[AssignmentStatusType]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListBonusPaymentsRequestListBonusPaymentsPaginateTypeDef#
# ListBonusPaymentsRequestListBonusPaymentsPaginateTypeDef definition
class ListBonusPaymentsRequestListBonusPaymentsPaginateTypeDef(TypedDict):
HITId: NotRequired[str],
AssignmentId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListHITsForQualificationTypeRequestListHITsForQualificationTypePaginateTypeDef#
# ListHITsForQualificationTypeRequestListHITsForQualificationTypePaginateTypeDef definition
class ListHITsForQualificationTypeRequestListHITsForQualificationTypePaginateTypeDef(TypedDict):
QualificationTypeId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListHITsRequestListHITsPaginateTypeDef#
# ListHITsRequestListHITsPaginateTypeDef definition
class ListHITsRequestListHITsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListQualificationRequestsRequestListQualificationRequestsPaginateTypeDef#
# ListQualificationRequestsRequestListQualificationRequestsPaginateTypeDef definition
class ListQualificationRequestsRequestListQualificationRequestsPaginateTypeDef(TypedDict):
QualificationTypeId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListQualificationTypesRequestListQualificationTypesPaginateTypeDef#
# ListQualificationTypesRequestListQualificationTypesPaginateTypeDef definition
class ListQualificationTypesRequestListQualificationTypesPaginateTypeDef(TypedDict):
MustBeRequestable: bool,
Query: NotRequired[str],
MustBeOwnedByCaller: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListReviewableHITsRequestListReviewableHITsPaginateTypeDef#
# ListReviewableHITsRequestListReviewableHITsPaginateTypeDef definition
class ListReviewableHITsRequestListReviewableHITsPaginateTypeDef(TypedDict):
HITTypeId: NotRequired[str],
Status: NotRequired[ReviewableHITStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListWorkerBlocksRequestListWorkerBlocksPaginateTypeDef#
# ListWorkerBlocksRequestListWorkerBlocksPaginateTypeDef definition
class ListWorkerBlocksRequestListWorkerBlocksPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListWorkersWithQualificationTypeRequestListWorkersWithQualificationTypePaginateTypeDef#
# ListWorkersWithQualificationTypeRequestListWorkersWithQualificationTypePaginateTypeDef definition
class ListWorkersWithQualificationTypeRequestListWorkersWithQualificationTypePaginateTypeDef(TypedDict):
QualificationTypeId: str,
Status: NotRequired[QualificationStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListQualificationRequestsResponseTypeDef#
# ListQualificationRequestsResponseTypeDef definition
class ListQualificationRequestsResponseTypeDef(TypedDict):
NumResults: int,
QualificationRequests: List[QualificationRequestTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListWorkerBlocksResponseTypeDef#
# ListWorkerBlocksResponseTypeDef definition
class ListWorkerBlocksResponseTypeDef(TypedDict):
NumResults: int,
WorkerBlocks: List[WorkerBlockTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
QualificationRequirementOutputTypeDef#
# QualificationRequirementOutputTypeDef definition
class QualificationRequirementOutputTypeDef(TypedDict):
QualificationTypeId: str,
Comparator: ComparatorType, # (1)
IntegerValues: NotRequired[List[int]],
LocaleValues: NotRequired[List[LocaleTypeDef]], # (2)
RequiredToPreview: NotRequired[bool],
ActionsGuarded: NotRequired[HITAccessActionsType], # (3)
- See ComparatorType
- See LocaleTypeDef
- See HITAccessActionsType
QualificationRequirementTypeDef#
# QualificationRequirementTypeDef definition
class QualificationRequirementTypeDef(TypedDict):
QualificationTypeId: str,
Comparator: ComparatorType, # (1)
IntegerValues: NotRequired[Sequence[int]],
LocaleValues: NotRequired[Sequence[LocaleTypeDef]], # (2)
RequiredToPreview: NotRequired[bool],
ActionsGuarded: NotRequired[HITAccessActionsType], # (3)
- See ComparatorType
- See LocaleTypeDef
- See HITAccessActionsType
QualificationTypeDef#
# QualificationTypeDef definition
class QualificationTypeDef(TypedDict):
QualificationTypeId: NotRequired[str],
WorkerId: NotRequired[str],
GrantTime: NotRequired[datetime],
IntegerValue: NotRequired[int],
LocaleValue: NotRequired[LocaleTypeDef], # (1)
Status: NotRequired[QualificationStatusType], # (2)
- See LocaleTypeDef
- See QualificationStatusType
SendTestEventNotificationRequestRequestTypeDef#
# SendTestEventNotificationRequestRequestTypeDef definition
class SendTestEventNotificationRequestRequestTypeDef(TypedDict):
Notification: NotificationSpecificationTypeDef, # (1)
TestEventType: EventTypeType, # (2)
UpdateNotificationSettingsRequestRequestTypeDef#
# UpdateNotificationSettingsRequestRequestTypeDef definition
class UpdateNotificationSettingsRequestRequestTypeDef(TypedDict):
HITTypeId: str,
Notification: NotRequired[NotificationSpecificationTypeDef], # (1)
Active: NotRequired[bool],
NotifyWorkersResponseTypeDef#
# NotifyWorkersResponseTypeDef definition
class NotifyWorkersResponseTypeDef(TypedDict):
NotifyWorkersFailureStatuses: List[NotifyWorkersFailureStatusTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PolicyParameterOutputTypeDef#
# PolicyParameterOutputTypeDef definition
class PolicyParameterOutputTypeDef(TypedDict):
Key: NotRequired[str],
Values: NotRequired[List[str]],
MapEntries: NotRequired[List[ParameterMapEntryOutputTypeDef]], # (1)
ReviewReportTypeDef#
# ReviewReportTypeDef definition
class ReviewReportTypeDef(TypedDict):
ReviewResults: NotRequired[List[ReviewResultDetailTypeDef]], # (1)
ReviewActions: NotRequired[List[ReviewActionDetailTypeDef]], # (2)
UpdateExpirationForHITRequestRequestTypeDef#
# UpdateExpirationForHITRequestRequestTypeDef definition
class UpdateExpirationForHITRequestRequestTypeDef(TypedDict):
HITId: str,
ExpireAt: TimestampTypeDef,
HITTypeDef#
# HITTypeDef definition
class HITTypeDef(TypedDict):
HITId: NotRequired[str],
HITTypeId: NotRequired[str],
HITGroupId: NotRequired[str],
HITLayoutId: NotRequired[str],
CreationTime: NotRequired[datetime],
Title: NotRequired[str],
Description: NotRequired[str],
Question: NotRequired[str],
Keywords: NotRequired[str],
HITStatus: NotRequired[HITStatusType], # (1)
MaxAssignments: NotRequired[int],
Reward: NotRequired[str],
AutoApprovalDelayInSeconds: NotRequired[int],
Expiration: NotRequired[datetime],
AssignmentDurationInSeconds: NotRequired[int],
RequesterAnnotation: NotRequired[str],
QualificationRequirements: NotRequired[List[QualificationRequirementOutputTypeDef]], # (2)
HITReviewStatus: NotRequired[HITReviewStatusType], # (3)
NumberOfAssignmentsPending: NotRequired[int],
NumberOfAssignmentsAvailable: NotRequired[int],
NumberOfAssignmentsCompleted: NotRequired[int],
CreateHITTypeRequestRequestTypeDef#
# CreateHITTypeRequestRequestTypeDef definition
class CreateHITTypeRequestRequestTypeDef(TypedDict):
AssignmentDurationInSeconds: int,
Reward: str,
Title: str,
Description: str,
AutoApprovalDelayInSeconds: NotRequired[int],
Keywords: NotRequired[str],
QualificationRequirements: NotRequired[Sequence[QualificationRequirementTypeDef]], # (1)
GetQualificationScoreResponseTypeDef#
# GetQualificationScoreResponseTypeDef definition
class GetQualificationScoreResponseTypeDef(TypedDict):
Qualification: QualificationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListWorkersWithQualificationTypeResponseTypeDef#
# ListWorkersWithQualificationTypeResponseTypeDef definition
class ListWorkersWithQualificationTypeResponseTypeDef(TypedDict):
NumResults: int,
Qualifications: List[QualificationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ReviewPolicyOutputTypeDef#
# ReviewPolicyOutputTypeDef definition
class ReviewPolicyOutputTypeDef(TypedDict):
PolicyName: str,
Parameters: NotRequired[List[PolicyParameterOutputTypeDef]], # (1)
PolicyParameterTypeDef#
# PolicyParameterTypeDef definition
class PolicyParameterTypeDef(TypedDict):
Key: NotRequired[str],
Values: NotRequired[Sequence[str]],
MapEntries: NotRequired[Sequence[ParameterMapEntryUnionTypeDef]], # (1)
CreateHITResponseTypeDef#
# CreateHITResponseTypeDef definition
class CreateHITResponseTypeDef(TypedDict):
HIT: HITTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See HITTypeDef
- See ResponseMetadataTypeDef
CreateHITWithHITTypeResponseTypeDef#
# CreateHITWithHITTypeResponseTypeDef definition
class CreateHITWithHITTypeResponseTypeDef(TypedDict):
HIT: HITTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See HITTypeDef
- See ResponseMetadataTypeDef
GetAssignmentResponseTypeDef#
# GetAssignmentResponseTypeDef definition
class GetAssignmentResponseTypeDef(TypedDict):
Assignment: AssignmentTypeDef, # (1)
HIT: HITTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See AssignmentTypeDef
- See HITTypeDef
- See ResponseMetadataTypeDef
GetHITResponseTypeDef#
# GetHITResponseTypeDef definition
class GetHITResponseTypeDef(TypedDict):
HIT: HITTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See HITTypeDef
- See ResponseMetadataTypeDef
ListHITsForQualificationTypeResponseTypeDef#
# ListHITsForQualificationTypeResponseTypeDef definition
class ListHITsForQualificationTypeResponseTypeDef(TypedDict):
NumResults: int,
HITs: List[HITTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See HITTypeDef
- See ResponseMetadataTypeDef
ListHITsResponseTypeDef#
# ListHITsResponseTypeDef definition
class ListHITsResponseTypeDef(TypedDict):
NumResults: int,
HITs: List[HITTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See HITTypeDef
- See ResponseMetadataTypeDef
ListReviewableHITsResponseTypeDef#
# ListReviewableHITsResponseTypeDef definition
class ListReviewableHITsResponseTypeDef(TypedDict):
NumResults: int,
HITs: List[HITTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See HITTypeDef
- See ResponseMetadataTypeDef
ListReviewPolicyResultsForHITResponseTypeDef#
# ListReviewPolicyResultsForHITResponseTypeDef definition
class ListReviewPolicyResultsForHITResponseTypeDef(TypedDict):
HITId: str,
AssignmentReviewPolicy: ReviewPolicyOutputTypeDef, # (1)
HITReviewPolicy: ReviewPolicyOutputTypeDef, # (1)
AssignmentReviewReport: ReviewReportTypeDef, # (3)
HITReviewReport: ReviewReportTypeDef, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
NextToken: NotRequired[str],
- See ReviewPolicyOutputTypeDef
- See ReviewPolicyOutputTypeDef
- See ReviewReportTypeDef
- See ReviewReportTypeDef
- See ResponseMetadataTypeDef
ReviewPolicyTypeDef#
# ReviewPolicyTypeDef definition
class ReviewPolicyTypeDef(TypedDict):
PolicyName: str,
Parameters: NotRequired[Sequence[PolicyParameterUnionTypeDef]], # (1)
CreateHITRequestRequestTypeDef#
# CreateHITRequestRequestTypeDef definition
class CreateHITRequestRequestTypeDef(TypedDict):
LifetimeInSeconds: int,
AssignmentDurationInSeconds: int,
Reward: str,
Title: str,
Description: str,
MaxAssignments: NotRequired[int],
AutoApprovalDelayInSeconds: NotRequired[int],
Keywords: NotRequired[str],
Question: NotRequired[str],
RequesterAnnotation: NotRequired[str],
QualificationRequirements: NotRequired[Sequence[QualificationRequirementUnionTypeDef]], # (1)
UniqueRequestToken: NotRequired[str],
AssignmentReviewPolicy: NotRequired[ReviewPolicyTypeDef], # (2)
HITReviewPolicy: NotRequired[ReviewPolicyTypeDef], # (2)
HITLayoutId: NotRequired[str],
HITLayoutParameters: NotRequired[Sequence[HITLayoutParameterTypeDef]], # (4)
- See QualificationRequirementTypeDef QualificationRequirementOutputTypeDef
- See ReviewPolicyTypeDef
- See ReviewPolicyTypeDef
- See HITLayoutParameterTypeDef
CreateHITWithHITTypeRequestRequestTypeDef#
# CreateHITWithHITTypeRequestRequestTypeDef definition
class CreateHITWithHITTypeRequestRequestTypeDef(TypedDict):
HITTypeId: str,
LifetimeInSeconds: int,
MaxAssignments: NotRequired[int],
Question: NotRequired[str],
RequesterAnnotation: NotRequired[str],
UniqueRequestToken: NotRequired[str],
AssignmentReviewPolicy: NotRequired[ReviewPolicyTypeDef], # (1)
HITReviewPolicy: NotRequired[ReviewPolicyTypeDef], # (1)
HITLayoutId: NotRequired[str],
HITLayoutParameters: NotRequired[Sequence[HITLayoutParameterTypeDef]], # (3)