@aws-sdk/client-mq 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 +8 -1
- package/dist-es/models/MqServiceException.js +1 -0
- package/dist-es/models/errors.js +6 -0
- package/dist-types/models/MqServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +6 -0
- package/dist-types/ts3.4/models/MqServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -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 MqServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.mq#MqServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, MqServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class MqServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class BadRequestException extends MqServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.mq#BadRequestException";
|
|
142
144
|
name = "BadRequestException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
ErrorAttribute;
|
|
@@ -157,6 +159,7 @@ class BadRequestException extends MqServiceException {
|
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
161
|
class ConflictException extends MqServiceException {
|
|
162
|
+
static shapeId = "com.amazonaws.mq#ConflictException";
|
|
160
163
|
name = "ConflictException";
|
|
161
164
|
$fault = "client";
|
|
162
165
|
ErrorAttribute;
|
|
@@ -175,6 +178,7 @@ class ConflictException extends MqServiceException {
|
|
|
175
178
|
}
|
|
176
179
|
}
|
|
177
180
|
class ForbiddenException extends MqServiceException {
|
|
181
|
+
static shapeId = "com.amazonaws.mq#ForbiddenException";
|
|
178
182
|
name = "ForbiddenException";
|
|
179
183
|
$fault = "client";
|
|
180
184
|
ErrorAttribute;
|
|
@@ -193,6 +197,7 @@ class ForbiddenException extends MqServiceException {
|
|
|
193
197
|
}
|
|
194
198
|
}
|
|
195
199
|
class InternalServerErrorException extends MqServiceException {
|
|
200
|
+
static shapeId = "com.amazonaws.mq#InternalServerErrorException";
|
|
196
201
|
name = "InternalServerErrorException";
|
|
197
202
|
$fault = "server";
|
|
198
203
|
ErrorAttribute;
|
|
@@ -211,6 +216,7 @@ class InternalServerErrorException extends MqServiceException {
|
|
|
211
216
|
}
|
|
212
217
|
}
|
|
213
218
|
class UnauthorizedException extends MqServiceException {
|
|
219
|
+
static shapeId = "com.amazonaws.mq#UnauthorizedException";
|
|
214
220
|
name = "UnauthorizedException";
|
|
215
221
|
$fault = "client";
|
|
216
222
|
ErrorAttribute;
|
|
@@ -229,6 +235,7 @@ class UnauthorizedException extends MqServiceException {
|
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
237
|
class NotFoundException extends MqServiceException {
|
|
238
|
+
static shapeId = "com.amazonaws.mq#NotFoundException";
|
|
232
239
|
name = "NotFoundException";
|
|
233
240
|
$fault = "client";
|
|
234
241
|
ErrorAttribute;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class MqServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.mq#MqServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, MqServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MqServiceException as __BaseException } from "./MqServiceException";
|
|
2
2
|
export class BadRequestException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.mq#BadRequestException";
|
|
3
4
|
name = "BadRequestException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
ErrorAttribute;
|
|
@@ -18,6 +19,7 @@ export class BadRequestException extends __BaseException {
|
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
export class ConflictException extends __BaseException {
|
|
22
|
+
static shapeId = "com.amazonaws.mq#ConflictException";
|
|
21
23
|
name = "ConflictException";
|
|
22
24
|
$fault = "client";
|
|
23
25
|
ErrorAttribute;
|
|
@@ -36,6 +38,7 @@ export class ConflictException extends __BaseException {
|
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
export class ForbiddenException extends __BaseException {
|
|
41
|
+
static shapeId = "com.amazonaws.mq#ForbiddenException";
|
|
39
42
|
name = "ForbiddenException";
|
|
40
43
|
$fault = "client";
|
|
41
44
|
ErrorAttribute;
|
|
@@ -54,6 +57,7 @@ export class ForbiddenException extends __BaseException {
|
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
export class InternalServerErrorException extends __BaseException {
|
|
60
|
+
static shapeId = "com.amazonaws.mq#InternalServerErrorException";
|
|
57
61
|
name = "InternalServerErrorException";
|
|
58
62
|
$fault = "server";
|
|
59
63
|
ErrorAttribute;
|
|
@@ -72,6 +76,7 @@ export class InternalServerErrorException extends __BaseException {
|
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
export class UnauthorizedException extends __BaseException {
|
|
79
|
+
static shapeId = "com.amazonaws.mq#UnauthorizedException";
|
|
75
80
|
name = "UnauthorizedException";
|
|
76
81
|
$fault = "client";
|
|
77
82
|
ErrorAttribute;
|
|
@@ -90,6 +95,7 @@ export class UnauthorizedException extends __BaseException {
|
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
97
|
export class NotFoundException extends __BaseException {
|
|
98
|
+
static shapeId = "com.amazonaws.mq#NotFoundException";
|
|
93
99
|
name = "NotFoundException";
|
|
94
100
|
$fault = "client";
|
|
95
101
|
ErrorAttribute;
|
|
@@ -6,6 +6,7 @@ import { MqServiceException as __BaseException } from "./MqServiceException";
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class BadRequestException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "BadRequestException";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
/**
|
|
@@ -33,6 +34,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
33
34
|
* @public
|
|
34
35
|
*/
|
|
35
36
|
export declare class ConflictException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
36
38
|
readonly name: "ConflictException";
|
|
37
39
|
readonly $fault: "client";
|
|
38
40
|
/**
|
|
@@ -60,6 +62,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
60
62
|
* @public
|
|
61
63
|
*/
|
|
62
64
|
export declare class ForbiddenException extends __BaseException {
|
|
65
|
+
static readonly shapeId: string;
|
|
63
66
|
readonly name: "ForbiddenException";
|
|
64
67
|
readonly $fault: "client";
|
|
65
68
|
/**
|
|
@@ -87,6 +90,7 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
87
90
|
* @public
|
|
88
91
|
*/
|
|
89
92
|
export declare class InternalServerErrorException extends __BaseException {
|
|
93
|
+
static readonly shapeId: string;
|
|
90
94
|
readonly name: "InternalServerErrorException";
|
|
91
95
|
readonly $fault: "server";
|
|
92
96
|
/**
|
|
@@ -114,6 +118,7 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
114
118
|
* @public
|
|
115
119
|
*/
|
|
116
120
|
export declare class UnauthorizedException extends __BaseException {
|
|
121
|
+
static readonly shapeId: string;
|
|
117
122
|
readonly name: "UnauthorizedException";
|
|
118
123
|
readonly $fault: "client";
|
|
119
124
|
/**
|
|
@@ -141,6 +146,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
141
146
|
* @public
|
|
142
147
|
*/
|
|
143
148
|
export declare class NotFoundException extends __BaseException {
|
|
149
|
+
static readonly shapeId: string;
|
|
144
150
|
readonly name: "NotFoundException";
|
|
145
151
|
readonly $fault: "client";
|
|
146
152
|
/**
|
|
@@ -2,6 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { ResourceShareError } from "./models_0";
|
|
3
3
|
import { MqServiceException as __BaseException } from "./MqServiceException";
|
|
4
4
|
export declare class BadRequestException extends __BaseException {
|
|
5
|
+
static readonly shapeId: string;
|
|
5
6
|
readonly name: "BadRequestException";
|
|
6
7
|
readonly $fault: "client";
|
|
7
8
|
ErrorAttribute?: string | undefined;
|
|
@@ -10,6 +11,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
10
11
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
11
12
|
}
|
|
12
13
|
export declare class ConflictException extends __BaseException {
|
|
14
|
+
static readonly shapeId: string;
|
|
13
15
|
readonly name: "ConflictException";
|
|
14
16
|
readonly $fault: "client";
|
|
15
17
|
ErrorAttribute?: string | undefined;
|
|
@@ -18,6 +20,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
18
20
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
21
|
}
|
|
20
22
|
export declare class ForbiddenException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
21
24
|
readonly name: "ForbiddenException";
|
|
22
25
|
readonly $fault: "client";
|
|
23
26
|
ErrorAttribute?: string | undefined;
|
|
@@ -26,6 +29,7 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
26
29
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
27
30
|
}
|
|
28
31
|
export declare class InternalServerErrorException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
29
33
|
readonly name: "InternalServerErrorException";
|
|
30
34
|
readonly $fault: "server";
|
|
31
35
|
ErrorAttribute?: string | undefined;
|
|
@@ -34,6 +38,7 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
34
38
|
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
35
39
|
}
|
|
36
40
|
export declare class UnauthorizedException extends __BaseException {
|
|
41
|
+
static readonly shapeId: string;
|
|
37
42
|
readonly name: "UnauthorizedException";
|
|
38
43
|
readonly $fault: "client";
|
|
39
44
|
ErrorAttribute?: string | undefined;
|
|
@@ -42,6 +47,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
42
47
|
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
43
48
|
}
|
|
44
49
|
export declare class NotFoundException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
45
51
|
readonly name: "NotFoundException";
|
|
46
52
|
readonly $fault: "client";
|
|
47
53
|
ErrorAttribute?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mq",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Mq Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mq",
|
|
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",
|