@aws-sdk/client-mturk 3.321.1 → 3.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +4 -0
  2. package/dist-types/commands/ApproveAssignmentCommand.d.ts +4 -0
  3. package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +4 -0
  4. package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +4 -0
  5. package/dist-types/commands/CreateHITCommand.d.ts +44 -0
  6. package/dist-types/commands/CreateHITTypeCommand.d.ts +6 -0
  7. package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +44 -0
  8. package/dist-types/commands/CreateQualificationTypeCommand.d.ts +20 -0
  9. package/dist-types/commands/CreateWorkerBlockCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteHITCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +4 -0
  13. package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +4 -0
  14. package/dist-types/commands/GetAccountBalanceCommand.d.ts +7 -0
  15. package/dist-types/commands/GetAssignmentCommand.d.ts +58 -0
  16. package/dist-types/commands/GetFileUploadURLCommand.d.ts +6 -0
  17. package/dist-types/commands/GetHITCommand.d.ts +44 -0
  18. package/dist-types/commands/GetQualificationScoreCommand.d.ts +16 -0
  19. package/dist-types/commands/GetQualificationTypeCommand.d.ts +20 -0
  20. package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +23 -0
  21. package/dist-types/commands/ListBonusPaymentsCommand.d.ts +16 -0
  22. package/dist-types/commands/ListHITsCommand.d.ts +48 -0
  23. package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +48 -0
  24. package/dist-types/commands/ListQualificationRequestsCommand.d.ts +17 -0
  25. package/dist-types/commands/ListQualificationTypesCommand.d.ts +24 -0
  26. package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +93 -0
  27. package/dist-types/commands/ListReviewableHITsCommand.d.ts +48 -0
  28. package/dist-types/commands/ListWorkerBlocksCommand.d.ts +13 -0
  29. package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +20 -0
  30. package/dist-types/commands/NotifyWorkersCommand.d.ts +12 -0
  31. package/dist-types/commands/RejectAssignmentCommand.d.ts +4 -0
  32. package/dist-types/commands/RejectQualificationRequestCommand.d.ts +4 -0
  33. package/dist-types/commands/SendBonusCommand.d.ts +4 -0
  34. package/dist-types/commands/SendTestEventNotificationCommand.d.ts +4 -0
  35. package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +4 -0
  36. package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +4 -0
  37. package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +4 -0
  38. package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +4 -0
  39. package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +20 -0
  40. package/package.json +16 -16
@@ -38,6 +38,52 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare
38
38
  * };
39
39
  * const command = new ListHITsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListHITsResponse
42
+ * // NextToken: "STRING_VALUE",
43
+ * // NumResults: Number("int"),
44
+ * // HITs: [ // HITList
45
+ * // { // HIT
46
+ * // HITId: "STRING_VALUE",
47
+ * // HITTypeId: "STRING_VALUE",
48
+ * // HITGroupId: "STRING_VALUE",
49
+ * // HITLayoutId: "STRING_VALUE",
50
+ * // CreationTime: new Date("TIMESTAMP"),
51
+ * // Title: "STRING_VALUE",
52
+ * // Description: "STRING_VALUE",
53
+ * // Question: "STRING_VALUE",
54
+ * // Keywords: "STRING_VALUE",
55
+ * // HITStatus: "STRING_VALUE",
56
+ * // MaxAssignments: Number("int"),
57
+ * // Reward: "STRING_VALUE",
58
+ * // AutoApprovalDelayInSeconds: Number("long"),
59
+ * // Expiration: new Date("TIMESTAMP"),
60
+ * // AssignmentDurationInSeconds: Number("long"),
61
+ * // RequesterAnnotation: "STRING_VALUE",
62
+ * // QualificationRequirements: [ // QualificationRequirementList
63
+ * // { // QualificationRequirement
64
+ * // QualificationTypeId: "STRING_VALUE", // required
65
+ * // Comparator: "STRING_VALUE", // required
66
+ * // IntegerValues: [ // IntegerList
67
+ * // Number("int"),
68
+ * // ],
69
+ * // LocaleValues: [ // LocaleList
70
+ * // { // Locale
71
+ * // Country: "STRING_VALUE", // required
72
+ * // Subdivision: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // RequiredToPreview: true || false,
76
+ * // ActionsGuarded: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // HITReviewStatus: "STRING_VALUE",
80
+ * // NumberOfAssignmentsPending: Number("int"),
81
+ * // NumberOfAssignmentsAvailable: Number("int"),
82
+ * // NumberOfAssignmentsCompleted: Number("int"),
83
+ * // },
84
+ * // ],
85
+ * // };
86
+ *
41
87
  * ```
42
88
  *
43
89
  * @param ListHITsCommandInput - {@link ListHITsCommandInput}
@@ -52,6 +98,8 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare
52
98
  * @throws {@link ServiceFault} (server fault)
53
99
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
54
100
  *
101
+ * @throws {@link MTurkServiceException}
102
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
55
103
  *
56
104
  */
57
105
  export declare class ListHITsCommand extends $Command<ListHITsCommandInput, ListHITsCommandOutput, MTurkClientResolvedConfig> {
@@ -38,6 +38,52 @@ export interface ListHITsForQualificationTypeCommandOutput extends ListHITsForQu
38
38
  * };
39
39
  * const command = new ListHITsForQualificationTypeCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListHITsForQualificationTypeResponse
42
+ * // NextToken: "STRING_VALUE",
43
+ * // NumResults: Number("int"),
44
+ * // HITs: [ // HITList
45
+ * // { // HIT
46
+ * // HITId: "STRING_VALUE",
47
+ * // HITTypeId: "STRING_VALUE",
48
+ * // HITGroupId: "STRING_VALUE",
49
+ * // HITLayoutId: "STRING_VALUE",
50
+ * // CreationTime: new Date("TIMESTAMP"),
51
+ * // Title: "STRING_VALUE",
52
+ * // Description: "STRING_VALUE",
53
+ * // Question: "STRING_VALUE",
54
+ * // Keywords: "STRING_VALUE",
55
+ * // HITStatus: "STRING_VALUE",
56
+ * // MaxAssignments: Number("int"),
57
+ * // Reward: "STRING_VALUE",
58
+ * // AutoApprovalDelayInSeconds: Number("long"),
59
+ * // Expiration: new Date("TIMESTAMP"),
60
+ * // AssignmentDurationInSeconds: Number("long"),
61
+ * // RequesterAnnotation: "STRING_VALUE",
62
+ * // QualificationRequirements: [ // QualificationRequirementList
63
+ * // { // QualificationRequirement
64
+ * // QualificationTypeId: "STRING_VALUE", // required
65
+ * // Comparator: "STRING_VALUE", // required
66
+ * // IntegerValues: [ // IntegerList
67
+ * // Number("int"),
68
+ * // ],
69
+ * // LocaleValues: [ // LocaleList
70
+ * // { // Locale
71
+ * // Country: "STRING_VALUE", // required
72
+ * // Subdivision: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // RequiredToPreview: true || false,
76
+ * // ActionsGuarded: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // HITReviewStatus: "STRING_VALUE",
80
+ * // NumberOfAssignmentsPending: Number("int"),
81
+ * // NumberOfAssignmentsAvailable: Number("int"),
82
+ * // NumberOfAssignmentsCompleted: Number("int"),
83
+ * // },
84
+ * // ],
85
+ * // };
86
+ *
41
87
  * ```
42
88
  *
43
89
  * @param ListHITsForQualificationTypeCommandInput - {@link ListHITsForQualificationTypeCommandInput}
@@ -52,6 +98,8 @@ export interface ListHITsForQualificationTypeCommandOutput extends ListHITsForQu
52
98
  * @throws {@link ServiceFault} (server fault)
53
99
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
54
100
  *
101
+ * @throws {@link MTurkServiceException}
102
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
55
103
  *
56
104
  */
57
105
  export declare class ListHITsForQualificationTypeCommand extends $Command<ListHITsForQualificationTypeCommandInput, ListHITsForQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
@@ -40,6 +40,21 @@ export interface ListQualificationRequestsCommandOutput extends ListQualificatio
40
40
  * };
41
41
  * const command = new ListQualificationRequestsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListQualificationRequestsResponse
44
+ * // NumResults: Number("int"),
45
+ * // NextToken: "STRING_VALUE",
46
+ * // QualificationRequests: [ // QualificationRequestList
47
+ * // { // QualificationRequest
48
+ * // QualificationRequestId: "STRING_VALUE",
49
+ * // QualificationTypeId: "STRING_VALUE",
50
+ * // WorkerId: "STRING_VALUE",
51
+ * // Test: "STRING_VALUE",
52
+ * // Answer: "STRING_VALUE",
53
+ * // SubmitTime: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
43
58
  * ```
44
59
  *
45
60
  * @param ListQualificationRequestsCommandInput - {@link ListQualificationRequestsCommandInput}
@@ -54,6 +69,8 @@ export interface ListQualificationRequestsCommandOutput extends ListQualificatio
54
69
  * @throws {@link ServiceFault} (server fault)
55
70
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
56
71
  *
72
+ * @throws {@link MTurkServiceException}
73
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
57
74
  *
58
75
  */
59
76
  export declare class ListQualificationRequestsCommand extends $Command<ListQualificationRequestsCommandInput, ListQualificationRequestsCommandOutput, MTurkClientResolvedConfig> {
@@ -40,6 +40,28 @@ export interface ListQualificationTypesCommandOutput extends ListQualificationTy
40
40
  * };
41
41
  * const command = new ListQualificationTypesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListQualificationTypesResponse
44
+ * // NumResults: Number("int"),
45
+ * // NextToken: "STRING_VALUE",
46
+ * // QualificationTypes: [ // QualificationTypeList
47
+ * // { // QualificationType
48
+ * // QualificationTypeId: "STRING_VALUE",
49
+ * // CreationTime: new Date("TIMESTAMP"),
50
+ * // Name: "STRING_VALUE",
51
+ * // Description: "STRING_VALUE",
52
+ * // Keywords: "STRING_VALUE",
53
+ * // QualificationTypeStatus: "STRING_VALUE",
54
+ * // Test: "STRING_VALUE",
55
+ * // TestDurationInSeconds: Number("long"),
56
+ * // AnswerKey: "STRING_VALUE",
57
+ * // RetryDelayInSeconds: Number("long"),
58
+ * // IsRequestable: true || false,
59
+ * // AutoGranted: true || false,
60
+ * // AutoGrantedValue: Number("int"),
61
+ * // },
62
+ * // ],
63
+ * // };
64
+ *
43
65
  * ```
44
66
  *
45
67
  * @param ListQualificationTypesCommandInput - {@link ListQualificationTypesCommandInput}
@@ -54,6 +76,8 @@ export interface ListQualificationTypesCommandOutput extends ListQualificationTy
54
76
  * @throws {@link ServiceFault} (server fault)
55
77
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
56
78
  *
79
+ * @throws {@link MTurkServiceException}
80
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
57
81
  *
58
82
  */
59
83
  export declare class ListQualificationTypesCommand extends $Command<ListQualificationTypesCommandInput, ListQualificationTypesCommandOutput, MTurkClientResolvedConfig> {
@@ -44,6 +44,97 @@ export interface ListReviewPolicyResultsForHITCommandOutput extends ListReviewPo
44
44
  * };
45
45
  * const command = new ListReviewPolicyResultsForHITCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // ListReviewPolicyResultsForHITResponse
48
+ * // HITId: "STRING_VALUE",
49
+ * // AssignmentReviewPolicy: { // ReviewPolicy
50
+ * // PolicyName: "STRING_VALUE", // required
51
+ * // Parameters: [ // PolicyParameterList
52
+ * // { // PolicyParameter
53
+ * // Key: "STRING_VALUE",
54
+ * // Values: [ // StringList
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // MapEntries: [ // ParameterMapEntryList
58
+ * // { // ParameterMapEntry
59
+ * // Key: "STRING_VALUE",
60
+ * // Values: [
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // HITReviewPolicy: {
69
+ * // PolicyName: "STRING_VALUE", // required
70
+ * // Parameters: [
71
+ * // {
72
+ * // Key: "STRING_VALUE",
73
+ * // Values: [
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // MapEntries: [
77
+ * // {
78
+ * // Key: "STRING_VALUE",
79
+ * // Values: [
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
83
+ * // ],
84
+ * // },
85
+ * // ],
86
+ * // },
87
+ * // AssignmentReviewReport: { // ReviewReport
88
+ * // ReviewResults: [ // ReviewResultDetailList
89
+ * // { // ReviewResultDetail
90
+ * // ActionId: "STRING_VALUE",
91
+ * // SubjectId: "STRING_VALUE",
92
+ * // SubjectType: "STRING_VALUE",
93
+ * // QuestionId: "STRING_VALUE",
94
+ * // Key: "STRING_VALUE",
95
+ * // Value: "STRING_VALUE",
96
+ * // },
97
+ * // ],
98
+ * // ReviewActions: [ // ReviewActionDetailList
99
+ * // { // ReviewActionDetail
100
+ * // ActionId: "STRING_VALUE",
101
+ * // ActionName: "STRING_VALUE",
102
+ * // TargetId: "STRING_VALUE",
103
+ * // TargetType: "STRING_VALUE",
104
+ * // Status: "STRING_VALUE",
105
+ * // CompleteTime: new Date("TIMESTAMP"),
106
+ * // Result: "STRING_VALUE",
107
+ * // ErrorCode: "STRING_VALUE",
108
+ * // },
109
+ * // ],
110
+ * // },
111
+ * // HITReviewReport: {
112
+ * // ReviewResults: [
113
+ * // {
114
+ * // ActionId: "STRING_VALUE",
115
+ * // SubjectId: "STRING_VALUE",
116
+ * // SubjectType: "STRING_VALUE",
117
+ * // QuestionId: "STRING_VALUE",
118
+ * // Key: "STRING_VALUE",
119
+ * // Value: "STRING_VALUE",
120
+ * // },
121
+ * // ],
122
+ * // ReviewActions: [
123
+ * // {
124
+ * // ActionId: "STRING_VALUE",
125
+ * // ActionName: "STRING_VALUE",
126
+ * // TargetId: "STRING_VALUE",
127
+ * // TargetType: "STRING_VALUE",
128
+ * // Status: "STRING_VALUE",
129
+ * // CompleteTime: new Date("TIMESTAMP"),
130
+ * // Result: "STRING_VALUE",
131
+ * // ErrorCode: "STRING_VALUE",
132
+ * // },
133
+ * // ],
134
+ * // },
135
+ * // NextToken: "STRING_VALUE",
136
+ * // };
137
+ *
47
138
  * ```
48
139
  *
49
140
  * @param ListReviewPolicyResultsForHITCommandInput - {@link ListReviewPolicyResultsForHITCommandInput}
@@ -58,6 +149,8 @@ export interface ListReviewPolicyResultsForHITCommandOutput extends ListReviewPo
58
149
  * @throws {@link ServiceFault} (server fault)
59
150
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
60
151
  *
152
+ * @throws {@link MTurkServiceException}
153
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
61
154
  *
62
155
  */
63
156
  export declare class ListReviewPolicyResultsForHITCommand extends $Command<ListReviewPolicyResultsForHITCommandInput, ListReviewPolicyResultsForHITCommandOutput, MTurkClientResolvedConfig> {
@@ -37,6 +37,52 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
37
37
  * };
38
38
  * const command = new ListReviewableHITsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListReviewableHITsResponse
41
+ * // NextToken: "STRING_VALUE",
42
+ * // NumResults: Number("int"),
43
+ * // HITs: [ // HITList
44
+ * // { // HIT
45
+ * // HITId: "STRING_VALUE",
46
+ * // HITTypeId: "STRING_VALUE",
47
+ * // HITGroupId: "STRING_VALUE",
48
+ * // HITLayoutId: "STRING_VALUE",
49
+ * // CreationTime: new Date("TIMESTAMP"),
50
+ * // Title: "STRING_VALUE",
51
+ * // Description: "STRING_VALUE",
52
+ * // Question: "STRING_VALUE",
53
+ * // Keywords: "STRING_VALUE",
54
+ * // HITStatus: "STRING_VALUE",
55
+ * // MaxAssignments: Number("int"),
56
+ * // Reward: "STRING_VALUE",
57
+ * // AutoApprovalDelayInSeconds: Number("long"),
58
+ * // Expiration: new Date("TIMESTAMP"),
59
+ * // AssignmentDurationInSeconds: Number("long"),
60
+ * // RequesterAnnotation: "STRING_VALUE",
61
+ * // QualificationRequirements: [ // QualificationRequirementList
62
+ * // { // QualificationRequirement
63
+ * // QualificationTypeId: "STRING_VALUE", // required
64
+ * // Comparator: "STRING_VALUE", // required
65
+ * // IntegerValues: [ // IntegerList
66
+ * // Number("int"),
67
+ * // ],
68
+ * // LocaleValues: [ // LocaleList
69
+ * // { // Locale
70
+ * // Country: "STRING_VALUE", // required
71
+ * // Subdivision: "STRING_VALUE",
72
+ * // },
73
+ * // ],
74
+ * // RequiredToPreview: true || false,
75
+ * // ActionsGuarded: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // HITReviewStatus: "STRING_VALUE",
79
+ * // NumberOfAssignmentsPending: Number("int"),
80
+ * // NumberOfAssignmentsAvailable: Number("int"),
81
+ * // NumberOfAssignmentsCompleted: Number("int"),
82
+ * // },
83
+ * // ],
84
+ * // };
85
+ *
40
86
  * ```
41
87
  *
42
88
  * @param ListReviewableHITsCommandInput - {@link ListReviewableHITsCommandInput}
@@ -51,6 +97,8 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
51
97
  * @throws {@link ServiceFault} (server fault)
52
98
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
53
99
  *
100
+ * @throws {@link MTurkServiceException}
101
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
54
102
  *
55
103
  */
56
104
  export declare class ListReviewableHITsCommand extends $Command<ListReviewableHITsCommandInput, ListReviewableHITsCommandOutput, MTurkClientResolvedConfig> {
@@ -32,6 +32,17 @@ export interface ListWorkerBlocksCommandOutput extends ListWorkerBlocksResponse,
32
32
  * };
33
33
  * const command = new ListWorkerBlocksCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListWorkerBlocksResponse
36
+ * // NextToken: "STRING_VALUE",
37
+ * // NumResults: Number("int"),
38
+ * // WorkerBlocks: [ // WorkerBlockList
39
+ * // { // WorkerBlock
40
+ * // WorkerId: "STRING_VALUE",
41
+ * // Reason: "STRING_VALUE",
42
+ * // },
43
+ * // ],
44
+ * // };
45
+ *
35
46
  * ```
36
47
  *
37
48
  * @param ListWorkerBlocksCommandInput - {@link ListWorkerBlocksCommandInput}
@@ -46,6 +57,8 @@ export interface ListWorkerBlocksCommandOutput extends ListWorkerBlocksResponse,
46
57
  * @throws {@link ServiceFault} (server fault)
47
58
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
48
59
  *
60
+ * @throws {@link MTurkServiceException}
61
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
49
62
  *
50
63
  */
51
64
  export declare class ListWorkerBlocksCommand extends $Command<ListWorkerBlocksCommandInput, ListWorkerBlocksCommandOutput, MTurkClientResolvedConfig> {
@@ -37,6 +37,24 @@ export interface ListWorkersWithQualificationTypeCommandOutput extends ListWorke
37
37
  * };
38
38
  * const command = new ListWorkersWithQualificationTypeCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListWorkersWithQualificationTypeResponse
41
+ * // NextToken: "STRING_VALUE",
42
+ * // NumResults: Number("int"),
43
+ * // Qualifications: [ // QualificationList
44
+ * // { // Qualification
45
+ * // QualificationTypeId: "STRING_VALUE",
46
+ * // WorkerId: "STRING_VALUE",
47
+ * // GrantTime: new Date("TIMESTAMP"),
48
+ * // IntegerValue: Number("int"),
49
+ * // LocaleValue: { // Locale
50
+ * // Country: "STRING_VALUE", // required
51
+ * // Subdivision: "STRING_VALUE",
52
+ * // },
53
+ * // Status: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
40
58
  * ```
41
59
  *
42
60
  * @param ListWorkersWithQualificationTypeCommandInput - {@link ListWorkersWithQualificationTypeCommandInput}
@@ -51,6 +69,8 @@ export interface ListWorkersWithQualificationTypeCommandOutput extends ListWorke
51
69
  * @throws {@link ServiceFault} (server fault)
52
70
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
53
71
  *
72
+ * @throws {@link MTurkServiceException}
73
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
54
74
  *
55
75
  */
56
76
  export declare class ListWorkersWithQualificationTypeCommand extends $Command<ListWorkersWithQualificationTypeCommandInput, ListWorkersWithQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
@@ -44,6 +44,16 @@ export interface NotifyWorkersCommandOutput extends NotifyWorkersResponse, __Met
44
44
  * };
45
45
  * const command = new NotifyWorkersCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // NotifyWorkersResponse
48
+ * // NotifyWorkersFailureStatuses: [ // NotifyWorkersFailureStatusList
49
+ * // { // NotifyWorkersFailureStatus
50
+ * // NotifyWorkersFailureCode: "STRING_VALUE",
51
+ * // NotifyWorkersFailureMessage: "STRING_VALUE",
52
+ * // WorkerId: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // };
56
+ *
47
57
  * ```
48
58
  *
49
59
  * @param NotifyWorkersCommandInput - {@link NotifyWorkersCommandInput}
@@ -58,6 +68,8 @@ export interface NotifyWorkersCommandOutput extends NotifyWorkersResponse, __Met
58
68
  * @throws {@link ServiceFault} (server fault)
59
69
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
60
70
  *
71
+ * @throws {@link MTurkServiceException}
72
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
61
73
  *
62
74
  */
63
75
  export declare class NotifyWorkersCommand extends $Command<NotifyWorkersCommandInput, NotifyWorkersCommandOutput, MTurkClientResolvedConfig> {
@@ -44,6 +44,8 @@ export interface RejectAssignmentCommandOutput extends RejectAssignmentResponse,
44
44
  * };
45
45
  * const command = new RejectAssignmentCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // {};
48
+ *
47
49
  * ```
48
50
  *
49
51
  * @param RejectAssignmentCommandInput - {@link RejectAssignmentCommandInput}
@@ -58,6 +60,8 @@ export interface RejectAssignmentCommandOutput extends RejectAssignmentResponse,
58
60
  * @throws {@link ServiceFault} (server fault)
59
61
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
60
62
  *
63
+ * @throws {@link MTurkServiceException}
64
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
61
65
  *
62
66
  */
63
67
  export declare class RejectAssignmentCommand extends $Command<RejectAssignmentCommandInput, RejectAssignmentCommandOutput, MTurkClientResolvedConfig> {
@@ -38,6 +38,8 @@ export interface RejectQualificationRequestCommandOutput extends RejectQualifica
38
38
  * };
39
39
  * const command = new RejectQualificationRequestCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param RejectQualificationRequestCommandInput - {@link RejectQualificationRequestCommandInput}
@@ -52,6 +54,8 @@ export interface RejectQualificationRequestCommandOutput extends RejectQualifica
52
54
  * @throws {@link ServiceFault} (server fault)
53
55
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
54
56
  *
57
+ * @throws {@link MTurkServiceException}
58
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
55
59
  *
56
60
  */
57
61
  export declare class RejectQualificationRequestCommand extends $Command<RejectQualificationRequestCommandInput, RejectQualificationRequestCommandOutput, MTurkClientResolvedConfig> {
@@ -48,6 +48,8 @@ export interface SendBonusCommandOutput extends SendBonusResponse, __MetadataBea
48
48
  * };
49
49
  * const command = new SendBonusCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // {};
52
+ *
51
53
  * ```
52
54
  *
53
55
  * @param SendBonusCommandInput - {@link SendBonusCommandInput}
@@ -62,6 +64,8 @@ export interface SendBonusCommandOutput extends SendBonusResponse, __MetadataBea
62
64
  * @throws {@link ServiceFault} (server fault)
63
65
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
64
66
  *
67
+ * @throws {@link MTurkServiceException}
68
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
65
69
  *
66
70
  */
67
71
  export declare class SendBonusCommand extends $Command<SendBonusCommandInput, SendBonusCommandOutput, MTurkClientResolvedConfig> {
@@ -45,6 +45,8 @@ export interface SendTestEventNotificationCommandOutput extends SendTestEventNot
45
45
  * };
46
46
  * const command = new SendTestEventNotificationCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // {};
49
+ *
48
50
  * ```
49
51
  *
50
52
  * @param SendTestEventNotificationCommandInput - {@link SendTestEventNotificationCommandInput}
@@ -59,6 +61,8 @@ export interface SendTestEventNotificationCommandOutput extends SendTestEventNot
59
61
  * @throws {@link ServiceFault} (server fault)
60
62
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
61
63
  *
64
+ * @throws {@link MTurkServiceException}
65
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
62
66
  *
63
67
  */
64
68
  export declare class SendTestEventNotificationCommand extends $Command<SendTestEventNotificationCommandInput, SendTestEventNotificationCommandOutput, MTurkClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface UpdateExpirationForHITCommandOutput extends UpdateExpirationFor
35
35
  * };
36
36
  * const command = new UpdateExpirationForHITCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UpdateExpirationForHITCommandInput - {@link UpdateExpirationForHITCommandInput}
@@ -49,6 +51,8 @@ export interface UpdateExpirationForHITCommandOutput extends UpdateExpirationFor
49
51
  * @throws {@link ServiceFault} (server fault)
50
52
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
51
53
  *
54
+ * @throws {@link MTurkServiceException}
55
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
52
56
  *
53
57
  */
54
58
  export declare class UpdateExpirationForHITCommand extends $Command<UpdateExpirationForHITCommandInput, UpdateExpirationForHITCommandOutput, MTurkClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface UpdateHITReviewStatusCommandOutput extends UpdateHITReviewStatu
36
36
  * };
37
37
  * const command = new UpdateHITReviewStatusCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param UpdateHITReviewStatusCommandInput - {@link UpdateHITReviewStatusCommandInput}
@@ -50,6 +52,8 @@ export interface UpdateHITReviewStatusCommandOutput extends UpdateHITReviewStatu
50
52
  * @throws {@link ServiceFault} (server fault)
51
53
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
52
54
  *
55
+ * @throws {@link MTurkServiceException}
56
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
53
57
  *
54
58
  */
55
59
  export declare class UpdateHITReviewStatusCommand extends $Command<UpdateHITReviewStatusCommandInput, UpdateHITReviewStatusCommandOutput, MTurkClientResolvedConfig> {
@@ -39,6 +39,8 @@ export interface UpdateHITTypeOfHITCommandOutput extends UpdateHITTypeOfHITRespo
39
39
  * };
40
40
  * const command = new UpdateHITTypeOfHITCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param UpdateHITTypeOfHITCommandInput - {@link UpdateHITTypeOfHITCommandInput}
@@ -53,6 +55,8 @@ export interface UpdateHITTypeOfHITCommandOutput extends UpdateHITTypeOfHITRespo
53
55
  * @throws {@link ServiceFault} (server fault)
54
56
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
55
57
  *
58
+ * @throws {@link MTurkServiceException}
59
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
56
60
  *
57
61
  */
58
62
  export declare class UpdateHITTypeOfHITCommand extends $Command<UpdateHITTypeOfHITCommandInput, UpdateHITTypeOfHITCommandOutput, MTurkClientResolvedConfig> {
@@ -51,6 +51,8 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat
51
51
  * };
52
52
  * const command = new UpdateNotificationSettingsCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // {};
55
+ *
54
56
  * ```
55
57
  *
56
58
  * @param UpdateNotificationSettingsCommandInput - {@link UpdateNotificationSettingsCommandInput}
@@ -65,6 +67,8 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat
65
67
  * @throws {@link ServiceFault} (server fault)
66
68
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
67
69
  *
70
+ * @throws {@link MTurkServiceException}
71
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
68
72
  *
69
73
  */
70
74
  export declare class UpdateNotificationSettingsCommand extends $Command<UpdateNotificationSettingsCommandInput, UpdateNotificationSettingsCommandOutput, MTurkClientResolvedConfig> {
@@ -71,6 +71,24 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
71
71
  * };
72
72
  * const command = new UpdateQualificationTypeCommand(input);
73
73
  * const response = await client.send(command);
74
+ * // { // UpdateQualificationTypeResponse
75
+ * // QualificationType: { // QualificationType
76
+ * // QualificationTypeId: "STRING_VALUE",
77
+ * // CreationTime: new Date("TIMESTAMP"),
78
+ * // Name: "STRING_VALUE",
79
+ * // Description: "STRING_VALUE",
80
+ * // Keywords: "STRING_VALUE",
81
+ * // QualificationTypeStatus: "STRING_VALUE",
82
+ * // Test: "STRING_VALUE",
83
+ * // TestDurationInSeconds: Number("long"),
84
+ * // AnswerKey: "STRING_VALUE",
85
+ * // RetryDelayInSeconds: Number("long"),
86
+ * // IsRequestable: true || false,
87
+ * // AutoGranted: true || false,
88
+ * // AutoGrantedValue: Number("int"),
89
+ * // },
90
+ * // };
91
+ *
74
92
  * ```
75
93
  *
76
94
  * @param UpdateQualificationTypeCommandInput - {@link UpdateQualificationTypeCommandInput}
@@ -85,6 +103,8 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
85
103
  * @throws {@link ServiceFault} (server fault)
86
104
  * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
87
105
  *
106
+ * @throws {@link MTurkServiceException}
107
+ * <p>Base exception class for all service exceptions from MTurk service.</p>
88
108
  *
89
109
  */
90
110
  export declare class UpdateQualificationTypeCommand extends $Command<UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput, MTurkClientResolvedConfig> {