/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-mturk/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var MTurkServiceException = require('./models/MTurkServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "mturk-requester", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class MTurkClient extends client.Client { config; constructor(...[configuration]) { const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = client$1.resolveUserAgentConfig(_config_1); const _config_3 = retry.resolveRetryConfig(_config_2); const _config_4 = config.resolveRegionConfig(_config_3); const _config_5 = client$1.resolveHostHeaderConfig(_config_4); const _config_6 = endpoints.resolveEndpointConfig(_config_5); const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); this.middlewareStack.use(retry.getRetryPlugin(this.config)); this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultMTurkHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class AcceptQualificationRequestCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "AcceptQualificationRequest", {}) .n("MTurkClient", "AcceptQualificationRequestCommand") .sc(schemas_0.AcceptQualificationRequest$) .build() {} class ApproveAssignmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ApproveAssignment", {}) .n("MTurkClient", "ApproveAssignmentCommand") .sc(schemas_0.ApproveAssignment$) .build() {} class AssociateQualificationWithWorkerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "AssociateQualificationWithWorker", {}) .n("MTurkClient", "AssociateQualificationWithWorkerCommand") .sc(schemas_0.AssociateQualificationWithWorker$) .build() {} class CreateAdditionalAssignmentsForHITCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "CreateAdditionalAssignmentsForHIT", {}) .n("MTurkClient", "CreateAdditionalAssignmentsForHITCommand") .sc(schemas_0.CreateAdditionalAssignmentsForHIT$) .build() {} class CreateHITCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "CreateHIT", {}) .n("MTurkClient", "CreateHITCommand") .sc(schemas_0.CreateHIT$) .build() {} class CreateHITTypeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "CreateHITType", {}) .n("MTurkClient", "CreateHITTypeCommand") .sc(schemas_0.CreateHITType$) .build() {} class CreateHITWithHITTypeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "CreateHITWithHITType", {}) .n("MTurkClient", "CreateHITWithHITTypeCommand") .sc(schemas_0.CreateHITWithHITType$) .build() {} class CreateQualificationTypeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "CreateQualificationType", {}) .n("MTurkClient", "CreateQualificationTypeCommand") .sc(schemas_0.CreateQualificationType$) .build() {} class CreateWorkerBlockCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "CreateWorkerBlock", {}) .n("MTurkClient", "CreateWorkerBlockCommand") .sc(schemas_0.CreateWorkerBlock$) .build() {} class DeleteHITCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "DeleteHIT", {}) .n("MTurkClient", "DeleteHITCommand") .sc(schemas_0.DeleteHIT$) .build() {} class DeleteQualificationTypeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "DeleteQualificationType", {}) .n("MTurkClient", "DeleteQualificationTypeCommand") .sc(schemas_0.DeleteQualificationType$) .build() {} class DeleteWorkerBlockCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "DeleteWorkerBlock", {}) .n("MTurkClient", "DeleteWorkerBlockCommand") .sc(schemas_0.DeleteWorkerBlock$) .build() {} class DisassociateQualificationFromWorkerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "DisassociateQualificationFromWorker", {}) .n("MTurkClient", "DisassociateQualificationFromWorkerCommand") .sc(schemas_0.DisassociateQualificationFromWorker$) .build() {} class GetAccountBalanceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "GetAccountBalance", {}) .n("MTurkClient", "GetAccountBalanceCommand") .sc(schemas_0.GetAccountBalance$) .build() {} class GetAssignmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "GetAssignment", {}) .n("MTurkClient", "GetAssignmentCommand") .sc(schemas_0.GetAssignment$) .build() {} class GetFileUploadURLCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "GetFileUploadURL", {}) .n("MTurkClient", "GetFileUploadURLCommand") .sc(schemas_0.GetFileUploadURL$) .build() {} class GetHITCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "GetHIT", {}) .n("MTurkClient", "GetHITCommand") .sc(schemas_0.GetHIT$) .build() {} class GetQualificationScoreCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "GetQualificationScore", {}) .n("MTurkClient", "GetQualificationScoreCommand") .sc(schemas_0.GetQualificationScore$) .build() {} class GetQualificationTypeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "GetQualificationType", {}) .n("MTurkClient", "GetQualificationTypeCommand") .sc(schemas_0.GetQualificationType$) .build() {} class ListAssignmentsForHITCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListAssignmentsForHIT", {}) .n("MTurkClient", "ListAssignmentsForHITCommand") .sc(schemas_0.ListAssignmentsForHIT$) .build() {} class ListBonusPaymentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListBonusPayments", {}) .n("MTurkClient", "ListBonusPaymentsCommand") .sc(schemas_0.ListBonusPayments$) .build() {} class ListHITsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListHITs", {}) .n("MTurkClient", "ListHITsCommand") .sc(schemas_0.ListHITs$) .build() {} class ListHITsForQualificationTypeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListHITsForQualificationType", {}) .n("MTurkClient", "ListHITsForQualificationTypeCommand") .sc(schemas_0.ListHITsForQualificationType$) .build() {} class ListQualificationRequestsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListQualificationRequests", {}) .n("MTurkClient", "ListQualificationRequestsCommand") .sc(schemas_0.ListQualificationRequests$) .build() {} class ListQualificationTypesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListQualificationTypes", {}) .n("MTurkClient", "ListQualificationTypesCommand") .sc(schemas_0.ListQualificationTypes$) .build() {} class ListReviewableHITsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListReviewableHITs", {}) .n("MTurkClient", "ListReviewableHITsCommand") .sc(schemas_0.ListReviewableHITs$) .build() {} class ListReviewPolicyResultsForHITCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListReviewPolicyResultsForHIT", {}) .n("MTurkClient", "ListReviewPolicyResultsForHITCommand") .sc(schemas_0.ListReviewPolicyResultsForHIT$) .build() {} class ListWorkerBlocksCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListWorkerBlocks", {}) .n("MTurkClient", "ListWorkerBlocksCommand") .sc(schemas_0.ListWorkerBlocks$) .build() {} class ListWorkersWithQualificationTypeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "ListWorkersWithQualificationType", {}) .n("MTurkClient", "ListWorkersWithQualificationTypeCommand") .sc(schemas_0.ListWorkersWithQualificationType$) .build() {} class NotifyWorkersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "NotifyWorkers", {}) .n("MTurkClient", "NotifyWorkersCommand") .sc(schemas_0.NotifyWorkers$) .build() {} class RejectAssignmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "RejectAssignment", {}) .n("MTurkClient", "RejectAssignmentCommand") .sc(schemas_0.RejectAssignment$) .build() {} class RejectQualificationRequestCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "RejectQualificationRequest", {}) .n("MTurkClient", "RejectQualificationRequestCommand") .sc(schemas_0.RejectQualificationRequest$) .build() {} class SendBonusCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "SendBonus", {}) .n("MTurkClient", "SendBonusCommand") .sc(schemas_0.SendBonus$) .build() {} class SendTestEventNotificationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "SendTestEventNotification", {}) .n("MTurkClient", "SendTestEventNotificationCommand") .sc(schemas_0.SendTestEventNotification$) .build() {} class UpdateExpirationForHITCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "UpdateExpirationForHIT", {}) .n("MTurkClient", "UpdateExpirationForHITCommand") .sc(schemas_0.UpdateExpirationForHIT$) .build() {} class UpdateHITReviewStatusCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "UpdateHITReviewStatus", {}) .n("MTurkClient", "UpdateHITReviewStatusCommand") .sc(schemas_0.UpdateHITReviewStatus$) .build() {} class UpdateHITTypeOfHITCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "UpdateHITTypeOfHIT", {}) .n("MTurkClient", "UpdateHITTypeOfHITCommand") .sc(schemas_0.UpdateHITTypeOfHIT$) .build() {} class UpdateNotificationSettingsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "UpdateNotificationSettings", {}) .n("MTurkClient", "UpdateNotificationSettingsCommand") .sc(schemas_0.UpdateNotificationSettings$) .build() {} class UpdateQualificationTypeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("MTurkRequesterServiceV20170117", "UpdateQualificationType", {}) .n("MTurkClient", "UpdateQualificationTypeCommand") .sc(schemas_0.UpdateQualificationType$) .build() {} const paginateListAssignmentsForHIT = core.createPaginator(MTurkClient, ListAssignmentsForHITCommand, "NextToken", "NextToken", "MaxResults"); const paginateListBonusPayments = core.createPaginator(MTurkClient, ListBonusPaymentsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListHITsForQualificationType = core.createPaginator(MTurkClient, ListHITsForQualificationTypeCommand, "NextToken", "NextToken", "MaxResults"); const paginateListHITs = core.createPaginator(MTurkClient, ListHITsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListQualificationRequests = core.createPaginator(MTurkClient, ListQualificationRequestsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListQualificationTypes = core.createPaginator(MTurkClient, ListQualificationTypesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListReviewableHITs = core.createPaginator(MTurkClient, ListReviewableHITsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListReviewPolicyResultsForHIT = core.createPaginator(MTurkClient, ListReviewPolicyResultsForHITCommand, "NextToken", "NextToken", "MaxResults"); const paginateListWorkerBlocks = core.createPaginator(MTurkClient, ListWorkerBlocksCommand, "NextToken", "NextToken", "MaxResults"); const paginateListWorkersWithQualificationType = core.createPaginator(MTurkClient, ListWorkersWithQualificationTypeCommand, "NextToken", "NextToken", "MaxResults"); const commands = { AcceptQualificationRequestCommand, ApproveAssignmentCommand, AssociateQualificationWithWorkerCommand, CreateAdditionalAssignmentsForHITCommand, CreateHITCommand, CreateHITTypeCommand, CreateHITWithHITTypeCommand, CreateQualificationTypeCommand, CreateWorkerBlockCommand, DeleteHITCommand, DeleteQualificationTypeCommand, DeleteWorkerBlockCommand, DisassociateQualificationFromWorkerCommand, GetAccountBalanceCommand, GetAssignmentCommand, GetFileUploadURLCommand, GetHITCommand, GetQualificationScoreCommand, GetQualificationTypeCommand, ListAssignmentsForHITCommand, ListBonusPaymentsCommand, ListHITsCommand, ListHITsForQualificationTypeCommand, ListQualificationRequestsCommand, ListQualificationTypesCommand, ListReviewableHITsCommand, ListReviewPolicyResultsForHITCommand, ListWorkerBlocksCommand, ListWorkersWithQualificationTypeCommand, NotifyWorkersCommand, RejectAssignmentCommand, RejectQualificationRequestCommand, SendBonusCommand, SendTestEventNotificationCommand, UpdateExpirationForHITCommand, UpdateHITReviewStatusCommand, UpdateHITTypeOfHITCommand, UpdateNotificationSettingsCommand, UpdateQualificationTypeCommand,};const paginators = { paginateListAssignmentsForHIT, paginateListBonusPayments, paginateListHITs, paginateListHITsForQualificationType, paginateListQualificationRequests, paginateListQualificationTypes, paginateListReviewableHITs, paginateListReviewPolicyResultsForHIT, paginateListWorkerBlocks, paginateListWorkersWithQualificationType,};class MTurk extends MTurkClient {}client.createAggregatedClient(commands, MTurk, { paginators }); const AssignmentStatus = { Approved: "Approved", Rejected: "Rejected", Submitted: "Submitted",};const Comparator = { DoesNotExist: "DoesNotExist", EqualTo: "EqualTo", Exists: "Exists", GreaterThan: "GreaterThan", GreaterThanOrEqualTo: "GreaterThanOrEqualTo", In: "In", LessThan: "LessThan", LessThanOrEqualTo: "LessThanOrEqualTo", NotEqualTo: "NotEqualTo", NotIn: "NotIn",};const HITAccessActions = { Accept: "Accept", DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept", PreviewAndAccept: "PreviewAndAccept",};const HITReviewStatus = { MarkedForReview: "MarkedForReview", NotReviewed: "NotReviewed", ReviewedAppropriate: "ReviewedAppropriate", ReviewedInappropriate: "ReviewedInappropriate",};const HITStatus = { Assignable: "Assignable", Disposed: "Disposed", Reviewable: "Reviewable", Reviewing: "Reviewing", Unassignable: "Unassignable",};const QualificationTypeStatus = { Active: "Active", Inactive: "Inactive",};const EventType = { AssignmentAbandoned: "AssignmentAbandoned", AssignmentAccepted: "AssignmentAccepted", AssignmentApproved: "AssignmentApproved", AssignmentRejected: "AssignmentRejected", AssignmentReturned: "AssignmentReturned", AssignmentSubmitted: "AssignmentSubmitted", HITCreated: "HITCreated", HITDisposed: "HITDisposed", HITExpired: "HITExpired", HITExtended: "HITExtended", HITReviewable: "HITReviewable", Ping: "Ping",};const QualificationStatus = { Granted: "Granted", Revoked: "Revoked",};const ReviewableHITStatus = { Reviewable: "Reviewable", Reviewing: "Reviewing",};const ReviewPolicyLevel = { Assignment: "Assignment", HIT: "HIT",};const ReviewActionStatus = { Cancelled: "Cancelled", Failed: "Failed", Intended: "Intended", Succeeded: "Succeeded",};const NotifyWorkersFailureCode = { HardFailure: "HardFailure", SoftFailure: "SoftFailure",};const NotificationTransport = { Email: "Email", SNS: "SNS", SQS: "SQS",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.MTurkServiceException = MTurkServiceException.MTurkServiceException;exports.AcceptQualificationRequestCommand = AcceptQualificationRequestCommand;exports.ApproveAssignmentCommand = ApproveAssignmentCommand;exports.AssignmentStatus = AssignmentStatus;exports.AssociateQualificationWithWorkerCommand = AssociateQualificationWithWorkerCommand;exports.Comparator = Comparator;exports.CreateAdditionalAssignmentsForHITCommand = CreateAdditionalAssignmentsForHITCommand;exports.CreateHITCommand = CreateHITCommand;exports.CreateHITTypeCommand = CreateHITTypeCommand;exports.CreateHITWithHITTypeCommand = CreateHITWithHITTypeCommand;exports.CreateQualificationTypeCommand = CreateQualificationTypeCommand;exports.CreateWorkerBlockCommand = CreateWorkerBlockCommand;exports.DeleteHITCommand = DeleteHITCommand;exports.DeleteQualificationTypeCommand = DeleteQualificationTypeCommand;exports.DeleteWorkerBlockCommand = DeleteWorkerBlockCommand;exports.DisassociateQualificationFromWorkerCommand = DisassociateQualificationFromWorkerCommand;exports.EventType = EventType;exports.GetAccountBalanceCommand = GetAccountBalanceCommand;exports.GetAssignmentCommand = GetAssignmentCommand;exports.GetFileUploadURLCommand = GetFileUploadURLCommand;exports.GetHITCommand = GetHITCommand;exports.GetQualificationScoreCommand = GetQualificationScoreCommand;exports.GetQualificationTypeCommand = GetQualificationTypeCommand;exports.HITAccessActions = HITAccessActions;exports.HITReviewStatus = HITReviewStatus;exports.HITStatus = HITStatus;exports.ListAssignmentsForHITCommand = ListAssignmentsForHITCommand;exports.ListBonusPaymentsCommand = ListBonusPaymentsCommand;exports.ListHITsCommand = ListHITsCommand;exports.ListHITsForQualificationTypeCommand = ListHITsForQualificationTypeCommand;exports.ListQualificationRequestsCommand = ListQualificationRequestsCommand;exports.ListQualificationTypesCommand = ListQualificationTypesCommand;exports.ListReviewPolicyResultsForHITCommand = ListReviewPolicyResultsForHITCommand;exports.ListReviewableHITsCommand = ListReviewableHITsCommand;exports.ListWorkerBlocksCommand = ListWorkerBlocksCommand;exports.ListWorkersWithQualificationTypeCommand = ListWorkersWithQualificationTypeCommand;exports.MTurk = MTurk;exports.MTurkClient = MTurkClient;exports.NotificationTransport = NotificationTransport;exports.NotifyWorkersCommand = NotifyWorkersCommand;exports.NotifyWorkersFailureCode = NotifyWorkersFailureCode;exports.QualificationStatus = QualificationStatus;exports.QualificationTypeStatus = QualificationTypeStatus;exports.RejectAssignmentCommand = RejectAssignmentCommand;exports.RejectQualificationRequestCommand = RejectQualificationRequestCommand;exports.ReviewActionStatus = ReviewActionStatus;exports.ReviewPolicyLevel = ReviewPolicyLevel;exports.ReviewableHITStatus = ReviewableHITStatus;exports.SendBonusCommand = SendBonusCommand;exports.SendTestEventNotificationCommand = SendTestEventNotificationCommand;exports.UpdateExpirationForHITCommand = UpdateExpirationForHITCommand;exports.UpdateHITReviewStatusCommand = UpdateHITReviewStatusCommand;exports.UpdateHITTypeOfHITCommand = UpdateHITTypeOfHITCommand;exports.UpdateNotificationSettingsCommand = UpdateNotificationSettingsCommand;exports.UpdateQualificationTypeCommand = UpdateQualificationTypeCommand;exports.paginateListAssignmentsForHIT = paginateListAssignmentsForHIT;exports.paginateListBonusPayments = paginateListBonusPayments;exports.paginateListHITs = paginateListHITs;exports.paginateListHITsForQualificationType = paginateListHITsForQualificationType;exports.paginateListQualificationRequests = paginateListQualificationRequests;exports.paginateListQualificationTypes = paginateListQualificationTypes;exports.paginateListReviewPolicyResultsForHIT = paginateListReviewPolicyResultsForHIT;exports.paginateListReviewableHITs = paginateListReviewableHITs;exports.paginateListWorkerBlocks = paginateListWorkerBlocks;exports.paginateListWorkersWithQualificationType = paginateListWorkersWithQualificationType;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: schemas_0['__proto__'] }); Object.keys(schemas_0).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: errors['__proto__'] }); Object.keys(errors).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});