@aws-sdk/client-xray 3.696.0 → 3.699.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/README.md +64 -0
- package/dist-cjs/index.js +506 -24
- package/dist-es/XRay.js +16 -0
- package/dist-es/commands/CancelTraceRetrievalCommand.js +22 -0
- package/dist-es/commands/GetIndexingRulesCommand.js +22 -0
- package/dist-es/commands/GetRetrievedTracesGraphCommand.js +22 -0
- package/dist-es/commands/GetTraceSegmentDestinationCommand.js +22 -0
- package/dist-es/commands/ListRetrievedTracesCommand.js +22 -0
- package/dist-es/commands/StartTraceRetrievalCommand.js +22 -0
- package/dist-es/commands/UpdateIndexingRuleCommand.js +22 -0
- package/dist-es/commands/UpdateTraceSegmentDestinationCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +50 -14
- package/dist-es/protocols/Aws_restJson1.js +294 -4
- package/dist-types/XRay.d.ts +59 -0
- package/dist-types/XRayClient.d.ts +10 -2
- package/dist-types/commands/BatchGetTracesCommand.d.ts +4 -1
- package/dist-types/commands/CancelTraceRetrievalCommand.d.ts +81 -0
- package/dist-types/commands/GetIndexingRulesCommand.d.ts +91 -0
- package/dist-types/commands/GetRetrievedTracesGraphCommand.d.ts +185 -0
- package/dist-types/commands/GetTraceSegmentDestinationCommand.d.ts +78 -0
- package/dist-types/commands/GetTraceSummariesCommand.d.ts +2 -2
- package/dist-types/commands/ListRetrievedTracesCommand.d.ts +104 -0
- package/dist-types/commands/PutTraceSegmentsCommand.d.ts +14 -4
- package/dist-types/commands/StartTraceRetrievalCommand.d.ts +90 -0
- package/dist-types/commands/UpdateIndexingRuleCommand.d.ts +98 -0
- package/dist-types/commands/UpdateTraceSegmentDestinationCommand.d.ts +80 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +826 -256
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/XRay.d.ts +139 -0
- package/dist-types/ts3.4/XRayClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CancelTraceRetrievalCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIndexingRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetRetrievedTracesGraphCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTraceSegmentDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRetrievedTracesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartTraceRetrievalCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateIndexingRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTraceSegmentDestinationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +213 -61
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -23,6 +23,7 @@ var src_exports = {};
|
|
|
23
23
|
__export(src_exports, {
|
|
24
24
|
AnnotationValue: () => AnnotationValue,
|
|
25
25
|
BatchGetTracesCommand: () => BatchGetTracesCommand,
|
|
26
|
+
CancelTraceRetrievalCommand: () => CancelTraceRetrievalCommand,
|
|
26
27
|
CreateGroupCommand: () => CreateGroupCommand,
|
|
27
28
|
CreateSamplingRuleCommand: () => CreateSamplingRuleCommand,
|
|
28
29
|
DeleteGroupCommand: () => DeleteGroupCommand,
|
|
@@ -33,22 +34,28 @@ __export(src_exports, {
|
|
|
33
34
|
GetEncryptionConfigCommand: () => GetEncryptionConfigCommand,
|
|
34
35
|
GetGroupCommand: () => GetGroupCommand,
|
|
35
36
|
GetGroupsCommand: () => GetGroupsCommand,
|
|
37
|
+
GetIndexingRulesCommand: () => GetIndexingRulesCommand,
|
|
36
38
|
GetInsightCommand: () => GetInsightCommand,
|
|
37
39
|
GetInsightEventsCommand: () => GetInsightEventsCommand,
|
|
38
40
|
GetInsightImpactGraphCommand: () => GetInsightImpactGraphCommand,
|
|
39
41
|
GetInsightSummariesCommand: () => GetInsightSummariesCommand,
|
|
42
|
+
GetRetrievedTracesGraphCommand: () => GetRetrievedTracesGraphCommand,
|
|
40
43
|
GetSamplingRulesCommand: () => GetSamplingRulesCommand,
|
|
41
44
|
GetSamplingStatisticSummariesCommand: () => GetSamplingStatisticSummariesCommand,
|
|
42
45
|
GetSamplingTargetsCommand: () => GetSamplingTargetsCommand,
|
|
43
46
|
GetServiceGraphCommand: () => GetServiceGraphCommand,
|
|
44
47
|
GetTimeSeriesServiceStatisticsCommand: () => GetTimeSeriesServiceStatisticsCommand,
|
|
45
48
|
GetTraceGraphCommand: () => GetTraceGraphCommand,
|
|
49
|
+
GetTraceSegmentDestinationCommand: () => GetTraceSegmentDestinationCommand,
|
|
46
50
|
GetTraceSummariesCommand: () => GetTraceSummariesCommand,
|
|
51
|
+
IndexingRuleValue: () => IndexingRuleValue,
|
|
52
|
+
IndexingRuleValueUpdate: () => IndexingRuleValueUpdate,
|
|
47
53
|
InsightCategory: () => InsightCategory,
|
|
48
54
|
InsightState: () => InsightState,
|
|
49
55
|
InvalidPolicyRevisionIdException: () => InvalidPolicyRevisionIdException,
|
|
50
56
|
InvalidRequestException: () => InvalidRequestException,
|
|
51
57
|
ListResourcePoliciesCommand: () => ListResourcePoliciesCommand,
|
|
58
|
+
ListRetrievedTracesCommand: () => ListRetrievedTracesCommand,
|
|
52
59
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
53
60
|
LockoutPreventionException: () => LockoutPreventionException,
|
|
54
61
|
MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,
|
|
@@ -59,15 +66,22 @@ __export(src_exports, {
|
|
|
59
66
|
PutTelemetryRecordsCommand: () => PutTelemetryRecordsCommand,
|
|
60
67
|
PutTraceSegmentsCommand: () => PutTraceSegmentsCommand,
|
|
61
68
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
69
|
+
RetrievalStatus: () => RetrievalStatus,
|
|
62
70
|
RuleLimitExceededException: () => RuleLimitExceededException,
|
|
63
71
|
SamplingStrategyName: () => SamplingStrategyName,
|
|
72
|
+
StartTraceRetrievalCommand: () => StartTraceRetrievalCommand,
|
|
64
73
|
TagResourceCommand: () => TagResourceCommand,
|
|
65
74
|
ThrottledException: () => ThrottledException,
|
|
66
75
|
TimeRangeType: () => TimeRangeType,
|
|
67
76
|
TooManyTagsException: () => TooManyTagsException,
|
|
77
|
+
TraceFormatType: () => TraceFormatType,
|
|
78
|
+
TraceSegmentDestination: () => TraceSegmentDestination,
|
|
79
|
+
TraceSegmentDestinationStatus: () => TraceSegmentDestinationStatus,
|
|
68
80
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
69
81
|
UpdateGroupCommand: () => UpdateGroupCommand,
|
|
82
|
+
UpdateIndexingRuleCommand: () => UpdateIndexingRuleCommand,
|
|
70
83
|
UpdateSamplingRuleCommand: () => UpdateSamplingRuleCommand,
|
|
84
|
+
UpdateTraceSegmentDestinationCommand: () => UpdateTraceSegmentDestinationCommand,
|
|
71
85
|
XRay: () => XRay,
|
|
72
86
|
XRayClient: () => XRayClient,
|
|
73
87
|
XRayServiceException: () => XRayServiceException,
|
|
@@ -300,6 +314,25 @@ var _ThrottledException = class _ThrottledException extends XRayServiceException
|
|
|
300
314
|
};
|
|
301
315
|
__name(_ThrottledException, "ThrottledException");
|
|
302
316
|
var ThrottledException = _ThrottledException;
|
|
317
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends XRayServiceException {
|
|
318
|
+
/**
|
|
319
|
+
* @internal
|
|
320
|
+
*/
|
|
321
|
+
constructor(opts) {
|
|
322
|
+
super({
|
|
323
|
+
name: "ResourceNotFoundException",
|
|
324
|
+
$fault: "client",
|
|
325
|
+
...opts
|
|
326
|
+
});
|
|
327
|
+
this.name = "ResourceNotFoundException";
|
|
328
|
+
this.$fault = "client";
|
|
329
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
330
|
+
this.Message = opts.Message;
|
|
331
|
+
this.ResourceName = opts.ResourceName;
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
335
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
303
336
|
var _RuleLimitExceededException = class _RuleLimitExceededException extends XRayServiceException {
|
|
304
337
|
/**
|
|
305
338
|
* @internal
|
|
@@ -344,6 +377,14 @@ var EncryptionType = {
|
|
|
344
377
|
KMS: "KMS",
|
|
345
378
|
NONE: "NONE"
|
|
346
379
|
};
|
|
380
|
+
var IndexingRuleValue;
|
|
381
|
+
((IndexingRuleValue3) => {
|
|
382
|
+
IndexingRuleValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
383
|
+
if (value.Probabilistic !== void 0)
|
|
384
|
+
return visitor.Probabilistic(value.Probabilistic);
|
|
385
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
386
|
+
}, "visit");
|
|
387
|
+
})(IndexingRuleValue || (IndexingRuleValue = {}));
|
|
347
388
|
var InsightCategory = {
|
|
348
389
|
FAULT: "FAULT"
|
|
349
390
|
};
|
|
@@ -351,6 +392,22 @@ var InsightState = {
|
|
|
351
392
|
ACTIVE: "ACTIVE",
|
|
352
393
|
CLOSED: "CLOSED"
|
|
353
394
|
};
|
|
395
|
+
var RetrievalStatus = {
|
|
396
|
+
CANCELLED: "CANCELLED",
|
|
397
|
+
COMPLETE: "COMPLETE",
|
|
398
|
+
FAILED: "FAILED",
|
|
399
|
+
RUNNING: "RUNNING",
|
|
400
|
+
SCHEDULED: "SCHEDULED",
|
|
401
|
+
TIMEOUT: "TIMEOUT"
|
|
402
|
+
};
|
|
403
|
+
var TraceSegmentDestination = {
|
|
404
|
+
CloudWatchLogs: "CloudWatchLogs",
|
|
405
|
+
XRay: "XRay"
|
|
406
|
+
};
|
|
407
|
+
var TraceSegmentDestinationStatus = {
|
|
408
|
+
ACTIVE: "ACTIVE",
|
|
409
|
+
PENDING: "PENDING"
|
|
410
|
+
};
|
|
354
411
|
var SamplingStrategyName = {
|
|
355
412
|
FixedRate: "FixedRate",
|
|
356
413
|
PartialScan: "PartialScan"
|
|
@@ -360,25 +417,10 @@ var TimeRangeType = {
|
|
|
360
417
|
Service: "Service",
|
|
361
418
|
TraceId: "TraceId"
|
|
362
419
|
};
|
|
363
|
-
var
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
*/
|
|
367
|
-
constructor(opts) {
|
|
368
|
-
super({
|
|
369
|
-
name: "ResourceNotFoundException",
|
|
370
|
-
$fault: "client",
|
|
371
|
-
...opts
|
|
372
|
-
});
|
|
373
|
-
this.name = "ResourceNotFoundException";
|
|
374
|
-
this.$fault = "client";
|
|
375
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
376
|
-
this.Message = opts.Message;
|
|
377
|
-
this.ResourceName = opts.ResourceName;
|
|
378
|
-
}
|
|
420
|
+
var TraceFormatType = {
|
|
421
|
+
OTEL: "OTEL",
|
|
422
|
+
XRAY: "XRAY"
|
|
379
423
|
};
|
|
380
|
-
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
381
|
-
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
382
424
|
var _LockoutPreventionException = class _LockoutPreventionException extends XRayServiceException {
|
|
383
425
|
/**
|
|
384
426
|
* @internal
|
|
@@ -470,6 +512,14 @@ var _TooManyTagsException = class _TooManyTagsException extends XRayServiceExcep
|
|
|
470
512
|
};
|
|
471
513
|
__name(_TooManyTagsException, "TooManyTagsException");
|
|
472
514
|
var TooManyTagsException = _TooManyTagsException;
|
|
515
|
+
var IndexingRuleValueUpdate;
|
|
516
|
+
((IndexingRuleValueUpdate2) => {
|
|
517
|
+
IndexingRuleValueUpdate2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
518
|
+
if (value.Probabilistic !== void 0)
|
|
519
|
+
return visitor.Probabilistic(value.Probabilistic);
|
|
520
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
521
|
+
}, "visit");
|
|
522
|
+
})(IndexingRuleValueUpdate || (IndexingRuleValueUpdate = {}));
|
|
473
523
|
|
|
474
524
|
// src/protocols/Aws_restJson1.ts
|
|
475
525
|
var se_BatchGetTracesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -488,6 +538,21 @@ var se_BatchGetTracesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
488
538
|
b.m("POST").h(headers).b(body);
|
|
489
539
|
return b.build();
|
|
490
540
|
}, "se_BatchGetTracesCommand");
|
|
541
|
+
var se_CancelTraceRetrievalCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
542
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
543
|
+
const headers = {
|
|
544
|
+
"content-type": "application/json"
|
|
545
|
+
};
|
|
546
|
+
b.bp("/CancelTraceRetrieval");
|
|
547
|
+
let body;
|
|
548
|
+
body = JSON.stringify(
|
|
549
|
+
(0, import_smithy_client.take)(input, {
|
|
550
|
+
RetrievalToken: []
|
|
551
|
+
})
|
|
552
|
+
);
|
|
553
|
+
b.m("POST").h(headers).b(body);
|
|
554
|
+
return b.build();
|
|
555
|
+
}, "se_CancelTraceRetrievalCommand");
|
|
491
556
|
var se_CreateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
492
557
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
493
558
|
const headers = {
|
|
@@ -609,6 +674,21 @@ var se_GetGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
609
674
|
b.m("POST").h(headers).b(body);
|
|
610
675
|
return b.build();
|
|
611
676
|
}, "se_GetGroupsCommand");
|
|
677
|
+
var se_GetIndexingRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
678
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
679
|
+
const headers = {
|
|
680
|
+
"content-type": "application/json"
|
|
681
|
+
};
|
|
682
|
+
b.bp("/GetIndexingRules");
|
|
683
|
+
let body;
|
|
684
|
+
body = JSON.stringify(
|
|
685
|
+
(0, import_smithy_client.take)(input, {
|
|
686
|
+
NextToken: []
|
|
687
|
+
})
|
|
688
|
+
);
|
|
689
|
+
b.m("POST").h(headers).b(body);
|
|
690
|
+
return b.build();
|
|
691
|
+
}, "se_GetIndexingRulesCommand");
|
|
612
692
|
var se_GetInsightCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
613
693
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
614
694
|
const headers = {
|
|
@@ -680,6 +760,22 @@ var se_GetInsightSummariesCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
680
760
|
b.m("POST").h(headers).b(body);
|
|
681
761
|
return b.build();
|
|
682
762
|
}, "se_GetInsightSummariesCommand");
|
|
763
|
+
var se_GetRetrievedTracesGraphCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
765
|
+
const headers = {
|
|
766
|
+
"content-type": "application/json"
|
|
767
|
+
};
|
|
768
|
+
b.bp("/GetRetrievedTracesGraph");
|
|
769
|
+
let body;
|
|
770
|
+
body = JSON.stringify(
|
|
771
|
+
(0, import_smithy_client.take)(input, {
|
|
772
|
+
NextToken: [],
|
|
773
|
+
RetrievalToken: []
|
|
774
|
+
})
|
|
775
|
+
);
|
|
776
|
+
b.m("POST").h(headers).b(body);
|
|
777
|
+
return b.build();
|
|
778
|
+
}, "se_GetRetrievedTracesGraphCommand");
|
|
683
779
|
var se_GetSamplingRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
684
780
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
685
781
|
const headers = {
|
|
@@ -782,6 +878,14 @@ var se_GetTraceGraphCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
782
878
|
b.m("POST").h(headers).b(body);
|
|
783
879
|
return b.build();
|
|
784
880
|
}, "se_GetTraceGraphCommand");
|
|
881
|
+
var se_GetTraceSegmentDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
882
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
883
|
+
const headers = {};
|
|
884
|
+
b.bp("/GetTraceSegmentDestination");
|
|
885
|
+
let body;
|
|
886
|
+
b.m("POST").h(headers).b(body);
|
|
887
|
+
return b.build();
|
|
888
|
+
}, "se_GetTraceSegmentDestinationCommand");
|
|
785
889
|
var se_GetTraceSummariesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
786
890
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
787
891
|
const headers = {
|
|
@@ -818,6 +922,23 @@ var se_ListResourcePoliciesCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
818
922
|
b.m("POST").h(headers).b(body);
|
|
819
923
|
return b.build();
|
|
820
924
|
}, "se_ListResourcePoliciesCommand");
|
|
925
|
+
var se_ListRetrievedTracesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
926
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
927
|
+
const headers = {
|
|
928
|
+
"content-type": "application/json"
|
|
929
|
+
};
|
|
930
|
+
b.bp("/ListRetrievedTraces");
|
|
931
|
+
let body;
|
|
932
|
+
body = JSON.stringify(
|
|
933
|
+
(0, import_smithy_client.take)(input, {
|
|
934
|
+
NextToken: [],
|
|
935
|
+
RetrievalToken: [],
|
|
936
|
+
TraceFormat: []
|
|
937
|
+
})
|
|
938
|
+
);
|
|
939
|
+
b.m("POST").h(headers).b(body);
|
|
940
|
+
return b.build();
|
|
941
|
+
}, "se_ListRetrievedTracesCommand");
|
|
821
942
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
822
943
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
823
944
|
const headers = {
|
|
@@ -901,6 +1022,23 @@ var se_PutTraceSegmentsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
901
1022
|
b.m("POST").h(headers).b(body);
|
|
902
1023
|
return b.build();
|
|
903
1024
|
}, "se_PutTraceSegmentsCommand");
|
|
1025
|
+
var se_StartTraceRetrievalCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1026
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1027
|
+
const headers = {
|
|
1028
|
+
"content-type": "application/json"
|
|
1029
|
+
};
|
|
1030
|
+
b.bp("/StartTraceRetrieval");
|
|
1031
|
+
let body;
|
|
1032
|
+
body = JSON.stringify(
|
|
1033
|
+
(0, import_smithy_client.take)(input, {
|
|
1034
|
+
EndTime: (_) => _.getTime() / 1e3,
|
|
1035
|
+
StartTime: (_) => _.getTime() / 1e3,
|
|
1036
|
+
TraceIds: (_) => (0, import_smithy_client._json)(_)
|
|
1037
|
+
})
|
|
1038
|
+
);
|
|
1039
|
+
b.m("POST").h(headers).b(body);
|
|
1040
|
+
return b.build();
|
|
1041
|
+
}, "se_StartTraceRetrievalCommand");
|
|
904
1042
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
905
1043
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
906
1044
|
const headers = {
|
|
@@ -951,6 +1089,22 @@ var se_UpdateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
951
1089
|
b.m("POST").h(headers).b(body);
|
|
952
1090
|
return b.build();
|
|
953
1091
|
}, "se_UpdateGroupCommand");
|
|
1092
|
+
var se_UpdateIndexingRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1093
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1094
|
+
const headers = {
|
|
1095
|
+
"content-type": "application/json"
|
|
1096
|
+
};
|
|
1097
|
+
b.bp("/UpdateIndexingRule");
|
|
1098
|
+
let body;
|
|
1099
|
+
body = JSON.stringify(
|
|
1100
|
+
(0, import_smithy_client.take)(input, {
|
|
1101
|
+
Name: [],
|
|
1102
|
+
Rule: (_) => se_IndexingRuleValueUpdate(_, context)
|
|
1103
|
+
})
|
|
1104
|
+
);
|
|
1105
|
+
b.m("POST").h(headers).b(body);
|
|
1106
|
+
return b.build();
|
|
1107
|
+
}, "se_UpdateIndexingRuleCommand");
|
|
954
1108
|
var se_UpdateSamplingRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
955
1109
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
956
1110
|
const headers = {
|
|
@@ -966,6 +1120,21 @@ var se_UpdateSamplingRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
966
1120
|
b.m("POST").h(headers).b(body);
|
|
967
1121
|
return b.build();
|
|
968
1122
|
}, "se_UpdateSamplingRuleCommand");
|
|
1123
|
+
var se_UpdateTraceSegmentDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1124
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1125
|
+
const headers = {
|
|
1126
|
+
"content-type": "application/json"
|
|
1127
|
+
};
|
|
1128
|
+
b.bp("/UpdateTraceSegmentDestination");
|
|
1129
|
+
let body;
|
|
1130
|
+
body = JSON.stringify(
|
|
1131
|
+
(0, import_smithy_client.take)(input, {
|
|
1132
|
+
Destination: []
|
|
1133
|
+
})
|
|
1134
|
+
);
|
|
1135
|
+
b.m("POST").h(headers).b(body);
|
|
1136
|
+
return b.build();
|
|
1137
|
+
}, "se_UpdateTraceSegmentDestinationCommand");
|
|
969
1138
|
var de_BatchGetTracesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
970
1139
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
971
1140
|
return de_CommandError(output, context);
|
|
@@ -982,6 +1151,16 @@ var de_BatchGetTracesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
982
1151
|
Object.assign(contents, doc);
|
|
983
1152
|
return contents;
|
|
984
1153
|
}, "de_BatchGetTracesCommand");
|
|
1154
|
+
var de_CancelTraceRetrievalCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1155
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1156
|
+
return de_CommandError(output, context);
|
|
1157
|
+
}
|
|
1158
|
+
const contents = (0, import_smithy_client.map)({
|
|
1159
|
+
$metadata: deserializeMetadata(output)
|
|
1160
|
+
});
|
|
1161
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1162
|
+
return contents;
|
|
1163
|
+
}, "de_CancelTraceRetrievalCommand");
|
|
985
1164
|
var de_CreateGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
986
1165
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
987
1166
|
return de_CommandError(output, context);
|
|
@@ -1087,6 +1266,21 @@ var de_GetGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1087
1266
|
Object.assign(contents, doc);
|
|
1088
1267
|
return contents;
|
|
1089
1268
|
}, "de_GetGroupsCommand");
|
|
1269
|
+
var de_GetIndexingRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1270
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1271
|
+
return de_CommandError(output, context);
|
|
1272
|
+
}
|
|
1273
|
+
const contents = (0, import_smithy_client.map)({
|
|
1274
|
+
$metadata: deserializeMetadata(output)
|
|
1275
|
+
});
|
|
1276
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1277
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1278
|
+
IndexingRules: (_) => de_IndexingRuleList(_, context),
|
|
1279
|
+
NextToken: import_smithy_client.expectString
|
|
1280
|
+
});
|
|
1281
|
+
Object.assign(contents, doc);
|
|
1282
|
+
return contents;
|
|
1283
|
+
}, "de_GetIndexingRulesCommand");
|
|
1090
1284
|
var de_GetInsightCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1091
1285
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1092
1286
|
return de_CommandError(output, context);
|
|
@@ -1151,6 +1345,22 @@ var de_GetInsightSummariesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1151
1345
|
Object.assign(contents, doc);
|
|
1152
1346
|
return contents;
|
|
1153
1347
|
}, "de_GetInsightSummariesCommand");
|
|
1348
|
+
var de_GetRetrievedTracesGraphCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1349
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1350
|
+
return de_CommandError(output, context);
|
|
1351
|
+
}
|
|
1352
|
+
const contents = (0, import_smithy_client.map)({
|
|
1353
|
+
$metadata: deserializeMetadata(output)
|
|
1354
|
+
});
|
|
1355
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1356
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1357
|
+
NextToken: import_smithy_client.expectString,
|
|
1358
|
+
RetrievalStatus: import_smithy_client.expectString,
|
|
1359
|
+
Services: (_) => de_RetrievedServicesList(_, context)
|
|
1360
|
+
});
|
|
1361
|
+
Object.assign(contents, doc);
|
|
1362
|
+
return contents;
|
|
1363
|
+
}, "de_GetRetrievedTracesGraphCommand");
|
|
1154
1364
|
var de_GetSamplingRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1155
1365
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1156
1366
|
return de_CommandError(output, context);
|
|
@@ -1246,6 +1456,21 @@ var de_GetTraceGraphCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1246
1456
|
Object.assign(contents, doc);
|
|
1247
1457
|
return contents;
|
|
1248
1458
|
}, "de_GetTraceGraphCommand");
|
|
1459
|
+
var de_GetTraceSegmentDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1460
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1461
|
+
return de_CommandError(output, context);
|
|
1462
|
+
}
|
|
1463
|
+
const contents = (0, import_smithy_client.map)({
|
|
1464
|
+
$metadata: deserializeMetadata(output)
|
|
1465
|
+
});
|
|
1466
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1467
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1468
|
+
Destination: import_smithy_client.expectString,
|
|
1469
|
+
Status: import_smithy_client.expectString
|
|
1470
|
+
});
|
|
1471
|
+
Object.assign(contents, doc);
|
|
1472
|
+
return contents;
|
|
1473
|
+
}, "de_GetTraceSegmentDestinationCommand");
|
|
1249
1474
|
var de_GetTraceSummariesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1250
1475
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1251
1476
|
return de_CommandError(output, context);
|
|
@@ -1278,6 +1503,23 @@ var de_ListResourcePoliciesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1278
1503
|
Object.assign(contents, doc);
|
|
1279
1504
|
return contents;
|
|
1280
1505
|
}, "de_ListResourcePoliciesCommand");
|
|
1506
|
+
var de_ListRetrievedTracesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1507
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1508
|
+
return de_CommandError(output, context);
|
|
1509
|
+
}
|
|
1510
|
+
const contents = (0, import_smithy_client.map)({
|
|
1511
|
+
$metadata: deserializeMetadata(output)
|
|
1512
|
+
});
|
|
1513
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1514
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1515
|
+
NextToken: import_smithy_client.expectString,
|
|
1516
|
+
RetrievalStatus: import_smithy_client.expectString,
|
|
1517
|
+
TraceFormat: import_smithy_client.expectString,
|
|
1518
|
+
Traces: (_) => de_TraceSpanList(_, context)
|
|
1519
|
+
});
|
|
1520
|
+
Object.assign(contents, doc);
|
|
1521
|
+
return contents;
|
|
1522
|
+
}, "de_ListRetrievedTracesCommand");
|
|
1281
1523
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1282
1524
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1283
1525
|
return de_CommandError(output, context);
|
|
@@ -1345,6 +1587,20 @@ var de_PutTraceSegmentsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1345
1587
|
Object.assign(contents, doc);
|
|
1346
1588
|
return contents;
|
|
1347
1589
|
}, "de_PutTraceSegmentsCommand");
|
|
1590
|
+
var de_StartTraceRetrievalCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1591
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1592
|
+
return de_CommandError(output, context);
|
|
1593
|
+
}
|
|
1594
|
+
const contents = (0, import_smithy_client.map)({
|
|
1595
|
+
$metadata: deserializeMetadata(output)
|
|
1596
|
+
});
|
|
1597
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1598
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1599
|
+
RetrievalToken: import_smithy_client.expectString
|
|
1600
|
+
});
|
|
1601
|
+
Object.assign(contents, doc);
|
|
1602
|
+
return contents;
|
|
1603
|
+
}, "de_StartTraceRetrievalCommand");
|
|
1348
1604
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1349
1605
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1350
1606
|
return de_CommandError(output, context);
|
|
@@ -1379,6 +1635,20 @@ var de_UpdateGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1379
1635
|
Object.assign(contents, doc);
|
|
1380
1636
|
return contents;
|
|
1381
1637
|
}, "de_UpdateGroupCommand");
|
|
1638
|
+
var de_UpdateIndexingRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1639
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1640
|
+
return de_CommandError(output, context);
|
|
1641
|
+
}
|
|
1642
|
+
const contents = (0, import_smithy_client.map)({
|
|
1643
|
+
$metadata: deserializeMetadata(output)
|
|
1644
|
+
});
|
|
1645
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1646
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1647
|
+
IndexingRule: (_) => de_IndexingRule(_, context)
|
|
1648
|
+
});
|
|
1649
|
+
Object.assign(contents, doc);
|
|
1650
|
+
return contents;
|
|
1651
|
+
}, "de_UpdateIndexingRuleCommand");
|
|
1382
1652
|
var de_UpdateSamplingRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1383
1653
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1384
1654
|
return de_CommandError(output, context);
|
|
@@ -1393,6 +1663,21 @@ var de_UpdateSamplingRuleCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1393
1663
|
Object.assign(contents, doc);
|
|
1394
1664
|
return contents;
|
|
1395
1665
|
}, "de_UpdateSamplingRuleCommand");
|
|
1666
|
+
var de_UpdateTraceSegmentDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1667
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1668
|
+
return de_CommandError(output, context);
|
|
1669
|
+
}
|
|
1670
|
+
const contents = (0, import_smithy_client.map)({
|
|
1671
|
+
$metadata: deserializeMetadata(output)
|
|
1672
|
+
});
|
|
1673
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1674
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1675
|
+
Destination: import_smithy_client.expectString,
|
|
1676
|
+
Status: import_smithy_client.expectString
|
|
1677
|
+
});
|
|
1678
|
+
Object.assign(contents, doc);
|
|
1679
|
+
return contents;
|
|
1680
|
+
}, "de_UpdateTraceSegmentDestinationCommand");
|
|
1396
1681
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1397
1682
|
const parsedOutput = {
|
|
1398
1683
|
...output,
|
|
@@ -1406,15 +1691,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1406
1691
|
case "ThrottledException":
|
|
1407
1692
|
case "com.amazonaws.xray#ThrottledException":
|
|
1408
1693
|
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1694
|
+
case "ResourceNotFoundException":
|
|
1695
|
+
case "com.amazonaws.xray#ResourceNotFoundException":
|
|
1696
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1409
1697
|
case "RuleLimitExceededException":
|
|
1410
1698
|
case "com.amazonaws.xray#RuleLimitExceededException":
|
|
1411
1699
|
throw await de_RuleLimitExceededExceptionRes(parsedOutput, context);
|
|
1412
1700
|
case "InvalidPolicyRevisionIdException":
|
|
1413
1701
|
case "com.amazonaws.xray#InvalidPolicyRevisionIdException":
|
|
1414
1702
|
throw await de_InvalidPolicyRevisionIdExceptionRes(parsedOutput, context);
|
|
1415
|
-
case "ResourceNotFoundException":
|
|
1416
|
-
case "com.amazonaws.xray#ResourceNotFoundException":
|
|
1417
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1418
1703
|
case "LockoutPreventionException":
|
|
1419
1704
|
case "com.amazonaws.xray#LockoutPreventionException":
|
|
1420
1705
|
throw await de_LockoutPreventionExceptionRes(parsedOutput, context);
|
|
@@ -1572,6 +1857,17 @@ var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, con
|
|
|
1572
1857
|
});
|
|
1573
1858
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1574
1859
|
}, "de_TooManyTagsExceptionRes");
|
|
1860
|
+
var se_IndexingRuleValueUpdate = /* @__PURE__ */ __name((input, context) => {
|
|
1861
|
+
return IndexingRuleValueUpdate.visit(input, {
|
|
1862
|
+
Probabilistic: (value) => ({ Probabilistic: se_ProbabilisticRuleValueUpdate(value, context) }),
|
|
1863
|
+
_: (name, value) => ({ name: value })
|
|
1864
|
+
});
|
|
1865
|
+
}, "se_IndexingRuleValueUpdate");
|
|
1866
|
+
var se_ProbabilisticRuleValueUpdate = /* @__PURE__ */ __name((input, context) => {
|
|
1867
|
+
return (0, import_smithy_client.take)(input, {
|
|
1868
|
+
DesiredSamplingPercentage: import_smithy_client.serializeFloat
|
|
1869
|
+
});
|
|
1870
|
+
}, "se_ProbabilisticRuleValueUpdate");
|
|
1575
1871
|
var se_SamplingRule = /* @__PURE__ */ __name((input, context) => {
|
|
1576
1872
|
return (0, import_smithy_client.take)(input, {
|
|
1577
1873
|
Attributes: import_smithy_client._json,
|
|
@@ -1701,6 +1997,27 @@ var de_HistogramEntry = /* @__PURE__ */ __name((output, context) => {
|
|
|
1701
1997
|
Value: import_smithy_client.limitedParseDouble
|
|
1702
1998
|
});
|
|
1703
1999
|
}, "de_HistogramEntry");
|
|
2000
|
+
var de_IndexingRule = /* @__PURE__ */ __name((output, context) => {
|
|
2001
|
+
return (0, import_smithy_client.take)(output, {
|
|
2002
|
+
ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2003
|
+
Name: import_smithy_client.expectString,
|
|
2004
|
+
Rule: (_) => de_IndexingRuleValue((0, import_core2.awsExpectUnion)(_), context)
|
|
2005
|
+
});
|
|
2006
|
+
}, "de_IndexingRule");
|
|
2007
|
+
var de_IndexingRuleList = /* @__PURE__ */ __name((output, context) => {
|
|
2008
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2009
|
+
return de_IndexingRule(entry, context);
|
|
2010
|
+
});
|
|
2011
|
+
return retVal;
|
|
2012
|
+
}, "de_IndexingRuleList");
|
|
2013
|
+
var de_IndexingRuleValue = /* @__PURE__ */ __name((output, context) => {
|
|
2014
|
+
if (output.Probabilistic != null) {
|
|
2015
|
+
return {
|
|
2016
|
+
Probabilistic: de_ProbabilisticRuleValue(output.Probabilistic, context)
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2020
|
+
}, "de_IndexingRuleValue");
|
|
1704
2021
|
var de_Insight = /* @__PURE__ */ __name((output, context) => {
|
|
1705
2022
|
return (0, import_smithy_client.take)(output, {
|
|
1706
2023
|
Categories: import_smithy_client._json,
|
|
@@ -1755,6 +2072,12 @@ var de_InsightSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1755
2072
|
});
|
|
1756
2073
|
return retVal;
|
|
1757
2074
|
}, "de_InsightSummaryList");
|
|
2075
|
+
var de_ProbabilisticRuleValue = /* @__PURE__ */ __name((output, context) => {
|
|
2076
|
+
return (0, import_smithy_client.take)(output, {
|
|
2077
|
+
ActualSamplingPercentage: import_smithy_client.limitedParseDouble,
|
|
2078
|
+
DesiredSamplingPercentage: import_smithy_client.limitedParseDouble
|
|
2079
|
+
});
|
|
2080
|
+
}, "de_ProbabilisticRuleValue");
|
|
1758
2081
|
var de_ResourcePolicy = /* @__PURE__ */ __name((output, context) => {
|
|
1759
2082
|
return (0, import_smithy_client.take)(output, {
|
|
1760
2083
|
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1810,6 +2133,25 @@ var de_ResponseTimeRootCauseServices = /* @__PURE__ */ __name((output, context)
|
|
|
1810
2133
|
});
|
|
1811
2134
|
return retVal;
|
|
1812
2135
|
}, "de_ResponseTimeRootCauseServices");
|
|
2136
|
+
var de_RetrievedService = /* @__PURE__ */ __name((output, context) => {
|
|
2137
|
+
return (0, import_smithy_client.take)(output, {
|
|
2138
|
+
Links: import_smithy_client._json,
|
|
2139
|
+
Service: (_) => de_Service(_, context)
|
|
2140
|
+
});
|
|
2141
|
+
}, "de_RetrievedService");
|
|
2142
|
+
var de_RetrievedServicesList = /* @__PURE__ */ __name((output, context) => {
|
|
2143
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2144
|
+
return de_RetrievedService(entry, context);
|
|
2145
|
+
});
|
|
2146
|
+
return retVal;
|
|
2147
|
+
}, "de_RetrievedServicesList");
|
|
2148
|
+
var de_RetrievedTrace = /* @__PURE__ */ __name((output, context) => {
|
|
2149
|
+
return (0, import_smithy_client.take)(output, {
|
|
2150
|
+
Duration: import_smithy_client.limitedParseDouble,
|
|
2151
|
+
Id: import_smithy_client.expectString,
|
|
2152
|
+
Spans: import_smithy_client._json
|
|
2153
|
+
});
|
|
2154
|
+
}, "de_RetrievedTrace");
|
|
1813
2155
|
var de_SamplingRule = /* @__PURE__ */ __name((output, context) => {
|
|
1814
2156
|
return (0, import_smithy_client.take)(output, {
|
|
1815
2157
|
Attributes: import_smithy_client._json,
|
|
@@ -1931,6 +2273,12 @@ var de_TraceList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1931
2273
|
});
|
|
1932
2274
|
return retVal;
|
|
1933
2275
|
}, "de_TraceList");
|
|
2276
|
+
var de_TraceSpanList = /* @__PURE__ */ __name((output, context) => {
|
|
2277
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2278
|
+
return de_RetrievedTrace(entry, context);
|
|
2279
|
+
});
|
|
2280
|
+
return retVal;
|
|
2281
|
+
}, "de_TraceSpanList");
|
|
1934
2282
|
var de_TraceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1935
2283
|
return (0, import_smithy_client.take)(output, {
|
|
1936
2284
|
Annotations: (_) => de_Annotations(_, context),
|
|
@@ -1992,6 +2340,20 @@ var _BatchGetTracesCommand = class _BatchGetTracesCommand extends import_smithy_
|
|
|
1992
2340
|
__name(_BatchGetTracesCommand, "BatchGetTracesCommand");
|
|
1993
2341
|
var BatchGetTracesCommand = _BatchGetTracesCommand;
|
|
1994
2342
|
|
|
2343
|
+
// src/commands/CancelTraceRetrievalCommand.ts
|
|
2344
|
+
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
var _CancelTraceRetrievalCommand = class _CancelTraceRetrievalCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2348
|
+
return [
|
|
2349
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2350
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2351
|
+
];
|
|
2352
|
+
}).s("AWSXRay", "CancelTraceRetrieval", {}).n("XRayClient", "CancelTraceRetrievalCommand").f(void 0, void 0).ser(se_CancelTraceRetrievalCommand).de(de_CancelTraceRetrievalCommand).build() {
|
|
2353
|
+
};
|
|
2354
|
+
__name(_CancelTraceRetrievalCommand, "CancelTraceRetrievalCommand");
|
|
2355
|
+
var CancelTraceRetrievalCommand = _CancelTraceRetrievalCommand;
|
|
2356
|
+
|
|
1995
2357
|
// src/commands/CreateGroupCommand.ts
|
|
1996
2358
|
|
|
1997
2359
|
|
|
@@ -2104,6 +2466,20 @@ var _GetGroupsCommand = class _GetGroupsCommand extends import_smithy_client.Com
|
|
|
2104
2466
|
__name(_GetGroupsCommand, "GetGroupsCommand");
|
|
2105
2467
|
var GetGroupsCommand = _GetGroupsCommand;
|
|
2106
2468
|
|
|
2469
|
+
// src/commands/GetIndexingRulesCommand.ts
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
var _GetIndexingRulesCommand = class _GetIndexingRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2474
|
+
return [
|
|
2475
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2476
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2477
|
+
];
|
|
2478
|
+
}).s("AWSXRay", "GetIndexingRules", {}).n("XRayClient", "GetIndexingRulesCommand").f(void 0, void 0).ser(se_GetIndexingRulesCommand).de(de_GetIndexingRulesCommand).build() {
|
|
2479
|
+
};
|
|
2480
|
+
__name(_GetIndexingRulesCommand, "GetIndexingRulesCommand");
|
|
2481
|
+
var GetIndexingRulesCommand = _GetIndexingRulesCommand;
|
|
2482
|
+
|
|
2107
2483
|
// src/commands/GetInsightCommand.ts
|
|
2108
2484
|
|
|
2109
2485
|
|
|
@@ -2160,6 +2536,20 @@ var _GetInsightSummariesCommand = class _GetInsightSummariesCommand extends impo
|
|
|
2160
2536
|
__name(_GetInsightSummariesCommand, "GetInsightSummariesCommand");
|
|
2161
2537
|
var GetInsightSummariesCommand = _GetInsightSummariesCommand;
|
|
2162
2538
|
|
|
2539
|
+
// src/commands/GetRetrievedTracesGraphCommand.ts
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
var _GetRetrievedTracesGraphCommand = class _GetRetrievedTracesGraphCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2544
|
+
return [
|
|
2545
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2546
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2547
|
+
];
|
|
2548
|
+
}).s("AWSXRay", "GetRetrievedTracesGraph", {}).n("XRayClient", "GetRetrievedTracesGraphCommand").f(void 0, void 0).ser(se_GetRetrievedTracesGraphCommand).de(de_GetRetrievedTracesGraphCommand).build() {
|
|
2549
|
+
};
|
|
2550
|
+
__name(_GetRetrievedTracesGraphCommand, "GetRetrievedTracesGraphCommand");
|
|
2551
|
+
var GetRetrievedTracesGraphCommand = _GetRetrievedTracesGraphCommand;
|
|
2552
|
+
|
|
2163
2553
|
// src/commands/GetSamplingRulesCommand.ts
|
|
2164
2554
|
|
|
2165
2555
|
|
|
@@ -2244,6 +2634,20 @@ var _GetTraceGraphCommand = class _GetTraceGraphCommand extends import_smithy_cl
|
|
|
2244
2634
|
__name(_GetTraceGraphCommand, "GetTraceGraphCommand");
|
|
2245
2635
|
var GetTraceGraphCommand = _GetTraceGraphCommand;
|
|
2246
2636
|
|
|
2637
|
+
// src/commands/GetTraceSegmentDestinationCommand.ts
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
var _GetTraceSegmentDestinationCommand = class _GetTraceSegmentDestinationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2642
|
+
return [
|
|
2643
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2644
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2645
|
+
];
|
|
2646
|
+
}).s("AWSXRay", "GetTraceSegmentDestination", {}).n("XRayClient", "GetTraceSegmentDestinationCommand").f(void 0, void 0).ser(se_GetTraceSegmentDestinationCommand).de(de_GetTraceSegmentDestinationCommand).build() {
|
|
2647
|
+
};
|
|
2648
|
+
__name(_GetTraceSegmentDestinationCommand, "GetTraceSegmentDestinationCommand");
|
|
2649
|
+
var GetTraceSegmentDestinationCommand = _GetTraceSegmentDestinationCommand;
|
|
2650
|
+
|
|
2247
2651
|
// src/commands/GetTraceSummariesCommand.ts
|
|
2248
2652
|
|
|
2249
2653
|
|
|
@@ -2272,6 +2676,20 @@ var _ListResourcePoliciesCommand = class _ListResourcePoliciesCommand extends im
|
|
|
2272
2676
|
__name(_ListResourcePoliciesCommand, "ListResourcePoliciesCommand");
|
|
2273
2677
|
var ListResourcePoliciesCommand = _ListResourcePoliciesCommand;
|
|
2274
2678
|
|
|
2679
|
+
// src/commands/ListRetrievedTracesCommand.ts
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
var _ListRetrievedTracesCommand = class _ListRetrievedTracesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2684
|
+
return [
|
|
2685
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2686
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2687
|
+
];
|
|
2688
|
+
}).s("AWSXRay", "ListRetrievedTraces", {}).n("XRayClient", "ListRetrievedTracesCommand").f(void 0, void 0).ser(se_ListRetrievedTracesCommand).de(de_ListRetrievedTracesCommand).build() {
|
|
2689
|
+
};
|
|
2690
|
+
__name(_ListRetrievedTracesCommand, "ListRetrievedTracesCommand");
|
|
2691
|
+
var ListRetrievedTracesCommand = _ListRetrievedTracesCommand;
|
|
2692
|
+
|
|
2275
2693
|
// src/commands/ListTagsForResourceCommand.ts
|
|
2276
2694
|
|
|
2277
2695
|
|
|
@@ -2342,6 +2760,20 @@ var _PutTraceSegmentsCommand = class _PutTraceSegmentsCommand extends import_smi
|
|
|
2342
2760
|
__name(_PutTraceSegmentsCommand, "PutTraceSegmentsCommand");
|
|
2343
2761
|
var PutTraceSegmentsCommand = _PutTraceSegmentsCommand;
|
|
2344
2762
|
|
|
2763
|
+
// src/commands/StartTraceRetrievalCommand.ts
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
var _StartTraceRetrievalCommand = class _StartTraceRetrievalCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2768
|
+
return [
|
|
2769
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2770
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2771
|
+
];
|
|
2772
|
+
}).s("AWSXRay", "StartTraceRetrieval", {}).n("XRayClient", "StartTraceRetrievalCommand").f(void 0, void 0).ser(se_StartTraceRetrievalCommand).de(de_StartTraceRetrievalCommand).build() {
|
|
2773
|
+
};
|
|
2774
|
+
__name(_StartTraceRetrievalCommand, "StartTraceRetrievalCommand");
|
|
2775
|
+
var StartTraceRetrievalCommand = _StartTraceRetrievalCommand;
|
|
2776
|
+
|
|
2345
2777
|
// src/commands/TagResourceCommand.ts
|
|
2346
2778
|
|
|
2347
2779
|
|
|
@@ -2384,6 +2816,20 @@ var _UpdateGroupCommand = class _UpdateGroupCommand extends import_smithy_client
|
|
|
2384
2816
|
__name(_UpdateGroupCommand, "UpdateGroupCommand");
|
|
2385
2817
|
var UpdateGroupCommand = _UpdateGroupCommand;
|
|
2386
2818
|
|
|
2819
|
+
// src/commands/UpdateIndexingRuleCommand.ts
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
var _UpdateIndexingRuleCommand = class _UpdateIndexingRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2824
|
+
return [
|
|
2825
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2826
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2827
|
+
];
|
|
2828
|
+
}).s("AWSXRay", "UpdateIndexingRule", {}).n("XRayClient", "UpdateIndexingRuleCommand").f(void 0, void 0).ser(se_UpdateIndexingRuleCommand).de(de_UpdateIndexingRuleCommand).build() {
|
|
2829
|
+
};
|
|
2830
|
+
__name(_UpdateIndexingRuleCommand, "UpdateIndexingRuleCommand");
|
|
2831
|
+
var UpdateIndexingRuleCommand = _UpdateIndexingRuleCommand;
|
|
2832
|
+
|
|
2387
2833
|
// src/commands/UpdateSamplingRuleCommand.ts
|
|
2388
2834
|
|
|
2389
2835
|
|
|
@@ -2398,9 +2844,24 @@ var _UpdateSamplingRuleCommand = class _UpdateSamplingRuleCommand extends import
|
|
|
2398
2844
|
__name(_UpdateSamplingRuleCommand, "UpdateSamplingRuleCommand");
|
|
2399
2845
|
var UpdateSamplingRuleCommand = _UpdateSamplingRuleCommand;
|
|
2400
2846
|
|
|
2847
|
+
// src/commands/UpdateTraceSegmentDestinationCommand.ts
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
var _UpdateTraceSegmentDestinationCommand = class _UpdateTraceSegmentDestinationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2852
|
+
return [
|
|
2853
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2854
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2855
|
+
];
|
|
2856
|
+
}).s("AWSXRay", "UpdateTraceSegmentDestination", {}).n("XRayClient", "UpdateTraceSegmentDestinationCommand").f(void 0, void 0).ser(se_UpdateTraceSegmentDestinationCommand).de(de_UpdateTraceSegmentDestinationCommand).build() {
|
|
2857
|
+
};
|
|
2858
|
+
__name(_UpdateTraceSegmentDestinationCommand, "UpdateTraceSegmentDestinationCommand");
|
|
2859
|
+
var UpdateTraceSegmentDestinationCommand = _UpdateTraceSegmentDestinationCommand;
|
|
2860
|
+
|
|
2401
2861
|
// src/XRay.ts
|
|
2402
2862
|
var commands = {
|
|
2403
2863
|
BatchGetTracesCommand,
|
|
2864
|
+
CancelTraceRetrievalCommand,
|
|
2404
2865
|
CreateGroupCommand,
|
|
2405
2866
|
CreateSamplingRuleCommand,
|
|
2406
2867
|
DeleteGroupCommand,
|
|
@@ -2409,27 +2870,34 @@ var commands = {
|
|
|
2409
2870
|
GetEncryptionConfigCommand,
|
|
2410
2871
|
GetGroupCommand,
|
|
2411
2872
|
GetGroupsCommand,
|
|
2873
|
+
GetIndexingRulesCommand,
|
|
2412
2874
|
GetInsightCommand,
|
|
2413
2875
|
GetInsightEventsCommand,
|
|
2414
2876
|
GetInsightImpactGraphCommand,
|
|
2415
2877
|
GetInsightSummariesCommand,
|
|
2878
|
+
GetRetrievedTracesGraphCommand,
|
|
2416
2879
|
GetSamplingRulesCommand,
|
|
2417
2880
|
GetSamplingStatisticSummariesCommand,
|
|
2418
2881
|
GetSamplingTargetsCommand,
|
|
2419
2882
|
GetServiceGraphCommand,
|
|
2420
2883
|
GetTimeSeriesServiceStatisticsCommand,
|
|
2421
2884
|
GetTraceGraphCommand,
|
|
2885
|
+
GetTraceSegmentDestinationCommand,
|
|
2422
2886
|
GetTraceSummariesCommand,
|
|
2423
2887
|
ListResourcePoliciesCommand,
|
|
2888
|
+
ListRetrievedTracesCommand,
|
|
2424
2889
|
ListTagsForResourceCommand,
|
|
2425
2890
|
PutEncryptionConfigCommand,
|
|
2426
2891
|
PutResourcePolicyCommand,
|
|
2427
2892
|
PutTelemetryRecordsCommand,
|
|
2428
2893
|
PutTraceSegmentsCommand,
|
|
2894
|
+
StartTraceRetrievalCommand,
|
|
2429
2895
|
TagResourceCommand,
|
|
2430
2896
|
UntagResourceCommand,
|
|
2431
2897
|
UpdateGroupCommand,
|
|
2432
|
-
|
|
2898
|
+
UpdateIndexingRuleCommand,
|
|
2899
|
+
UpdateSamplingRuleCommand,
|
|
2900
|
+
UpdateTraceSegmentDestinationCommand
|
|
2433
2901
|
};
|
|
2434
2902
|
var _XRay = class _XRay extends XRayClient {
|
|
2435
2903
|
};
|
|
@@ -2493,6 +2961,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(XRayClient, L
|
|
|
2493
2961
|
XRay,
|
|
2494
2962
|
$Command,
|
|
2495
2963
|
BatchGetTracesCommand,
|
|
2964
|
+
CancelTraceRetrievalCommand,
|
|
2496
2965
|
CreateGroupCommand,
|
|
2497
2966
|
CreateSamplingRuleCommand,
|
|
2498
2967
|
DeleteGroupCommand,
|
|
@@ -2501,27 +2970,34 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(XRayClient, L
|
|
|
2501
2970
|
GetEncryptionConfigCommand,
|
|
2502
2971
|
GetGroupCommand,
|
|
2503
2972
|
GetGroupsCommand,
|
|
2973
|
+
GetIndexingRulesCommand,
|
|
2504
2974
|
GetInsightCommand,
|
|
2505
2975
|
GetInsightEventsCommand,
|
|
2506
2976
|
GetInsightImpactGraphCommand,
|
|
2507
2977
|
GetInsightSummariesCommand,
|
|
2978
|
+
GetRetrievedTracesGraphCommand,
|
|
2508
2979
|
GetSamplingRulesCommand,
|
|
2509
2980
|
GetSamplingStatisticSummariesCommand,
|
|
2510
2981
|
GetSamplingTargetsCommand,
|
|
2511
2982
|
GetServiceGraphCommand,
|
|
2512
2983
|
GetTimeSeriesServiceStatisticsCommand,
|
|
2513
2984
|
GetTraceGraphCommand,
|
|
2985
|
+
GetTraceSegmentDestinationCommand,
|
|
2514
2986
|
GetTraceSummariesCommand,
|
|
2515
2987
|
ListResourcePoliciesCommand,
|
|
2988
|
+
ListRetrievedTracesCommand,
|
|
2516
2989
|
ListTagsForResourceCommand,
|
|
2517
2990
|
PutEncryptionConfigCommand,
|
|
2518
2991
|
PutResourcePolicyCommand,
|
|
2519
2992
|
PutTelemetryRecordsCommand,
|
|
2520
2993
|
PutTraceSegmentsCommand,
|
|
2994
|
+
StartTraceRetrievalCommand,
|
|
2521
2995
|
TagResourceCommand,
|
|
2522
2996
|
UntagResourceCommand,
|
|
2523
2997
|
UpdateGroupCommand,
|
|
2998
|
+
UpdateIndexingRuleCommand,
|
|
2524
2999
|
UpdateSamplingRuleCommand,
|
|
3000
|
+
UpdateTraceSegmentDestinationCommand,
|
|
2525
3001
|
paginateBatchGetTraces,
|
|
2526
3002
|
paginateGetGroups,
|
|
2527
3003
|
paginateGetInsightEvents,
|
|
@@ -2537,19 +3013,25 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(XRayClient, L
|
|
|
2537
3013
|
AnnotationValue,
|
|
2538
3014
|
InvalidRequestException,
|
|
2539
3015
|
ThrottledException,
|
|
3016
|
+
ResourceNotFoundException,
|
|
2540
3017
|
RuleLimitExceededException,
|
|
2541
3018
|
InvalidPolicyRevisionIdException,
|
|
2542
3019
|
EncryptionStatus,
|
|
2543
3020
|
EncryptionType,
|
|
3021
|
+
IndexingRuleValue,
|
|
2544
3022
|
InsightCategory,
|
|
2545
3023
|
InsightState,
|
|
3024
|
+
RetrievalStatus,
|
|
3025
|
+
TraceSegmentDestination,
|
|
3026
|
+
TraceSegmentDestinationStatus,
|
|
2546
3027
|
SamplingStrategyName,
|
|
2547
3028
|
TimeRangeType,
|
|
2548
|
-
|
|
3029
|
+
TraceFormatType,
|
|
2549
3030
|
LockoutPreventionException,
|
|
2550
3031
|
MalformedPolicyDocumentException,
|
|
2551
3032
|
PolicyCountLimitExceededException,
|
|
2552
3033
|
PolicySizeLimitExceededException,
|
|
2553
|
-
TooManyTagsException
|
|
3034
|
+
TooManyTagsException,
|
|
3035
|
+
IndexingRuleValueUpdate
|
|
2554
3036
|
});
|
|
2555
3037
|
|