@aws-sdk/client-mturk 3.300.0 → 3.301.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.
- package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +1 -1
- package/dist-types/commands/ApproveAssignmentCommand.d.ts +1 -1
- package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +1 -1
- package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +1 -1
- package/dist-types/commands/CreateHITCommand.d.ts +14 -14
- package/dist-types/commands/CreateHITTypeCommand.d.ts +6 -6
- package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +9 -9
- package/dist-types/commands/CreateQualificationTypeCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkerBlockCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHITCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +1 -1
- package/dist-types/commands/GetAssignmentCommand.d.ts +1 -1
- package/dist-types/commands/GetFileUploadURLCommand.d.ts +1 -1
- package/dist-types/commands/GetHITCommand.d.ts +1 -1
- package/dist-types/commands/GetQualificationScoreCommand.d.ts +1 -1
- package/dist-types/commands/GetQualificationTypeCommand.d.ts +1 -1
- package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +2 -2
- package/dist-types/commands/ListBonusPaymentsCommand.d.ts +1 -1
- package/dist-types/commands/ListHITsCommand.d.ts +1 -1
- package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +1 -1
- package/dist-types/commands/ListQualificationRequestsCommand.d.ts +1 -1
- package/dist-types/commands/ListQualificationTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -2
- package/dist-types/commands/ListReviewableHITsCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkerBlocksCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +1 -1
- package/dist-types/commands/NotifyWorkersCommand.d.ts +2 -2
- package/dist-types/commands/RejectAssignmentCommand.d.ts +1 -1
- package/dist-types/commands/RejectQualificationRequestCommand.d.ts +1 -1
- package/dist-types/commands/SendBonusCommand.d.ts +1 -1
- package/dist-types/commands/SendTestEventNotificationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -35,7 +35,7 @@ export interface AcceptQualificationRequestCommandOutput extends AcceptQualifica
|
|
|
35
35
|
* import { MTurkClient, AcceptQualificationRequestCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
36
36
|
* // const { MTurkClient, AcceptQualificationRequestCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
37
37
|
* const client = new MTurkClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // AcceptQualificationRequestRequest
|
|
39
39
|
* QualificationRequestId: "STRING_VALUE", // required
|
|
40
40
|
* IntegerValue: Number("int"),
|
|
41
41
|
* };
|
|
@@ -55,7 +55,7 @@ export interface ApproveAssignmentCommandOutput extends ApproveAssignmentRespons
|
|
|
55
55
|
* import { MTurkClient, ApproveAssignmentCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
56
56
|
* // const { MTurkClient, ApproveAssignmentCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
57
57
|
* const client = new MTurkClient(config);
|
|
58
|
-
* const input = {
|
|
58
|
+
* const input = { // ApproveAssignmentRequest
|
|
59
59
|
* AssignmentId: "STRING_VALUE", // required
|
|
60
60
|
* RequesterFeedback: "STRING_VALUE",
|
|
61
61
|
* OverrideRejection: true || false,
|
|
@@ -46,7 +46,7 @@ export interface AssociateQualificationWithWorkerCommandOutput extends Associate
|
|
|
46
46
|
* import { MTurkClient, AssociateQualificationWithWorkerCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
47
47
|
* // const { MTurkClient, AssociateQualificationWithWorkerCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
48
48
|
* const client = new MTurkClient(config);
|
|
49
|
-
* const input = {
|
|
49
|
+
* const input = { // AssociateQualificationWithWorkerRequest
|
|
50
50
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
51
51
|
* WorkerId: "STRING_VALUE", // required
|
|
52
52
|
* IntegerValue: Number("int"),
|
|
@@ -48,7 +48,7 @@ export interface CreateAdditionalAssignmentsForHITCommandOutput extends CreateAd
|
|
|
48
48
|
* import { MTurkClient, CreateAdditionalAssignmentsForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
49
49
|
* // const { MTurkClient, CreateAdditionalAssignmentsForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
50
50
|
* const client = new MTurkClient(config);
|
|
51
|
-
* const input = {
|
|
51
|
+
* const input = { // CreateAdditionalAssignmentsForHITRequest
|
|
52
52
|
* HITId: "STRING_VALUE", // required
|
|
53
53
|
* NumberOfAdditionalAssignments: Number("int"), // required
|
|
54
54
|
* UniqueRequestToken: "STRING_VALUE",
|
|
@@ -42,7 +42,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
|
|
|
42
42
|
* import { MTurkClient, CreateHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
43
43
|
* // const { MTurkClient, CreateHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
44
44
|
* const client = new MTurkClient(config);
|
|
45
|
-
* const input = {
|
|
45
|
+
* const input = { // CreateHITRequest
|
|
46
46
|
* MaxAssignments: Number("int"),
|
|
47
47
|
* AutoApprovalDelayInSeconds: Number("long"),
|
|
48
48
|
* LifetimeInSeconds: Number("long"), // required
|
|
@@ -53,15 +53,15 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
|
|
|
53
53
|
* Description: "STRING_VALUE", // required
|
|
54
54
|
* Question: "STRING_VALUE",
|
|
55
55
|
* RequesterAnnotation: "STRING_VALUE",
|
|
56
|
-
* QualificationRequirements: [
|
|
57
|
-
* {
|
|
56
|
+
* QualificationRequirements: [ // QualificationRequirementList
|
|
57
|
+
* { // QualificationRequirement
|
|
58
58
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
59
59
|
* Comparator: "STRING_VALUE", // required
|
|
60
|
-
* IntegerValues: [
|
|
60
|
+
* IntegerValues: [ // IntegerList
|
|
61
61
|
* Number("int"),
|
|
62
62
|
* ],
|
|
63
|
-
* LocaleValues: [
|
|
64
|
-
* {
|
|
63
|
+
* LocaleValues: [ // LocaleList
|
|
64
|
+
* { // Locale
|
|
65
65
|
* Country: "STRING_VALUE", // required
|
|
66
66
|
* Subdivision: "STRING_VALUE",
|
|
67
67
|
* },
|
|
@@ -71,16 +71,16 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
|
|
|
71
71
|
* },
|
|
72
72
|
* ],
|
|
73
73
|
* UniqueRequestToken: "STRING_VALUE",
|
|
74
|
-
* AssignmentReviewPolicy: {
|
|
74
|
+
* AssignmentReviewPolicy: { // ReviewPolicy
|
|
75
75
|
* PolicyName: "STRING_VALUE", // required
|
|
76
|
-
* Parameters: [
|
|
77
|
-
* {
|
|
76
|
+
* Parameters: [ // PolicyParameterList
|
|
77
|
+
* { // PolicyParameter
|
|
78
78
|
* Key: "STRING_VALUE",
|
|
79
|
-
* Values: [
|
|
79
|
+
* Values: [ // StringList
|
|
80
80
|
* "STRING_VALUE",
|
|
81
81
|
* ],
|
|
82
|
-
* MapEntries: [
|
|
83
|
-
* {
|
|
82
|
+
* MapEntries: [ // ParameterMapEntryList
|
|
83
|
+
* { // ParameterMapEntry
|
|
84
84
|
* Key: "STRING_VALUE",
|
|
85
85
|
* Values: [
|
|
86
86
|
* "STRING_VALUE",
|
|
@@ -110,8 +110,8 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
|
|
|
110
110
|
* ],
|
|
111
111
|
* },
|
|
112
112
|
* HITLayoutId: "STRING_VALUE",
|
|
113
|
-
* HITLayoutParameters: [
|
|
114
|
-
* {
|
|
113
|
+
* HITLayoutParameters: [ // HITLayoutParameterList
|
|
114
|
+
* { // HITLayoutParameter
|
|
115
115
|
* Name: "STRING_VALUE", // required
|
|
116
116
|
* Value: "STRING_VALUE", // required
|
|
117
117
|
* },
|
|
@@ -31,22 +31,22 @@ export interface CreateHITTypeCommandOutput extends CreateHITTypeResponse, __Met
|
|
|
31
31
|
* import { MTurkClient, CreateHITTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
32
32
|
* // const { MTurkClient, CreateHITTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
33
33
|
* const client = new MTurkClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // CreateHITTypeRequest
|
|
35
35
|
* AutoApprovalDelayInSeconds: Number("long"),
|
|
36
36
|
* AssignmentDurationInSeconds: Number("long"), // required
|
|
37
37
|
* Reward: "STRING_VALUE", // required
|
|
38
38
|
* Title: "STRING_VALUE", // required
|
|
39
39
|
* Keywords: "STRING_VALUE",
|
|
40
40
|
* Description: "STRING_VALUE", // required
|
|
41
|
-
* QualificationRequirements: [
|
|
42
|
-
* {
|
|
41
|
+
* QualificationRequirements: [ // QualificationRequirementList
|
|
42
|
+
* { // QualificationRequirement
|
|
43
43
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
44
44
|
* Comparator: "STRING_VALUE", // required
|
|
45
|
-
* IntegerValues: [
|
|
45
|
+
* IntegerValues: [ // IntegerList
|
|
46
46
|
* Number("int"),
|
|
47
47
|
* ],
|
|
48
|
-
* LocaleValues: [
|
|
49
|
-
* {
|
|
48
|
+
* LocaleValues: [ // LocaleList
|
|
49
|
+
* { // Locale
|
|
50
50
|
* Country: "STRING_VALUE", // required
|
|
51
51
|
* Subdivision: "STRING_VALUE",
|
|
52
52
|
* },
|
|
@@ -43,23 +43,23 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR
|
|
|
43
43
|
* import { MTurkClient, CreateHITWithHITTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
44
44
|
* // const { MTurkClient, CreateHITWithHITTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
45
45
|
* const client = new MTurkClient(config);
|
|
46
|
-
* const input = {
|
|
46
|
+
* const input = { // CreateHITWithHITTypeRequest
|
|
47
47
|
* HITTypeId: "STRING_VALUE", // required
|
|
48
48
|
* MaxAssignments: Number("int"),
|
|
49
49
|
* LifetimeInSeconds: Number("long"), // required
|
|
50
50
|
* Question: "STRING_VALUE",
|
|
51
51
|
* RequesterAnnotation: "STRING_VALUE",
|
|
52
52
|
* UniqueRequestToken: "STRING_VALUE",
|
|
53
|
-
* AssignmentReviewPolicy: {
|
|
53
|
+
* AssignmentReviewPolicy: { // ReviewPolicy
|
|
54
54
|
* PolicyName: "STRING_VALUE", // required
|
|
55
|
-
* Parameters: [
|
|
56
|
-
* {
|
|
55
|
+
* Parameters: [ // PolicyParameterList
|
|
56
|
+
* { // PolicyParameter
|
|
57
57
|
* Key: "STRING_VALUE",
|
|
58
|
-
* Values: [
|
|
58
|
+
* Values: [ // StringList
|
|
59
59
|
* "STRING_VALUE",
|
|
60
60
|
* ],
|
|
61
|
-
* MapEntries: [
|
|
62
|
-
* {
|
|
61
|
+
* MapEntries: [ // ParameterMapEntryList
|
|
62
|
+
* { // ParameterMapEntry
|
|
63
63
|
* Key: "STRING_VALUE",
|
|
64
64
|
* Values: [
|
|
65
65
|
* "STRING_VALUE",
|
|
@@ -89,8 +89,8 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR
|
|
|
89
89
|
* ],
|
|
90
90
|
* },
|
|
91
91
|
* HITLayoutId: "STRING_VALUE",
|
|
92
|
-
* HITLayoutParameters: [
|
|
93
|
-
* {
|
|
92
|
+
* HITLayoutParameters: [ // HITLayoutParameterList
|
|
93
|
+
* { // HITLayoutParameter
|
|
94
94
|
* Name: "STRING_VALUE", // required
|
|
95
95
|
* Value: "STRING_VALUE", // required
|
|
96
96
|
* },
|
|
@@ -32,7 +32,7 @@ export interface CreateQualificationTypeCommandOutput extends CreateQualificatio
|
|
|
32
32
|
* import { MTurkClient, CreateQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
33
33
|
* // const { MTurkClient, CreateQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
34
34
|
* const client = new MTurkClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // CreateQualificationTypeRequest
|
|
36
36
|
* Name: "STRING_VALUE", // required
|
|
37
37
|
* Keywords: "STRING_VALUE",
|
|
38
38
|
* Description: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface CreateWorkerBlockCommandOutput extends CreateWorkerBlockRespons
|
|
|
26
26
|
* import { MTurkClient, CreateWorkerBlockCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
27
27
|
* // const { MTurkClient, CreateWorkerBlockCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
28
28
|
* const client = new MTurkClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateWorkerBlockRequest
|
|
30
30
|
* WorkerId: "STRING_VALUE", // required
|
|
31
31
|
* Reason: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -61,7 +61,7 @@ export interface DeleteHITCommandOutput extends DeleteHITResponse, __MetadataBea
|
|
|
61
61
|
* import { MTurkClient, DeleteHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
62
62
|
* // const { MTurkClient, DeleteHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
63
63
|
* const client = new MTurkClient(config);
|
|
64
|
-
* const input = {
|
|
64
|
+
* const input = { // DeleteHITRequest
|
|
65
65
|
* HITId: "STRING_VALUE", // required
|
|
66
66
|
* };
|
|
67
67
|
* const command = new DeleteHITCommand(input);
|
|
@@ -44,7 +44,7 @@ export interface DeleteQualificationTypeCommandOutput extends DeleteQualificatio
|
|
|
44
44
|
* import { MTurkClient, DeleteQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
45
45
|
* // const { MTurkClient, DeleteQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
46
46
|
* const client = new MTurkClient(config);
|
|
47
|
-
* const input = {
|
|
47
|
+
* const input = { // DeleteQualificationTypeRequest
|
|
48
48
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
49
49
|
* };
|
|
50
50
|
* const command = new DeleteQualificationTypeCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteWorkerBlockCommandOutput extends DeleteWorkerBlockRespons
|
|
|
26
26
|
* import { MTurkClient, DeleteWorkerBlockCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
27
27
|
* // const { MTurkClient, DeleteWorkerBlockCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
28
28
|
* const client = new MTurkClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteWorkerBlockRequest
|
|
30
30
|
* WorkerId: "STRING_VALUE", // required
|
|
31
31
|
* Reason: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -33,7 +33,7 @@ export interface DisassociateQualificationFromWorkerCommandOutput extends Disass
|
|
|
33
33
|
* import { MTurkClient, DisassociateQualificationFromWorkerCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
34
34
|
* // const { MTurkClient, DisassociateQualificationFromWorkerCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
35
35
|
* const client = new MTurkClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // DisassociateQualificationFromWorkerRequest
|
|
37
37
|
* WorkerId: "STRING_VALUE", // required
|
|
38
38
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
39
39
|
* Reason: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met
|
|
|
28
28
|
* import { MTurkClient, GetAssignmentCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
29
29
|
* // const { MTurkClient, GetAssignmentCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
30
30
|
* const client = new MTurkClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetAssignmentRequest
|
|
32
32
|
* AssignmentId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetAssignmentCommand(input);
|
|
@@ -43,7 +43,7 @@ export interface GetFileUploadURLCommandOutput extends GetFileUploadURLResponse,
|
|
|
43
43
|
* import { MTurkClient, GetFileUploadURLCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
44
44
|
* // const { MTurkClient, GetFileUploadURLCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
45
45
|
* const client = new MTurkClient(config);
|
|
46
|
-
* const input = {
|
|
46
|
+
* const input = { // GetFileUploadURLRequest
|
|
47
47
|
* AssignmentId: "STRING_VALUE", // required
|
|
48
48
|
* QuestionIdentifier: "STRING_VALUE", // required
|
|
49
49
|
* };
|
|
@@ -28,7 +28,7 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {
|
|
|
28
28
|
* import { MTurkClient, GetHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
29
29
|
* // const { MTurkClient, GetHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
30
30
|
* const client = new MTurkClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetHITRequest
|
|
32
32
|
* HITId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetHITCommand(input);
|
|
@@ -39,7 +39,7 @@ export interface GetQualificationScoreCommandOutput extends GetQualificationScor
|
|
|
39
39
|
* import { MTurkClient, GetQualificationScoreCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
40
40
|
* // const { MTurkClient, GetQualificationScoreCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
41
41
|
* const client = new MTurkClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // GetQualificationScoreRequest
|
|
43
43
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
44
44
|
* WorkerId: "STRING_VALUE", // required
|
|
45
45
|
* };
|
|
@@ -28,7 +28,7 @@ export interface GetQualificationTypeCommandOutput extends GetQualificationTypeR
|
|
|
28
28
|
* import { MTurkClient, GetQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
29
29
|
* // const { MTurkClient, GetQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
30
30
|
* const client = new MTurkClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetQualificationTypeRequest
|
|
32
32
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetQualificationTypeCommand(input);
|
|
@@ -52,11 +52,11 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI
|
|
|
52
52
|
* import { MTurkClient, ListAssignmentsForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
53
53
|
* // const { MTurkClient, ListAssignmentsForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
54
54
|
* const client = new MTurkClient(config);
|
|
55
|
-
* const input = {
|
|
55
|
+
* const input = { // ListAssignmentsForHITRequest
|
|
56
56
|
* HITId: "STRING_VALUE", // required
|
|
57
57
|
* NextToken: "STRING_VALUE",
|
|
58
58
|
* MaxResults: Number("int"),
|
|
59
|
-
* AssignmentStatuses: [
|
|
59
|
+
* AssignmentStatuses: [ // AssignmentStatusList
|
|
60
60
|
* "STRING_VALUE",
|
|
61
61
|
* ],
|
|
62
62
|
* };
|
|
@@ -31,7 +31,7 @@ export interface ListBonusPaymentsCommandOutput extends ListBonusPaymentsRespons
|
|
|
31
31
|
* import { MTurkClient, ListBonusPaymentsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
32
32
|
* // const { MTurkClient, ListBonusPaymentsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
33
33
|
* const client = new MTurkClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListBonusPaymentsRequest
|
|
35
35
|
* HITId: "STRING_VALUE",
|
|
36
36
|
* AssignmentId: "STRING_VALUE",
|
|
37
37
|
* NextToken: "STRING_VALUE",
|
|
@@ -32,7 +32,7 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare
|
|
|
32
32
|
* import { MTurkClient, ListHITsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
33
33
|
* // const { MTurkClient, ListHITsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
34
34
|
* const client = new MTurkClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListHITsRequest
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
38
38
|
* };
|
|
@@ -31,7 +31,7 @@ export interface ListHITsForQualificationTypeCommandOutput extends ListHITsForQu
|
|
|
31
31
|
* import { MTurkClient, ListHITsForQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
32
32
|
* // const { MTurkClient, ListHITsForQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
33
33
|
* const client = new MTurkClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListHITsForQualificationTypeRequest
|
|
35
35
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
@@ -33,7 +33,7 @@ export interface ListQualificationRequestsCommandOutput extends ListQualificatio
|
|
|
33
33
|
* import { MTurkClient, ListQualificationRequestsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
34
34
|
* // const { MTurkClient, ListQualificationRequestsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
35
35
|
* const client = new MTurkClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // ListQualificationRequestsRequest
|
|
37
37
|
* QualificationTypeId: "STRING_VALUE",
|
|
38
38
|
* NextToken: "STRING_VALUE",
|
|
39
39
|
* MaxResults: Number("int"),
|
|
@@ -31,7 +31,7 @@ export interface ListQualificationTypesCommandOutput extends ListQualificationTy
|
|
|
31
31
|
* import { MTurkClient, ListQualificationTypesCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
32
32
|
* // const { MTurkClient, ListQualificationTypesCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
33
33
|
* const client = new MTurkClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListQualificationTypesRequest
|
|
35
35
|
* Query: "STRING_VALUE",
|
|
36
36
|
* MustBeRequestable: true || false, // required
|
|
37
37
|
* MustBeOwnedByCaller: true || false,
|
|
@@ -32,9 +32,9 @@ export interface ListReviewPolicyResultsForHITCommandOutput extends ListReviewPo
|
|
|
32
32
|
* import { MTurkClient, ListReviewPolicyResultsForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
33
33
|
* // const { MTurkClient, ListReviewPolicyResultsForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
34
34
|
* const client = new MTurkClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListReviewPolicyResultsForHITRequest
|
|
36
36
|
* HITId: "STRING_VALUE", // required
|
|
37
|
-
* PolicyLevels: [
|
|
37
|
+
* PolicyLevels: [ // ReviewPolicyLevelList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* RetrieveActions: true || false,
|
|
@@ -29,7 +29,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
|
|
|
29
29
|
* import { MTurkClient, ListReviewableHITsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
30
30
|
* // const { MTurkClient, ListReviewableHITsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
31
31
|
* const client = new MTurkClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ListReviewableHITsRequest
|
|
33
33
|
* HITTypeId: "STRING_VALUE",
|
|
34
34
|
* Status: "STRING_VALUE",
|
|
35
35
|
* NextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListWorkerBlocksCommandOutput extends ListWorkerBlocksResponse,
|
|
|
26
26
|
* import { MTurkClient, ListWorkerBlocksCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
27
27
|
* // const { MTurkClient, ListWorkerBlocksCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
28
28
|
* const client = new MTurkClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListWorkerBlocksRequest
|
|
30
30
|
* NextToken: "STRING_VALUE",
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -29,7 +29,7 @@ export interface ListWorkersWithQualificationTypeCommandOutput extends ListWorke
|
|
|
29
29
|
* import { MTurkClient, ListWorkersWithQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
30
30
|
* // const { MTurkClient, ListWorkersWithQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
31
31
|
* const client = new MTurkClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ListWorkersWithQualificationTypeRequest
|
|
33
33
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
34
34
|
* Status: "STRING_VALUE",
|
|
35
35
|
* NextToken: "STRING_VALUE",
|
|
@@ -35,10 +35,10 @@ export interface NotifyWorkersCommandOutput extends NotifyWorkersResponse, __Met
|
|
|
35
35
|
* import { MTurkClient, NotifyWorkersCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
36
36
|
* // const { MTurkClient, NotifyWorkersCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
37
37
|
* const client = new MTurkClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // NotifyWorkersRequest
|
|
39
39
|
* Subject: "STRING_VALUE", // required
|
|
40
40
|
* MessageText: "STRING_VALUE", // required
|
|
41
|
-
* WorkerIds: [ // required
|
|
41
|
+
* WorkerIds: [ // CustomerIdList // required
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* };
|
|
@@ -38,7 +38,7 @@ export interface RejectAssignmentCommandOutput extends RejectAssignmentResponse,
|
|
|
38
38
|
* import { MTurkClient, RejectAssignmentCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
39
39
|
* // const { MTurkClient, RejectAssignmentCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
40
40
|
* const client = new MTurkClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // RejectAssignmentRequest
|
|
42
42
|
* AssignmentId: "STRING_VALUE", // required
|
|
43
43
|
* RequesterFeedback: "STRING_VALUE", // required
|
|
44
44
|
* };
|
|
@@ -32,7 +32,7 @@ export interface RejectQualificationRequestCommandOutput extends RejectQualifica
|
|
|
32
32
|
* import { MTurkClient, RejectQualificationRequestCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
33
33
|
* // const { MTurkClient, RejectQualificationRequestCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
34
34
|
* const client = new MTurkClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // RejectQualificationRequestRequest
|
|
36
36
|
* QualificationRequestId: "STRING_VALUE", // required
|
|
37
37
|
* Reason: "STRING_VALUE",
|
|
38
38
|
* };
|
|
@@ -39,7 +39,7 @@ export interface SendBonusCommandOutput extends SendBonusResponse, __MetadataBea
|
|
|
39
39
|
* import { MTurkClient, SendBonusCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
40
40
|
* // const { MTurkClient, SendBonusCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
41
41
|
* const client = new MTurkClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // SendBonusRequest
|
|
43
43
|
* WorkerId: "STRING_VALUE", // required
|
|
44
44
|
* BonusAmount: "STRING_VALUE", // required
|
|
45
45
|
* AssignmentId: "STRING_VALUE", // required
|
|
@@ -32,12 +32,12 @@ export interface SendTestEventNotificationCommandOutput extends SendTestEventNot
|
|
|
32
32
|
* import { MTurkClient, SendTestEventNotificationCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
33
33
|
* // const { MTurkClient, SendTestEventNotificationCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
34
34
|
* const client = new MTurkClient(config);
|
|
35
|
-
* const input = {
|
|
36
|
-
* Notification: {
|
|
35
|
+
* const input = { // SendTestEventNotificationRequest
|
|
36
|
+
* Notification: { // NotificationSpecification
|
|
37
37
|
* Destination: "STRING_VALUE", // required
|
|
38
38
|
* Transport: "STRING_VALUE", // required
|
|
39
39
|
* Version: "STRING_VALUE", // required
|
|
40
|
-
* EventTypes: [ // required
|
|
40
|
+
* EventTypes: [ // EventTypeList // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* },
|
|
@@ -29,7 +29,7 @@ export interface UpdateExpirationForHITCommandOutput extends UpdateExpirationFor
|
|
|
29
29
|
* import { MTurkClient, UpdateExpirationForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
30
30
|
* // const { MTurkClient, UpdateExpirationForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
31
31
|
* const client = new MTurkClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // UpdateExpirationForHITRequest
|
|
33
33
|
* HITId: "STRING_VALUE", // required
|
|
34
34
|
* ExpireAt: new Date("TIMESTAMP"), // required
|
|
35
35
|
* };
|
|
@@ -30,7 +30,7 @@ export interface UpdateHITReviewStatusCommandOutput extends UpdateHITReviewStatu
|
|
|
30
30
|
* import { MTurkClient, UpdateHITReviewStatusCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
31
31
|
* // const { MTurkClient, UpdateHITReviewStatusCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
32
32
|
* const client = new MTurkClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // UpdateHITReviewStatusRequest
|
|
34
34
|
* HITId: "STRING_VALUE", // required
|
|
35
35
|
* Revert: true || false,
|
|
36
36
|
* };
|
|
@@ -33,7 +33,7 @@ export interface UpdateHITTypeOfHITCommandOutput extends UpdateHITTypeOfHITRespo
|
|
|
33
33
|
* import { MTurkClient, UpdateHITTypeOfHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
34
34
|
* // const { MTurkClient, UpdateHITTypeOfHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
35
35
|
* const client = new MTurkClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // UpdateHITTypeOfHITRequest
|
|
37
37
|
* HITId: "STRING_VALUE", // required
|
|
38
38
|
* HITTypeId: "STRING_VALUE", // required
|
|
39
39
|
* };
|
|
@@ -37,13 +37,13 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat
|
|
|
37
37
|
* import { MTurkClient, UpdateNotificationSettingsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
38
38
|
* // const { MTurkClient, UpdateNotificationSettingsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
39
39
|
* const client = new MTurkClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // UpdateNotificationSettingsRequest
|
|
41
41
|
* HITTypeId: "STRING_VALUE", // required
|
|
42
|
-
* Notification: {
|
|
42
|
+
* Notification: { // NotificationSpecification
|
|
43
43
|
* Destination: "STRING_VALUE", // required
|
|
44
44
|
* Transport: "STRING_VALUE", // required
|
|
45
45
|
* Version: "STRING_VALUE", // required
|
|
46
|
-
* EventTypes: [ // required
|
|
46
|
+
* EventTypes: [ // EventTypeList // required
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
49
|
* },
|
|
@@ -58,7 +58,7 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
|
|
|
58
58
|
* import { MTurkClient, UpdateQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
59
59
|
* // const { MTurkClient, UpdateQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
60
60
|
* const client = new MTurkClient(config);
|
|
61
|
-
* const input = {
|
|
61
|
+
* const input = { // UpdateQualificationTypeRequest
|
|
62
62
|
* QualificationTypeId: "STRING_VALUE", // required
|
|
63
63
|
* Description: "STRING_VALUE",
|
|
64
64
|
* QualificationTypeStatus: "STRING_VALUE",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mturk",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mturk Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|