@aws-sdk/client-xray 3.934.0 → 3.935.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 +45 -44
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +44 -0
- package/dist-es/models/errors.js +145 -0
- package/dist-es/models/models_0.js +1 -189
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +124 -0
- package/dist-types/models/errors.d.ts +136 -0
- package/dist-types/models/models_0.d.ts +1 -260
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +62 -0
- package/dist-types/ts3.4/models/errors.d.ts +94 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -156
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -189,50 +189,6 @@ let InvalidPolicyRevisionIdException$1 = class InvalidPolicyRevisionIdException
|
|
|
189
189
|
this.Message = opts.Message;
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
|
-
const EncryptionStatus = {
|
|
193
|
-
ACTIVE: "ACTIVE",
|
|
194
|
-
UPDATING: "UPDATING",
|
|
195
|
-
};
|
|
196
|
-
const EncryptionType = {
|
|
197
|
-
KMS: "KMS",
|
|
198
|
-
NONE: "NONE",
|
|
199
|
-
};
|
|
200
|
-
const InsightCategory = {
|
|
201
|
-
FAULT: "FAULT",
|
|
202
|
-
};
|
|
203
|
-
const InsightState = {
|
|
204
|
-
ACTIVE: "ACTIVE",
|
|
205
|
-
CLOSED: "CLOSED",
|
|
206
|
-
};
|
|
207
|
-
const RetrievalStatus = {
|
|
208
|
-
CANCELLED: "CANCELLED",
|
|
209
|
-
COMPLETE: "COMPLETE",
|
|
210
|
-
FAILED: "FAILED",
|
|
211
|
-
RUNNING: "RUNNING",
|
|
212
|
-
SCHEDULED: "SCHEDULED",
|
|
213
|
-
TIMEOUT: "TIMEOUT",
|
|
214
|
-
};
|
|
215
|
-
const TraceSegmentDestination = {
|
|
216
|
-
CloudWatchLogs: "CloudWatchLogs",
|
|
217
|
-
XRay: "XRay",
|
|
218
|
-
};
|
|
219
|
-
const TraceSegmentDestinationStatus = {
|
|
220
|
-
ACTIVE: "ACTIVE",
|
|
221
|
-
PENDING: "PENDING",
|
|
222
|
-
};
|
|
223
|
-
const SamplingStrategyName = {
|
|
224
|
-
FixedRate: "FixedRate",
|
|
225
|
-
PartialScan: "PartialScan",
|
|
226
|
-
};
|
|
227
|
-
const TimeRangeType = {
|
|
228
|
-
Event: "Event",
|
|
229
|
-
Service: "Service",
|
|
230
|
-
TraceId: "TraceId",
|
|
231
|
-
};
|
|
232
|
-
const TraceFormatType = {
|
|
233
|
-
OTEL: "OTEL",
|
|
234
|
-
XRAY: "XRAY",
|
|
235
|
-
};
|
|
236
192
|
let LockoutPreventionException$1 = class LockoutPreventionException extends XRayServiceException$1 {
|
|
237
193
|
name = "LockoutPreventionException";
|
|
238
194
|
$fault = "client";
|
|
@@ -2371,6 +2327,51 @@ const paginateListResourcePolicies = core.createPaginator(XRayClient, ListResour
|
|
|
2371
2327
|
|
|
2372
2328
|
const paginateListTagsForResource = core.createPaginator(XRayClient, ListTagsForResourceCommand, "NextToken", "NextToken", "");
|
|
2373
2329
|
|
|
2330
|
+
const EncryptionStatus = {
|
|
2331
|
+
ACTIVE: "ACTIVE",
|
|
2332
|
+
UPDATING: "UPDATING",
|
|
2333
|
+
};
|
|
2334
|
+
const EncryptionType = {
|
|
2335
|
+
KMS: "KMS",
|
|
2336
|
+
NONE: "NONE",
|
|
2337
|
+
};
|
|
2338
|
+
const InsightCategory = {
|
|
2339
|
+
FAULT: "FAULT",
|
|
2340
|
+
};
|
|
2341
|
+
const InsightState = {
|
|
2342
|
+
ACTIVE: "ACTIVE",
|
|
2343
|
+
CLOSED: "CLOSED",
|
|
2344
|
+
};
|
|
2345
|
+
const RetrievalStatus = {
|
|
2346
|
+
CANCELLED: "CANCELLED",
|
|
2347
|
+
COMPLETE: "COMPLETE",
|
|
2348
|
+
FAILED: "FAILED",
|
|
2349
|
+
RUNNING: "RUNNING",
|
|
2350
|
+
SCHEDULED: "SCHEDULED",
|
|
2351
|
+
TIMEOUT: "TIMEOUT",
|
|
2352
|
+
};
|
|
2353
|
+
const TraceSegmentDestination = {
|
|
2354
|
+
CloudWatchLogs: "CloudWatchLogs",
|
|
2355
|
+
XRay: "XRay",
|
|
2356
|
+
};
|
|
2357
|
+
const TraceSegmentDestinationStatus = {
|
|
2358
|
+
ACTIVE: "ACTIVE",
|
|
2359
|
+
PENDING: "PENDING",
|
|
2360
|
+
};
|
|
2361
|
+
const SamplingStrategyName = {
|
|
2362
|
+
FixedRate: "FixedRate",
|
|
2363
|
+
PartialScan: "PartialScan",
|
|
2364
|
+
};
|
|
2365
|
+
const TimeRangeType = {
|
|
2366
|
+
Event: "Event",
|
|
2367
|
+
Service: "Service",
|
|
2368
|
+
TraceId: "TraceId",
|
|
2369
|
+
};
|
|
2370
|
+
const TraceFormatType = {
|
|
2371
|
+
OTEL: "OTEL",
|
|
2372
|
+
XRAY: "XRAY",
|
|
2373
|
+
};
|
|
2374
|
+
|
|
2374
2375
|
Object.defineProperty(exports, "$Command", {
|
|
2375
2376
|
enumerable: true,
|
|
2376
2377
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./XRayClient";
|
|
|
2
2
|
export * from "./XRay";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { XRayServiceException } from "./models/XRayServiceException";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const EncryptionStatus = {
|
|
2
|
+
ACTIVE: "ACTIVE",
|
|
3
|
+
UPDATING: "UPDATING",
|
|
4
|
+
};
|
|
5
|
+
export const EncryptionType = {
|
|
6
|
+
KMS: "KMS",
|
|
7
|
+
NONE: "NONE",
|
|
8
|
+
};
|
|
9
|
+
export const InsightCategory = {
|
|
10
|
+
FAULT: "FAULT",
|
|
11
|
+
};
|
|
12
|
+
export const InsightState = {
|
|
13
|
+
ACTIVE: "ACTIVE",
|
|
14
|
+
CLOSED: "CLOSED",
|
|
15
|
+
};
|
|
16
|
+
export const RetrievalStatus = {
|
|
17
|
+
CANCELLED: "CANCELLED",
|
|
18
|
+
COMPLETE: "COMPLETE",
|
|
19
|
+
FAILED: "FAILED",
|
|
20
|
+
RUNNING: "RUNNING",
|
|
21
|
+
SCHEDULED: "SCHEDULED",
|
|
22
|
+
TIMEOUT: "TIMEOUT",
|
|
23
|
+
};
|
|
24
|
+
export const TraceSegmentDestination = {
|
|
25
|
+
CloudWatchLogs: "CloudWatchLogs",
|
|
26
|
+
XRay: "XRay",
|
|
27
|
+
};
|
|
28
|
+
export const TraceSegmentDestinationStatus = {
|
|
29
|
+
ACTIVE: "ACTIVE",
|
|
30
|
+
PENDING: "PENDING",
|
|
31
|
+
};
|
|
32
|
+
export const SamplingStrategyName = {
|
|
33
|
+
FixedRate: "FixedRate",
|
|
34
|
+
PartialScan: "PartialScan",
|
|
35
|
+
};
|
|
36
|
+
export const TimeRangeType = {
|
|
37
|
+
Event: "Event",
|
|
38
|
+
Service: "Service",
|
|
39
|
+
TraceId: "TraceId",
|
|
40
|
+
};
|
|
41
|
+
export const TraceFormatType = {
|
|
42
|
+
OTEL: "OTEL",
|
|
43
|
+
XRAY: "XRAY",
|
|
44
|
+
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { XRayServiceException as __BaseException } from "./XRayServiceException";
|
|
2
|
+
export class InvalidRequestException extends __BaseException {
|
|
3
|
+
name = "InvalidRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "InvalidRequestException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ThrottledException extends __BaseException {
|
|
17
|
+
name = "ThrottledException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ThrottledException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
name = "ResourceNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
ResourceName;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "ResourceNotFoundException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
42
|
+
this.Message = opts.Message;
|
|
43
|
+
this.ResourceName = opts.ResourceName;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
export class RuleLimitExceededException extends __BaseException {
|
|
47
|
+
name = "RuleLimitExceededException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
Message;
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "RuleLimitExceededException",
|
|
53
|
+
$fault: "client",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, RuleLimitExceededException.prototype);
|
|
57
|
+
this.Message = opts.Message;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export class InvalidPolicyRevisionIdException extends __BaseException {
|
|
61
|
+
name = "InvalidPolicyRevisionIdException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
Message;
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "InvalidPolicyRevisionIdException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
|
|
71
|
+
this.Message = opts.Message;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class LockoutPreventionException extends __BaseException {
|
|
75
|
+
name = "LockoutPreventionException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
Message;
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "LockoutPreventionException",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
Object.setPrototypeOf(this, LockoutPreventionException.prototype);
|
|
85
|
+
this.Message = opts.Message;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export class MalformedPolicyDocumentException extends __BaseException {
|
|
89
|
+
name = "MalformedPolicyDocumentException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
Message;
|
|
92
|
+
constructor(opts) {
|
|
93
|
+
super({
|
|
94
|
+
name: "MalformedPolicyDocumentException",
|
|
95
|
+
$fault: "client",
|
|
96
|
+
...opts,
|
|
97
|
+
});
|
|
98
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
99
|
+
this.Message = opts.Message;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class PolicyCountLimitExceededException extends __BaseException {
|
|
103
|
+
name = "PolicyCountLimitExceededException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
Message;
|
|
106
|
+
constructor(opts) {
|
|
107
|
+
super({
|
|
108
|
+
name: "PolicyCountLimitExceededException",
|
|
109
|
+
$fault: "client",
|
|
110
|
+
...opts,
|
|
111
|
+
});
|
|
112
|
+
Object.setPrototypeOf(this, PolicyCountLimitExceededException.prototype);
|
|
113
|
+
this.Message = opts.Message;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export class PolicySizeLimitExceededException extends __BaseException {
|
|
117
|
+
name = "PolicySizeLimitExceededException";
|
|
118
|
+
$fault = "client";
|
|
119
|
+
Message;
|
|
120
|
+
constructor(opts) {
|
|
121
|
+
super({
|
|
122
|
+
name: "PolicySizeLimitExceededException",
|
|
123
|
+
$fault: "client",
|
|
124
|
+
...opts,
|
|
125
|
+
});
|
|
126
|
+
Object.setPrototypeOf(this, PolicySizeLimitExceededException.prototype);
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class TooManyTagsException extends __BaseException {
|
|
131
|
+
name = "TooManyTagsException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Message;
|
|
134
|
+
ResourceName;
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "TooManyTagsException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
142
|
+
this.Message = opts.Message;
|
|
143
|
+
this.ResourceName = opts.ResourceName;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -1,189 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class InvalidRequestException extends __BaseException {
|
|
3
|
-
name = "InvalidRequestException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "InvalidRequestException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class ThrottledException extends __BaseException {
|
|
17
|
-
name = "ThrottledException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ThrottledException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
31
|
-
name = "ResourceNotFoundException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
ResourceName;
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "ResourceNotFoundException",
|
|
38
|
-
$fault: "client",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
42
|
-
this.Message = opts.Message;
|
|
43
|
-
this.ResourceName = opts.ResourceName;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
export class RuleLimitExceededException extends __BaseException {
|
|
47
|
-
name = "RuleLimitExceededException";
|
|
48
|
-
$fault = "client";
|
|
49
|
-
Message;
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "RuleLimitExceededException",
|
|
53
|
-
$fault: "client",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
Object.setPrototypeOf(this, RuleLimitExceededException.prototype);
|
|
57
|
-
this.Message = opts.Message;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export class InvalidPolicyRevisionIdException extends __BaseException {
|
|
61
|
-
name = "InvalidPolicyRevisionIdException";
|
|
62
|
-
$fault = "client";
|
|
63
|
-
Message;
|
|
64
|
-
constructor(opts) {
|
|
65
|
-
super({
|
|
66
|
-
name: "InvalidPolicyRevisionIdException",
|
|
67
|
-
$fault: "client",
|
|
68
|
-
...opts,
|
|
69
|
-
});
|
|
70
|
-
Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
|
|
71
|
-
this.Message = opts.Message;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export const EncryptionStatus = {
|
|
75
|
-
ACTIVE: "ACTIVE",
|
|
76
|
-
UPDATING: "UPDATING",
|
|
77
|
-
};
|
|
78
|
-
export const EncryptionType = {
|
|
79
|
-
KMS: "KMS",
|
|
80
|
-
NONE: "NONE",
|
|
81
|
-
};
|
|
82
|
-
export const InsightCategory = {
|
|
83
|
-
FAULT: "FAULT",
|
|
84
|
-
};
|
|
85
|
-
export const InsightState = {
|
|
86
|
-
ACTIVE: "ACTIVE",
|
|
87
|
-
CLOSED: "CLOSED",
|
|
88
|
-
};
|
|
89
|
-
export const RetrievalStatus = {
|
|
90
|
-
CANCELLED: "CANCELLED",
|
|
91
|
-
COMPLETE: "COMPLETE",
|
|
92
|
-
FAILED: "FAILED",
|
|
93
|
-
RUNNING: "RUNNING",
|
|
94
|
-
SCHEDULED: "SCHEDULED",
|
|
95
|
-
TIMEOUT: "TIMEOUT",
|
|
96
|
-
};
|
|
97
|
-
export const TraceSegmentDestination = {
|
|
98
|
-
CloudWatchLogs: "CloudWatchLogs",
|
|
99
|
-
XRay: "XRay",
|
|
100
|
-
};
|
|
101
|
-
export const TraceSegmentDestinationStatus = {
|
|
102
|
-
ACTIVE: "ACTIVE",
|
|
103
|
-
PENDING: "PENDING",
|
|
104
|
-
};
|
|
105
|
-
export const SamplingStrategyName = {
|
|
106
|
-
FixedRate: "FixedRate",
|
|
107
|
-
PartialScan: "PartialScan",
|
|
108
|
-
};
|
|
109
|
-
export const TimeRangeType = {
|
|
110
|
-
Event: "Event",
|
|
111
|
-
Service: "Service",
|
|
112
|
-
TraceId: "TraceId",
|
|
113
|
-
};
|
|
114
|
-
export const TraceFormatType = {
|
|
115
|
-
OTEL: "OTEL",
|
|
116
|
-
XRAY: "XRAY",
|
|
117
|
-
};
|
|
118
|
-
export class LockoutPreventionException extends __BaseException {
|
|
119
|
-
name = "LockoutPreventionException";
|
|
120
|
-
$fault = "client";
|
|
121
|
-
Message;
|
|
122
|
-
constructor(opts) {
|
|
123
|
-
super({
|
|
124
|
-
name: "LockoutPreventionException",
|
|
125
|
-
$fault: "client",
|
|
126
|
-
...opts,
|
|
127
|
-
});
|
|
128
|
-
Object.setPrototypeOf(this, LockoutPreventionException.prototype);
|
|
129
|
-
this.Message = opts.Message;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export class MalformedPolicyDocumentException extends __BaseException {
|
|
133
|
-
name = "MalformedPolicyDocumentException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
Message;
|
|
136
|
-
constructor(opts) {
|
|
137
|
-
super({
|
|
138
|
-
name: "MalformedPolicyDocumentException",
|
|
139
|
-
$fault: "client",
|
|
140
|
-
...opts,
|
|
141
|
-
});
|
|
142
|
-
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
143
|
-
this.Message = opts.Message;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
export class PolicyCountLimitExceededException extends __BaseException {
|
|
147
|
-
name = "PolicyCountLimitExceededException";
|
|
148
|
-
$fault = "client";
|
|
149
|
-
Message;
|
|
150
|
-
constructor(opts) {
|
|
151
|
-
super({
|
|
152
|
-
name: "PolicyCountLimitExceededException",
|
|
153
|
-
$fault: "client",
|
|
154
|
-
...opts,
|
|
155
|
-
});
|
|
156
|
-
Object.setPrototypeOf(this, PolicyCountLimitExceededException.prototype);
|
|
157
|
-
this.Message = opts.Message;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
export class PolicySizeLimitExceededException extends __BaseException {
|
|
161
|
-
name = "PolicySizeLimitExceededException";
|
|
162
|
-
$fault = "client";
|
|
163
|
-
Message;
|
|
164
|
-
constructor(opts) {
|
|
165
|
-
super({
|
|
166
|
-
name: "PolicySizeLimitExceededException",
|
|
167
|
-
$fault: "client",
|
|
168
|
-
...opts,
|
|
169
|
-
});
|
|
170
|
-
Object.setPrototypeOf(this, PolicySizeLimitExceededException.prototype);
|
|
171
|
-
this.Message = opts.Message;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
export class TooManyTagsException extends __BaseException {
|
|
175
|
-
name = "TooManyTagsException";
|
|
176
|
-
$fault = "client";
|
|
177
|
-
Message;
|
|
178
|
-
ResourceName;
|
|
179
|
-
constructor(opts) {
|
|
180
|
-
super({
|
|
181
|
-
name: "TooManyTagsException",
|
|
182
|
-
$fault: "client",
|
|
183
|
-
...opts,
|
|
184
|
-
});
|
|
185
|
-
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
186
|
-
this.Message = opts.Message;
|
|
187
|
-
this.ResourceName = opts.ResourceName;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
1
|
+
export {};
|
|
@@ -416,7 +416,7 @@ const _hE = "httpError";
|
|
|
416
416
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.xray";
|
|
417
417
|
const n0 = "com.amazonaws.xray";
|
|
418
418
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
419
|
-
import { InvalidPolicyRevisionIdException as __InvalidPolicyRevisionIdException, InvalidRequestException as __InvalidRequestException, LockoutPreventionException as __LockoutPreventionException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PolicyCountLimitExceededException as __PolicyCountLimitExceededException, PolicySizeLimitExceededException as __PolicySizeLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, RuleLimitExceededException as __RuleLimitExceededException, ThrottledException as __ThrottledException, TooManyTagsException as __TooManyTagsException, } from "../models/
|
|
419
|
+
import { InvalidPolicyRevisionIdException as __InvalidPolicyRevisionIdException, InvalidRequestException as __InvalidRequestException, LockoutPreventionException as __LockoutPreventionException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PolicyCountLimitExceededException as __PolicyCountLimitExceededException, PolicySizeLimitExceededException as __PolicySizeLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, RuleLimitExceededException as __RuleLimitExceededException, ThrottledException as __ThrottledException, TooManyTagsException as __TooManyTagsException, } from "../models/errors";
|
|
420
420
|
import { XRayServiceException as __XRayServiceException } from "../models/XRayServiceException";
|
|
421
421
|
export var Alias = [3, n0, _A, 0, [_N, _Na, _T], [0, 64 | 0, 0]];
|
|
422
422
|
export var AnomalousService = [3, n0, _AS, 0, [_SI], [() => ServiceId]];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
11
11
|
export type { XRayExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { XRayServiceException } from "./models/XRayServiceException";
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const EncryptionStatus: {
|
|
6
|
+
readonly ACTIVE: "ACTIVE";
|
|
7
|
+
readonly UPDATING: "UPDATING";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type EncryptionStatus = (typeof EncryptionStatus)[keyof typeof EncryptionStatus];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const EncryptionType: {
|
|
18
|
+
readonly KMS: "KMS";
|
|
19
|
+
readonly NONE: "NONE";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const InsightCategory: {
|
|
30
|
+
readonly FAULT: "FAULT";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type InsightCategory = (typeof InsightCategory)[keyof typeof InsightCategory];
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* @enum
|
|
39
|
+
*/
|
|
40
|
+
export declare const InsightState: {
|
|
41
|
+
readonly ACTIVE: "ACTIVE";
|
|
42
|
+
readonly CLOSED: "CLOSED";
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type InsightState = (typeof InsightState)[keyof typeof InsightState];
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* @enum
|
|
51
|
+
*/
|
|
52
|
+
export declare const RetrievalStatus: {
|
|
53
|
+
readonly CANCELLED: "CANCELLED";
|
|
54
|
+
readonly COMPLETE: "COMPLETE";
|
|
55
|
+
readonly FAILED: "FAILED";
|
|
56
|
+
readonly RUNNING: "RUNNING";
|
|
57
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
58
|
+
readonly TIMEOUT: "TIMEOUT";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type RetrievalStatus = (typeof RetrievalStatus)[keyof typeof RetrievalStatus];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const TraceSegmentDestination: {
|
|
69
|
+
readonly CloudWatchLogs: "CloudWatchLogs";
|
|
70
|
+
readonly XRay: "XRay";
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export type TraceSegmentDestination = (typeof TraceSegmentDestination)[keyof typeof TraceSegmentDestination];
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* @enum
|
|
79
|
+
*/
|
|
80
|
+
export declare const TraceSegmentDestinationStatus: {
|
|
81
|
+
readonly ACTIVE: "ACTIVE";
|
|
82
|
+
readonly PENDING: "PENDING";
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export type TraceSegmentDestinationStatus = (typeof TraceSegmentDestinationStatus)[keyof typeof TraceSegmentDestinationStatus];
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* @enum
|
|
91
|
+
*/
|
|
92
|
+
export declare const SamplingStrategyName: {
|
|
93
|
+
readonly FixedRate: "FixedRate";
|
|
94
|
+
readonly PartialScan: "PartialScan";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type SamplingStrategyName = (typeof SamplingStrategyName)[keyof typeof SamplingStrategyName];
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @enum
|
|
103
|
+
*/
|
|
104
|
+
export declare const TimeRangeType: {
|
|
105
|
+
readonly Event: "Event";
|
|
106
|
+
readonly Service: "Service";
|
|
107
|
+
readonly TraceId: "TraceId";
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export type TimeRangeType = (typeof TimeRangeType)[keyof typeof TimeRangeType];
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const TraceFormatType: {
|
|
118
|
+
readonly OTEL: "OTEL";
|
|
119
|
+
readonly XRAY: "XRAY";
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export type TraceFormatType = (typeof TraceFormatType)[keyof typeof TraceFormatType];
|