@aws-sdk/client-mturk 3.1147.0 → 3.1149.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 +4 -1
- package/dist-es/models/MTurkServiceException.js +1 -0
- package/dist-es/models/errors.js +2 -0
- package/dist-types/models/MTurkServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +2 -0
- package/dist-types/ts3.4/models/MTurkServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -135,6 +135,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
135
135
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
136
136
|
|
|
137
137
|
class MTurkServiceException extends ServiceException {
|
|
138
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.mturk#MTurkServiceException";
|
|
138
139
|
constructor(options) {
|
|
139
140
|
super(options);
|
|
140
141
|
Object.setPrototypeOf(this, MTurkServiceException.prototype);
|
|
@@ -142,6 +143,7 @@ class MTurkServiceException extends ServiceException {
|
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
class RequestError extends MTurkServiceException {
|
|
146
|
+
static shapeId = "com.amazonaws.mturk#RequestError";
|
|
145
147
|
name = "RequestError";
|
|
146
148
|
$fault = "client";
|
|
147
149
|
Message;
|
|
@@ -158,6 +160,7 @@ class RequestError extends MTurkServiceException {
|
|
|
158
160
|
}
|
|
159
161
|
}
|
|
160
162
|
class ServiceFault extends MTurkServiceException {
|
|
163
|
+
static shapeId = "com.amazonaws.mturk#ServiceFault";
|
|
161
164
|
name = "ServiceFault";
|
|
162
165
|
$fault = "server";
|
|
163
166
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class MTurkServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.mturk#MTurkServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, MTurkServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
|
|
2
2
|
export class RequestError extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.mturk#RequestError";
|
|
3
4
|
name = "RequestError";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -16,6 +17,7 @@ export class RequestError extends __BaseException {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
export class ServiceFault extends __BaseException {
|
|
20
|
+
static shapeId = "com.amazonaws.mturk#ServiceFault";
|
|
19
21
|
name = "ServiceFault";
|
|
20
22
|
$fault = "server";
|
|
21
23
|
Message;
|
|
@@ -5,6 +5,7 @@ import { MTurkServiceException as __BaseException } from "./MTurkServiceExceptio
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class RequestError extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "RequestError";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
Message?: string | undefined;
|
|
@@ -19,6 +20,7 @@ export declare class RequestError extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class ServiceFault extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "ServiceFault";
|
|
23
25
|
readonly $fault: "server";
|
|
24
26
|
Message?: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
|
|
3
3
|
export declare class RequestError extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "RequestError";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
@@ -8,6 +9,7 @@ export declare class RequestError extends __BaseException {
|
|
|
8
9
|
constructor(opts: __ExceptionOptionType<RequestError, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class ServiceFault extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "ServiceFault";
|
|
12
14
|
readonly $fault: "server";
|
|
13
15
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mturk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Mturk Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mturk",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|