@aws-sdk/client-mturk 3.952.0 → 3.953.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-cjs/index.js +442 -283
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/AcceptQualificationRequestCommand.js +2 -2
- package/dist-es/commands/ApproveAssignmentCommand.js +2 -2
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +2 -2
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +2 -2
- package/dist-es/commands/CreateHITCommand.js +2 -2
- package/dist-es/commands/CreateHITTypeCommand.js +2 -2
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +2 -2
- package/dist-es/commands/CreateQualificationTypeCommand.js +2 -2
- package/dist-es/commands/CreateWorkerBlockCommand.js +2 -2
- package/dist-es/commands/DeleteHITCommand.js +2 -2
- package/dist-es/commands/DeleteQualificationTypeCommand.js +2 -2
- package/dist-es/commands/DeleteWorkerBlockCommand.js +2 -2
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +2 -2
- package/dist-es/commands/GetAccountBalanceCommand.js +2 -2
- package/dist-es/commands/GetAssignmentCommand.js +2 -2
- package/dist-es/commands/GetFileUploadURLCommand.js +2 -2
- package/dist-es/commands/GetHITCommand.js +2 -2
- package/dist-es/commands/GetQualificationScoreCommand.js +2 -2
- package/dist-es/commands/GetQualificationTypeCommand.js +2 -2
- package/dist-es/commands/ListAssignmentsForHITCommand.js +2 -2
- package/dist-es/commands/ListBonusPaymentsCommand.js +2 -2
- package/dist-es/commands/ListHITsCommand.js +2 -2
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +2 -2
- package/dist-es/commands/ListQualificationRequestsCommand.js +2 -2
- package/dist-es/commands/ListQualificationTypesCommand.js +2 -2
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +2 -2
- package/dist-es/commands/ListReviewableHITsCommand.js +2 -2
- package/dist-es/commands/ListWorkerBlocksCommand.js +2 -2
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +2 -2
- package/dist-es/commands/NotifyWorkersCommand.js +2 -2
- package/dist-es/commands/RejectAssignmentCommand.js +2 -2
- package/dist-es/commands/RejectQualificationRequestCommand.js +2 -2
- package/dist-es/commands/SendBonusCommand.js +2 -2
- package/dist-es/commands/SendTestEventNotificationCommand.js +2 -2
- package/dist-es/commands/UpdateExpirationForHITCommand.js +2 -2
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +2 -2
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +2 -2
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateQualificationTypeCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +263 -242
- package/dist-types/MTurkClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +139 -160
- package/dist-types/ts3.4/MTurkClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +138 -160
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateHITReviewStatus } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateHITReviewStatus$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateHITReviewStatusCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateHITReviewStatusCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MTurkRequesterServiceV20170117", "UpdateHITReviewStatus", {})
|
|
13
13
|
.n("MTurkClient", "UpdateHITReviewStatusCommand")
|
|
14
|
-
.sc(UpdateHITReviewStatus)
|
|
14
|
+
.sc(UpdateHITReviewStatus$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateHITTypeOfHIT } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateHITTypeOfHIT$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateHITTypeOfHITCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateHITTypeOfHITCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MTurkRequesterServiceV20170117", "UpdateHITTypeOfHIT", {})
|
|
13
13
|
.n("MTurkClient", "UpdateHITTypeOfHITCommand")
|
|
14
|
-
.sc(UpdateHITTypeOfHIT)
|
|
14
|
+
.sc(UpdateHITTypeOfHIT$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateNotificationSettings } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateNotificationSettings$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateNotificationSettingsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateNotificationSettingsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MTurkRequesterServiceV20170117", "UpdateNotificationSettings", {})
|
|
13
13
|
.n("MTurkClient", "UpdateNotificationSettingsCommand")
|
|
14
|
-
.sc(UpdateNotificationSettings)
|
|
14
|
+
.sc(UpdateNotificationSettings$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateQualificationType } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateQualificationType$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateQualificationTypeCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateQualificationTypeCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("MTurkRequesterServiceV20170117", "UpdateQualificationType", {})
|
|
13
13
|
.n("MTurkClient", "UpdateQualificationTypeCommand")
|
|
14
|
-
.sc(UpdateQualificationType)
|
|
14
|
+
.sc(UpdateQualificationType$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.mturk",
|
|
29
|
+
xmlNamespace: "http://requester.mturk.com/2017-01-17/",
|
|
30
|
+
version: "2017-01-17",
|
|
31
|
+
serviceTarget: "MTurkRequesterServiceV20170117",
|
|
32
|
+
},
|
|
32
33
|
serviceId: config?.serviceId ?? "MTurk",
|
|
33
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|