@aws-sdk/client-rum 3.301.0 → 3.306.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-cjs/models/models_0.js +18 -22
- package/dist-es/models/models_0.js +18 -22
- package/dist-types/models/models_0.d.ts +38 -18
- package/dist-types/ts3.4/models/models_0.d.ts +24 -18
- package/package.json +34 -34
|
@@ -15,28 +15,24 @@ class AccessDeniedException extends RUMServiceException_1.RUMServiceException {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
(function (MetricDestination) {
|
|
37
|
-
MetricDestination["CloudWatch"] = "CloudWatch";
|
|
38
|
-
MetricDestination["Evidently"] = "Evidently";
|
|
39
|
-
})(MetricDestination = exports.MetricDestination || (exports.MetricDestination = {}));
|
|
18
|
+
exports.Telemetry = {
|
|
19
|
+
ERRORS: "errors",
|
|
20
|
+
HTTP: "http",
|
|
21
|
+
PERFORMANCE: "performance",
|
|
22
|
+
};
|
|
23
|
+
exports.CustomEventsStatus = {
|
|
24
|
+
DISABLED: "DISABLED",
|
|
25
|
+
ENABLED: "ENABLED",
|
|
26
|
+
};
|
|
27
|
+
exports.StateEnum = {
|
|
28
|
+
ACTIVE: "ACTIVE",
|
|
29
|
+
CREATED: "CREATED",
|
|
30
|
+
DELETING: "DELETING",
|
|
31
|
+
};
|
|
32
|
+
exports.MetricDestination = {
|
|
33
|
+
CloudWatch: "CloudWatch",
|
|
34
|
+
Evidently: "Evidently",
|
|
35
|
+
};
|
|
40
36
|
class ConflictException extends RUMServiceException_1.RUMServiceException {
|
|
41
37
|
constructor(opts) {
|
|
42
38
|
super({
|
|
@@ -11,28 +11,24 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
(function (MetricDestination) {
|
|
33
|
-
MetricDestination["CloudWatch"] = "CloudWatch";
|
|
34
|
-
MetricDestination["Evidently"] = "Evidently";
|
|
35
|
-
})(MetricDestination || (MetricDestination = {}));
|
|
14
|
+
export const Telemetry = {
|
|
15
|
+
ERRORS: "errors",
|
|
16
|
+
HTTP: "http",
|
|
17
|
+
PERFORMANCE: "performance",
|
|
18
|
+
};
|
|
19
|
+
export const CustomEventsStatus = {
|
|
20
|
+
DISABLED: "DISABLED",
|
|
21
|
+
ENABLED: "ENABLED",
|
|
22
|
+
};
|
|
23
|
+
export const StateEnum = {
|
|
24
|
+
ACTIVE: "ACTIVE",
|
|
25
|
+
CREATED: "CREATED",
|
|
26
|
+
DELETING: "DELETING",
|
|
27
|
+
};
|
|
28
|
+
export const MetricDestination = {
|
|
29
|
+
CloudWatch: "CloudWatch",
|
|
30
|
+
Evidently: "Evidently",
|
|
31
|
+
};
|
|
36
32
|
export class ConflictException extends __BaseException {
|
|
37
33
|
constructor(opts) {
|
|
38
34
|
super({
|
|
@@ -14,21 +14,26 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* @public
|
|
17
|
+
* @enum
|
|
17
18
|
*/
|
|
18
|
-
export declare
|
|
19
|
+
export declare const Telemetry: {
|
|
19
20
|
/**
|
|
20
21
|
* Includes JS error event plugin
|
|
21
22
|
*/
|
|
22
|
-
ERRORS
|
|
23
|
+
readonly ERRORS: "errors";
|
|
23
24
|
/**
|
|
24
25
|
* Includes X-Ray Xhr and X-Ray Fetch plugin
|
|
25
26
|
*/
|
|
26
|
-
HTTP
|
|
27
|
+
readonly HTTP: "http";
|
|
27
28
|
/**
|
|
28
29
|
* Includes navigation, paint, resource and web vital event plugins
|
|
29
30
|
*/
|
|
30
|
-
PERFORMANCE
|
|
31
|
-
}
|
|
31
|
+
readonly PERFORMANCE: "performance";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type Telemetry = (typeof Telemetry)[keyof typeof Telemetry];
|
|
32
37
|
/**
|
|
33
38
|
* @public
|
|
34
39
|
* <p>This structure contains much of the configuration data for the app monitor.</p>
|
|
@@ -106,11 +111,16 @@ export interface AppMonitorConfiguration {
|
|
|
106
111
|
}
|
|
107
112
|
/**
|
|
108
113
|
* @public
|
|
114
|
+
* @enum
|
|
109
115
|
*/
|
|
110
|
-
export declare
|
|
111
|
-
DISABLED
|
|
112
|
-
ENABLED
|
|
113
|
-
}
|
|
116
|
+
export declare const CustomEventsStatus: {
|
|
117
|
+
readonly DISABLED: "DISABLED";
|
|
118
|
+
readonly ENABLED: "ENABLED";
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export type CustomEventsStatus = (typeof CustomEventsStatus)[keyof typeof CustomEventsStatus];
|
|
114
124
|
/**
|
|
115
125
|
* @public
|
|
116
126
|
* <p>A structure that contains information about custom events for this app monitor.</p>
|
|
@@ -152,12 +162,17 @@ export interface DataStorage {
|
|
|
152
162
|
}
|
|
153
163
|
/**
|
|
154
164
|
* @public
|
|
165
|
+
* @enum
|
|
155
166
|
*/
|
|
156
|
-
export declare
|
|
157
|
-
ACTIVE
|
|
158
|
-
CREATED
|
|
159
|
-
DELETING
|
|
160
|
-
}
|
|
167
|
+
export declare const StateEnum: {
|
|
168
|
+
readonly ACTIVE: "ACTIVE";
|
|
169
|
+
readonly CREATED: "CREATED";
|
|
170
|
+
readonly DELETING: "DELETING";
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export type StateEnum = (typeof StateEnum)[keyof typeof StateEnum];
|
|
161
176
|
/**
|
|
162
177
|
* @public
|
|
163
178
|
* <p>A RUM app monitor collects telemetry data from your application and sends that
|
|
@@ -230,11 +245,16 @@ export interface AppMonitorDetails {
|
|
|
230
245
|
}
|
|
231
246
|
/**
|
|
232
247
|
* @public
|
|
248
|
+
* @enum
|
|
233
249
|
*/
|
|
234
|
-
export declare
|
|
235
|
-
CloudWatch
|
|
236
|
-
Evidently
|
|
237
|
-
}
|
|
250
|
+
export declare const MetricDestination: {
|
|
251
|
+
readonly CloudWatch: "CloudWatch";
|
|
252
|
+
readonly Evidently: "Evidently";
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
export type MetricDestination = (typeof MetricDestination)[keyof typeof MetricDestination];
|
|
238
258
|
/**
|
|
239
259
|
* @public
|
|
240
260
|
* <p>Use this structure to define one extended metric or custom metric that RUM will send
|
|
@@ -10,11 +10,12 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
10
10
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
11
|
);
|
|
12
12
|
}
|
|
13
|
-
export declare
|
|
14
|
-
ERRORS
|
|
15
|
-
HTTP
|
|
16
|
-
PERFORMANCE
|
|
17
|
-
}
|
|
13
|
+
export declare const Telemetry: {
|
|
14
|
+
readonly ERRORS: "errors";
|
|
15
|
+
readonly HTTP: "http";
|
|
16
|
+
readonly PERFORMANCE: "performance";
|
|
17
|
+
};
|
|
18
|
+
export type Telemetry = (typeof Telemetry)[keyof typeof Telemetry];
|
|
18
19
|
export interface AppMonitorConfiguration {
|
|
19
20
|
IdentityPoolId?: string;
|
|
20
21
|
ExcludedPages?: string[];
|
|
@@ -26,10 +27,12 @@ export interface AppMonitorConfiguration {
|
|
|
26
27
|
Telemetries?: (Telemetry | string)[];
|
|
27
28
|
EnableXRay?: boolean;
|
|
28
29
|
}
|
|
29
|
-
export declare
|
|
30
|
-
DISABLED
|
|
31
|
-
ENABLED
|
|
32
|
-
}
|
|
30
|
+
export declare const CustomEventsStatus: {
|
|
31
|
+
readonly DISABLED: "DISABLED";
|
|
32
|
+
readonly ENABLED: "ENABLED";
|
|
33
|
+
};
|
|
34
|
+
export type CustomEventsStatus =
|
|
35
|
+
(typeof CustomEventsStatus)[keyof typeof CustomEventsStatus];
|
|
33
36
|
export interface CustomEvents {
|
|
34
37
|
Status?: CustomEventsStatus | string;
|
|
35
38
|
}
|
|
@@ -40,11 +43,12 @@ export interface CwLog {
|
|
|
40
43
|
export interface DataStorage {
|
|
41
44
|
CwLog?: CwLog;
|
|
42
45
|
}
|
|
43
|
-
export declare
|
|
44
|
-
ACTIVE
|
|
45
|
-
CREATED
|
|
46
|
-
DELETING
|
|
47
|
-
}
|
|
46
|
+
export declare const StateEnum: {
|
|
47
|
+
readonly ACTIVE: "ACTIVE";
|
|
48
|
+
readonly CREATED: "CREATED";
|
|
49
|
+
readonly DELETING: "DELETING";
|
|
50
|
+
};
|
|
51
|
+
export type StateEnum = (typeof StateEnum)[keyof typeof StateEnum];
|
|
48
52
|
export interface AppMonitor {
|
|
49
53
|
Name?: string;
|
|
50
54
|
Domain?: string;
|
|
@@ -62,10 +66,12 @@ export interface AppMonitorDetails {
|
|
|
62
66
|
id?: string;
|
|
63
67
|
version?: string;
|
|
64
68
|
}
|
|
65
|
-
export declare
|
|
66
|
-
CloudWatch
|
|
67
|
-
Evidently
|
|
68
|
-
}
|
|
69
|
+
export declare const MetricDestination: {
|
|
70
|
+
readonly CloudWatch: "CloudWatch";
|
|
71
|
+
readonly Evidently: "Evidently";
|
|
72
|
+
};
|
|
73
|
+
export type MetricDestination =
|
|
74
|
+
(typeof MetricDestination)[keyof typeof MetricDestination];
|
|
69
75
|
export interface MetricDefinitionRequest {
|
|
70
76
|
Name: string | undefined;
|
|
71
77
|
ValueKey?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rum",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rum Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|