@aws-sdk/client-rum 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/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./RUMClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { RUMServiceException } from "./models/RUMServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var RUMServiceException = (function (_super) {
4
+ __extends(RUMServiceException, _super);
5
+ function RUMServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, RUMServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return RUMServiceException;
11
+ }(__ServiceException));
12
+ export { RUMServiceException };
@@ -1,4 +1,17 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { RUMServiceException as __BaseException } from "./RUMServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ return _this;
11
+ }
12
+ return AccessDeniedException;
13
+ }(__BaseException));
14
+ export { AccessDeniedException };
2
15
  export var Telemetry;
3
16
  (function (Telemetry) {
4
17
  Telemetry["ERRORS"] = "errors";
@@ -31,6 +44,20 @@ export var AppMonitorDetails;
31
44
  (function (AppMonitorDetails) {
32
45
  AppMonitorDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
33
46
  })(AppMonitorDetails || (AppMonitorDetails = {}));
47
+ var ConflictException = (function (_super) {
48
+ __extends(ConflictException, _super);
49
+ function ConflictException(opts) {
50
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
51
+ _this.name = "ConflictException";
52
+ _this.$fault = "client";
53
+ Object.setPrototypeOf(_this, ConflictException.prototype);
54
+ _this.resourceName = opts.resourceName;
55
+ _this.resourceType = opts.resourceType;
56
+ return _this;
57
+ }
58
+ return ConflictException;
59
+ }(__BaseException));
60
+ export { ConflictException };
34
61
  export var CreateAppMonitorRequest;
35
62
  (function (CreateAppMonitorRequest) {
36
63
  CreateAppMonitorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -39,6 +66,62 @@ export var CreateAppMonitorResponse;
39
66
  (function (CreateAppMonitorResponse) {
40
67
  CreateAppMonitorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
68
  })(CreateAppMonitorResponse || (CreateAppMonitorResponse = {}));
69
+ var InternalServerException = (function (_super) {
70
+ __extends(InternalServerException, _super);
71
+ function InternalServerException(opts) {
72
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
73
+ _this.name = "InternalServerException";
74
+ _this.$fault = "server";
75
+ _this.$retryable = {};
76
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
77
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
78
+ return _this;
79
+ }
80
+ return InternalServerException;
81
+ }(__BaseException));
82
+ export { InternalServerException };
83
+ var ServiceQuotaExceededException = (function (_super) {
84
+ __extends(ServiceQuotaExceededException, _super);
85
+ function ServiceQuotaExceededException(opts) {
86
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
87
+ _this.name = "ServiceQuotaExceededException";
88
+ _this.$fault = "client";
89
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
90
+ return _this;
91
+ }
92
+ return ServiceQuotaExceededException;
93
+ }(__BaseException));
94
+ export { ServiceQuotaExceededException };
95
+ var ThrottlingException = (function (_super) {
96
+ __extends(ThrottlingException, _super);
97
+ function ThrottlingException(opts) {
98
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
99
+ _this.name = "ThrottlingException";
100
+ _this.$fault = "client";
101
+ _this.$retryable = {
102
+ throttling: true,
103
+ };
104
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
105
+ _this.serviceCode = opts.serviceCode;
106
+ _this.quotaCode = opts.quotaCode;
107
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
108
+ return _this;
109
+ }
110
+ return ThrottlingException;
111
+ }(__BaseException));
112
+ export { ThrottlingException };
113
+ var ValidationException = (function (_super) {
114
+ __extends(ValidationException, _super);
115
+ function ValidationException(opts) {
116
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
117
+ _this.name = "ValidationException";
118
+ _this.$fault = "client";
119
+ Object.setPrototypeOf(_this, ValidationException.prototype);
120
+ return _this;
121
+ }
122
+ return ValidationException;
123
+ }(__BaseException));
124
+ export { ValidationException };
42
125
  export var DeleteAppMonitorRequest;
43
126
  (function (DeleteAppMonitorRequest) {
44
127
  DeleteAppMonitorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -47,6 +130,20 @@ export var DeleteAppMonitorResponse;
47
130
  (function (DeleteAppMonitorResponse) {
48
131
  DeleteAppMonitorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
49
132
  })(DeleteAppMonitorResponse || (DeleteAppMonitorResponse = {}));
133
+ var ResourceNotFoundException = (function (_super) {
134
+ __extends(ResourceNotFoundException, _super);
135
+ function ResourceNotFoundException(opts) {
136
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
137
+ _this.name = "ResourceNotFoundException";
138
+ _this.$fault = "client";
139
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
140
+ _this.resourceName = opts.resourceName;
141
+ _this.resourceType = opts.resourceType;
142
+ return _this;
143
+ }
144
+ return ResourceNotFoundException;
145
+ }(__BaseException));
146
+ export { ResourceNotFoundException };
50
147
  export var GetAppMonitorRequest;
51
148
  (function (GetAppMonitorRequest) {
52
149
  GetAppMonitorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };