@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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/RUMServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +105 -1
- package/dist-cjs/protocols/Aws_restJson1.js +140 -442
- package/dist-es/index.js +1 -0
- package/dist-es/models/RUMServiceException.js +12 -0
- package/dist-es/models/models_0.js +98 -1
- package/dist-es/protocols/Aws_restJson1.js +253 -490
- package/dist-types/RUMClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/RUMServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +52 -31
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/RUMClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/RUMServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -31
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
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-rum
|
|
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-rum
|
|
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-rum
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RUMServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./RUM"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./RUMClient"), 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 RUMServiceException_1 = require("./models/RUMServiceException");
|
|
11
|
+
Object.defineProperty(exports, "RUMServiceException", { enumerable: true, get: function () { return RUMServiceException_1.RUMServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RUMServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class RUMServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, RUMServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.RUMServiceException = RUMServiceException;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutRumEventsResponse = exports.PutRumEventsRequest = exports.UserDetails = exports.RumEvent = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.UpdateAppMonitorResponse = exports.UpdateAppMonitorRequest = exports.ListAppMonitorsResponse = exports.AppMonitorSummary = exports.ListAppMonitorsRequest = exports.GetAppMonitorDataResponse = exports.GetAppMonitorDataRequest = exports.TimeRange = exports.QueryFilter = exports.GetAppMonitorResponse = exports.GetAppMonitorRequest = exports.DeleteAppMonitorResponse = exports.DeleteAppMonitorRequest = exports.CreateAppMonitorResponse = exports.CreateAppMonitorRequest = exports.AppMonitorDetails = exports.AppMonitor = exports.StateEnum = exports.DataStorage = exports.CwLog = exports.AppMonitorConfiguration = exports.Telemetry = void 0;
|
|
3
|
+
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutRumEventsResponse = exports.PutRumEventsRequest = exports.UserDetails = exports.RumEvent = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.UpdateAppMonitorResponse = exports.UpdateAppMonitorRequest = exports.ListAppMonitorsResponse = exports.AppMonitorSummary = exports.ListAppMonitorsRequest = exports.GetAppMonitorDataResponse = exports.GetAppMonitorDataRequest = exports.TimeRange = exports.QueryFilter = exports.GetAppMonitorResponse = exports.GetAppMonitorRequest = exports.ResourceNotFoundException = exports.DeleteAppMonitorResponse = exports.DeleteAppMonitorRequest = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.CreateAppMonitorResponse = exports.CreateAppMonitorRequest = exports.ConflictException = exports.AppMonitorDetails = exports.AppMonitor = exports.StateEnum = exports.DataStorage = exports.CwLog = exports.AppMonitorConfiguration = exports.Telemetry = exports.AccessDeniedException = void 0;
|
|
4
|
+
const RUMServiceException_1 = require("./RUMServiceException");
|
|
5
|
+
class AccessDeniedException extends RUMServiceException_1.RUMServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "AccessDeniedException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
4
18
|
var Telemetry;
|
|
5
19
|
(function (Telemetry) {
|
|
6
20
|
Telemetry["ERRORS"] = "errors";
|
|
@@ -43,6 +57,21 @@ var AppMonitorDetails;
|
|
|
43
57
|
...obj,
|
|
44
58
|
});
|
|
45
59
|
})(AppMonitorDetails = exports.AppMonitorDetails || (exports.AppMonitorDetails = {}));
|
|
60
|
+
class ConflictException extends RUMServiceException_1.RUMServiceException {
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "ConflictException",
|
|
64
|
+
$fault: "client",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
this.name = "ConflictException";
|
|
68
|
+
this.$fault = "client";
|
|
69
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
70
|
+
this.resourceName = opts.resourceName;
|
|
71
|
+
this.resourceType = opts.resourceType;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.ConflictException = ConflictException;
|
|
46
75
|
var CreateAppMonitorRequest;
|
|
47
76
|
(function (CreateAppMonitorRequest) {
|
|
48
77
|
CreateAppMonitorRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -55,6 +84,66 @@ var CreateAppMonitorResponse;
|
|
|
55
84
|
...obj,
|
|
56
85
|
});
|
|
57
86
|
})(CreateAppMonitorResponse = exports.CreateAppMonitorResponse || (exports.CreateAppMonitorResponse = {}));
|
|
87
|
+
class InternalServerException extends RUMServiceException_1.RUMServiceException {
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "InternalServerException",
|
|
91
|
+
$fault: "server",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
this.name = "InternalServerException";
|
|
95
|
+
this.$fault = "server";
|
|
96
|
+
this.$retryable = {};
|
|
97
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
98
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.InternalServerException = InternalServerException;
|
|
102
|
+
class ServiceQuotaExceededException extends RUMServiceException_1.RUMServiceException {
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ServiceQuotaExceededException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
this.name = "ServiceQuotaExceededException";
|
|
110
|
+
this.$fault = "client";
|
|
111
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
115
|
+
class ThrottlingException extends RUMServiceException_1.RUMServiceException {
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "ThrottlingException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
this.name = "ThrottlingException";
|
|
123
|
+
this.$fault = "client";
|
|
124
|
+
this.$retryable = {
|
|
125
|
+
throttling: true,
|
|
126
|
+
};
|
|
127
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
128
|
+
this.serviceCode = opts.serviceCode;
|
|
129
|
+
this.quotaCode = opts.quotaCode;
|
|
130
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
exports.ThrottlingException = ThrottlingException;
|
|
134
|
+
class ValidationException extends RUMServiceException_1.RUMServiceException {
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ValidationException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
this.name = "ValidationException";
|
|
142
|
+
this.$fault = "client";
|
|
143
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.ValidationException = ValidationException;
|
|
58
147
|
var DeleteAppMonitorRequest;
|
|
59
148
|
(function (DeleteAppMonitorRequest) {
|
|
60
149
|
DeleteAppMonitorRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -67,6 +156,21 @@ var DeleteAppMonitorResponse;
|
|
|
67
156
|
...obj,
|
|
68
157
|
});
|
|
69
158
|
})(DeleteAppMonitorResponse = exports.DeleteAppMonitorResponse || (exports.DeleteAppMonitorResponse = {}));
|
|
159
|
+
class ResourceNotFoundException extends RUMServiceException_1.RUMServiceException {
|
|
160
|
+
constructor(opts) {
|
|
161
|
+
super({
|
|
162
|
+
name: "ResourceNotFoundException",
|
|
163
|
+
$fault: "client",
|
|
164
|
+
...opts,
|
|
165
|
+
});
|
|
166
|
+
this.name = "ResourceNotFoundException";
|
|
167
|
+
this.$fault = "client";
|
|
168
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
169
|
+
this.resourceName = opts.resourceName;
|
|
170
|
+
this.resourceType = opts.resourceType;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
70
174
|
var GetAppMonitorRequest;
|
|
71
175
|
(function (GetAppMonitorRequest) {
|
|
72
176
|
GetAppMonitorRequest.filterSensitiveLog = (obj) => ({
|