@aws-sdk/client-xray 3.1148.0 → 3.1150.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 +12 -1
- package/dist-es/models/XRayServiceException.js +1 -0
- package/dist-es/models/errors.js +10 -0
- package/dist-types/models/XRayServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +10 -0
- package/dist-types/ts3.4/models/XRayServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +10 -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.1149.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 XRayServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.xray#XRayServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, XRayServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class XRayServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class InvalidRequestException extends XRayServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.xray#InvalidRequestException";
|
|
142
144
|
name = "InvalidRequestException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Message;
|
|
@@ -153,6 +155,7 @@ class InvalidRequestException extends XRayServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class ThrottledException extends XRayServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.xray#ThrottledException";
|
|
156
159
|
name = "ThrottledException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
Message;
|
|
@@ -167,6 +170,7 @@ class ThrottledException extends XRayServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class ResourceNotFoundException extends XRayServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.xray#ResourceNotFoundException";
|
|
170
174
|
name = "ResourceNotFoundException";
|
|
171
175
|
$fault = "client";
|
|
172
176
|
Message;
|
|
@@ -183,6 +187,7 @@ class ResourceNotFoundException extends XRayServiceException {
|
|
|
183
187
|
}
|
|
184
188
|
}
|
|
185
189
|
class RuleLimitExceededException extends XRayServiceException {
|
|
190
|
+
static shapeId = "com.amazonaws.xray#RuleLimitExceededException";
|
|
186
191
|
name = "RuleLimitExceededException";
|
|
187
192
|
$fault = "client";
|
|
188
193
|
Message;
|
|
@@ -197,6 +202,7 @@ class RuleLimitExceededException extends XRayServiceException {
|
|
|
197
202
|
}
|
|
198
203
|
}
|
|
199
204
|
class InvalidPolicyRevisionIdException extends XRayServiceException {
|
|
205
|
+
static shapeId = "com.amazonaws.xray#InvalidPolicyRevisionIdException";
|
|
200
206
|
name = "InvalidPolicyRevisionIdException";
|
|
201
207
|
$fault = "client";
|
|
202
208
|
Message;
|
|
@@ -211,6 +217,7 @@ class InvalidPolicyRevisionIdException extends XRayServiceException {
|
|
|
211
217
|
}
|
|
212
218
|
}
|
|
213
219
|
class LockoutPreventionException extends XRayServiceException {
|
|
220
|
+
static shapeId = "com.amazonaws.xray#LockoutPreventionException";
|
|
214
221
|
name = "LockoutPreventionException";
|
|
215
222
|
$fault = "client";
|
|
216
223
|
Message;
|
|
@@ -225,6 +232,7 @@ class LockoutPreventionException extends XRayServiceException {
|
|
|
225
232
|
}
|
|
226
233
|
}
|
|
227
234
|
class MalformedPolicyDocumentException extends XRayServiceException {
|
|
235
|
+
static shapeId = "com.amazonaws.xray#MalformedPolicyDocumentException";
|
|
228
236
|
name = "MalformedPolicyDocumentException";
|
|
229
237
|
$fault = "client";
|
|
230
238
|
Message;
|
|
@@ -239,6 +247,7 @@ class MalformedPolicyDocumentException extends XRayServiceException {
|
|
|
239
247
|
}
|
|
240
248
|
}
|
|
241
249
|
class PolicyCountLimitExceededException extends XRayServiceException {
|
|
250
|
+
static shapeId = "com.amazonaws.xray#PolicyCountLimitExceededException";
|
|
242
251
|
name = "PolicyCountLimitExceededException";
|
|
243
252
|
$fault = "client";
|
|
244
253
|
Message;
|
|
@@ -253,6 +262,7 @@ class PolicyCountLimitExceededException extends XRayServiceException {
|
|
|
253
262
|
}
|
|
254
263
|
}
|
|
255
264
|
class PolicySizeLimitExceededException extends XRayServiceException {
|
|
265
|
+
static shapeId = "com.amazonaws.xray#PolicySizeLimitExceededException";
|
|
256
266
|
name = "PolicySizeLimitExceededException";
|
|
257
267
|
$fault = "client";
|
|
258
268
|
Message;
|
|
@@ -267,6 +277,7 @@ class PolicySizeLimitExceededException extends XRayServiceException {
|
|
|
267
277
|
}
|
|
268
278
|
}
|
|
269
279
|
class TooManyTagsException extends XRayServiceException {
|
|
280
|
+
static shapeId = "com.amazonaws.xray#TooManyTagsException";
|
|
270
281
|
name = "TooManyTagsException";
|
|
271
282
|
$fault = "client";
|
|
272
283
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class XRayServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.xray#XRayServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, XRayServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { XRayServiceException as __BaseException } from "./XRayServiceException";
|
|
2
2
|
export class InvalidRequestException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.xray#InvalidRequestException";
|
|
3
4
|
name = "InvalidRequestException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class InvalidRequestException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ThrottledException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.xray#ThrottledException";
|
|
17
19
|
name = "ThrottledException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class ThrottledException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class ResourceNotFoundException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.xray#ResourceNotFoundException";
|
|
31
34
|
name = "ResourceNotFoundException";
|
|
32
35
|
$fault = "client";
|
|
33
36
|
Message;
|
|
@@ -44,6 +47,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
export class RuleLimitExceededException extends __BaseException {
|
|
50
|
+
static shapeId = "com.amazonaws.xray#RuleLimitExceededException";
|
|
47
51
|
name = "RuleLimitExceededException";
|
|
48
52
|
$fault = "client";
|
|
49
53
|
Message;
|
|
@@ -58,6 +62,7 @@ export class RuleLimitExceededException extends __BaseException {
|
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
export class InvalidPolicyRevisionIdException extends __BaseException {
|
|
65
|
+
static shapeId = "com.amazonaws.xray#InvalidPolicyRevisionIdException";
|
|
61
66
|
name = "InvalidPolicyRevisionIdException";
|
|
62
67
|
$fault = "client";
|
|
63
68
|
Message;
|
|
@@ -72,6 +77,7 @@ export class InvalidPolicyRevisionIdException extends __BaseException {
|
|
|
72
77
|
}
|
|
73
78
|
}
|
|
74
79
|
export class LockoutPreventionException extends __BaseException {
|
|
80
|
+
static shapeId = "com.amazonaws.xray#LockoutPreventionException";
|
|
75
81
|
name = "LockoutPreventionException";
|
|
76
82
|
$fault = "client";
|
|
77
83
|
Message;
|
|
@@ -86,6 +92,7 @@ export class LockoutPreventionException extends __BaseException {
|
|
|
86
92
|
}
|
|
87
93
|
}
|
|
88
94
|
export class MalformedPolicyDocumentException extends __BaseException {
|
|
95
|
+
static shapeId = "com.amazonaws.xray#MalformedPolicyDocumentException";
|
|
89
96
|
name = "MalformedPolicyDocumentException";
|
|
90
97
|
$fault = "client";
|
|
91
98
|
Message;
|
|
@@ -100,6 +107,7 @@ export class MalformedPolicyDocumentException extends __BaseException {
|
|
|
100
107
|
}
|
|
101
108
|
}
|
|
102
109
|
export class PolicyCountLimitExceededException extends __BaseException {
|
|
110
|
+
static shapeId = "com.amazonaws.xray#PolicyCountLimitExceededException";
|
|
103
111
|
name = "PolicyCountLimitExceededException";
|
|
104
112
|
$fault = "client";
|
|
105
113
|
Message;
|
|
@@ -114,6 +122,7 @@ export class PolicyCountLimitExceededException extends __BaseException {
|
|
|
114
122
|
}
|
|
115
123
|
}
|
|
116
124
|
export class PolicySizeLimitExceededException extends __BaseException {
|
|
125
|
+
static shapeId = "com.amazonaws.xray#PolicySizeLimitExceededException";
|
|
117
126
|
name = "PolicySizeLimitExceededException";
|
|
118
127
|
$fault = "client";
|
|
119
128
|
Message;
|
|
@@ -128,6 +137,7 @@ export class PolicySizeLimitExceededException extends __BaseException {
|
|
|
128
137
|
}
|
|
129
138
|
}
|
|
130
139
|
export class TooManyTagsException extends __BaseException {
|
|
140
|
+
static shapeId = "com.amazonaws.xray#TooManyTagsException";
|
|
131
141
|
name = "TooManyTagsException";
|
|
132
142
|
$fault = "client";
|
|
133
143
|
Message;
|
|
@@ -5,6 +5,7 @@ import { XRayServiceException as __BaseException } from "./XRayServiceException"
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class InvalidRequestException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "InvalidRequestException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
Message?: string | undefined;
|
|
@@ -18,6 +19,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class ThrottledException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "ThrottledException";
|
|
22
24
|
readonly $fault: "client";
|
|
23
25
|
Message?: string | undefined;
|
|
@@ -32,6 +34,7 @@ export declare class ThrottledException extends __BaseException {
|
|
|
32
34
|
* @public
|
|
33
35
|
*/
|
|
34
36
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
35
38
|
readonly name: "ResourceNotFoundException";
|
|
36
39
|
readonly $fault: "client";
|
|
37
40
|
Message?: string | undefined;
|
|
@@ -46,6 +49,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
46
49
|
* @public
|
|
47
50
|
*/
|
|
48
51
|
export declare class RuleLimitExceededException extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
49
53
|
readonly name: "RuleLimitExceededException";
|
|
50
54
|
readonly $fault: "client";
|
|
51
55
|
Message?: string | undefined;
|
|
@@ -60,6 +64,7 @@ export declare class RuleLimitExceededException extends __BaseException {
|
|
|
60
64
|
* @public
|
|
61
65
|
*/
|
|
62
66
|
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
67
|
+
static readonly shapeId: string;
|
|
63
68
|
readonly name: "InvalidPolicyRevisionIdException";
|
|
64
69
|
readonly $fault: "client";
|
|
65
70
|
Message?: string | undefined;
|
|
@@ -73,6 +78,7 @@ export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
|
73
78
|
* @public
|
|
74
79
|
*/
|
|
75
80
|
export declare class LockoutPreventionException extends __BaseException {
|
|
81
|
+
static readonly shapeId: string;
|
|
76
82
|
readonly name: "LockoutPreventionException";
|
|
77
83
|
readonly $fault: "client";
|
|
78
84
|
Message?: string | undefined;
|
|
@@ -86,6 +92,7 @@ export declare class LockoutPreventionException extends __BaseException {
|
|
|
86
92
|
* @public
|
|
87
93
|
*/
|
|
88
94
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
95
|
+
static readonly shapeId: string;
|
|
89
96
|
readonly name: "MalformedPolicyDocumentException";
|
|
90
97
|
readonly $fault: "client";
|
|
91
98
|
Message?: string | undefined;
|
|
@@ -99,6 +106,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
|
99
106
|
* @public
|
|
100
107
|
*/
|
|
101
108
|
export declare class PolicyCountLimitExceededException extends __BaseException {
|
|
109
|
+
static readonly shapeId: string;
|
|
102
110
|
readonly name: "PolicyCountLimitExceededException";
|
|
103
111
|
readonly $fault: "client";
|
|
104
112
|
Message?: string | undefined;
|
|
@@ -112,6 +120,7 @@ export declare class PolicyCountLimitExceededException extends __BaseException {
|
|
|
112
120
|
* @public
|
|
113
121
|
*/
|
|
114
122
|
export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
123
|
+
static readonly shapeId: string;
|
|
115
124
|
readonly name: "PolicySizeLimitExceededException";
|
|
116
125
|
readonly $fault: "client";
|
|
117
126
|
Message?: string | undefined;
|
|
@@ -125,6 +134,7 @@ export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
|
125
134
|
* @public
|
|
126
135
|
*/
|
|
127
136
|
export declare class TooManyTagsException extends __BaseException {
|
|
137
|
+
static readonly shapeId: string;
|
|
128
138
|
readonly name: "TooManyTagsException";
|
|
129
139
|
readonly $fault: "client";
|
|
130
140
|
Message?: string | undefined;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { XRayServiceException as __BaseException } from "./XRayServiceException";
|
|
3
3
|
export declare class InvalidRequestException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "InvalidRequestException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class ThrottledException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "ThrottledException";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "ResourceNotFoundException";
|
|
17
20
|
readonly $fault: "client";
|
|
18
21
|
Message?: string | undefined;
|
|
@@ -20,42 +23,49 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
20
23
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
21
24
|
}
|
|
22
25
|
export declare class RuleLimitExceededException extends __BaseException {
|
|
26
|
+
static readonly shapeId: string;
|
|
23
27
|
readonly name: "RuleLimitExceededException";
|
|
24
28
|
readonly $fault: "client";
|
|
25
29
|
Message?: string | undefined;
|
|
26
30
|
constructor(opts: __ExceptionOptionType<RuleLimitExceededException, __BaseException>);
|
|
27
31
|
}
|
|
28
32
|
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
33
|
+
static readonly shapeId: string;
|
|
29
34
|
readonly name: "InvalidPolicyRevisionIdException";
|
|
30
35
|
readonly $fault: "client";
|
|
31
36
|
Message?: string | undefined;
|
|
32
37
|
constructor(opts: __ExceptionOptionType<InvalidPolicyRevisionIdException, __BaseException>);
|
|
33
38
|
}
|
|
34
39
|
export declare class LockoutPreventionException extends __BaseException {
|
|
40
|
+
static readonly shapeId: string;
|
|
35
41
|
readonly name: "LockoutPreventionException";
|
|
36
42
|
readonly $fault: "client";
|
|
37
43
|
Message?: string | undefined;
|
|
38
44
|
constructor(opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>);
|
|
39
45
|
}
|
|
40
46
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
47
|
+
static readonly shapeId: string;
|
|
41
48
|
readonly name: "MalformedPolicyDocumentException";
|
|
42
49
|
readonly $fault: "client";
|
|
43
50
|
Message?: string | undefined;
|
|
44
51
|
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
45
52
|
}
|
|
46
53
|
export declare class PolicyCountLimitExceededException extends __BaseException {
|
|
54
|
+
static readonly shapeId: string;
|
|
47
55
|
readonly name: "PolicyCountLimitExceededException";
|
|
48
56
|
readonly $fault: "client";
|
|
49
57
|
Message?: string | undefined;
|
|
50
58
|
constructor(opts: __ExceptionOptionType<PolicyCountLimitExceededException, __BaseException>);
|
|
51
59
|
}
|
|
52
60
|
export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
53
62
|
readonly name: "PolicySizeLimitExceededException";
|
|
54
63
|
readonly $fault: "client";
|
|
55
64
|
Message?: string | undefined;
|
|
56
65
|
constructor(opts: __ExceptionOptionType<PolicySizeLimitExceededException, __BaseException>);
|
|
57
66
|
}
|
|
58
67
|
export declare class TooManyTagsException extends __BaseException {
|
|
68
|
+
static readonly shapeId: string;
|
|
59
69
|
readonly name: "TooManyTagsException";
|
|
60
70
|
readonly $fault: "client";
|
|
61
71
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-xray",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-xray",
|
|
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.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
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",
|