@aws-sdk/client-xray 3.51.0 → 3.54.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-xray
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-xray
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-xray
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.XRayServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./XRay"), exports);
5
6
  tslib_1.__exportStar(require("./XRayClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var XRayServiceException_1 = require("./models/XRayServiceException");
11
+ Object.defineProperty(exports, "XRayServiceException", { enumerable: true, get: function () { return XRayServiceException_1.XRayServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.XRayServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class XRayServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, XRayServiceException.prototype);
9
+ }
10
+ }
11
+ exports.XRayServiceException = XRayServiceException;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSamplingRulesRequest = exports.GetInsightSummariesResult = exports.InsightSummary = exports.GetInsightSummariesRequest = exports.GetInsightImpactGraphResult = exports.InsightImpactGraphService = exports.InsightImpactGraphEdge = exports.GetInsightImpactGraphRequest = exports.GetInsightEventsResult = exports.InsightEvent = exports.GetInsightEventsRequest = exports.GetInsightResult = exports.Insight = exports.InsightState = exports.RequestImpactStatistics = exports.InsightCategory = exports.GetInsightRequest = exports.GetGroupsResult = exports.GroupSummary = exports.GetGroupsRequest = exports.GetGroupResult = exports.GetGroupRequest = exports.GetEncryptionConfigResult = exports.EncryptionConfig = exports.EncryptionType = exports.EncryptionStatus = exports.GetEncryptionConfigRequest = exports.DeleteSamplingRuleResult = exports.DeleteSamplingRuleRequest = exports.DeleteGroupResult = exports.DeleteGroupRequest = exports.CreateSamplingRuleResult = exports.SamplingRuleRecord = exports.CreateSamplingRuleRequest = exports.SamplingRule = exports.CreateGroupResult = exports.Group = exports.CreateGroupRequest = exports.Tag = exports.InsightsConfiguration = exports.BatchGetTracesResult = exports.Trace = exports.Segment = exports.BatchGetTracesRequest = exports.AvailabilityZoneDetail = exports.AnomalousService = exports.ValueWithServiceIds = exports.ServiceId = exports.AnnotationValue = exports.Alias = void 0;
4
- exports.TelemetryRecord = exports.BackendConnectionErrors = exports.PutEncryptionConfigResult = exports.PutEncryptionConfigRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.GetTraceSummariesResult = exports.TraceSummary = exports.TraceUser = exports.ResponseTimeRootCause = exports.ResponseTimeRootCauseService = exports.ResponseTimeRootCauseEntity = exports.ResourceARNDetail = exports.InstanceIdDetail = exports.Http = exports.FaultRootCause = exports.FaultRootCauseService = exports.FaultRootCauseEntity = exports.ErrorRootCause = exports.ErrorRootCauseService = exports.ErrorRootCauseEntity = exports.RootCauseException = exports.GetTraceSummariesRequest = exports.TimeRangeType = exports.SamplingStrategy = exports.SamplingStrategyName = exports.GetTraceGraphResult = exports.GetTraceGraphRequest = exports.GetTimeSeriesServiceStatisticsResult = exports.TimeSeriesServiceStatistics = exports.ForecastStatistics = exports.GetTimeSeriesServiceStatisticsRequest = exports.GetServiceGraphResult = exports.Service = exports.ServiceStatistics = exports.Edge = exports.EdgeStatistics = exports.FaultStatistics = exports.ErrorStatistics = exports.HistogramEntry = exports.GetServiceGraphRequest = exports.GetSamplingTargetsResult = exports.UnprocessedStatistics = exports.SamplingTargetDocument = exports.GetSamplingTargetsRequest = exports.SamplingStatisticsDocument = exports.GetSamplingStatisticSummariesResult = exports.SamplingStatisticSummary = exports.GetSamplingStatisticSummariesRequest = exports.GetSamplingRulesResult = void 0;
5
- exports.UpdateSamplingRuleResult = exports.UpdateSamplingRuleRequest = exports.SamplingRuleUpdate = exports.UpdateGroupResult = exports.UpdateGroupRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutTraceSegmentsResult = exports.UnprocessedTraceSegment = exports.PutTraceSegmentsRequest = exports.PutTelemetryRecordsResult = exports.PutTelemetryRecordsRequest = void 0;
3
+ exports.GetInsightSummariesRequest = exports.GetInsightImpactGraphResult = exports.InsightImpactGraphService = exports.InsightImpactGraphEdge = exports.GetInsightImpactGraphRequest = exports.GetInsightEventsResult = exports.InsightEvent = exports.GetInsightEventsRequest = exports.GetInsightResult = exports.Insight = exports.InsightState = exports.RequestImpactStatistics = exports.InsightCategory = exports.GetInsightRequest = exports.GetGroupsResult = exports.GroupSummary = exports.GetGroupsRequest = exports.GetGroupResult = exports.GetGroupRequest = exports.GetEncryptionConfigResult = exports.EncryptionConfig = exports.EncryptionType = exports.EncryptionStatus = exports.GetEncryptionConfigRequest = exports.DeleteSamplingRuleResult = exports.DeleteSamplingRuleRequest = exports.DeleteGroupResult = exports.DeleteGroupRequest = exports.RuleLimitExceededException = exports.CreateSamplingRuleResult = exports.SamplingRuleRecord = exports.CreateSamplingRuleRequest = exports.SamplingRule = exports.CreateGroupResult = exports.Group = exports.CreateGroupRequest = exports.Tag = exports.InsightsConfiguration = exports.ThrottledException = exports.InvalidRequestException = exports.BatchGetTracesResult = exports.Trace = exports.Segment = exports.BatchGetTracesRequest = exports.AvailabilityZoneDetail = exports.AnomalousService = exports.ValueWithServiceIds = exports.ServiceId = exports.AnnotationValue = exports.Alias = void 0;
4
+ exports.ResourceNotFoundException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.GetTraceSummariesResult = exports.TraceSummary = exports.TraceUser = exports.ResponseTimeRootCause = exports.ResponseTimeRootCauseService = exports.ResponseTimeRootCauseEntity = exports.ResourceARNDetail = exports.InstanceIdDetail = exports.Http = exports.FaultRootCause = exports.FaultRootCauseService = exports.FaultRootCauseEntity = exports.ErrorRootCause = exports.ErrorRootCauseService = exports.ErrorRootCauseEntity = exports.RootCauseException = exports.GetTraceSummariesRequest = exports.TimeRangeType = exports.SamplingStrategy = exports.SamplingStrategyName = exports.GetTraceGraphResult = exports.GetTraceGraphRequest = exports.GetTimeSeriesServiceStatisticsResult = exports.TimeSeriesServiceStatistics = exports.ForecastStatistics = exports.GetTimeSeriesServiceStatisticsRequest = exports.GetServiceGraphResult = exports.Service = exports.ServiceStatistics = exports.Edge = exports.EdgeStatistics = exports.FaultStatistics = exports.ErrorStatistics = exports.HistogramEntry = exports.GetServiceGraphRequest = exports.GetSamplingTargetsResult = exports.UnprocessedStatistics = exports.SamplingTargetDocument = exports.GetSamplingTargetsRequest = exports.SamplingStatisticsDocument = exports.GetSamplingStatisticSummariesResult = exports.SamplingStatisticSummary = exports.GetSamplingStatisticSummariesRequest = exports.GetSamplingRulesResult = exports.GetSamplingRulesRequest = exports.GetInsightSummariesResult = exports.InsightSummary = void 0;
5
+ exports.UpdateSamplingRuleResult = exports.UpdateSamplingRuleRequest = exports.SamplingRuleUpdate = exports.UpdateGroupResult = exports.UpdateGroupRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutTraceSegmentsResult = exports.UnprocessedTraceSegment = exports.PutTraceSegmentsRequest = exports.PutTelemetryRecordsResult = exports.PutTelemetryRecordsRequest = exports.TelemetryRecord = exports.BackendConnectionErrors = exports.PutEncryptionConfigResult = exports.PutEncryptionConfigRequest = void 0;
6
+ const XRayServiceException_1 = require("./XRayServiceException");
6
7
  var Alias;
7
8
  (function (Alias) {
8
9
  Alias.filterSensitiveLog = (obj) => ({
@@ -80,6 +81,34 @@ var BatchGetTracesResult;
80
81
  ...obj,
81
82
  });
82
83
  })(BatchGetTracesResult = exports.BatchGetTracesResult || (exports.BatchGetTracesResult = {}));
84
+ class InvalidRequestException extends XRayServiceException_1.XRayServiceException {
85
+ constructor(opts) {
86
+ super({
87
+ name: "InvalidRequestException",
88
+ $fault: "client",
89
+ ...opts,
90
+ });
91
+ this.name = "InvalidRequestException";
92
+ this.$fault = "client";
93
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
94
+ this.Message = opts.Message;
95
+ }
96
+ }
97
+ exports.InvalidRequestException = InvalidRequestException;
98
+ class ThrottledException extends XRayServiceException_1.XRayServiceException {
99
+ constructor(opts) {
100
+ super({
101
+ name: "ThrottledException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ this.name = "ThrottledException";
106
+ this.$fault = "client";
107
+ Object.setPrototypeOf(this, ThrottledException.prototype);
108
+ this.Message = opts.Message;
109
+ }
110
+ }
111
+ exports.ThrottledException = ThrottledException;
83
112
  var InsightsConfiguration;
84
113
  (function (InsightsConfiguration) {
85
114
  InsightsConfiguration.filterSensitiveLog = (obj) => ({
@@ -134,6 +163,20 @@ var CreateSamplingRuleResult;
134
163
  ...obj,
135
164
  });
136
165
  })(CreateSamplingRuleResult = exports.CreateSamplingRuleResult || (exports.CreateSamplingRuleResult = {}));
166
+ class RuleLimitExceededException extends XRayServiceException_1.XRayServiceException {
167
+ constructor(opts) {
168
+ super({
169
+ name: "RuleLimitExceededException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ this.name = "RuleLimitExceededException";
174
+ this.$fault = "client";
175
+ Object.setPrototypeOf(this, RuleLimitExceededException.prototype);
176
+ this.Message = opts.Message;
177
+ }
178
+ }
179
+ exports.RuleLimitExceededException = RuleLimitExceededException;
137
180
  var DeleteGroupRequest;
138
181
  (function (DeleteGroupRequest) {
139
182
  DeleteGroupRequest.filterSensitiveLog = (obj) => ({
@@ -595,6 +638,21 @@ var ListTagsForResourceResponse;
595
638
  ...obj,
596
639
  });
597
640
  })(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
641
+ class ResourceNotFoundException extends XRayServiceException_1.XRayServiceException {
642
+ constructor(opts) {
643
+ super({
644
+ name: "ResourceNotFoundException",
645
+ $fault: "client",
646
+ ...opts,
647
+ });
648
+ this.name = "ResourceNotFoundException";
649
+ this.$fault = "client";
650
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
651
+ this.Message = opts.Message;
652
+ this.ResourceName = opts.ResourceName;
653
+ }
654
+ }
655
+ exports.ResourceNotFoundException = ResourceNotFoundException;
598
656
  var PutEncryptionConfigRequest;
599
657
  (function (PutEncryptionConfigRequest) {
600
658
  PutEncryptionConfigRequest.filterSensitiveLog = (obj) => ({
@@ -661,6 +719,21 @@ var TagResourceResponse;
661
719
  ...obj,
662
720
  });
663
721
  })(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
722
+ class TooManyTagsException extends XRayServiceException_1.XRayServiceException {
723
+ constructor(opts) {
724
+ super({
725
+ name: "TooManyTagsException",
726
+ $fault: "client",
727
+ ...opts,
728
+ });
729
+ this.name = "TooManyTagsException";
730
+ this.$fault = "client";
731
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
732
+ this.Message = opts.Message;
733
+ this.ResourceName = opts.ResourceName;
734
+ }
735
+ }
736
+ exports.TooManyTagsException = TooManyTagsException;
664
737
  var UntagResourceRequest;
665
738
  (function (UntagResourceRequest) {
666
739
  UntagResourceRequest.filterSensitiveLog = (obj) => ({