import { HostHeaderInputConfig, HostHeaderResolvedConfig, UserAgentInputConfig, UserAgentResolvedConfig, } from "@aws-sdk/core/client"; import { DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client, } from "@smithy/core/client"; import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config"; import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints"; import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry"; import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent, } from "@smithy/types"; import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig, } from "./auth/httpAuthSchemeProvider"; import { AcceptQualificationRequestCommandInput, AcceptQualificationRequestCommandOutput, } from "./commands/AcceptQualificationRequestCommand"; import { ApproveAssignmentCommandInput, ApproveAssignmentCommandOutput, } from "./commands/ApproveAssignmentCommand"; import { AssociateQualificationWithWorkerCommandInput, AssociateQualificationWithWorkerCommandOutput, } from "./commands/AssociateQualificationWithWorkerCommand"; import { CreateAdditionalAssignmentsForHITCommandInput, CreateAdditionalAssignmentsForHITCommandOutput, } from "./commands/CreateAdditionalAssignmentsForHITCommand"; import { CreateHITCommandInput, CreateHITCommandOutput } from "./commands/CreateHITCommand"; import { CreateHITTypeCommandInput, CreateHITTypeCommandOutput, } from "./commands/CreateHITTypeCommand"; import { CreateHITWithHITTypeCommandInput, CreateHITWithHITTypeCommandOutput, } from "./commands/CreateHITWithHITTypeCommand"; import { CreateQualificationTypeCommandInput, CreateQualificationTypeCommandOutput, } from "./commands/CreateQualificationTypeCommand"; import { CreateWorkerBlockCommandInput, CreateWorkerBlockCommandOutput, } from "./commands/CreateWorkerBlockCommand"; import { DeleteHITCommandInput, DeleteHITCommandOutput } from "./commands/DeleteHITCommand"; import { DeleteQualificationTypeCommandInput, DeleteQualificationTypeCommandOutput, } from "./commands/DeleteQualificationTypeCommand"; import { DeleteWorkerBlockCommandInput, DeleteWorkerBlockCommandOutput, } from "./commands/DeleteWorkerBlockCommand"; import { DisassociateQualificationFromWorkerCommandInput, DisassociateQualificationFromWorkerCommandOutput, } from "./commands/DisassociateQualificationFromWorkerCommand"; import { GetAccountBalanceCommandInput, GetAccountBalanceCommandOutput, } from "./commands/GetAccountBalanceCommand"; import { GetAssignmentCommandInput, GetAssignmentCommandOutput, } from "./commands/GetAssignmentCommand"; import { GetFileUploadURLCommandInput, GetFileUploadURLCommandOutput, } from "./commands/GetFileUploadURLCommand"; import { GetHITCommandInput, GetHITCommandOutput } from "./commands/GetHITCommand"; import { GetQualificationScoreCommandInput, GetQualificationScoreCommandOutput, } from "./commands/GetQualificationScoreCommand"; import { GetQualificationTypeCommandInput, GetQualificationTypeCommandOutput, } from "./commands/GetQualificationTypeCommand"; import { ListAssignmentsForHITCommandInput, ListAssignmentsForHITCommandOutput, } from "./commands/ListAssignmentsForHITCommand"; import { ListBonusPaymentsCommandInput, ListBonusPaymentsCommandOutput, } from "./commands/ListBonusPaymentsCommand"; import { ListHITsCommandInput, ListHITsCommandOutput } from "./commands/ListHITsCommand"; import { ListHITsForQualificationTypeCommandInput, ListHITsForQualificationTypeCommandOutput, } from "./commands/ListHITsForQualificationTypeCommand"; import { ListQualificationRequestsCommandInput, ListQualificationRequestsCommandOutput, } from "./commands/ListQualificationRequestsCommand"; import { ListQualificationTypesCommandInput, ListQualificationTypesCommandOutput, } from "./commands/ListQualificationTypesCommand"; import { ListReviewableHITsCommandInput, ListReviewableHITsCommandOutput, } from "./commands/ListReviewableHITsCommand"; import { ListReviewPolicyResultsForHITCommandInput, ListReviewPolicyResultsForHITCommandOutput, } from "./commands/ListReviewPolicyResultsForHITCommand"; import { ListWorkerBlocksCommandInput, ListWorkerBlocksCommandOutput, } from "./commands/ListWorkerBlocksCommand"; import { ListWorkersWithQualificationTypeCommandInput, ListWorkersWithQualificationTypeCommandOutput, } from "./commands/ListWorkersWithQualificationTypeCommand"; import { NotifyWorkersCommandInput, NotifyWorkersCommandOutput, } from "./commands/NotifyWorkersCommand"; import { RejectAssignmentCommandInput, RejectAssignmentCommandOutput, } from "./commands/RejectAssignmentCommand"; import { RejectQualificationRequestCommandInput, RejectQualificationRequestCommandOutput, } from "./commands/RejectQualificationRequestCommand"; import { SendBonusCommandInput, SendBonusCommandOutput } from "./commands/SendBonusCommand"; import { SendTestEventNotificationCommandInput, SendTestEventNotificationCommandOutput, } from "./commands/SendTestEventNotificationCommand"; import { UpdateExpirationForHITCommandInput, UpdateExpirationForHITCommandOutput, } from "./commands/UpdateExpirationForHITCommand"; import { UpdateHITReviewStatusCommandInput, UpdateHITReviewStatusCommandOutput, } from "./commands/UpdateHITReviewStatusCommand"; import { UpdateHITTypeOfHITCommandInput, UpdateHITTypeOfHITCommandOutput, } from "./commands/UpdateHITTypeOfHITCommand"; import { UpdateNotificationSettingsCommandInput, UpdateNotificationSettingsCommandOutput, } from "./commands/UpdateNotificationSettingsCommand"; import { UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput, } from "./commands/UpdateQualificationTypeCommand"; import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters, } from "./endpoint/EndpointParameters"; import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; export type ServiceInputTypes = | AcceptQualificationRequestCommandInput | ApproveAssignmentCommandInput | AssociateQualificationWithWorkerCommandInput | CreateAdditionalAssignmentsForHITCommandInput | CreateHITCommandInput | CreateHITTypeCommandInput | CreateHITWithHITTypeCommandInput | CreateQualificationTypeCommandInput | CreateWorkerBlockCommandInput | DeleteHITCommandInput | DeleteQualificationTypeCommandInput | DeleteWorkerBlockCommandInput | DisassociateQualificationFromWorkerCommandInput | GetAccountBalanceCommandInput | GetAssignmentCommandInput | GetFileUploadURLCommandInput | GetHITCommandInput | GetQualificationScoreCommandInput | GetQualificationTypeCommandInput | ListAssignmentsForHITCommandInput | ListBonusPaymentsCommandInput | ListHITsCommandInput | ListHITsForQualificationTypeCommandInput | ListQualificationRequestsCommandInput | ListQualificationTypesCommandInput | ListReviewPolicyResultsForHITCommandInput | ListReviewableHITsCommandInput | ListWorkerBlocksCommandInput | ListWorkersWithQualificationTypeCommandInput | NotifyWorkersCommandInput | RejectAssignmentCommandInput | RejectQualificationRequestCommandInput | SendBonusCommandInput | SendTestEventNotificationCommandInput | UpdateExpirationForHITCommandInput | UpdateHITReviewStatusCommandInput | UpdateHITTypeOfHITCommandInput | UpdateNotificationSettingsCommandInput | UpdateQualificationTypeCommandInput; export type ServiceOutputTypes = | AcceptQualificationRequestCommandOutput | ApproveAssignmentCommandOutput | AssociateQualificationWithWorkerCommandOutput | CreateAdditionalAssignmentsForHITCommandOutput | CreateHITCommandOutput | CreateHITTypeCommandOutput | CreateHITWithHITTypeCommandOutput | CreateQualificationTypeCommandOutput | CreateWorkerBlockCommandOutput | DeleteHITCommandOutput | DeleteQualificationTypeCommandOutput | DeleteWorkerBlockCommandOutput | DisassociateQualificationFromWorkerCommandOutput | GetAccountBalanceCommandOutput | GetAssignmentCommandOutput | GetFileUploadURLCommandOutput | GetHITCommandOutput | GetQualificationScoreCommandOutput | GetQualificationTypeCommandOutput | ListAssignmentsForHITCommandOutput | ListBonusPaymentsCommandOutput | ListHITsCommandOutput | ListHITsForQualificationTypeCommandOutput | ListQualificationRequestsCommandOutput | ListQualificationTypesCommandOutput | ListReviewPolicyResultsForHITCommandOutput | ListReviewableHITsCommandOutput | ListWorkerBlocksCommandOutput | ListWorkersWithQualificationTypeCommandOutput | NotifyWorkersCommandOutput | RejectAssignmentCommandOutput | RejectQualificationRequestCommandOutput | SendBonusCommandOutput | SendTestEventNotificationCommandOutput | UpdateExpirationForHITCommandOutput | UpdateHITReviewStatusCommandOutput | UpdateHITTypeOfHITCommandOutput | UpdateNotificationSettingsCommandOutput | UpdateQualificationTypeCommandOutput; export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { requestHandler?: __HttpHandlerUserInput; sha256?: __ChecksumConstructor | __HashConstructor; urlParser?: __UrlParser; bodyLengthChecker?: __BodyLengthCalculator; streamCollector?: __StreamCollector; base64Decoder?: __Decoder; base64Encoder?: __Encoder; utf8Decoder?: __Decoder; utf8Encoder?: __Encoder; runtime?: string; disableHostPrefix?: boolean; serviceId?: string; useDualstackEndpoint?: boolean | __Provider; useFipsEndpoint?: boolean | __Provider; region?: string | __Provider; profile?: string; defaultUserAgentProvider?: __Provider<__UserAgent>; credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; maxAttempts?: number | __Provider; retryMode?: string | __Provider; logger?: __Logger; extensions?: RuntimeExtension[]; defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; } export type MTurkClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; export interface MTurkClientConfig extends MTurkClientConfigType {} export type MTurkClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; export interface MTurkClientResolvedConfig extends MTurkClientResolvedConfigType {} export declare class MTurkClient extends __Client< __HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MTurkClientResolvedConfig > { readonly config: MTurkClientResolvedConfig; constructor(...[configuration]: __CheckOptionalClientConfig); destroy(): void; }