@aws-sdk/client-xray 3.934.0 → 3.936.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 +19 -19
- 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
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { XRayServiceException as __BaseException } from "./XRayServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The request is missing required parameters or has invalid parameters.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
8
|
+
readonly name: "InvalidRequestException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The request exceeds the maximum number of requests per second.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ThrottledException extends __BaseException {
|
|
21
|
+
readonly name: "ThrottledException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
Message?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is
|
|
31
|
+
* correct.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
35
|
+
readonly name: "ResourceNotFoundException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
ResourceName?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* <p>You have reached the maximum number of sampling rules.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class RuleLimitExceededException extends __BaseException {
|
|
49
|
+
readonly name: "RuleLimitExceededException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
Message?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<RuleLimitExceededException, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>A policy revision id was provided which does not match the latest policy revision. This exception is also
|
|
59
|
+
* if a policy revision id of 0 is provided via <code>PutResourcePolicy</code> and a policy with the same name already exists.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
63
|
+
readonly name: "InvalidPolicyRevisionIdException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
Message?: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
constructor(opts: __ExceptionOptionType<InvalidPolicyRevisionIdException, __BaseException>);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* <p>The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class LockoutPreventionException extends __BaseException {
|
|
76
|
+
readonly name: "LockoutPreventionException";
|
|
77
|
+
readonly $fault: "client";
|
|
78
|
+
Message?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
constructor(opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* <p>Invalid policy document provided in request.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
89
|
+
readonly name: "MalformedPolicyDocumentException";
|
|
90
|
+
readonly $fault: "client";
|
|
91
|
+
Message?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* <p>Exceeded the maximum number of resource policies for a target Amazon Web Services account.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class PolicyCountLimitExceededException extends __BaseException {
|
|
102
|
+
readonly name: "PolicyCountLimitExceededException";
|
|
103
|
+
readonly $fault: "client";
|
|
104
|
+
Message?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
constructor(opts: __ExceptionOptionType<PolicyCountLimitExceededException, __BaseException>);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>Exceeded the maximum size for a resource policy.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
115
|
+
readonly name: "PolicySizeLimitExceededException";
|
|
116
|
+
readonly $fault: "client";
|
|
117
|
+
Message?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
constructor(opts: __ExceptionOptionType<PolicySizeLimitExceededException, __BaseException>);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <p>You have exceeded the maximum number of tags you can apply to this resource.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
128
|
+
readonly name: "TooManyTagsException";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
Message?: string | undefined;
|
|
131
|
+
ResourceName?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
136
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { XRayServiceException as __BaseException } from "./XRayServiceException";
|
|
1
|
+
import { EncryptionStatus, EncryptionType, InsightCategory, InsightState, RetrievalStatus, SamplingStrategyName, TimeRangeType, TraceFormatType, TraceSegmentDestination, TraceSegmentDestinationStatus } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>An alias for an edge.</p>
|
|
5
4
|
* @public
|
|
@@ -228,32 +227,6 @@ export interface BatchGetTracesResult {
|
|
|
228
227
|
*/
|
|
229
228
|
NextToken?: string | undefined;
|
|
230
229
|
}
|
|
231
|
-
/**
|
|
232
|
-
* <p>The request is missing required parameters or has invalid parameters.</p>
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
236
|
-
readonly name: "InvalidRequestException";
|
|
237
|
-
readonly $fault: "client";
|
|
238
|
-
Message?: string | undefined;
|
|
239
|
-
/**
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* <p>The request exceeds the maximum number of requests per second.</p>
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
export declare class ThrottledException extends __BaseException {
|
|
249
|
-
readonly name: "ThrottledException";
|
|
250
|
-
readonly $fault: "client";
|
|
251
|
-
Message?: string | undefined;
|
|
252
|
-
/**
|
|
253
|
-
* @internal
|
|
254
|
-
*/
|
|
255
|
-
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
256
|
-
}
|
|
257
230
|
/**
|
|
258
231
|
* @public
|
|
259
232
|
*/
|
|
@@ -271,21 +244,6 @@ export interface CancelTraceRetrievalRequest {
|
|
|
271
244
|
*/
|
|
272
245
|
export interface CancelTraceRetrievalResult {
|
|
273
246
|
}
|
|
274
|
-
/**
|
|
275
|
-
* <p>The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is
|
|
276
|
-
* correct.</p>
|
|
277
|
-
* @public
|
|
278
|
-
*/
|
|
279
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
280
|
-
readonly name: "ResourceNotFoundException";
|
|
281
|
-
readonly $fault: "client";
|
|
282
|
-
Message?: string | undefined;
|
|
283
|
-
ResourceName?: string | undefined;
|
|
284
|
-
/**
|
|
285
|
-
* @internal
|
|
286
|
-
*/
|
|
287
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
288
|
-
}
|
|
289
247
|
/**
|
|
290
248
|
* <p>The structure containing configurations related to insights.</p>
|
|
291
249
|
* @public
|
|
@@ -621,19 +579,6 @@ export interface CreateSamplingRuleResult {
|
|
|
621
579
|
*/
|
|
622
580
|
SamplingRuleRecord?: SamplingRuleRecord | undefined;
|
|
623
581
|
}
|
|
624
|
-
/**
|
|
625
|
-
* <p>You have reached the maximum number of sampling rules.</p>
|
|
626
|
-
* @public
|
|
627
|
-
*/
|
|
628
|
-
export declare class RuleLimitExceededException extends __BaseException {
|
|
629
|
-
readonly name: "RuleLimitExceededException";
|
|
630
|
-
readonly $fault: "client";
|
|
631
|
-
Message?: string | undefined;
|
|
632
|
-
/**
|
|
633
|
-
* @internal
|
|
634
|
-
*/
|
|
635
|
-
constructor(opts: __ExceptionOptionType<RuleLimitExceededException, __BaseException>);
|
|
636
|
-
}
|
|
637
582
|
/**
|
|
638
583
|
* @public
|
|
639
584
|
*/
|
|
@@ -676,20 +621,6 @@ export interface DeleteResourcePolicyRequest {
|
|
|
676
621
|
*/
|
|
677
622
|
export interface DeleteResourcePolicyResult {
|
|
678
623
|
}
|
|
679
|
-
/**
|
|
680
|
-
* <p>A policy revision id was provided which does not match the latest policy revision. This exception is also
|
|
681
|
-
* if a policy revision id of 0 is provided via <code>PutResourcePolicy</code> and a policy with the same name already exists.</p>
|
|
682
|
-
* @public
|
|
683
|
-
*/
|
|
684
|
-
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
685
|
-
readonly name: "InvalidPolicyRevisionIdException";
|
|
686
|
-
readonly $fault: "client";
|
|
687
|
-
Message?: string | undefined;
|
|
688
|
-
/**
|
|
689
|
-
* @internal
|
|
690
|
-
*/
|
|
691
|
-
constructor(opts: __ExceptionOptionType<InvalidPolicyRevisionIdException, __BaseException>);
|
|
692
|
-
}
|
|
693
624
|
/**
|
|
694
625
|
* @public
|
|
695
626
|
*/
|
|
@@ -720,30 +651,6 @@ export interface DeleteSamplingRuleResult {
|
|
|
720
651
|
*/
|
|
721
652
|
export interface GetEncryptionConfigRequest {
|
|
722
653
|
}
|
|
723
|
-
/**
|
|
724
|
-
* @public
|
|
725
|
-
* @enum
|
|
726
|
-
*/
|
|
727
|
-
export declare const EncryptionStatus: {
|
|
728
|
-
readonly ACTIVE: "ACTIVE";
|
|
729
|
-
readonly UPDATING: "UPDATING";
|
|
730
|
-
};
|
|
731
|
-
/**
|
|
732
|
-
* @public
|
|
733
|
-
*/
|
|
734
|
-
export type EncryptionStatus = (typeof EncryptionStatus)[keyof typeof EncryptionStatus];
|
|
735
|
-
/**
|
|
736
|
-
* @public
|
|
737
|
-
* @enum
|
|
738
|
-
*/
|
|
739
|
-
export declare const EncryptionType: {
|
|
740
|
-
readonly KMS: "KMS";
|
|
741
|
-
readonly NONE: "NONE";
|
|
742
|
-
};
|
|
743
|
-
/**
|
|
744
|
-
* @public
|
|
745
|
-
*/
|
|
746
|
-
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
747
654
|
/**
|
|
748
655
|
* <p>A configuration document that specifies encryption configuration settings.</p>
|
|
749
656
|
* @public
|
|
@@ -993,17 +900,6 @@ export interface GetInsightRequest {
|
|
|
993
900
|
*/
|
|
994
901
|
InsightId: string | undefined;
|
|
995
902
|
}
|
|
996
|
-
/**
|
|
997
|
-
* @public
|
|
998
|
-
* @enum
|
|
999
|
-
*/
|
|
1000
|
-
export declare const InsightCategory: {
|
|
1001
|
-
readonly FAULT: "FAULT";
|
|
1002
|
-
};
|
|
1003
|
-
/**
|
|
1004
|
-
* @public
|
|
1005
|
-
*/
|
|
1006
|
-
export type InsightCategory = (typeof InsightCategory)[keyof typeof InsightCategory];
|
|
1007
903
|
/**
|
|
1008
904
|
* <p>Statistics that describe how the incident has impacted a service.</p>
|
|
1009
905
|
* @public
|
|
@@ -1025,18 +921,6 @@ export interface RequestImpactStatistics {
|
|
|
1025
921
|
*/
|
|
1026
922
|
TotalCount?: number | undefined;
|
|
1027
923
|
}
|
|
1028
|
-
/**
|
|
1029
|
-
* @public
|
|
1030
|
-
* @enum
|
|
1031
|
-
*/
|
|
1032
|
-
export declare const InsightState: {
|
|
1033
|
-
readonly ACTIVE: "ACTIVE";
|
|
1034
|
-
readonly CLOSED: "CLOSED";
|
|
1035
|
-
};
|
|
1036
|
-
/**
|
|
1037
|
-
* @public
|
|
1038
|
-
*/
|
|
1039
|
-
export type InsightState = (typeof InsightState)[keyof typeof InsightState];
|
|
1040
924
|
/**
|
|
1041
925
|
* <p>When fault rates go outside of the expected range, X-Ray creates an insight. Insights
|
|
1042
926
|
* tracks emergent issues within your applications.</p>
|
|
@@ -1471,22 +1355,6 @@ export interface GetRetrievedTracesGraphRequest {
|
|
|
1471
1355
|
*/
|
|
1472
1356
|
NextToken?: string | undefined;
|
|
1473
1357
|
}
|
|
1474
|
-
/**
|
|
1475
|
-
* @public
|
|
1476
|
-
* @enum
|
|
1477
|
-
*/
|
|
1478
|
-
export declare const RetrievalStatus: {
|
|
1479
|
-
readonly CANCELLED: "CANCELLED";
|
|
1480
|
-
readonly COMPLETE: "COMPLETE";
|
|
1481
|
-
readonly FAILED: "FAILED";
|
|
1482
|
-
readonly RUNNING: "RUNNING";
|
|
1483
|
-
readonly SCHEDULED: "SCHEDULED";
|
|
1484
|
-
readonly TIMEOUT: "TIMEOUT";
|
|
1485
|
-
};
|
|
1486
|
-
/**
|
|
1487
|
-
* @public
|
|
1488
|
-
*/
|
|
1489
|
-
export type RetrievalStatus = (typeof RetrievalStatus)[keyof typeof RetrievalStatus];
|
|
1490
1358
|
/**
|
|
1491
1359
|
* <p>
|
|
1492
1360
|
* The relation between two services.
|
|
@@ -2322,30 +2190,6 @@ export interface GetTraceGraphResult {
|
|
|
2322
2190
|
*/
|
|
2323
2191
|
export interface GetTraceSegmentDestinationRequest {
|
|
2324
2192
|
}
|
|
2325
|
-
/**
|
|
2326
|
-
* @public
|
|
2327
|
-
* @enum
|
|
2328
|
-
*/
|
|
2329
|
-
export declare const TraceSegmentDestination: {
|
|
2330
|
-
readonly CloudWatchLogs: "CloudWatchLogs";
|
|
2331
|
-
readonly XRay: "XRay";
|
|
2332
|
-
};
|
|
2333
|
-
/**
|
|
2334
|
-
* @public
|
|
2335
|
-
*/
|
|
2336
|
-
export type TraceSegmentDestination = (typeof TraceSegmentDestination)[keyof typeof TraceSegmentDestination];
|
|
2337
|
-
/**
|
|
2338
|
-
* @public
|
|
2339
|
-
* @enum
|
|
2340
|
-
*/
|
|
2341
|
-
export declare const TraceSegmentDestinationStatus: {
|
|
2342
|
-
readonly ACTIVE: "ACTIVE";
|
|
2343
|
-
readonly PENDING: "PENDING";
|
|
2344
|
-
};
|
|
2345
|
-
/**
|
|
2346
|
-
* @public
|
|
2347
|
-
*/
|
|
2348
|
-
export type TraceSegmentDestinationStatus = (typeof TraceSegmentDestinationStatus)[keyof typeof TraceSegmentDestinationStatus];
|
|
2349
2193
|
/**
|
|
2350
2194
|
* @public
|
|
2351
2195
|
*/
|
|
@@ -2365,18 +2209,6 @@ export interface GetTraceSegmentDestinationResult {
|
|
|
2365
2209
|
*/
|
|
2366
2210
|
Status?: TraceSegmentDestinationStatus | undefined;
|
|
2367
2211
|
}
|
|
2368
|
-
/**
|
|
2369
|
-
* @public
|
|
2370
|
-
* @enum
|
|
2371
|
-
*/
|
|
2372
|
-
export declare const SamplingStrategyName: {
|
|
2373
|
-
readonly FixedRate: "FixedRate";
|
|
2374
|
-
readonly PartialScan: "PartialScan";
|
|
2375
|
-
};
|
|
2376
|
-
/**
|
|
2377
|
-
* @public
|
|
2378
|
-
*/
|
|
2379
|
-
export type SamplingStrategyName = (typeof SamplingStrategyName)[keyof typeof SamplingStrategyName];
|
|
2380
2212
|
/**
|
|
2381
2213
|
* <p>The name and value of a sampling rule to apply to a trace summary.</p>
|
|
2382
2214
|
* @public
|
|
@@ -2393,19 +2225,6 @@ export interface SamplingStrategy {
|
|
|
2393
2225
|
*/
|
|
2394
2226
|
Value?: number | undefined;
|
|
2395
2227
|
}
|
|
2396
|
-
/**
|
|
2397
|
-
* @public
|
|
2398
|
-
* @enum
|
|
2399
|
-
*/
|
|
2400
|
-
export declare const TimeRangeType: {
|
|
2401
|
-
readonly Event: "Event";
|
|
2402
|
-
readonly Service: "Service";
|
|
2403
|
-
readonly TraceId: "TraceId";
|
|
2404
|
-
};
|
|
2405
|
-
/**
|
|
2406
|
-
* @public
|
|
2407
|
-
*/
|
|
2408
|
-
export type TimeRangeType = (typeof TimeRangeType)[keyof typeof TimeRangeType];
|
|
2409
2228
|
/**
|
|
2410
2229
|
* @public
|
|
2411
2230
|
*/
|
|
@@ -2959,18 +2778,6 @@ export interface ListResourcePoliciesResult {
|
|
|
2959
2778
|
*/
|
|
2960
2779
|
NextToken?: string | undefined;
|
|
2961
2780
|
}
|
|
2962
|
-
/**
|
|
2963
|
-
* @public
|
|
2964
|
-
* @enum
|
|
2965
|
-
*/
|
|
2966
|
-
export declare const TraceFormatType: {
|
|
2967
|
-
readonly OTEL: "OTEL";
|
|
2968
|
-
readonly XRAY: "XRAY";
|
|
2969
|
-
};
|
|
2970
|
-
/**
|
|
2971
|
-
* @public
|
|
2972
|
-
*/
|
|
2973
|
-
export type TraceFormatType = (typeof TraceFormatType)[keyof typeof TraceFormatType];
|
|
2974
2781
|
/**
|
|
2975
2782
|
* @public
|
|
2976
2783
|
*/
|
|
@@ -3160,58 +2967,6 @@ export interface PutEncryptionConfigResult {
|
|
|
3160
2967
|
*/
|
|
3161
2968
|
EncryptionConfig?: EncryptionConfig | undefined;
|
|
3162
2969
|
}
|
|
3163
|
-
/**
|
|
3164
|
-
* <p>The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.</p>
|
|
3165
|
-
* @public
|
|
3166
|
-
*/
|
|
3167
|
-
export declare class LockoutPreventionException extends __BaseException {
|
|
3168
|
-
readonly name: "LockoutPreventionException";
|
|
3169
|
-
readonly $fault: "client";
|
|
3170
|
-
Message?: string | undefined;
|
|
3171
|
-
/**
|
|
3172
|
-
* @internal
|
|
3173
|
-
*/
|
|
3174
|
-
constructor(opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>);
|
|
3175
|
-
}
|
|
3176
|
-
/**
|
|
3177
|
-
* <p>Invalid policy document provided in request.</p>
|
|
3178
|
-
* @public
|
|
3179
|
-
*/
|
|
3180
|
-
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
3181
|
-
readonly name: "MalformedPolicyDocumentException";
|
|
3182
|
-
readonly $fault: "client";
|
|
3183
|
-
Message?: string | undefined;
|
|
3184
|
-
/**
|
|
3185
|
-
* @internal
|
|
3186
|
-
*/
|
|
3187
|
-
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
3188
|
-
}
|
|
3189
|
-
/**
|
|
3190
|
-
* <p>Exceeded the maximum number of resource policies for a target Amazon Web Services account.</p>
|
|
3191
|
-
* @public
|
|
3192
|
-
*/
|
|
3193
|
-
export declare class PolicyCountLimitExceededException extends __BaseException {
|
|
3194
|
-
readonly name: "PolicyCountLimitExceededException";
|
|
3195
|
-
readonly $fault: "client";
|
|
3196
|
-
Message?: string | undefined;
|
|
3197
|
-
/**
|
|
3198
|
-
* @internal
|
|
3199
|
-
*/
|
|
3200
|
-
constructor(opts: __ExceptionOptionType<PolicyCountLimitExceededException, __BaseException>);
|
|
3201
|
-
}
|
|
3202
|
-
/**
|
|
3203
|
-
* <p>Exceeded the maximum size for a resource policy.</p>
|
|
3204
|
-
* @public
|
|
3205
|
-
*/
|
|
3206
|
-
export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
3207
|
-
readonly name: "PolicySizeLimitExceededException";
|
|
3208
|
-
readonly $fault: "client";
|
|
3209
|
-
Message?: string | undefined;
|
|
3210
|
-
/**
|
|
3211
|
-
* @internal
|
|
3212
|
-
*/
|
|
3213
|
-
constructor(opts: __ExceptionOptionType<PolicySizeLimitExceededException, __BaseException>);
|
|
3214
|
-
}
|
|
3215
2970
|
/**
|
|
3216
2971
|
* @public
|
|
3217
2972
|
*/
|
|
@@ -3484,20 +3239,6 @@ export interface TagResourceRequest {
|
|
|
3484
3239
|
*/
|
|
3485
3240
|
export interface TagResourceResponse {
|
|
3486
3241
|
}
|
|
3487
|
-
/**
|
|
3488
|
-
* <p>You have exceeded the maximum number of tags you can apply to this resource.</p>
|
|
3489
|
-
* @public
|
|
3490
|
-
*/
|
|
3491
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
3492
|
-
readonly name: "TooManyTagsException";
|
|
3493
|
-
readonly $fault: "client";
|
|
3494
|
-
Message?: string | undefined;
|
|
3495
|
-
ResourceName?: string | undefined;
|
|
3496
|
-
/**
|
|
3497
|
-
* @internal
|
|
3498
|
-
*/
|
|
3499
|
-
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
3500
|
-
}
|
|
3501
3242
|
/**
|
|
3502
3243
|
* @public
|
|
3503
3244
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { XRayExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { XRayServiceException } from "./models/XRayServiceException";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const EncryptionStatus: {
|
|
2
|
+
readonly ACTIVE: "ACTIVE";
|
|
3
|
+
readonly UPDATING: "UPDATING";
|
|
4
|
+
};
|
|
5
|
+
export type EncryptionStatus =
|
|
6
|
+
(typeof EncryptionStatus)[keyof typeof EncryptionStatus];
|
|
7
|
+
export declare const EncryptionType: {
|
|
8
|
+
readonly KMS: "KMS";
|
|
9
|
+
readonly NONE: "NONE";
|
|
10
|
+
};
|
|
11
|
+
export type EncryptionType =
|
|
12
|
+
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
13
|
+
export declare const InsightCategory: {
|
|
14
|
+
readonly FAULT: "FAULT";
|
|
15
|
+
};
|
|
16
|
+
export type InsightCategory =
|
|
17
|
+
(typeof InsightCategory)[keyof typeof InsightCategory];
|
|
18
|
+
export declare const InsightState: {
|
|
19
|
+
readonly ACTIVE: "ACTIVE";
|
|
20
|
+
readonly CLOSED: "CLOSED";
|
|
21
|
+
};
|
|
22
|
+
export type InsightState = (typeof InsightState)[keyof typeof InsightState];
|
|
23
|
+
export declare const RetrievalStatus: {
|
|
24
|
+
readonly CANCELLED: "CANCELLED";
|
|
25
|
+
readonly COMPLETE: "COMPLETE";
|
|
26
|
+
readonly FAILED: "FAILED";
|
|
27
|
+
readonly RUNNING: "RUNNING";
|
|
28
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
29
|
+
readonly TIMEOUT: "TIMEOUT";
|
|
30
|
+
};
|
|
31
|
+
export type RetrievalStatus =
|
|
32
|
+
(typeof RetrievalStatus)[keyof typeof RetrievalStatus];
|
|
33
|
+
export declare const TraceSegmentDestination: {
|
|
34
|
+
readonly CloudWatchLogs: "CloudWatchLogs";
|
|
35
|
+
readonly XRay: "XRay";
|
|
36
|
+
};
|
|
37
|
+
export type TraceSegmentDestination =
|
|
38
|
+
(typeof TraceSegmentDestination)[keyof typeof TraceSegmentDestination];
|
|
39
|
+
export declare const TraceSegmentDestinationStatus: {
|
|
40
|
+
readonly ACTIVE: "ACTIVE";
|
|
41
|
+
readonly PENDING: "PENDING";
|
|
42
|
+
};
|
|
43
|
+
export type TraceSegmentDestinationStatus =
|
|
44
|
+
(typeof TraceSegmentDestinationStatus)[keyof typeof TraceSegmentDestinationStatus];
|
|
45
|
+
export declare const SamplingStrategyName: {
|
|
46
|
+
readonly FixedRate: "FixedRate";
|
|
47
|
+
readonly PartialScan: "PartialScan";
|
|
48
|
+
};
|
|
49
|
+
export type SamplingStrategyName =
|
|
50
|
+
(typeof SamplingStrategyName)[keyof typeof SamplingStrategyName];
|
|
51
|
+
export declare const TimeRangeType: {
|
|
52
|
+
readonly Event: "Event";
|
|
53
|
+
readonly Service: "Service";
|
|
54
|
+
readonly TraceId: "TraceId";
|
|
55
|
+
};
|
|
56
|
+
export type TimeRangeType = (typeof TimeRangeType)[keyof typeof TimeRangeType];
|
|
57
|
+
export declare const TraceFormatType: {
|
|
58
|
+
readonly OTEL: "OTEL";
|
|
59
|
+
readonly XRAY: "XRAY";
|
|
60
|
+
};
|
|
61
|
+
export type TraceFormatType =
|
|
62
|
+
(typeof TraceFormatType)[keyof typeof TraceFormatType];
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { XRayServiceException as __BaseException } from "./XRayServiceException";
|
|
3
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
4
|
+
readonly name: "InvalidRequestException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ThrottledException extends __BaseException {
|
|
12
|
+
readonly name: "ThrottledException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
18
|
+
readonly name: "ResourceNotFoundException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
Message?: string | undefined;
|
|
21
|
+
ResourceName?: string | undefined;
|
|
22
|
+
constructor(
|
|
23
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export declare class RuleLimitExceededException extends __BaseException {
|
|
27
|
+
readonly name: "RuleLimitExceededException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
Message?: string | undefined;
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<RuleLimitExceededException, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
35
|
+
readonly name: "InvalidPolicyRevisionIdException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<
|
|
40
|
+
InvalidPolicyRevisionIdException,
|
|
41
|
+
__BaseException
|
|
42
|
+
>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export declare class LockoutPreventionException extends __BaseException {
|
|
46
|
+
readonly name: "LockoutPreventionException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
Message?: string | undefined;
|
|
49
|
+
constructor(
|
|
50
|
+
opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
54
|
+
readonly name: "MalformedPolicyDocumentException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
Message?: string | undefined;
|
|
57
|
+
constructor(
|
|
58
|
+
opts: __ExceptionOptionType<
|
|
59
|
+
MalformedPolicyDocumentException,
|
|
60
|
+
__BaseException
|
|
61
|
+
>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
export declare class PolicyCountLimitExceededException extends __BaseException {
|
|
65
|
+
readonly name: "PolicyCountLimitExceededException";
|
|
66
|
+
readonly $fault: "client";
|
|
67
|
+
Message?: string | undefined;
|
|
68
|
+
constructor(
|
|
69
|
+
opts: __ExceptionOptionType<
|
|
70
|
+
PolicyCountLimitExceededException,
|
|
71
|
+
__BaseException
|
|
72
|
+
>
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
76
|
+
readonly name: "PolicySizeLimitExceededException";
|
|
77
|
+
readonly $fault: "client";
|
|
78
|
+
Message?: string | undefined;
|
|
79
|
+
constructor(
|
|
80
|
+
opts: __ExceptionOptionType<
|
|
81
|
+
PolicySizeLimitExceededException,
|
|
82
|
+
__BaseException
|
|
83
|
+
>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
87
|
+
readonly name: "TooManyTagsException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
Message?: string | undefined;
|
|
90
|
+
ResourceName?: string | undefined;
|
|
91
|
+
constructor(
|
|
92
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
93
|
+
);
|
|
94
|
+
}
|