@aws-sdk/client-xray 3.490.0 → 3.496.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.
Files changed (56) hide show
  1. package/dist-cjs/XRay.js +1 -71
  2. package/dist-cjs/XRayClient.js +1 -43
  3. package/dist-cjs/commands/BatchGetTracesCommand.js +1 -28
  4. package/dist-cjs/commands/CreateGroupCommand.js +1 -28
  5. package/dist-cjs/commands/CreateSamplingRuleCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteGroupCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteSamplingRuleCommand.js +1 -28
  9. package/dist-cjs/commands/GetEncryptionConfigCommand.js +1 -28
  10. package/dist-cjs/commands/GetGroupCommand.js +1 -28
  11. package/dist-cjs/commands/GetGroupsCommand.js +1 -28
  12. package/dist-cjs/commands/GetInsightCommand.js +1 -28
  13. package/dist-cjs/commands/GetInsightEventsCommand.js +1 -28
  14. package/dist-cjs/commands/GetInsightImpactGraphCommand.js +1 -28
  15. package/dist-cjs/commands/GetInsightSummariesCommand.js +1 -28
  16. package/dist-cjs/commands/GetSamplingRulesCommand.js +1 -28
  17. package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js +1 -28
  18. package/dist-cjs/commands/GetSamplingTargetsCommand.js +1 -28
  19. package/dist-cjs/commands/GetServiceGraphCommand.js +1 -28
  20. package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js +1 -28
  21. package/dist-cjs/commands/GetTraceGraphCommand.js +1 -28
  22. package/dist-cjs/commands/GetTraceSummariesCommand.js +1 -28
  23. package/dist-cjs/commands/ListResourcePoliciesCommand.js +1 -28
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  25. package/dist-cjs/commands/PutEncryptionConfigCommand.js +1 -28
  26. package/dist-cjs/commands/PutResourcePolicyCommand.js +1 -28
  27. package/dist-cjs/commands/PutTelemetryRecordsCommand.js +1 -28
  28. package/dist-cjs/commands/PutTraceSegmentsCommand.js +1 -28
  29. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  30. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  31. package/dist-cjs/commands/UpdateGroupCommand.js +1 -28
  32. package/dist-cjs/commands/UpdateSamplingRuleCommand.js +1 -28
  33. package/dist-cjs/commands/index.js +1 -33
  34. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  35. package/dist-cjs/extensionConfiguration.js +1 -2
  36. package/dist-cjs/index.js +3282 -11
  37. package/dist-cjs/models/XRayServiceException.js +1 -12
  38. package/dist-cjs/models/index.js +1 -4
  39. package/dist-cjs/models/models_0.js +1 -182
  40. package/dist-cjs/pagination/BatchGetTracesPaginator.js +1 -7
  41. package/dist-cjs/pagination/GetGroupsPaginator.js +1 -7
  42. package/dist-cjs/pagination/GetInsightEventsPaginator.js +1 -7
  43. package/dist-cjs/pagination/GetInsightSummariesPaginator.js +1 -7
  44. package/dist-cjs/pagination/GetSamplingRulesPaginator.js +1 -7
  45. package/dist-cjs/pagination/GetSamplingStatisticSummariesPaginator.js +1 -7
  46. package/dist-cjs/pagination/GetServiceGraphPaginator.js +1 -7
  47. package/dist-cjs/pagination/GetTimeSeriesServiceStatisticsPaginator.js +1 -7
  48. package/dist-cjs/pagination/GetTraceGraphPaginator.js +1 -7
  49. package/dist-cjs/pagination/GetTraceSummariesPaginator.js +1 -7
  50. package/dist-cjs/pagination/Interfaces.js +1 -2
  51. package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +1 -7
  52. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -7
  53. package/dist-cjs/pagination/index.js +1 -16
  54. package/dist-cjs/protocols/Aws_restJson1.js +1 -2248
  55. package/dist-cjs/runtimeExtensions.js +1 -22
  56. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.XRayServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class XRayServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, XRayServiceException.prototype);
10
- }
11
- }
12
- exports.XRayServiceException = XRayServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,182 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TooManyTagsException = exports.PolicySizeLimitExceededException = exports.PolicyCountLimitExceededException = exports.MalformedPolicyDocumentException = exports.LockoutPreventionException = exports.ResourceNotFoundException = exports.TimeRangeType = exports.SamplingStrategyName = exports.InsightState = exports.InsightCategory = exports.EncryptionType = exports.EncryptionStatus = exports.InvalidPolicyRevisionIdException = exports.RuleLimitExceededException = exports.ThrottledException = exports.InvalidRequestException = exports.AnnotationValue = void 0;
4
- const XRayServiceException_1 = require("./XRayServiceException");
5
- var AnnotationValue;
6
- (function (AnnotationValue) {
7
- AnnotationValue.visit = (value, visitor) => {
8
- if (value.NumberValue !== undefined)
9
- return visitor.NumberValue(value.NumberValue);
10
- if (value.BooleanValue !== undefined)
11
- return visitor.BooleanValue(value.BooleanValue);
12
- if (value.StringValue !== undefined)
13
- return visitor.StringValue(value.StringValue);
14
- return visitor._(value.$unknown[0], value.$unknown[1]);
15
- };
16
- })(AnnotationValue = exports.AnnotationValue || (exports.AnnotationValue = {}));
17
- class InvalidRequestException extends XRayServiceException_1.XRayServiceException {
18
- constructor(opts) {
19
- super({
20
- name: "InvalidRequestException",
21
- $fault: "client",
22
- ...opts,
23
- });
24
- this.name = "InvalidRequestException";
25
- this.$fault = "client";
26
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
27
- this.Message = opts.Message;
28
- }
29
- }
30
- exports.InvalidRequestException = InvalidRequestException;
31
- class ThrottledException extends XRayServiceException_1.XRayServiceException {
32
- constructor(opts) {
33
- super({
34
- name: "ThrottledException",
35
- $fault: "client",
36
- ...opts,
37
- });
38
- this.name = "ThrottledException";
39
- this.$fault = "client";
40
- Object.setPrototypeOf(this, ThrottledException.prototype);
41
- this.Message = opts.Message;
42
- }
43
- }
44
- exports.ThrottledException = ThrottledException;
45
- class RuleLimitExceededException extends XRayServiceException_1.XRayServiceException {
46
- constructor(opts) {
47
- super({
48
- name: "RuleLimitExceededException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- this.name = "RuleLimitExceededException";
53
- this.$fault = "client";
54
- Object.setPrototypeOf(this, RuleLimitExceededException.prototype);
55
- this.Message = opts.Message;
56
- }
57
- }
58
- exports.RuleLimitExceededException = RuleLimitExceededException;
59
- class InvalidPolicyRevisionIdException extends XRayServiceException_1.XRayServiceException {
60
- constructor(opts) {
61
- super({
62
- name: "InvalidPolicyRevisionIdException",
63
- $fault: "client",
64
- ...opts,
65
- });
66
- this.name = "InvalidPolicyRevisionIdException";
67
- this.$fault = "client";
68
- Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
69
- this.Message = opts.Message;
70
- }
71
- }
72
- exports.InvalidPolicyRevisionIdException = InvalidPolicyRevisionIdException;
73
- exports.EncryptionStatus = {
74
- ACTIVE: "ACTIVE",
75
- UPDATING: "UPDATING",
76
- };
77
- exports.EncryptionType = {
78
- KMS: "KMS",
79
- NONE: "NONE",
80
- };
81
- exports.InsightCategory = {
82
- FAULT: "FAULT",
83
- };
84
- exports.InsightState = {
85
- ACTIVE: "ACTIVE",
86
- CLOSED: "CLOSED",
87
- };
88
- exports.SamplingStrategyName = {
89
- FixedRate: "FixedRate",
90
- PartialScan: "PartialScan",
91
- };
92
- exports.TimeRangeType = {
93
- Event: "Event",
94
- Service: "Service",
95
- TraceId: "TraceId",
96
- };
97
- class ResourceNotFoundException extends XRayServiceException_1.XRayServiceException {
98
- constructor(opts) {
99
- super({
100
- name: "ResourceNotFoundException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- this.name = "ResourceNotFoundException";
105
- this.$fault = "client";
106
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
107
- this.Message = opts.Message;
108
- this.ResourceName = opts.ResourceName;
109
- }
110
- }
111
- exports.ResourceNotFoundException = ResourceNotFoundException;
112
- class LockoutPreventionException extends XRayServiceException_1.XRayServiceException {
113
- constructor(opts) {
114
- super({
115
- name: "LockoutPreventionException",
116
- $fault: "client",
117
- ...opts,
118
- });
119
- this.name = "LockoutPreventionException";
120
- this.$fault = "client";
121
- Object.setPrototypeOf(this, LockoutPreventionException.prototype);
122
- this.Message = opts.Message;
123
- }
124
- }
125
- exports.LockoutPreventionException = LockoutPreventionException;
126
- class MalformedPolicyDocumentException extends XRayServiceException_1.XRayServiceException {
127
- constructor(opts) {
128
- super({
129
- name: "MalformedPolicyDocumentException",
130
- $fault: "client",
131
- ...opts,
132
- });
133
- this.name = "MalformedPolicyDocumentException";
134
- this.$fault = "client";
135
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
136
- this.Message = opts.Message;
137
- }
138
- }
139
- exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
140
- class PolicyCountLimitExceededException extends XRayServiceException_1.XRayServiceException {
141
- constructor(opts) {
142
- super({
143
- name: "PolicyCountLimitExceededException",
144
- $fault: "client",
145
- ...opts,
146
- });
147
- this.name = "PolicyCountLimitExceededException";
148
- this.$fault = "client";
149
- Object.setPrototypeOf(this, PolicyCountLimitExceededException.prototype);
150
- this.Message = opts.Message;
151
- }
152
- }
153
- exports.PolicyCountLimitExceededException = PolicyCountLimitExceededException;
154
- class PolicySizeLimitExceededException extends XRayServiceException_1.XRayServiceException {
155
- constructor(opts) {
156
- super({
157
- name: "PolicySizeLimitExceededException",
158
- $fault: "client",
159
- ...opts,
160
- });
161
- this.name = "PolicySizeLimitExceededException";
162
- this.$fault = "client";
163
- Object.setPrototypeOf(this, PolicySizeLimitExceededException.prototype);
164
- this.Message = opts.Message;
165
- }
166
- }
167
- exports.PolicySizeLimitExceededException = PolicySizeLimitExceededException;
168
- class TooManyTagsException extends XRayServiceException_1.XRayServiceException {
169
- constructor(opts) {
170
- super({
171
- name: "TooManyTagsException",
172
- $fault: "client",
173
- ...opts,
174
- });
175
- this.name = "TooManyTagsException";
176
- this.$fault = "client";
177
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
178
- this.Message = opts.Message;
179
- this.ResourceName = opts.ResourceName;
180
- }
181
- }
182
- exports.TooManyTagsException = TooManyTagsException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateBatchGetTraces = void 0;
4
- const core_1 = require("@smithy/core");
5
- const BatchGetTracesCommand_1 = require("../commands/BatchGetTracesCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateBatchGetTraces = (0, core_1.createPaginator)(XRayClient_1.XRayClient, BatchGetTracesCommand_1.BatchGetTracesCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetGroups = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetGroupsCommand_1 = require("../commands/GetGroupsCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetGroups = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetGroupsCommand_1.GetGroupsCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetInsightEvents = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetInsightEventsCommand_1 = require("../commands/GetInsightEventsCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetInsightEvents = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetInsightEventsCommand_1.GetInsightEventsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetInsightSummaries = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetInsightSummariesCommand_1 = require("../commands/GetInsightSummariesCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetInsightSummaries = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetInsightSummariesCommand_1.GetInsightSummariesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetSamplingRules = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetSamplingRulesCommand_1 = require("../commands/GetSamplingRulesCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetSamplingRules = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetSamplingRulesCommand_1.GetSamplingRulesCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetSamplingStatisticSummaries = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetSamplingStatisticSummariesCommand_1 = require("../commands/GetSamplingStatisticSummariesCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetSamplingStatisticSummaries = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetSamplingStatisticSummariesCommand_1.GetSamplingStatisticSummariesCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetServiceGraph = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetServiceGraphCommand_1 = require("../commands/GetServiceGraphCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetServiceGraph = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetServiceGraphCommand_1.GetServiceGraphCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetTimeSeriesServiceStatistics = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetTimeSeriesServiceStatisticsCommand_1 = require("../commands/GetTimeSeriesServiceStatisticsCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetTimeSeriesServiceStatistics = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetTimeSeriesServiceStatisticsCommand_1.GetTimeSeriesServiceStatisticsCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetTraceGraph = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetTraceGraphCommand_1 = require("../commands/GetTraceGraphCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetTraceGraph = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetTraceGraphCommand_1.GetTraceGraphCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetTraceSummaries = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetTraceSummariesCommand_1 = require("../commands/GetTraceSummariesCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateGetTraceSummaries = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetTraceSummariesCommand_1.GetTraceSummariesCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListResourcePolicies = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListResourcePoliciesCommand_1 = require("../commands/ListResourcePoliciesCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateListResourcePolicies = (0, core_1.createPaginator)(XRayClient_1.XRayClient, ListResourcePoliciesCommand_1.ListResourcePoliciesCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTagsForResource = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
6
- const XRayClient_1 = require("../XRayClient");
7
- exports.paginateListTagsForResource = (0, core_1.createPaginator)(XRayClient_1.XRayClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "NextToken", "NextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,16 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./BatchGetTracesPaginator"), exports);
5
- tslib_1.__exportStar(require("./GetGroupsPaginator"), exports);
6
- tslib_1.__exportStar(require("./GetInsightEventsPaginator"), exports);
7
- tslib_1.__exportStar(require("./GetInsightSummariesPaginator"), exports);
8
- tslib_1.__exportStar(require("./GetSamplingRulesPaginator"), exports);
9
- tslib_1.__exportStar(require("./GetSamplingStatisticSummariesPaginator"), exports);
10
- tslib_1.__exportStar(require("./GetServiceGraphPaginator"), exports);
11
- tslib_1.__exportStar(require("./GetTimeSeriesServiceStatisticsPaginator"), exports);
12
- tslib_1.__exportStar(require("./GetTraceGraphPaginator"), exports);
13
- tslib_1.__exportStar(require("./GetTraceSummariesPaginator"), exports);
14
- tslib_1.__exportStar(require("./Interfaces"), exports);
15
- tslib_1.__exportStar(require("./ListResourcePoliciesPaginator"), exports);
16
- tslib_1.__exportStar(require("./ListTagsForResourcePaginator"), exports);
1
+ module.exports = require("../index.js");