@aws-sdk/client-xray 3.987.0 → 3.989.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 +57 -1840
- package/dist-cjs/models/XRayServiceException.js +12 -0
- package/dist-cjs/models/errors.js +158 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1471 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +78 -72
- package/dist-types/schemas/schemas_0.d.ts +18 -11
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -11
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.XRayServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class XRayServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, XRayServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.XRayServiceException = XRayServiceException;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TooManyTagsException = exports.PolicySizeLimitExceededException = exports.PolicyCountLimitExceededException = exports.MalformedPolicyDocumentException = exports.LockoutPreventionException = exports.InvalidPolicyRevisionIdException = exports.RuleLimitExceededException = exports.ResourceNotFoundException = exports.ThrottledException = exports.InvalidRequestException = void 0;
|
|
4
|
+
const XRayServiceException_1 = require("./XRayServiceException");
|
|
5
|
+
class InvalidRequestException extends XRayServiceException_1.XRayServiceException {
|
|
6
|
+
name = "InvalidRequestException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "InvalidRequestException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
20
|
+
class ThrottledException extends XRayServiceException_1.XRayServiceException {
|
|
21
|
+
name = "ThrottledException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ThrottledException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ThrottledException = ThrottledException;
|
|
35
|
+
class ResourceNotFoundException extends XRayServiceException_1.XRayServiceException {
|
|
36
|
+
name = "ResourceNotFoundException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
ResourceName;
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "ResourceNotFoundException",
|
|
43
|
+
$fault: "client",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
this.ResourceName = opts.ResourceName;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
52
|
+
class RuleLimitExceededException extends XRayServiceException_1.XRayServiceException {
|
|
53
|
+
name = "RuleLimitExceededException";
|
|
54
|
+
$fault = "client";
|
|
55
|
+
Message;
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "RuleLimitExceededException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
Object.setPrototypeOf(this, RuleLimitExceededException.prototype);
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.RuleLimitExceededException = RuleLimitExceededException;
|
|
67
|
+
class InvalidPolicyRevisionIdException extends XRayServiceException_1.XRayServiceException {
|
|
68
|
+
name = "InvalidPolicyRevisionIdException";
|
|
69
|
+
$fault = "client";
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "InvalidPolicyRevisionIdException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
|
|
78
|
+
this.Message = opts.Message;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.InvalidPolicyRevisionIdException = InvalidPolicyRevisionIdException;
|
|
82
|
+
class LockoutPreventionException extends XRayServiceException_1.XRayServiceException {
|
|
83
|
+
name = "LockoutPreventionException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
Message;
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "LockoutPreventionException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, LockoutPreventionException.prototype);
|
|
93
|
+
this.Message = opts.Message;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.LockoutPreventionException = LockoutPreventionException;
|
|
97
|
+
class MalformedPolicyDocumentException extends XRayServiceException_1.XRayServiceException {
|
|
98
|
+
name = "MalformedPolicyDocumentException";
|
|
99
|
+
$fault = "client";
|
|
100
|
+
Message;
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "MalformedPolicyDocumentException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
108
|
+
this.Message = opts.Message;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
112
|
+
class PolicyCountLimitExceededException extends XRayServiceException_1.XRayServiceException {
|
|
113
|
+
name = "PolicyCountLimitExceededException";
|
|
114
|
+
$fault = "client";
|
|
115
|
+
Message;
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "PolicyCountLimitExceededException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
Object.setPrototypeOf(this, PolicyCountLimitExceededException.prototype);
|
|
123
|
+
this.Message = opts.Message;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.PolicyCountLimitExceededException = PolicyCountLimitExceededException;
|
|
127
|
+
class PolicySizeLimitExceededException extends XRayServiceException_1.XRayServiceException {
|
|
128
|
+
name = "PolicySizeLimitExceededException";
|
|
129
|
+
$fault = "client";
|
|
130
|
+
Message;
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "PolicySizeLimitExceededException",
|
|
134
|
+
$fault: "client",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
Object.setPrototypeOf(this, PolicySizeLimitExceededException.prototype);
|
|
138
|
+
this.Message = opts.Message;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.PolicySizeLimitExceededException = PolicySizeLimitExceededException;
|
|
142
|
+
class TooManyTagsException extends XRayServiceException_1.XRayServiceException {
|
|
143
|
+
name = "TooManyTagsException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
Message;
|
|
146
|
+
ResourceName;
|
|
147
|
+
constructor(opts) {
|
|
148
|
+
super({
|
|
149
|
+
name: "TooManyTagsException",
|
|
150
|
+
$fault: "client",
|
|
151
|
+
...opts,
|
|
152
|
+
});
|
|
153
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
154
|
+
this.Message = opts.Message;
|
|
155
|
+
this.ResourceName = opts.ResourceName;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2016-04-12",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.xray",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2016-04-12",
|
|
33
35
|
serviceTarget: "AWSXRay",
|
|
34
36
|
},
|