@aws-sdk/client-wickr 3.1148.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 +9 -1
- package/dist-es/models/WickrServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/WickrServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/WickrServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -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
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class WickrServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.wickr#WickrServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, WickrServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class WickrServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class BadRequestError extends WickrServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.wickr#BadRequestError";
|
|
142
144
|
name = "BadRequestError";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class BadRequestError extends WickrServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class ForbiddenError extends WickrServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.wickr#ForbiddenError";
|
|
154
157
|
name = "ForbiddenError";
|
|
155
158
|
$fault = "client";
|
|
156
159
|
constructor(opts) {
|
|
@@ -163,6 +166,7 @@ class ForbiddenError extends WickrServiceException {
|
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
class InternalServerError extends WickrServiceException {
|
|
169
|
+
static shapeId = "com.amazonaws.wickr#InternalServerError";
|
|
166
170
|
name = "InternalServerError";
|
|
167
171
|
$fault = "server";
|
|
168
172
|
constructor(opts) {
|
|
@@ -175,6 +179,7 @@ class InternalServerError extends WickrServiceException {
|
|
|
175
179
|
}
|
|
176
180
|
}
|
|
177
181
|
class RateLimitError extends WickrServiceException {
|
|
182
|
+
static shapeId = "com.amazonaws.wickr#RateLimitError";
|
|
178
183
|
name = "RateLimitError";
|
|
179
184
|
$fault = "client";
|
|
180
185
|
constructor(opts) {
|
|
@@ -187,6 +192,7 @@ class RateLimitError extends WickrServiceException {
|
|
|
187
192
|
}
|
|
188
193
|
}
|
|
189
194
|
class ResourceNotFoundError extends WickrServiceException {
|
|
195
|
+
static shapeId = "com.amazonaws.wickr#ResourceNotFoundError";
|
|
190
196
|
name = "ResourceNotFoundError";
|
|
191
197
|
$fault = "client";
|
|
192
198
|
constructor(opts) {
|
|
@@ -199,6 +205,7 @@ class ResourceNotFoundError extends WickrServiceException {
|
|
|
199
205
|
}
|
|
200
206
|
}
|
|
201
207
|
class UnauthorizedError extends WickrServiceException {
|
|
208
|
+
static shapeId = "com.amazonaws.wickr#UnauthorizedError";
|
|
202
209
|
name = "UnauthorizedError";
|
|
203
210
|
$fault = "client";
|
|
204
211
|
constructor(opts) {
|
|
@@ -211,6 +218,7 @@ class UnauthorizedError extends WickrServiceException {
|
|
|
211
218
|
}
|
|
212
219
|
}
|
|
213
220
|
class ValidationError extends WickrServiceException {
|
|
221
|
+
static shapeId = "com.amazonaws.wickr#ValidationError";
|
|
214
222
|
name = "ValidationError";
|
|
215
223
|
$fault = "client";
|
|
216
224
|
reasons;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class WickrServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.wickr#WickrServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, WickrServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WickrServiceException as __BaseException } from "./WickrServiceException";
|
|
2
2
|
export class BadRequestError extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.wickr#BadRequestError";
|
|
3
4
|
name = "BadRequestError";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class BadRequestError extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class ForbiddenError extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.wickr#ForbiddenError";
|
|
15
17
|
name = "ForbiddenError";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class ForbiddenError extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class InternalServerError extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.wickr#InternalServerError";
|
|
27
30
|
name = "InternalServerError";
|
|
28
31
|
$fault = "server";
|
|
29
32
|
constructor(opts) {
|
|
@@ -36,6 +39,7 @@ export class InternalServerError extends __BaseException {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export class RateLimitError extends __BaseException {
|
|
42
|
+
static shapeId = "com.amazonaws.wickr#RateLimitError";
|
|
39
43
|
name = "RateLimitError";
|
|
40
44
|
$fault = "client";
|
|
41
45
|
constructor(opts) {
|
|
@@ -48,6 +52,7 @@ export class RateLimitError extends __BaseException {
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
export class ResourceNotFoundError extends __BaseException {
|
|
55
|
+
static shapeId = "com.amazonaws.wickr#ResourceNotFoundError";
|
|
51
56
|
name = "ResourceNotFoundError";
|
|
52
57
|
$fault = "client";
|
|
53
58
|
constructor(opts) {
|
|
@@ -60,6 +65,7 @@ export class ResourceNotFoundError extends __BaseException {
|
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
export class UnauthorizedError extends __BaseException {
|
|
68
|
+
static shapeId = "com.amazonaws.wickr#UnauthorizedError";
|
|
63
69
|
name = "UnauthorizedError";
|
|
64
70
|
$fault = "client";
|
|
65
71
|
constructor(opts) {
|
|
@@ -72,6 +78,7 @@ export class UnauthorizedError extends __BaseException {
|
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
80
|
export class ValidationError extends __BaseException {
|
|
81
|
+
static shapeId = "com.amazonaws.wickr#ValidationError";
|
|
75
82
|
name = "ValidationError";
|
|
76
83
|
$fault = "client";
|
|
77
84
|
reasons;
|
|
@@ -6,6 +6,7 @@ import { WickrServiceException as __BaseException } from "./WickrServiceExceptio
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class BadRequestError extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "BadRequestError";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
/**
|
|
@@ -18,6 +19,7 @@ export declare class BadRequestError extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class ForbiddenError extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "ForbiddenError";
|
|
22
24
|
readonly $fault: "client";
|
|
23
25
|
/**
|
|
@@ -30,6 +32,7 @@ export declare class ForbiddenError extends __BaseException {
|
|
|
30
32
|
* @public
|
|
31
33
|
*/
|
|
32
34
|
export declare class InternalServerError extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
33
36
|
readonly name: "InternalServerError";
|
|
34
37
|
readonly $fault: "server";
|
|
35
38
|
/**
|
|
@@ -42,6 +45,7 @@ export declare class InternalServerError extends __BaseException {
|
|
|
42
45
|
* @public
|
|
43
46
|
*/
|
|
44
47
|
export declare class RateLimitError extends __BaseException {
|
|
48
|
+
static readonly shapeId: string;
|
|
45
49
|
readonly name: "RateLimitError";
|
|
46
50
|
readonly $fault: "client";
|
|
47
51
|
/**
|
|
@@ -54,6 +58,7 @@ export declare class RateLimitError extends __BaseException {
|
|
|
54
58
|
* @public
|
|
55
59
|
*/
|
|
56
60
|
export declare class ResourceNotFoundError extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
57
62
|
readonly name: "ResourceNotFoundError";
|
|
58
63
|
readonly $fault: "client";
|
|
59
64
|
/**
|
|
@@ -66,6 +71,7 @@ export declare class ResourceNotFoundError extends __BaseException {
|
|
|
66
71
|
* @public
|
|
67
72
|
*/
|
|
68
73
|
export declare class UnauthorizedError extends __BaseException {
|
|
74
|
+
static readonly shapeId: string;
|
|
69
75
|
readonly name: "UnauthorizedError";
|
|
70
76
|
readonly $fault: "client";
|
|
71
77
|
/**
|
|
@@ -78,6 +84,7 @@ export declare class UnauthorizedError extends __BaseException {
|
|
|
78
84
|
* @public
|
|
79
85
|
*/
|
|
80
86
|
export declare class ValidationError extends __BaseException {
|
|
87
|
+
static readonly shapeId: string;
|
|
81
88
|
readonly name: "ValidationError";
|
|
82
89
|
readonly $fault: "client";
|
|
83
90
|
/**
|
|
@@ -2,36 +2,43 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { ErrorDetail } from "./models_0";
|
|
3
3
|
import { WickrServiceException as __BaseException } from "./WickrServiceException";
|
|
4
4
|
export declare class BadRequestError extends __BaseException {
|
|
5
|
+
static readonly shapeId: string;
|
|
5
6
|
readonly name: "BadRequestError";
|
|
6
7
|
readonly $fault: "client";
|
|
7
8
|
constructor(opts: __ExceptionOptionType<BadRequestError, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class ForbiddenError extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "ForbiddenError";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
constructor(opts: __ExceptionOptionType<ForbiddenError, __BaseException>);
|
|
13
15
|
}
|
|
14
16
|
export declare class InternalServerError extends __BaseException {
|
|
17
|
+
static readonly shapeId: string;
|
|
15
18
|
readonly name: "InternalServerError";
|
|
16
19
|
readonly $fault: "server";
|
|
17
20
|
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
18
21
|
}
|
|
19
22
|
export declare class RateLimitError extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
20
24
|
readonly name: "RateLimitError";
|
|
21
25
|
readonly $fault: "client";
|
|
22
26
|
constructor(opts: __ExceptionOptionType<RateLimitError, __BaseException>);
|
|
23
27
|
}
|
|
24
28
|
export declare class ResourceNotFoundError extends __BaseException {
|
|
29
|
+
static readonly shapeId: string;
|
|
25
30
|
readonly name: "ResourceNotFoundError";
|
|
26
31
|
readonly $fault: "client";
|
|
27
32
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundError, __BaseException>);
|
|
28
33
|
}
|
|
29
34
|
export declare class UnauthorizedError extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
30
36
|
readonly name: "UnauthorizedError";
|
|
31
37
|
readonly $fault: "client";
|
|
32
38
|
constructor(opts: __ExceptionOptionType<UnauthorizedError, __BaseException>);
|
|
33
39
|
}
|
|
34
40
|
export declare class ValidationError extends __BaseException {
|
|
41
|
+
static readonly shapeId: string;
|
|
35
42
|
readonly name: "ValidationError";
|
|
36
43
|
readonly $fault: "client";
|
|
37
44
|
reasons?: ErrorDetail[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wickr",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Wickr Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-wickr",
|
|
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",
|