@aws-sdk/client-xray 3.693.0 → 3.698.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 +35 -35
package/dist-es/XRay.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { BatchGetTracesCommand, } from "./commands/BatchGetTracesCommand";
|
|
3
|
+
import { CancelTraceRetrievalCommand, } from "./commands/CancelTraceRetrievalCommand";
|
|
3
4
|
import { CreateGroupCommand } from "./commands/CreateGroupCommand";
|
|
4
5
|
import { CreateSamplingRuleCommand, } from "./commands/CreateSamplingRuleCommand";
|
|
5
6
|
import { DeleteGroupCommand } from "./commands/DeleteGroupCommand";
|
|
@@ -8,30 +9,38 @@ import { DeleteSamplingRuleCommand, } from "./commands/DeleteSamplingRuleCommand
|
|
|
8
9
|
import { GetEncryptionConfigCommand, } from "./commands/GetEncryptionConfigCommand";
|
|
9
10
|
import { GetGroupCommand } from "./commands/GetGroupCommand";
|
|
10
11
|
import { GetGroupsCommand } from "./commands/GetGroupsCommand";
|
|
12
|
+
import { GetIndexingRulesCommand, } from "./commands/GetIndexingRulesCommand";
|
|
11
13
|
import { GetInsightCommand } from "./commands/GetInsightCommand";
|
|
12
14
|
import { GetInsightEventsCommand, } from "./commands/GetInsightEventsCommand";
|
|
13
15
|
import { GetInsightImpactGraphCommand, } from "./commands/GetInsightImpactGraphCommand";
|
|
14
16
|
import { GetInsightSummariesCommand, } from "./commands/GetInsightSummariesCommand";
|
|
17
|
+
import { GetRetrievedTracesGraphCommand, } from "./commands/GetRetrievedTracesGraphCommand";
|
|
15
18
|
import { GetSamplingRulesCommand, } from "./commands/GetSamplingRulesCommand";
|
|
16
19
|
import { GetSamplingStatisticSummariesCommand, } from "./commands/GetSamplingStatisticSummariesCommand";
|
|
17
20
|
import { GetSamplingTargetsCommand, } from "./commands/GetSamplingTargetsCommand";
|
|
18
21
|
import { GetServiceGraphCommand, } from "./commands/GetServiceGraphCommand";
|
|
19
22
|
import { GetTimeSeriesServiceStatisticsCommand, } from "./commands/GetTimeSeriesServiceStatisticsCommand";
|
|
20
23
|
import { GetTraceGraphCommand, } from "./commands/GetTraceGraphCommand";
|
|
24
|
+
import { GetTraceSegmentDestinationCommand, } from "./commands/GetTraceSegmentDestinationCommand";
|
|
21
25
|
import { GetTraceSummariesCommand, } from "./commands/GetTraceSummariesCommand";
|
|
22
26
|
import { ListResourcePoliciesCommand, } from "./commands/ListResourcePoliciesCommand";
|
|
27
|
+
import { ListRetrievedTracesCommand, } from "./commands/ListRetrievedTracesCommand";
|
|
23
28
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
24
29
|
import { PutEncryptionConfigCommand, } from "./commands/PutEncryptionConfigCommand";
|
|
25
30
|
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
26
31
|
import { PutTelemetryRecordsCommand, } from "./commands/PutTelemetryRecordsCommand";
|
|
27
32
|
import { PutTraceSegmentsCommand, } from "./commands/PutTraceSegmentsCommand";
|
|
33
|
+
import { StartTraceRetrievalCommand, } from "./commands/StartTraceRetrievalCommand";
|
|
28
34
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
29
35
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
30
36
|
import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
|
|
37
|
+
import { UpdateIndexingRuleCommand, } from "./commands/UpdateIndexingRuleCommand";
|
|
31
38
|
import { UpdateSamplingRuleCommand, } from "./commands/UpdateSamplingRuleCommand";
|
|
39
|
+
import { UpdateTraceSegmentDestinationCommand, } from "./commands/UpdateTraceSegmentDestinationCommand";
|
|
32
40
|
import { XRayClient } from "./XRayClient";
|
|
33
41
|
const commands = {
|
|
34
42
|
BatchGetTracesCommand,
|
|
43
|
+
CancelTraceRetrievalCommand,
|
|
35
44
|
CreateGroupCommand,
|
|
36
45
|
CreateSamplingRuleCommand,
|
|
37
46
|
DeleteGroupCommand,
|
|
@@ -40,27 +49,34 @@ const commands = {
|
|
|
40
49
|
GetEncryptionConfigCommand,
|
|
41
50
|
GetGroupCommand,
|
|
42
51
|
GetGroupsCommand,
|
|
52
|
+
GetIndexingRulesCommand,
|
|
43
53
|
GetInsightCommand,
|
|
44
54
|
GetInsightEventsCommand,
|
|
45
55
|
GetInsightImpactGraphCommand,
|
|
46
56
|
GetInsightSummariesCommand,
|
|
57
|
+
GetRetrievedTracesGraphCommand,
|
|
47
58
|
GetSamplingRulesCommand,
|
|
48
59
|
GetSamplingStatisticSummariesCommand,
|
|
49
60
|
GetSamplingTargetsCommand,
|
|
50
61
|
GetServiceGraphCommand,
|
|
51
62
|
GetTimeSeriesServiceStatisticsCommand,
|
|
52
63
|
GetTraceGraphCommand,
|
|
64
|
+
GetTraceSegmentDestinationCommand,
|
|
53
65
|
GetTraceSummariesCommand,
|
|
54
66
|
ListResourcePoliciesCommand,
|
|
67
|
+
ListRetrievedTracesCommand,
|
|
55
68
|
ListTagsForResourceCommand,
|
|
56
69
|
PutEncryptionConfigCommand,
|
|
57
70
|
PutResourcePolicyCommand,
|
|
58
71
|
PutTelemetryRecordsCommand,
|
|
59
72
|
PutTraceSegmentsCommand,
|
|
73
|
+
StartTraceRetrievalCommand,
|
|
60
74
|
TagResourceCommand,
|
|
61
75
|
UntagResourceCommand,
|
|
62
76
|
UpdateGroupCommand,
|
|
77
|
+
UpdateIndexingRuleCommand,
|
|
63
78
|
UpdateSamplingRuleCommand,
|
|
79
|
+
UpdateTraceSegmentDestinationCommand,
|
|
64
80
|
};
|
|
65
81
|
export class XRay extends XRayClient {
|
|
66
82
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CancelTraceRetrievalCommand, se_CancelTraceRetrievalCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CancelTraceRetrievalCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSXRay", "CancelTraceRetrieval", {})
|
|
17
|
+
.n("XRayClient", "CancelTraceRetrievalCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CancelTraceRetrievalCommand)
|
|
20
|
+
.de(de_CancelTraceRetrievalCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetIndexingRulesCommand, se_GetIndexingRulesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetIndexingRulesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSXRay", "GetIndexingRules", {})
|
|
17
|
+
.n("XRayClient", "GetIndexingRulesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetIndexingRulesCommand)
|
|
20
|
+
.de(de_GetIndexingRulesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetRetrievedTracesGraphCommand, se_GetRetrievedTracesGraphCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetRetrievedTracesGraphCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSXRay", "GetRetrievedTracesGraph", {})
|
|
17
|
+
.n("XRayClient", "GetRetrievedTracesGraphCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetRetrievedTracesGraphCommand)
|
|
20
|
+
.de(de_GetRetrievedTracesGraphCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetTraceSegmentDestinationCommand, se_GetTraceSegmentDestinationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetTraceSegmentDestinationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSXRay", "GetTraceSegmentDestination", {})
|
|
17
|
+
.n("XRayClient", "GetTraceSegmentDestinationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetTraceSegmentDestinationCommand)
|
|
20
|
+
.de(de_GetTraceSegmentDestinationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListRetrievedTracesCommand, se_ListRetrievedTracesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListRetrievedTracesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSXRay", "ListRetrievedTraces", {})
|
|
17
|
+
.n("XRayClient", "ListRetrievedTracesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListRetrievedTracesCommand)
|
|
20
|
+
.de(de_ListRetrievedTracesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartTraceRetrievalCommand, se_StartTraceRetrievalCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartTraceRetrievalCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSXRay", "StartTraceRetrieval", {})
|
|
17
|
+
.n("XRayClient", "StartTraceRetrievalCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartTraceRetrievalCommand)
|
|
20
|
+
.de(de_StartTraceRetrievalCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateIndexingRuleCommand, se_UpdateIndexingRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateIndexingRuleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSXRay", "UpdateIndexingRule", {})
|
|
17
|
+
.n("XRayClient", "UpdateIndexingRuleCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateIndexingRuleCommand)
|
|
20
|
+
.de(de_UpdateIndexingRuleCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateTraceSegmentDestinationCommand, se_UpdateTraceSegmentDestinationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateTraceSegmentDestinationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSXRay", "UpdateTraceSegmentDestination", {})
|
|
17
|
+
.n("XRayClient", "UpdateTraceSegmentDestinationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateTraceSegmentDestinationCommand)
|
|
20
|
+
.de(de_UpdateTraceSegmentDestinationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./BatchGetTracesCommand";
|
|
2
|
+
export * from "./CancelTraceRetrievalCommand";
|
|
2
3
|
export * from "./CreateGroupCommand";
|
|
3
4
|
export * from "./CreateSamplingRuleCommand";
|
|
4
5
|
export * from "./DeleteGroupCommand";
|
|
@@ -7,24 +8,31 @@ export * from "./DeleteSamplingRuleCommand";
|
|
|
7
8
|
export * from "./GetEncryptionConfigCommand";
|
|
8
9
|
export * from "./GetGroupCommand";
|
|
9
10
|
export * from "./GetGroupsCommand";
|
|
11
|
+
export * from "./GetIndexingRulesCommand";
|
|
10
12
|
export * from "./GetInsightCommand";
|
|
11
13
|
export * from "./GetInsightEventsCommand";
|
|
12
14
|
export * from "./GetInsightImpactGraphCommand";
|
|
13
15
|
export * from "./GetInsightSummariesCommand";
|
|
16
|
+
export * from "./GetRetrievedTracesGraphCommand";
|
|
14
17
|
export * from "./GetSamplingRulesCommand";
|
|
15
18
|
export * from "./GetSamplingStatisticSummariesCommand";
|
|
16
19
|
export * from "./GetSamplingTargetsCommand";
|
|
17
20
|
export * from "./GetServiceGraphCommand";
|
|
18
21
|
export * from "./GetTimeSeriesServiceStatisticsCommand";
|
|
19
22
|
export * from "./GetTraceGraphCommand";
|
|
23
|
+
export * from "./GetTraceSegmentDestinationCommand";
|
|
20
24
|
export * from "./GetTraceSummariesCommand";
|
|
21
25
|
export * from "./ListResourcePoliciesCommand";
|
|
26
|
+
export * from "./ListRetrievedTracesCommand";
|
|
22
27
|
export * from "./ListTagsForResourceCommand";
|
|
23
28
|
export * from "./PutEncryptionConfigCommand";
|
|
24
29
|
export * from "./PutResourcePolicyCommand";
|
|
25
30
|
export * from "./PutTelemetryRecordsCommand";
|
|
26
31
|
export * from "./PutTraceSegmentsCommand";
|
|
32
|
+
export * from "./StartTraceRetrievalCommand";
|
|
27
33
|
export * from "./TagResourceCommand";
|
|
28
34
|
export * from "./UntagResourceCommand";
|
|
29
35
|
export * from "./UpdateGroupCommand";
|
|
36
|
+
export * from "./UpdateIndexingRuleCommand";
|
|
30
37
|
export * from "./UpdateSamplingRuleCommand";
|
|
38
|
+
export * from "./UpdateTraceSegmentDestinationCommand";
|
|
@@ -37,6 +37,20 @@ export class ThrottledException extends __BaseException {
|
|
|
37
37
|
this.Message = opts.Message;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ResourceNotFoundException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
this.name = "ResourceNotFoundException";
|
|
48
|
+
this.$fault = "client";
|
|
49
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
50
|
+
this.Message = opts.Message;
|
|
51
|
+
this.ResourceName = opts.ResourceName;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
40
54
|
export class RuleLimitExceededException extends __BaseException {
|
|
41
55
|
constructor(opts) {
|
|
42
56
|
super({
|
|
@@ -71,6 +85,14 @@ export const EncryptionType = {
|
|
|
71
85
|
KMS: "KMS",
|
|
72
86
|
NONE: "NONE",
|
|
73
87
|
};
|
|
88
|
+
export var IndexingRuleValue;
|
|
89
|
+
(function (IndexingRuleValue) {
|
|
90
|
+
IndexingRuleValue.visit = (value, visitor) => {
|
|
91
|
+
if (value.Probabilistic !== undefined)
|
|
92
|
+
return visitor.Probabilistic(value.Probabilistic);
|
|
93
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
94
|
+
};
|
|
95
|
+
})(IndexingRuleValue || (IndexingRuleValue = {}));
|
|
74
96
|
export const InsightCategory = {
|
|
75
97
|
FAULT: "FAULT",
|
|
76
98
|
};
|
|
@@ -78,6 +100,22 @@ export const InsightState = {
|
|
|
78
100
|
ACTIVE: "ACTIVE",
|
|
79
101
|
CLOSED: "CLOSED",
|
|
80
102
|
};
|
|
103
|
+
export const RetrievalStatus = {
|
|
104
|
+
CANCELLED: "CANCELLED",
|
|
105
|
+
COMPLETE: "COMPLETE",
|
|
106
|
+
FAILED: "FAILED",
|
|
107
|
+
RUNNING: "RUNNING",
|
|
108
|
+
SCHEDULED: "SCHEDULED",
|
|
109
|
+
TIMEOUT: "TIMEOUT",
|
|
110
|
+
};
|
|
111
|
+
export const TraceSegmentDestination = {
|
|
112
|
+
CloudWatchLogs: "CloudWatchLogs",
|
|
113
|
+
XRay: "XRay",
|
|
114
|
+
};
|
|
115
|
+
export const TraceSegmentDestinationStatus = {
|
|
116
|
+
ACTIVE: "ACTIVE",
|
|
117
|
+
PENDING: "PENDING",
|
|
118
|
+
};
|
|
81
119
|
export const SamplingStrategyName = {
|
|
82
120
|
FixedRate: "FixedRate",
|
|
83
121
|
PartialScan: "PartialScan",
|
|
@@ -87,20 +125,10 @@ export const TimeRangeType = {
|
|
|
87
125
|
Service: "Service",
|
|
88
126
|
TraceId: "TraceId",
|
|
89
127
|
};
|
|
90
|
-
export
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
$fault: "client",
|
|
95
|
-
...opts,
|
|
96
|
-
});
|
|
97
|
-
this.name = "ResourceNotFoundException";
|
|
98
|
-
this.$fault = "client";
|
|
99
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
100
|
-
this.Message = opts.Message;
|
|
101
|
-
this.ResourceName = opts.ResourceName;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
128
|
+
export const TraceFormatType = {
|
|
129
|
+
OTEL: "OTEL",
|
|
130
|
+
XRAY: "XRAY",
|
|
131
|
+
};
|
|
104
132
|
export class LockoutPreventionException extends __BaseException {
|
|
105
133
|
constructor(opts) {
|
|
106
134
|
super({
|
|
@@ -167,3 +195,11 @@ export class TooManyTagsException extends __BaseException {
|
|
|
167
195
|
this.ResourceName = opts.ResourceName;
|
|
168
196
|
}
|
|
169
197
|
}
|
|
198
|
+
export var IndexingRuleValueUpdate;
|
|
199
|
+
(function (IndexingRuleValueUpdate) {
|
|
200
|
+
IndexingRuleValueUpdate.visit = (value, visitor) => {
|
|
201
|
+
if (value.Probabilistic !== undefined)
|
|
202
|
+
return visitor.Probabilistic(value.Probabilistic);
|
|
203
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
204
|
+
};
|
|
205
|
+
})(IndexingRuleValueUpdate || (IndexingRuleValueUpdate = {}));
|