@aws-sdk/client-mturk 3.299.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.
Files changed (40) hide show
  1. package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +4 -0
  2. package/dist-types/commands/ApproveAssignmentCommand.d.ts +5 -0
  3. package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +6 -0
  4. package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +5 -0
  5. package/dist-types/commands/CreateHITCommand.d.ts +75 -0
  6. package/dist-types/commands/CreateHITTypeCommand.d.ts +25 -0
  7. package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +53 -0
  8. package/dist-types/commands/CreateQualificationTypeCommand.d.ts +12 -0
  9. package/dist-types/commands/CreateWorkerBlockCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteHITCommand.d.ts +3 -0
  11. package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +3 -0
  12. package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +4 -0
  13. package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +5 -0
  14. package/dist-types/commands/GetAccountBalanceCommand.d.ts +1 -0
  15. package/dist-types/commands/GetAssignmentCommand.d.ts +3 -0
  16. package/dist-types/commands/GetFileUploadURLCommand.d.ts +4 -0
  17. package/dist-types/commands/GetHITCommand.d.ts +3 -0
  18. package/dist-types/commands/GetQualificationScoreCommand.d.ts +4 -0
  19. package/dist-types/commands/GetQualificationTypeCommand.d.ts +3 -0
  20. package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +8 -0
  21. package/dist-types/commands/ListBonusPaymentsCommand.d.ts +6 -0
  22. package/dist-types/commands/ListHITsCommand.d.ts +4 -0
  23. package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +5 -0
  24. package/dist-types/commands/ListQualificationRequestsCommand.d.ts +5 -0
  25. package/dist-types/commands/ListQualificationTypesCommand.d.ts +7 -0
  26. package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +10 -0
  27. package/dist-types/commands/ListReviewableHITsCommand.d.ts +6 -0
  28. package/dist-types/commands/ListWorkerBlocksCommand.d.ts +4 -0
  29. package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +6 -0
  30. package/dist-types/commands/NotifyWorkersCommand.d.ts +7 -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 +7 -0
  34. package/dist-types/commands/SendTestEventNotificationCommand.d.ts +11 -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 +12 -0
  39. package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +11 -0
  40. package/package.json +8 -8
@@ -35,6 +35,10 @@ 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 = { // AcceptQualificationRequestRequest
39
+ * QualificationRequestId: "STRING_VALUE", // required
40
+ * IntegerValue: Number("int"),
41
+ * };
38
42
  * const command = new AcceptQualificationRequestCommand(input);
39
43
  * const response = await client.send(command);
40
44
  * ```
@@ -55,6 +55,11 @@ 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 = { // ApproveAssignmentRequest
59
+ * AssignmentId: "STRING_VALUE", // required
60
+ * RequesterFeedback: "STRING_VALUE",
61
+ * OverrideRejection: true || false,
62
+ * };
58
63
  * const command = new ApproveAssignmentCommand(input);
59
64
  * const response = await client.send(command);
60
65
  * ```
@@ -46,6 +46,12 @@ 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 = { // AssociateQualificationWithWorkerRequest
50
+ * QualificationTypeId: "STRING_VALUE", // required
51
+ * WorkerId: "STRING_VALUE", // required
52
+ * IntegerValue: Number("int"),
53
+ * SendNotification: true || false,
54
+ * };
49
55
  * const command = new AssociateQualificationWithWorkerCommand(input);
50
56
  * const response = await client.send(command);
51
57
  * ```
@@ -48,6 +48,11 @@ 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 = { // CreateAdditionalAssignmentsForHITRequest
52
+ * HITId: "STRING_VALUE", // required
53
+ * NumberOfAdditionalAssignments: Number("int"), // required
54
+ * UniqueRequestToken: "STRING_VALUE",
55
+ * };
51
56
  * const command = new CreateAdditionalAssignmentsForHITCommand(input);
52
57
  * const response = await client.send(command);
53
58
  * ```
@@ -42,6 +42,81 @@ 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 = { // CreateHITRequest
46
+ * MaxAssignments: Number("int"),
47
+ * AutoApprovalDelayInSeconds: Number("long"),
48
+ * LifetimeInSeconds: Number("long"), // required
49
+ * AssignmentDurationInSeconds: Number("long"), // required
50
+ * Reward: "STRING_VALUE", // required
51
+ * Title: "STRING_VALUE", // required
52
+ * Keywords: "STRING_VALUE",
53
+ * Description: "STRING_VALUE", // required
54
+ * Question: "STRING_VALUE",
55
+ * RequesterAnnotation: "STRING_VALUE",
56
+ * QualificationRequirements: [ // QualificationRequirementList
57
+ * { // QualificationRequirement
58
+ * QualificationTypeId: "STRING_VALUE", // required
59
+ * Comparator: "STRING_VALUE", // required
60
+ * IntegerValues: [ // IntegerList
61
+ * Number("int"),
62
+ * ],
63
+ * LocaleValues: [ // LocaleList
64
+ * { // Locale
65
+ * Country: "STRING_VALUE", // required
66
+ * Subdivision: "STRING_VALUE",
67
+ * },
68
+ * ],
69
+ * RequiredToPreview: true || false,
70
+ * ActionsGuarded: "STRING_VALUE",
71
+ * },
72
+ * ],
73
+ * UniqueRequestToken: "STRING_VALUE",
74
+ * AssignmentReviewPolicy: { // ReviewPolicy
75
+ * PolicyName: "STRING_VALUE", // required
76
+ * Parameters: [ // PolicyParameterList
77
+ * { // PolicyParameter
78
+ * Key: "STRING_VALUE",
79
+ * Values: [ // StringList
80
+ * "STRING_VALUE",
81
+ * ],
82
+ * MapEntries: [ // ParameterMapEntryList
83
+ * { // ParameterMapEntry
84
+ * Key: "STRING_VALUE",
85
+ * Values: [
86
+ * "STRING_VALUE",
87
+ * ],
88
+ * },
89
+ * ],
90
+ * },
91
+ * ],
92
+ * },
93
+ * HITReviewPolicy: {
94
+ * PolicyName: "STRING_VALUE", // required
95
+ * Parameters: [
96
+ * {
97
+ * Key: "STRING_VALUE",
98
+ * Values: [
99
+ * "STRING_VALUE",
100
+ * ],
101
+ * MapEntries: [
102
+ * {
103
+ * Key: "STRING_VALUE",
104
+ * Values: [
105
+ * "STRING_VALUE",
106
+ * ],
107
+ * },
108
+ * ],
109
+ * },
110
+ * ],
111
+ * },
112
+ * HITLayoutId: "STRING_VALUE",
113
+ * HITLayoutParameters: [ // HITLayoutParameterList
114
+ * { // HITLayoutParameter
115
+ * Name: "STRING_VALUE", // required
116
+ * Value: "STRING_VALUE", // required
117
+ * },
118
+ * ],
119
+ * };
45
120
  * const command = new CreateHITCommand(input);
46
121
  * const response = await client.send(command);
47
122
  * ```
@@ -31,6 +31,31 @@ 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 = { // CreateHITTypeRequest
35
+ * AutoApprovalDelayInSeconds: Number("long"),
36
+ * AssignmentDurationInSeconds: Number("long"), // required
37
+ * Reward: "STRING_VALUE", // required
38
+ * Title: "STRING_VALUE", // required
39
+ * Keywords: "STRING_VALUE",
40
+ * Description: "STRING_VALUE", // required
41
+ * QualificationRequirements: [ // QualificationRequirementList
42
+ * { // QualificationRequirement
43
+ * QualificationTypeId: "STRING_VALUE", // required
44
+ * Comparator: "STRING_VALUE", // required
45
+ * IntegerValues: [ // IntegerList
46
+ * Number("int"),
47
+ * ],
48
+ * LocaleValues: [ // LocaleList
49
+ * { // Locale
50
+ * Country: "STRING_VALUE", // required
51
+ * Subdivision: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * RequiredToPreview: true || false,
55
+ * ActionsGuarded: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * };
34
59
  * const command = new CreateHITTypeCommand(input);
35
60
  * const response = await client.send(command);
36
61
  * ```
@@ -43,6 +43,59 @@ 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 = { // CreateHITWithHITTypeRequest
47
+ * HITTypeId: "STRING_VALUE", // required
48
+ * MaxAssignments: Number("int"),
49
+ * LifetimeInSeconds: Number("long"), // required
50
+ * Question: "STRING_VALUE",
51
+ * RequesterAnnotation: "STRING_VALUE",
52
+ * UniqueRequestToken: "STRING_VALUE",
53
+ * AssignmentReviewPolicy: { // ReviewPolicy
54
+ * PolicyName: "STRING_VALUE", // required
55
+ * Parameters: [ // PolicyParameterList
56
+ * { // PolicyParameter
57
+ * Key: "STRING_VALUE",
58
+ * Values: [ // StringList
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * MapEntries: [ // ParameterMapEntryList
62
+ * { // ParameterMapEntry
63
+ * Key: "STRING_VALUE",
64
+ * Values: [
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * },
68
+ * ],
69
+ * },
70
+ * ],
71
+ * },
72
+ * HITReviewPolicy: {
73
+ * PolicyName: "STRING_VALUE", // required
74
+ * Parameters: [
75
+ * {
76
+ * Key: "STRING_VALUE",
77
+ * Values: [
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * MapEntries: [
81
+ * {
82
+ * Key: "STRING_VALUE",
83
+ * Values: [
84
+ * "STRING_VALUE",
85
+ * ],
86
+ * },
87
+ * ],
88
+ * },
89
+ * ],
90
+ * },
91
+ * HITLayoutId: "STRING_VALUE",
92
+ * HITLayoutParameters: [ // HITLayoutParameterList
93
+ * { // HITLayoutParameter
94
+ * Name: "STRING_VALUE", // required
95
+ * Value: "STRING_VALUE", // required
96
+ * },
97
+ * ],
98
+ * };
46
99
  * const command = new CreateHITWithHITTypeCommand(input);
47
100
  * const response = await client.send(command);
48
101
  * ```
@@ -32,6 +32,18 @@ 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 = { // CreateQualificationTypeRequest
36
+ * Name: "STRING_VALUE", // required
37
+ * Keywords: "STRING_VALUE",
38
+ * Description: "STRING_VALUE", // required
39
+ * QualificationTypeStatus: "STRING_VALUE", // required
40
+ * RetryDelayInSeconds: Number("long"),
41
+ * Test: "STRING_VALUE",
42
+ * AnswerKey: "STRING_VALUE",
43
+ * TestDurationInSeconds: Number("long"),
44
+ * AutoGranted: true || false,
45
+ * AutoGrantedValue: Number("int"),
46
+ * };
35
47
  * const command = new CreateQualificationTypeCommand(input);
36
48
  * const response = await client.send(command);
37
49
  * ```
@@ -26,6 +26,10 @@ 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 = { // CreateWorkerBlockRequest
30
+ * WorkerId: "STRING_VALUE", // required
31
+ * Reason: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new CreateWorkerBlockCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -61,6 +61,9 @@ 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 = { // DeleteHITRequest
65
+ * HITId: "STRING_VALUE", // required
66
+ * };
64
67
  * const command = new DeleteHITCommand(input);
65
68
  * const response = await client.send(command);
66
69
  * ```
@@ -44,6 +44,9 @@ 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 = { // DeleteQualificationTypeRequest
48
+ * QualificationTypeId: "STRING_VALUE", // required
49
+ * };
47
50
  * const command = new DeleteQualificationTypeCommand(input);
48
51
  * const response = await client.send(command);
49
52
  * ```
@@ -26,6 +26,10 @@ 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 = { // DeleteWorkerBlockRequest
30
+ * WorkerId: "STRING_VALUE", // required
31
+ * Reason: "STRING_VALUE",
32
+ * };
29
33
  * const command = new DeleteWorkerBlockCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -33,6 +33,11 @@ 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 = { // DisassociateQualificationFromWorkerRequest
37
+ * WorkerId: "STRING_VALUE", // required
38
+ * QualificationTypeId: "STRING_VALUE", // required
39
+ * Reason: "STRING_VALUE",
40
+ * };
36
41
  * const command = new DisassociateQualificationFromWorkerCommand(input);
37
42
  * const response = await client.send(command);
38
43
  * ```
@@ -28,6 +28,7 @@ export interface GetAccountBalanceCommandOutput extends GetAccountBalanceRespons
28
28
  * import { MTurkClient, GetAccountBalanceCommand } from "@aws-sdk/client-mturk"; // ES Modules import
29
29
  * // const { MTurkClient, GetAccountBalanceCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
30
30
  * const client = new MTurkClient(config);
31
+ * const input = {};
31
32
  * const command = new GetAccountBalanceCommand(input);
32
33
  * const response = await client.send(command);
33
34
  * ```
@@ -28,6 +28,9 @@ 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 = { // GetAssignmentRequest
32
+ * AssignmentId: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new GetAssignmentCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -43,6 +43,10 @@ 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 = { // GetFileUploadURLRequest
47
+ * AssignmentId: "STRING_VALUE", // required
48
+ * QuestionIdentifier: "STRING_VALUE", // required
49
+ * };
46
50
  * const command = new GetFileUploadURLCommand(input);
47
51
  * const response = await client.send(command);
48
52
  * ```
@@ -28,6 +28,9 @@ 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 = { // GetHITRequest
32
+ * HITId: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new GetHITCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -39,6 +39,10 @@ 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 = { // GetQualificationScoreRequest
43
+ * QualificationTypeId: "STRING_VALUE", // required
44
+ * WorkerId: "STRING_VALUE", // required
45
+ * };
42
46
  * const command = new GetQualificationScoreCommand(input);
43
47
  * const response = await client.send(command);
44
48
  * ```
@@ -28,6 +28,9 @@ 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 = { // GetQualificationTypeRequest
32
+ * QualificationTypeId: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new GetQualificationTypeCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -52,6 +52,14 @@ 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 = { // ListAssignmentsForHITRequest
56
+ * HITId: "STRING_VALUE", // required
57
+ * NextToken: "STRING_VALUE",
58
+ * MaxResults: Number("int"),
59
+ * AssignmentStatuses: [ // AssignmentStatusList
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * };
55
63
  * const command = new ListAssignmentsForHITCommand(input);
56
64
  * const response = await client.send(command);
57
65
  * ```
@@ -31,6 +31,12 @@ 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 = { // ListBonusPaymentsRequest
35
+ * HITId: "STRING_VALUE",
36
+ * AssignmentId: "STRING_VALUE",
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * };
34
40
  * const command = new ListBonusPaymentsCommand(input);
35
41
  * const response = await client.send(command);
36
42
  * ```
@@ -32,6 +32,10 @@ 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 = { // ListHITsRequest
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
35
39
  * const command = new ListHITsCommand(input);
36
40
  * const response = await client.send(command);
37
41
  * ```
@@ -31,6 +31,11 @@ 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 = { // ListHITsForQualificationTypeRequest
35
+ * QualificationTypeId: "STRING_VALUE", // required
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
34
39
  * const command = new ListHITsForQualificationTypeCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -33,6 +33,11 @@ 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 = { // ListQualificationRequestsRequest
37
+ * QualificationTypeId: "STRING_VALUE",
38
+ * NextToken: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * };
36
41
  * const command = new ListQualificationRequestsCommand(input);
37
42
  * const response = await client.send(command);
38
43
  * ```
@@ -31,6 +31,13 @@ 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 = { // ListQualificationTypesRequest
35
+ * Query: "STRING_VALUE",
36
+ * MustBeRequestable: true || false, // required
37
+ * MustBeOwnedByCaller: true || false,
38
+ * NextToken: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * };
34
41
  * const command = new ListQualificationTypesCommand(input);
35
42
  * const response = await client.send(command);
36
43
  * ```
@@ -32,6 +32,16 @@ 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 = { // ListReviewPolicyResultsForHITRequest
36
+ * HITId: "STRING_VALUE", // required
37
+ * PolicyLevels: [ // ReviewPolicyLevelList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * RetrieveActions: true || false,
41
+ * RetrieveResults: true || false,
42
+ * NextToken: "STRING_VALUE",
43
+ * MaxResults: Number("int"),
44
+ * };
35
45
  * const command = new ListReviewPolicyResultsForHITCommand(input);
36
46
  * const response = await client.send(command);
37
47
  * ```
@@ -29,6 +29,12 @@ 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 = { // ListReviewableHITsRequest
33
+ * HITTypeId: "STRING_VALUE",
34
+ * Status: "STRING_VALUE",
35
+ * NextToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * };
32
38
  * const command = new ListReviewableHITsCommand(input);
33
39
  * const response = await client.send(command);
34
40
  * ```
@@ -26,6 +26,10 @@ 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 = { // ListWorkerBlocksRequest
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListWorkerBlocksCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -29,6 +29,12 @@ 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 = { // ListWorkersWithQualificationTypeRequest
33
+ * QualificationTypeId: "STRING_VALUE", // required
34
+ * Status: "STRING_VALUE",
35
+ * NextToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * };
32
38
  * const command = new ListWorkersWithQualificationTypeCommand(input);
33
39
  * const response = await client.send(command);
34
40
  * ```
@@ -35,6 +35,13 @@ 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 = { // NotifyWorkersRequest
39
+ * Subject: "STRING_VALUE", // required
40
+ * MessageText: "STRING_VALUE", // required
41
+ * WorkerIds: [ // CustomerIdList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
38
45
  * const command = new NotifyWorkersCommand(input);
39
46
  * const response = await client.send(command);
40
47
  * ```
@@ -38,6 +38,10 @@ 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 = { // RejectAssignmentRequest
42
+ * AssignmentId: "STRING_VALUE", // required
43
+ * RequesterFeedback: "STRING_VALUE", // required
44
+ * };
41
45
  * const command = new RejectAssignmentCommand(input);
42
46
  * const response = await client.send(command);
43
47
  * ```
@@ -32,6 +32,10 @@ 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 = { // RejectQualificationRequestRequest
36
+ * QualificationRequestId: "STRING_VALUE", // required
37
+ * Reason: "STRING_VALUE",
38
+ * };
35
39
  * const command = new RejectQualificationRequestCommand(input);
36
40
  * const response = await client.send(command);
37
41
  * ```
@@ -39,6 +39,13 @@ 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 = { // SendBonusRequest
43
+ * WorkerId: "STRING_VALUE", // required
44
+ * BonusAmount: "STRING_VALUE", // required
45
+ * AssignmentId: "STRING_VALUE", // required
46
+ * Reason: "STRING_VALUE", // required
47
+ * UniqueRequestToken: "STRING_VALUE",
48
+ * };
42
49
  * const command = new SendBonusCommand(input);
43
50
  * const response = await client.send(command);
44
51
  * ```
@@ -32,6 +32,17 @@ 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 = { // SendTestEventNotificationRequest
36
+ * Notification: { // NotificationSpecification
37
+ * Destination: "STRING_VALUE", // required
38
+ * Transport: "STRING_VALUE", // required
39
+ * Version: "STRING_VALUE", // required
40
+ * EventTypes: [ // EventTypeList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * },
44
+ * TestEventType: "STRING_VALUE", // required
45
+ * };
35
46
  * const command = new SendTestEventNotificationCommand(input);
36
47
  * const response = await client.send(command);
37
48
  * ```
@@ -29,6 +29,10 @@ 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 = { // UpdateExpirationForHITRequest
33
+ * HITId: "STRING_VALUE", // required
34
+ * ExpireAt: new Date("TIMESTAMP"), // required
35
+ * };
32
36
  * const command = new UpdateExpirationForHITCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -30,6 +30,10 @@ 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 = { // UpdateHITReviewStatusRequest
34
+ * HITId: "STRING_VALUE", // required
35
+ * Revert: true || false,
36
+ * };
33
37
  * const command = new UpdateHITReviewStatusCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -33,6 +33,10 @@ 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 = { // UpdateHITTypeOfHITRequest
37
+ * HITId: "STRING_VALUE", // required
38
+ * HITTypeId: "STRING_VALUE", // required
39
+ * };
36
40
  * const command = new UpdateHITTypeOfHITCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
@@ -37,6 +37,18 @@ 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 = { // UpdateNotificationSettingsRequest
41
+ * HITTypeId: "STRING_VALUE", // required
42
+ * Notification: { // NotificationSpecification
43
+ * Destination: "STRING_VALUE", // required
44
+ * Transport: "STRING_VALUE", // required
45
+ * Version: "STRING_VALUE", // required
46
+ * EventTypes: [ // EventTypeList // required
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * },
50
+ * Active: true || false,
51
+ * };
40
52
  * const command = new UpdateNotificationSettingsCommand(input);
41
53
  * const response = await client.send(command);
42
54
  * ```
@@ -58,6 +58,17 @@ 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 = { // UpdateQualificationTypeRequest
62
+ * QualificationTypeId: "STRING_VALUE", // required
63
+ * Description: "STRING_VALUE",
64
+ * QualificationTypeStatus: "STRING_VALUE",
65
+ * Test: "STRING_VALUE",
66
+ * AnswerKey: "STRING_VALUE",
67
+ * TestDurationInSeconds: Number("long"),
68
+ * RetryDelayInSeconds: Number("long"),
69
+ * AutoGranted: true || false,
70
+ * AutoGrantedValue: Number("int"),
71
+ * };
61
72
  * const command = new UpdateQualificationTypeCommand(input);
62
73
  * const response = await client.send(command);
63
74
  * ```
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.299.0",
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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },