@aws-sdk/client-mturk 3.194.0 → 3.195.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/CHANGELOG.md +11 -0
- package/dist-cjs/MTurkClient.js +11 -8
- package/dist-cjs/commands/AcceptQualificationRequestCommand.js +10 -0
- package/dist-cjs/commands/ApproveAssignmentCommand.js +10 -0
- package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +10 -0
- package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +10 -0
- package/dist-cjs/commands/CreateHITCommand.js +10 -0
- package/dist-cjs/commands/CreateHITTypeCommand.js +10 -0
- package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +10 -0
- package/dist-cjs/commands/CreateQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/CreateWorkerBlockCommand.js +10 -0
- package/dist-cjs/commands/DeleteHITCommand.js +10 -0
- package/dist-cjs/commands/DeleteQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/DeleteWorkerBlockCommand.js +10 -0
- package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +10 -0
- package/dist-cjs/commands/GetAccountBalanceCommand.js +10 -0
- package/dist-cjs/commands/GetAssignmentCommand.js +10 -0
- package/dist-cjs/commands/GetFileUploadURLCommand.js +10 -0
- package/dist-cjs/commands/GetHITCommand.js +10 -0
- package/dist-cjs/commands/GetQualificationScoreCommand.js +10 -0
- package/dist-cjs/commands/GetQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/ListAssignmentsForHITCommand.js +10 -0
- package/dist-cjs/commands/ListBonusPaymentsCommand.js +10 -0
- package/dist-cjs/commands/ListHITsCommand.js +10 -0
- package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/ListQualificationRequestsCommand.js +10 -0
- package/dist-cjs/commands/ListQualificationTypesCommand.js +10 -0
- package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +10 -0
- package/dist-cjs/commands/ListReviewableHITsCommand.js +10 -0
- package/dist-cjs/commands/ListWorkerBlocksCommand.js +10 -0
- package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/NotifyWorkersCommand.js +10 -0
- package/dist-cjs/commands/RejectAssignmentCommand.js +10 -0
- package/dist-cjs/commands/RejectQualificationRequestCommand.js +10 -0
- package/dist-cjs/commands/SendBonusCommand.js +10 -0
- package/dist-cjs/commands/SendTestEventNotificationCommand.js +10 -0
- package/dist-cjs/commands/UpdateExpirationForHITCommand.js +10 -0
- package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +10 -0
- package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +10 -0
- package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +10 -0
- package/dist-cjs/commands/UpdateQualificationTypeCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +343 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/MTurkClient.js +12 -9
- package/dist-es/commands/AcceptQualificationRequestCommand.js +10 -0
- package/dist-es/commands/ApproveAssignmentCommand.js +10 -0
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +10 -0
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +10 -0
- package/dist-es/commands/CreateHITCommand.js +10 -0
- package/dist-es/commands/CreateHITTypeCommand.js +10 -0
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +10 -0
- package/dist-es/commands/CreateQualificationTypeCommand.js +10 -0
- package/dist-es/commands/CreateWorkerBlockCommand.js +10 -0
- package/dist-es/commands/DeleteHITCommand.js +10 -0
- package/dist-es/commands/DeleteQualificationTypeCommand.js +10 -0
- package/dist-es/commands/DeleteWorkerBlockCommand.js +10 -0
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +10 -0
- package/dist-es/commands/GetAccountBalanceCommand.js +10 -0
- package/dist-es/commands/GetAssignmentCommand.js +10 -0
- package/dist-es/commands/GetFileUploadURLCommand.js +10 -0
- package/dist-es/commands/GetHITCommand.js +10 -0
- package/dist-es/commands/GetQualificationScoreCommand.js +10 -0
- package/dist-es/commands/GetQualificationTypeCommand.js +10 -0
- package/dist-es/commands/ListAssignmentsForHITCommand.js +10 -0
- package/dist-es/commands/ListBonusPaymentsCommand.js +10 -0
- package/dist-es/commands/ListHITsCommand.js +10 -0
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +10 -0
- package/dist-es/commands/ListQualificationRequestsCommand.js +10 -0
- package/dist-es/commands/ListQualificationTypesCommand.js +10 -0
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +10 -0
- package/dist-es/commands/ListReviewableHITsCommand.js +10 -0
- package/dist-es/commands/ListWorkerBlocksCommand.js +10 -0
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +10 -0
- package/dist-es/commands/NotifyWorkersCommand.js +10 -0
- package/dist-es/commands/RejectAssignmentCommand.js +10 -0
- package/dist-es/commands/RejectQualificationRequestCommand.js +10 -0
- package/dist-es/commands/SendBonusCommand.js +10 -0
- package/dist-es/commands/SendTestEventNotificationCommand.js +10 -0
- package/dist-es/commands/UpdateExpirationForHITCommand.js +10 -0
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +10 -0
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +10 -0
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +10 -0
- package/dist-es/commands/UpdateQualificationTypeCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +340 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/MTurkClient.d.ts +6 -9
- package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +2 -0
- package/dist-types/commands/ApproveAssignmentCommand.d.ts +2 -0
- package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +2 -0
- package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +2 -0
- package/dist-types/commands/CreateHITCommand.d.ts +2 -0
- package/dist-types/commands/CreateHITTypeCommand.d.ts +2 -0
- package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +2 -0
- package/dist-types/commands/CreateQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/CreateWorkerBlockCommand.d.ts +2 -0
- package/dist-types/commands/DeleteHITCommand.d.ts +2 -0
- package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +2 -0
- package/dist-types/commands/GetAssignmentCommand.d.ts +2 -0
- package/dist-types/commands/GetFileUploadURLCommand.d.ts +2 -0
- package/dist-types/commands/GetHITCommand.d.ts +2 -0
- package/dist-types/commands/GetQualificationScoreCommand.d.ts +2 -0
- package/dist-types/commands/GetQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +2 -0
- package/dist-types/commands/ListBonusPaymentsCommand.d.ts +2 -0
- package/dist-types/commands/ListHITsCommand.d.ts +2 -0
- package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/ListQualificationRequestsCommand.d.ts +2 -0
- package/dist-types/commands/ListQualificationTypesCommand.d.ts +2 -0
- package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -0
- package/dist-types/commands/ListReviewableHITsCommand.d.ts +2 -0
- package/dist-types/commands/ListWorkerBlocksCommand.d.ts +2 -0
- package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/NotifyWorkersCommand.d.ts +2 -0
- package/dist-types/commands/RejectAssignmentCommand.d.ts +2 -0
- package/dist-types/commands/RejectQualificationRequestCommand.d.ts +2 -0
- package/dist-types/commands/SendBonusCommand.d.ts +2 -0
- package/dist-types/commands/SendTestEventNotificationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +2 -0
- package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/MTurkClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +3 -1
- package/dist-cjs/endpoints.js +0 -142
- package/dist-es/endpoints.js +0 -138
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetAssignmentRequest, GetAssignmentResponse } from "../models/models_0";
|
|
@@ -27,6 +28,7 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class GetAssignmentCommand extends $Command<GetAssignmentCommandInput, GetAssignmentCommandOutput, MTurkClientResolvedConfig> {
|
|
29
30
|
readonly input: GetAssignmentCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: GetAssignmentCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetFileUploadURLRequest, GetFileUploadURLResponse } from "../models/models_0";
|
|
@@ -42,6 +43,7 @@ export interface GetFileUploadURLCommandOutput extends GetFileUploadURLResponse,
|
|
|
42
43
|
*/
|
|
43
44
|
export declare class GetFileUploadURLCommand extends $Command<GetFileUploadURLCommandInput, GetFileUploadURLCommandOutput, MTurkClientResolvedConfig> {
|
|
44
45
|
readonly input: GetFileUploadURLCommandInput;
|
|
46
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
45
47
|
constructor(input: GetFileUploadURLCommandInput);
|
|
46
48
|
/**
|
|
47
49
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetHITRequest, GetHITResponse } from "../models/models_0";
|
|
@@ -27,6 +28,7 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class GetHITCommand extends $Command<GetHITCommandInput, GetHITCommandOutput, MTurkClientResolvedConfig> {
|
|
29
30
|
readonly input: GetHITCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: GetHITCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetQualificationScoreRequest, GetQualificationScoreResponse } from "../models/models_0";
|
|
@@ -38,6 +39,7 @@ export interface GetQualificationScoreCommandOutput extends GetQualificationScor
|
|
|
38
39
|
*/
|
|
39
40
|
export declare class GetQualificationScoreCommand extends $Command<GetQualificationScoreCommandInput, GetQualificationScoreCommandOutput, MTurkClientResolvedConfig> {
|
|
40
41
|
readonly input: GetQualificationScoreCommandInput;
|
|
42
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
41
43
|
constructor(input: GetQualificationScoreCommandInput);
|
|
42
44
|
/**
|
|
43
45
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetQualificationTypeRequest, GetQualificationTypeResponse } from "../models/models_0";
|
|
@@ -27,6 +28,7 @@ export interface GetQualificationTypeCommandOutput extends GetQualificationTypeR
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class GetQualificationTypeCommand extends $Command<GetQualificationTypeCommandInput, GetQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
29
30
|
readonly input: GetQualificationTypeCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: GetQualificationTypeCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListAssignmentsForHITRequest, ListAssignmentsForHITResponse } from "../models/models_0";
|
|
@@ -51,6 +52,7 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI
|
|
|
51
52
|
*/
|
|
52
53
|
export declare class ListAssignmentsForHITCommand extends $Command<ListAssignmentsForHITCommandInput, ListAssignmentsForHITCommandOutput, MTurkClientResolvedConfig> {
|
|
53
54
|
readonly input: ListAssignmentsForHITCommandInput;
|
|
55
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
56
|
constructor(input: ListAssignmentsForHITCommandInput);
|
|
55
57
|
/**
|
|
56
58
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListBonusPaymentsRequest, ListBonusPaymentsResponse } from "../models/models_0";
|
|
@@ -30,6 +31,7 @@ export interface ListBonusPaymentsCommandOutput extends ListBonusPaymentsRespons
|
|
|
30
31
|
*/
|
|
31
32
|
export declare class ListBonusPaymentsCommand extends $Command<ListBonusPaymentsCommandInput, ListBonusPaymentsCommandOutput, MTurkClientResolvedConfig> {
|
|
32
33
|
readonly input: ListBonusPaymentsCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
35
|
constructor(input: ListBonusPaymentsCommandInput);
|
|
34
36
|
/**
|
|
35
37
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListHITsRequest, ListHITsResponse } from "../models/models_0";
|
|
@@ -31,6 +32,7 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class ListHITsCommand extends $Command<ListHITsCommandInput, ListHITsCommandOutput, MTurkClientResolvedConfig> {
|
|
33
34
|
readonly input: ListHITsCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
36
|
constructor(input: ListHITsCommandInput);
|
|
35
37
|
/**
|
|
36
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListHITsForQualificationTypeRequest, ListHITsForQualificationTypeResponse } from "../models/models_0";
|
|
@@ -30,6 +31,7 @@ export interface ListHITsForQualificationTypeCommandOutput extends ListHITsForQu
|
|
|
30
31
|
*/
|
|
31
32
|
export declare class ListHITsForQualificationTypeCommand extends $Command<ListHITsForQualificationTypeCommandInput, ListHITsForQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
32
33
|
readonly input: ListHITsForQualificationTypeCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
35
|
constructor(input: ListHITsForQualificationTypeCommandInput);
|
|
34
36
|
/**
|
|
35
37
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListQualificationRequestsRequest, ListQualificationRequestsResponse } from "../models/models_0";
|
|
@@ -32,6 +33,7 @@ export interface ListQualificationRequestsCommandOutput extends ListQualificatio
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class ListQualificationRequestsCommand extends $Command<ListQualificationRequestsCommandInput, ListQualificationRequestsCommandOutput, MTurkClientResolvedConfig> {
|
|
34
35
|
readonly input: ListQualificationRequestsCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
constructor(input: ListQualificationRequestsCommandInput);
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListQualificationTypesRequest, ListQualificationTypesResponse } from "../models/models_0";
|
|
@@ -30,6 +31,7 @@ export interface ListQualificationTypesCommandOutput extends ListQualificationTy
|
|
|
30
31
|
*/
|
|
31
32
|
export declare class ListQualificationTypesCommand extends $Command<ListQualificationTypesCommandInput, ListQualificationTypesCommandOutput, MTurkClientResolvedConfig> {
|
|
32
33
|
readonly input: ListQualificationTypesCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
35
|
constructor(input: ListQualificationTypesCommandInput);
|
|
34
36
|
/**
|
|
35
37
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListReviewPolicyResultsForHITRequest, ListReviewPolicyResultsForHITResponse } from "../models/models_0";
|
|
@@ -31,6 +32,7 @@ export interface ListReviewPolicyResultsForHITCommandOutput extends ListReviewPo
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class ListReviewPolicyResultsForHITCommand extends $Command<ListReviewPolicyResultsForHITCommandInput, ListReviewPolicyResultsForHITCommandOutput, MTurkClientResolvedConfig> {
|
|
33
34
|
readonly input: ListReviewPolicyResultsForHITCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
36
|
constructor(input: ListReviewPolicyResultsForHITCommandInput);
|
|
35
37
|
/**
|
|
36
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListReviewableHITsRequest, ListReviewableHITsResponse } from "../models/models_0";
|
|
@@ -28,6 +29,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
|
|
|
28
29
|
*/
|
|
29
30
|
export declare class ListReviewableHITsCommand extends $Command<ListReviewableHITsCommandInput, ListReviewableHITsCommandOutput, MTurkClientResolvedConfig> {
|
|
30
31
|
readonly input: ListReviewableHITsCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
33
|
constructor(input: ListReviewableHITsCommandInput);
|
|
32
34
|
/**
|
|
33
35
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListWorkerBlocksRequest, ListWorkerBlocksResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface ListWorkerBlocksCommandOutput extends ListWorkerBlocksResponse,
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class ListWorkerBlocksCommand extends $Command<ListWorkerBlocksCommandInput, ListWorkerBlocksCommandOutput, MTurkClientResolvedConfig> {
|
|
27
28
|
readonly input: ListWorkerBlocksCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListWorkerBlocksCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListWorkersWithQualificationTypeRequest, ListWorkersWithQualificationTypeResponse } from "../models/models_0";
|
|
@@ -28,6 +29,7 @@ export interface ListWorkersWithQualificationTypeCommandOutput extends ListWorke
|
|
|
28
29
|
*/
|
|
29
30
|
export declare class ListWorkersWithQualificationTypeCommand extends $Command<ListWorkersWithQualificationTypeCommandInput, ListWorkersWithQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
30
31
|
readonly input: ListWorkersWithQualificationTypeCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
33
|
constructor(input: ListWorkersWithQualificationTypeCommandInput);
|
|
32
34
|
/**
|
|
33
35
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { NotifyWorkersRequest, NotifyWorkersResponse } from "../models/models_0";
|
|
@@ -34,6 +35,7 @@ export interface NotifyWorkersCommandOutput extends NotifyWorkersResponse, __Met
|
|
|
34
35
|
*/
|
|
35
36
|
export declare class NotifyWorkersCommand extends $Command<NotifyWorkersCommandInput, NotifyWorkersCommandOutput, MTurkClientResolvedConfig> {
|
|
36
37
|
readonly input: NotifyWorkersCommandInput;
|
|
38
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
37
39
|
constructor(input: NotifyWorkersCommandInput);
|
|
38
40
|
/**
|
|
39
41
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { RejectAssignmentRequest, RejectAssignmentResponse } from "../models/models_0";
|
|
@@ -37,6 +38,7 @@ export interface RejectAssignmentCommandOutput extends RejectAssignmentResponse,
|
|
|
37
38
|
*/
|
|
38
39
|
export declare class RejectAssignmentCommand extends $Command<RejectAssignmentCommandInput, RejectAssignmentCommandOutput, MTurkClientResolvedConfig> {
|
|
39
40
|
readonly input: RejectAssignmentCommandInput;
|
|
41
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
40
42
|
constructor(input: RejectAssignmentCommandInput);
|
|
41
43
|
/**
|
|
42
44
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { RejectQualificationRequestRequest, RejectQualificationRequestResponse } from "../models/models_0";
|
|
@@ -31,6 +32,7 @@ export interface RejectQualificationRequestCommandOutput extends RejectQualifica
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class RejectQualificationRequestCommand extends $Command<RejectQualificationRequestCommandInput, RejectQualificationRequestCommandOutput, MTurkClientResolvedConfig> {
|
|
33
34
|
readonly input: RejectQualificationRequestCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
36
|
constructor(input: RejectQualificationRequestCommandInput);
|
|
35
37
|
/**
|
|
36
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { SendBonusRequest, SendBonusResponse } from "../models/models_0";
|
|
@@ -38,6 +39,7 @@ export interface SendBonusCommandOutput extends SendBonusResponse, __MetadataBea
|
|
|
38
39
|
*/
|
|
39
40
|
export declare class SendBonusCommand extends $Command<SendBonusCommandInput, SendBonusCommandOutput, MTurkClientResolvedConfig> {
|
|
40
41
|
readonly input: SendBonusCommandInput;
|
|
42
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
41
43
|
constructor(input: SendBonusCommandInput);
|
|
42
44
|
/**
|
|
43
45
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { SendTestEventNotificationRequest, SendTestEventNotificationResponse } from "../models/models_0";
|
|
@@ -31,6 +32,7 @@ export interface SendTestEventNotificationCommandOutput extends SendTestEventNot
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class SendTestEventNotificationCommand extends $Command<SendTestEventNotificationCommandInput, SendTestEventNotificationCommandOutput, MTurkClientResolvedConfig> {
|
|
33
34
|
readonly input: SendTestEventNotificationCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
36
|
constructor(input: SendTestEventNotificationCommandInput);
|
|
35
37
|
/**
|
|
36
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateExpirationForHITRequest, UpdateExpirationForHITResponse } from "../models/models_0";
|
|
@@ -28,6 +29,7 @@ export interface UpdateExpirationForHITCommandOutput extends UpdateExpirationFor
|
|
|
28
29
|
*/
|
|
29
30
|
export declare class UpdateExpirationForHITCommand extends $Command<UpdateExpirationForHITCommandInput, UpdateExpirationForHITCommandOutput, MTurkClientResolvedConfig> {
|
|
30
31
|
readonly input: UpdateExpirationForHITCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
33
|
constructor(input: UpdateExpirationForHITCommandInput);
|
|
32
34
|
/**
|
|
33
35
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateHITReviewStatusRequest, UpdateHITReviewStatusResponse } from "../models/models_0";
|
|
@@ -29,6 +30,7 @@ export interface UpdateHITReviewStatusCommandOutput extends UpdateHITReviewStatu
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class UpdateHITReviewStatusCommand extends $Command<UpdateHITReviewStatusCommandInput, UpdateHITReviewStatusCommandOutput, MTurkClientResolvedConfig> {
|
|
31
32
|
readonly input: UpdateHITReviewStatusCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: UpdateHITReviewStatusCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateHITTypeOfHITRequest, UpdateHITTypeOfHITResponse } from "../models/models_0";
|
|
@@ -32,6 +33,7 @@ export interface UpdateHITTypeOfHITCommandOutput extends UpdateHITTypeOfHITRespo
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class UpdateHITTypeOfHITCommand extends $Command<UpdateHITTypeOfHITCommandInput, UpdateHITTypeOfHITCommandOutput, MTurkClientResolvedConfig> {
|
|
34
35
|
readonly input: UpdateHITTypeOfHITCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
constructor(input: UpdateHITTypeOfHITCommandInput);
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateNotificationSettingsRequest, UpdateNotificationSettingsResponse } from "../models/models_0";
|
|
@@ -36,6 +37,7 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat
|
|
|
36
37
|
*/
|
|
37
38
|
export declare class UpdateNotificationSettingsCommand extends $Command<UpdateNotificationSettingsCommandInput, UpdateNotificationSettingsCommandOutput, MTurkClientResolvedConfig> {
|
|
38
39
|
readonly input: UpdateNotificationSettingsCommandInput;
|
|
40
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
41
|
constructor(input: UpdateNotificationSettingsCommandInput);
|
|
40
42
|
/**
|
|
41
43
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateQualificationTypeRequest, UpdateQualificationTypeResponse } from "../models/models_0";
|
|
@@ -57,6 +58,7 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
|
|
|
57
58
|
*/
|
|
58
59
|
export declare class UpdateQualificationTypeCommand extends $Command<UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
59
60
|
readonly input: UpdateQualificationTypeCommandInput;
|
|
61
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
62
|
constructor(input: UpdateQualificationTypeCommandInput);
|
|
61
63
|
/**
|
|
62
64
|
* @internal
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region?: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
23
23
|
serviceId: string;
|
|
24
24
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
27
|
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint
|
|
28
|
+
endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
|
|
29
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
30
32
|
tls?: boolean | undefined;
|
|
31
33
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
32
34
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -6,8 +6,10 @@ import { MTurkClientConfig } from "./MTurkClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
disableHostPrefix: boolean;
|
|
9
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
|
+
logger?: __Logger | undefined;
|
|
11
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
9
12
|
logger: __Logger;
|
|
10
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
11
13
|
serviceId: string;
|
|
12
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
13
15
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
2
|
RegionInputConfig,
|
|
5
3
|
RegionResolvedConfig,
|
|
6
4
|
} from "@aws-sdk/config-resolver";
|
|
5
|
+
import {
|
|
6
|
+
EndpointInputConfig,
|
|
7
|
+
EndpointResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-endpoint";
|
|
7
9
|
import {
|
|
8
10
|
HostHeaderInputConfig,
|
|
9
11
|
HostHeaderResolvedConfig,
|
|
@@ -37,7 +39,6 @@ import {
|
|
|
37
39
|
Logger as __Logger,
|
|
38
40
|
Provider as __Provider,
|
|
39
41
|
Provider,
|
|
40
|
-
RegionInfoProvider,
|
|
41
42
|
StreamCollector as __StreamCollector,
|
|
42
43
|
UrlParser as __UrlParser,
|
|
43
44
|
UserAgent as __UserAgent,
|
|
@@ -198,6 +199,11 @@ import {
|
|
|
198
199
|
UpdateQualificationTypeCommandInput,
|
|
199
200
|
UpdateQualificationTypeCommandOutput,
|
|
200
201
|
} from "./commands/UpdateQualificationTypeCommand";
|
|
202
|
+
import {
|
|
203
|
+
ClientInputEndpointParameters,
|
|
204
|
+
ClientResolvedEndpointParameters,
|
|
205
|
+
EndpointParameters,
|
|
206
|
+
} from "./endpoint/EndpointParameters";
|
|
201
207
|
export declare type ServiceInputTypes =
|
|
202
208
|
| AcceptQualificationRequestCommandInput
|
|
203
209
|
| ApproveAssignmentCommandInput
|
|
@@ -299,7 +305,6 @@ export interface ClientDefaults
|
|
|
299
305
|
serviceId?: string;
|
|
300
306
|
region?: string | __Provider<string>;
|
|
301
307
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
302
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
303
308
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
304
309
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
305
310
|
}
|
|
@@ -308,21 +313,23 @@ declare type MTurkClientConfigType = Partial<
|
|
|
308
313
|
> &
|
|
309
314
|
ClientDefaults &
|
|
310
315
|
RegionInputConfig &
|
|
311
|
-
|
|
316
|
+
EndpointInputConfig<EndpointParameters> &
|
|
312
317
|
RetryInputConfig &
|
|
313
318
|
HostHeaderInputConfig &
|
|
314
319
|
AwsAuthInputConfig &
|
|
315
|
-
UserAgentInputConfig
|
|
320
|
+
UserAgentInputConfig &
|
|
321
|
+
ClientInputEndpointParameters;
|
|
316
322
|
export interface MTurkClientConfig extends MTurkClientConfigType {}
|
|
317
323
|
declare type MTurkClientResolvedConfigType =
|
|
318
324
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
319
325
|
Required<ClientDefaults> &
|
|
320
326
|
RegionResolvedConfig &
|
|
321
|
-
|
|
327
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
322
328
|
RetryResolvedConfig &
|
|
323
329
|
HostHeaderResolvedConfig &
|
|
324
330
|
AwsAuthResolvedConfig &
|
|
325
|
-
UserAgentResolvedConfig
|
|
331
|
+
UserAgentResolvedConfig &
|
|
332
|
+
ClientResolvedEndpointParameters;
|
|
326
333
|
export interface MTurkClientResolvedConfig
|
|
327
334
|
extends MTurkClientResolvedConfigType {}
|
|
328
335
|
export declare class MTurkClient extends __Client<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class AcceptQualificationRequestCommand extends $Command<
|
|
|
25
26
|
MTurkClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: AcceptQualificationRequestCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: AcceptQualificationRequestCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ApproveAssignmentCommand extends $Command<
|
|
|
25
26
|
MTurkClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ApproveAssignmentCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ApproveAssignmentCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class AssociateQualificationWithWorkerCommand extends $Command<
|
|
|
25
26
|
MTurkClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: AssociateQualificationWithWorkerCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: AssociateQualificationWithWorkerCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class CreateAdditionalAssignmentsForHITCommand extends $Command<
|
|
|
25
26
|
MTurkClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: CreateAdditionalAssignmentsForHITCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateAdditionalAssignmentsForHITCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class CreateHITCommand extends $Command<
|
|
|
21
22
|
MTurkClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: CreateHITCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: CreateHITCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class CreateHITTypeCommand extends $Command<
|
|
|
24
25
|
MTurkClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: CreateHITTypeCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: CreateHITTypeCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class CreateHITWithHITTypeCommand extends $Command<
|
|
|
25
26
|
MTurkClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: CreateHITWithHITTypeCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateHITWithHITTypeCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class CreateQualificationTypeCommand extends $Command<
|
|
|
25
26
|
MTurkClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: CreateQualificationTypeCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateQualificationTypeCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|