@aws-sdk/client-mturk 3.1087.0 → 3.1088.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 +1 -1
- package/dist-types/ts3.4/MTurk.d.ts +132 -168
- package/dist-types/ts3.4/MTurkClient.d.ts +20 -45
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetHITCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -14
- package/dist-types/ts3.4/pagination/ListHITsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
UpdateNotificationSettingsResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdateNotificationSettingsCommandInput
|
|
8
|
-
extends UpdateNotificationSettingsRequest {}
|
|
7
|
+
export interface UpdateNotificationSettingsCommandInput extends UpdateNotificationSettingsRequest {}
|
|
9
8
|
export interface UpdateNotificationSettingsCommandOutput
|
|
10
|
-
extends UpdateNotificationSettingsResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends UpdateNotificationSettingsResponse, __MetadataBearer {}
|
|
12
10
|
declare const UpdateNotificationSettingsCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: UpdateNotificationSettingsCommandInput
|
|
12
|
+
input: UpdateNotificationSettingsCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
UpdateNotificationSettingsCommandInput,
|
|
17
15
|
UpdateNotificationSettingsCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const UpdateNotificationSettingsCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: UpdateNotificationSettingsCommandInput
|
|
21
|
+
input: UpdateNotificationSettingsCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
UpdateNotificationSettingsCommandInput,
|
|
26
24
|
UpdateNotificationSettingsCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
UpdateQualificationTypeResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdateQualificationTypeCommandInput
|
|
8
|
-
extends UpdateQualificationTypeRequest {}
|
|
7
|
+
export interface UpdateQualificationTypeCommandInput extends UpdateQualificationTypeRequest {}
|
|
9
8
|
export interface UpdateQualificationTypeCommandOutput
|
|
10
|
-
extends UpdateQualificationTypeResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends UpdateQualificationTypeResponse, __MetadataBearer {}
|
|
12
10
|
declare const UpdateQualificationTypeCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: UpdateQualificationTypeCommandInput
|
|
12
|
+
input: UpdateQualificationTypeCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
UpdateQualificationTypeCommandInput,
|
|
17
15
|
UpdateQualificationTypeCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const UpdateQualificationTypeCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: UpdateQualificationTypeCommandInput
|
|
21
|
+
input: UpdateQualificationTypeCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
UpdateQualificationTypeCommandInput,
|
|
26
24
|
UpdateQualificationTypeCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface MTurkExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -3,8 +3,7 @@ export declare const AssignmentStatus: {
|
|
|
3
3
|
readonly Rejected: "Rejected";
|
|
4
4
|
readonly Submitted: "Submitted";
|
|
5
5
|
};
|
|
6
|
-
export type AssignmentStatus =
|
|
7
|
-
(typeof AssignmentStatus)[keyof typeof AssignmentStatus];
|
|
6
|
+
export type AssignmentStatus = (typeof AssignmentStatus)[keyof typeof AssignmentStatus];
|
|
8
7
|
export declare const Comparator: {
|
|
9
8
|
readonly DoesNotExist: "DoesNotExist";
|
|
10
9
|
readonly EqualTo: "EqualTo";
|
|
@@ -23,16 +22,14 @@ export declare const HITAccessActions: {
|
|
|
23
22
|
readonly DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept";
|
|
24
23
|
readonly PreviewAndAccept: "PreviewAndAccept";
|
|
25
24
|
};
|
|
26
|
-
export type HITAccessActions =
|
|
27
|
-
(typeof HITAccessActions)[keyof typeof HITAccessActions];
|
|
25
|
+
export type HITAccessActions = (typeof HITAccessActions)[keyof typeof HITAccessActions];
|
|
28
26
|
export declare const HITReviewStatus: {
|
|
29
27
|
readonly MarkedForReview: "MarkedForReview";
|
|
30
28
|
readonly NotReviewed: "NotReviewed";
|
|
31
29
|
readonly ReviewedAppropriate: "ReviewedAppropriate";
|
|
32
30
|
readonly ReviewedInappropriate: "ReviewedInappropriate";
|
|
33
31
|
};
|
|
34
|
-
export type HITReviewStatus =
|
|
35
|
-
(typeof HITReviewStatus)[keyof typeof HITReviewStatus];
|
|
32
|
+
export type HITReviewStatus = (typeof HITReviewStatus)[keyof typeof HITReviewStatus];
|
|
36
33
|
export declare const HITStatus: {
|
|
37
34
|
readonly Assignable: "Assignable";
|
|
38
35
|
readonly Disposed: "Disposed";
|
|
@@ -66,28 +63,24 @@ export declare const QualificationStatus: {
|
|
|
66
63
|
readonly Granted: "Granted";
|
|
67
64
|
readonly Revoked: "Revoked";
|
|
68
65
|
};
|
|
69
|
-
export type QualificationStatus =
|
|
70
|
-
(typeof QualificationStatus)[keyof typeof QualificationStatus];
|
|
66
|
+
export type QualificationStatus = (typeof QualificationStatus)[keyof typeof QualificationStatus];
|
|
71
67
|
export declare const ReviewableHITStatus: {
|
|
72
68
|
readonly Reviewable: "Reviewable";
|
|
73
69
|
readonly Reviewing: "Reviewing";
|
|
74
70
|
};
|
|
75
|
-
export type ReviewableHITStatus =
|
|
76
|
-
(typeof ReviewableHITStatus)[keyof typeof ReviewableHITStatus];
|
|
71
|
+
export type ReviewableHITStatus = (typeof ReviewableHITStatus)[keyof typeof ReviewableHITStatus];
|
|
77
72
|
export declare const ReviewPolicyLevel: {
|
|
78
73
|
readonly Assignment: "Assignment";
|
|
79
74
|
readonly HIT: "HIT";
|
|
80
75
|
};
|
|
81
|
-
export type ReviewPolicyLevel =
|
|
82
|
-
(typeof ReviewPolicyLevel)[keyof typeof ReviewPolicyLevel];
|
|
76
|
+
export type ReviewPolicyLevel = (typeof ReviewPolicyLevel)[keyof typeof ReviewPolicyLevel];
|
|
83
77
|
export declare const ReviewActionStatus: {
|
|
84
78
|
readonly Cancelled: "Cancelled";
|
|
85
79
|
readonly Failed: "Failed";
|
|
86
80
|
readonly Intended: "Intended";
|
|
87
81
|
readonly Succeeded: "Succeeded";
|
|
88
82
|
};
|
|
89
|
-
export type ReviewActionStatus =
|
|
90
|
-
(typeof ReviewActionStatus)[keyof typeof ReviewActionStatus];
|
|
83
|
+
export type ReviewActionStatus = (typeof ReviewActionStatus)[keyof typeof ReviewActionStatus];
|
|
91
84
|
export declare const NotifyWorkersFailureCode: {
|
|
92
85
|
readonly HardFailure: "HardFailure";
|
|
93
86
|
readonly SoftFailure: "SoftFailure";
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListHITsCommandInput,
|
|
4
|
-
ListHITsCommandOutput,
|
|
5
|
-
} from "../commands/ListHITsCommand";
|
|
2
|
+
import { ListHITsCommandInput, ListHITsCommandOutput } from "../commands/ListHITsCommand";
|
|
6
3
|
import { MTurkPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListHITs: (
|
|
8
5
|
config: MTurkPaginationConfiguration,
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MTurkHttpAuthSchemeProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var MTurkServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var RequestError$: StaticErrorSchema;
|
|
9
5
|
export declare var ServiceFault$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mturk",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Mturk Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mturk",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-mturk"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mturk",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-mturk"
|
|
68
68
|
}
|
|
69
69
|
}
|