@aws-sdk/client-rum 3.212.0 → 3.215.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/README.md +0 -1
- package/dist-cjs/models/models_0.js +11 -2
- package/dist-cjs/protocols/Aws_restJson1.js +17 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +17 -0
- package/dist-types/RUM.d.ts +0 -2
- package/dist-types/RUMClient.d.ts +0 -1
- package/dist-types/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +39 -3
- 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/models/models_0.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +28 -28
package/README.md
CHANGED
|
@@ -13,7 +13,6 @@ AWS SDK for JavaScript RUM Client for Node.js, Browser and React Native.
|
|
|
13
13
|
your web application performance from actual user sessions in real time. The data collected includes page load
|
|
14
14
|
times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and
|
|
15
15
|
also see breakdowns by the browsers and devices that your customers use.</p>
|
|
16
|
-
|
|
17
16
|
<p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch
|
|
18
17
|
RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error
|
|
19
18
|
messages, stack traces, and user sessions. You can also use RUM to
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.PutRumEventsResponseFilterSensitiveLog = exports.PutRumEventsRequestFilterSensitiveLog = exports.UserDetailsFilterSensitiveLog = exports.RumEventFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = void 0;
|
|
3
|
+
exports.UpdateRumMetricDefinitionRequestFilterSensitiveLog = exports.UpdateAppMonitorResponseFilterSensitiveLog = exports.UpdateAppMonitorRequestFilterSensitiveLog = exports.PutRumMetricsDestinationResponseFilterSensitiveLog = exports.PutRumMetricsDestinationRequestFilterSensitiveLog = exports.ListRumMetricsDestinationsResponseFilterSensitiveLog = exports.MetricDestinationSummaryFilterSensitiveLog = exports.ListRumMetricsDestinationsRequestFilterSensitiveLog = exports.ListAppMonitorsResponseFilterSensitiveLog = exports.AppMonitorSummaryFilterSensitiveLog = exports.ListAppMonitorsRequestFilterSensitiveLog = exports.GetAppMonitorDataResponseFilterSensitiveLog = exports.GetAppMonitorDataRequestFilterSensitiveLog = exports.TimeRangeFilterSensitiveLog = exports.QueryFilterFilterSensitiveLog = exports.GetAppMonitorResponseFilterSensitiveLog = exports.GetAppMonitorRequestFilterSensitiveLog = exports.DeleteRumMetricsDestinationResponseFilterSensitiveLog = exports.DeleteRumMetricsDestinationRequestFilterSensitiveLog = exports.DeleteAppMonitorResponseFilterSensitiveLog = exports.DeleteAppMonitorRequestFilterSensitiveLog = exports.CreateAppMonitorResponseFilterSensitiveLog = exports.CreateAppMonitorRequestFilterSensitiveLog = exports.BatchGetRumMetricDefinitionsResponseFilterSensitiveLog = exports.BatchGetRumMetricDefinitionsRequestFilterSensitiveLog = exports.BatchDeleteRumMetricDefinitionsResponseFilterSensitiveLog = exports.BatchDeleteRumMetricDefinitionsErrorFilterSensitiveLog = exports.BatchDeleteRumMetricDefinitionsRequestFilterSensitiveLog = exports.BatchCreateRumMetricDefinitionsResponseFilterSensitiveLog = exports.MetricDefinitionFilterSensitiveLog = exports.BatchCreateRumMetricDefinitionsErrorFilterSensitiveLog = exports.BatchCreateRumMetricDefinitionsRequestFilterSensitiveLog = exports.MetricDefinitionRequestFilterSensitiveLog = exports.AppMonitorDetailsFilterSensitiveLog = exports.AppMonitorFilterSensitiveLog = exports.DataStorageFilterSensitiveLog = exports.CwLogFilterSensitiveLog = exports.CustomEventsFilterSensitiveLog = exports.AppMonitorConfigurationFilterSensitiveLog = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.MetricDestination = exports.StateEnum = exports.CustomEventsStatus = exports.Telemetry = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.PutRumEventsResponseFilterSensitiveLog = exports.PutRumEventsRequestFilterSensitiveLog = exports.UserDetailsFilterSensitiveLog = exports.RumEventFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.UpdateRumMetricDefinitionResponseFilterSensitiveLog = void 0;
|
|
5
5
|
const RUMServiceException_1 = require("./RUMServiceException");
|
|
6
6
|
class AccessDeniedException extends RUMServiceException_1.RUMServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -22,6 +22,11 @@ var Telemetry;
|
|
|
22
22
|
Telemetry["HTTP"] = "http";
|
|
23
23
|
Telemetry["PERFORMANCE"] = "performance";
|
|
24
24
|
})(Telemetry = exports.Telemetry || (exports.Telemetry = {}));
|
|
25
|
+
var CustomEventsStatus;
|
|
26
|
+
(function (CustomEventsStatus) {
|
|
27
|
+
CustomEventsStatus["DISABLED"] = "DISABLED";
|
|
28
|
+
CustomEventsStatus["ENABLED"] = "ENABLED";
|
|
29
|
+
})(CustomEventsStatus = exports.CustomEventsStatus || (exports.CustomEventsStatus = {}));
|
|
25
30
|
var StateEnum;
|
|
26
31
|
(function (StateEnum) {
|
|
27
32
|
StateEnum["ACTIVE"] = "ACTIVE";
|
|
@@ -127,6 +132,10 @@ const AppMonitorConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
127
132
|
...obj,
|
|
128
133
|
});
|
|
129
134
|
exports.AppMonitorConfigurationFilterSensitiveLog = AppMonitorConfigurationFilterSensitiveLog;
|
|
135
|
+
const CustomEventsFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
exports.CustomEventsFilterSensitiveLog = CustomEventsFilterSensitiveLog;
|
|
130
139
|
const CwLogFilterSensitiveLog = (obj) => ({
|
|
131
140
|
...obj,
|
|
132
141
|
});
|
|
@@ -92,6 +92,9 @@ const serializeAws_restJson1CreateAppMonitorCommand = async (input, context) =>
|
|
|
92
92
|
...(input.AppMonitorConfiguration != null && {
|
|
93
93
|
AppMonitorConfiguration: serializeAws_restJson1AppMonitorConfiguration(input.AppMonitorConfiguration, context),
|
|
94
94
|
}),
|
|
95
|
+
...(input.CustomEvents != null && {
|
|
96
|
+
CustomEvents: serializeAws_restJson1CustomEvents(input.CustomEvents, context),
|
|
97
|
+
}),
|
|
95
98
|
...(input.CwLogEnabled != null && { CwLogEnabled: input.CwLogEnabled }),
|
|
96
99
|
...(input.Domain != null && { Domain: input.Domain }),
|
|
97
100
|
...(input.Name != null && { Name: input.Name }),
|
|
@@ -365,6 +368,9 @@ const serializeAws_restJson1UpdateAppMonitorCommand = async (input, context) =>
|
|
|
365
368
|
...(input.AppMonitorConfiguration != null && {
|
|
366
369
|
AppMonitorConfiguration: serializeAws_restJson1AppMonitorConfiguration(input.AppMonitorConfiguration, context),
|
|
367
370
|
}),
|
|
371
|
+
...(input.CustomEvents != null && {
|
|
372
|
+
CustomEvents: serializeAws_restJson1CustomEvents(input.CustomEvents, context),
|
|
373
|
+
}),
|
|
368
374
|
...(input.CwLogEnabled != null && { CwLogEnabled: input.CwLogEnabled }),
|
|
369
375
|
...(input.Domain != null && { Domain: input.Domain }),
|
|
370
376
|
});
|
|
@@ -1326,6 +1332,11 @@ const serializeAws_restJson1AppMonitorDetails = (input, context) => {
|
|
|
1326
1332
|
...(input.version != null && { version: input.version }),
|
|
1327
1333
|
};
|
|
1328
1334
|
};
|
|
1335
|
+
const serializeAws_restJson1CustomEvents = (input, context) => {
|
|
1336
|
+
return {
|
|
1337
|
+
...(input.Status != null && { Status: input.Status }),
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1329
1340
|
const serializeAws_restJson1DimensionKeysMap = (input, context) => {
|
|
1330
1341
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1331
1342
|
if (value === null) {
|
|
@@ -1437,6 +1448,7 @@ const deserializeAws_restJson1AppMonitor = (output, context) => {
|
|
|
1437
1448
|
? deserializeAws_restJson1AppMonitorConfiguration(output.AppMonitorConfiguration, context)
|
|
1438
1449
|
: undefined,
|
|
1439
1450
|
Created: (0, smithy_client_1.expectString)(output.Created),
|
|
1451
|
+
CustomEvents: output.CustomEvents != null ? deserializeAws_restJson1CustomEvents(output.CustomEvents, context) : undefined,
|
|
1440
1452
|
DataStorage: output.DataStorage != null ? deserializeAws_restJson1DataStorage(output.DataStorage, context) : undefined,
|
|
1441
1453
|
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
1442
1454
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
@@ -1517,6 +1529,11 @@ const deserializeAws_restJson1BatchDeleteRumMetricDefinitionsErrors = (output, c
|
|
|
1517
1529
|
});
|
|
1518
1530
|
return retVal;
|
|
1519
1531
|
};
|
|
1532
|
+
const deserializeAws_restJson1CustomEvents = (output, context) => {
|
|
1533
|
+
return {
|
|
1534
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1535
|
+
};
|
|
1536
|
+
};
|
|
1520
1537
|
const deserializeAws_restJson1CwLog = (output, context) => {
|
|
1521
1538
|
return {
|
|
1522
1539
|
CwLogEnabled: (0, smithy_client_1.expectBoolean)(output.CwLogEnabled),
|
|
@@ -17,6 +17,11 @@ export var Telemetry;
|
|
|
17
17
|
Telemetry["HTTP"] = "http";
|
|
18
18
|
Telemetry["PERFORMANCE"] = "performance";
|
|
19
19
|
})(Telemetry || (Telemetry = {}));
|
|
20
|
+
export var CustomEventsStatus;
|
|
21
|
+
(function (CustomEventsStatus) {
|
|
22
|
+
CustomEventsStatus["DISABLED"] = "DISABLED";
|
|
23
|
+
CustomEventsStatus["ENABLED"] = "ENABLED";
|
|
24
|
+
})(CustomEventsStatus || (CustomEventsStatus = {}));
|
|
20
25
|
export var StateEnum;
|
|
21
26
|
(function (StateEnum) {
|
|
22
27
|
StateEnum["ACTIVE"] = "ACTIVE";
|
|
@@ -115,6 +120,9 @@ export class ValidationException extends __BaseException {
|
|
|
115
120
|
export const AppMonitorConfigurationFilterSensitiveLog = (obj) => ({
|
|
116
121
|
...obj,
|
|
117
122
|
});
|
|
123
|
+
export const CustomEventsFilterSensitiveLog = (obj) => ({
|
|
124
|
+
...obj,
|
|
125
|
+
});
|
|
118
126
|
export const CwLogFilterSensitiveLog = (obj) => ({
|
|
119
127
|
...obj,
|
|
120
128
|
});
|
|
@@ -86,6 +86,9 @@ export const serializeAws_restJson1CreateAppMonitorCommand = async (input, conte
|
|
|
86
86
|
...(input.AppMonitorConfiguration != null && {
|
|
87
87
|
AppMonitorConfiguration: serializeAws_restJson1AppMonitorConfiguration(input.AppMonitorConfiguration, context),
|
|
88
88
|
}),
|
|
89
|
+
...(input.CustomEvents != null && {
|
|
90
|
+
CustomEvents: serializeAws_restJson1CustomEvents(input.CustomEvents, context),
|
|
91
|
+
}),
|
|
89
92
|
...(input.CwLogEnabled != null && { CwLogEnabled: input.CwLogEnabled }),
|
|
90
93
|
...(input.Domain != null && { Domain: input.Domain }),
|
|
91
94
|
...(input.Name != null && { Name: input.Name }),
|
|
@@ -347,6 +350,9 @@ export const serializeAws_restJson1UpdateAppMonitorCommand = async (input, conte
|
|
|
347
350
|
...(input.AppMonitorConfiguration != null && {
|
|
348
351
|
AppMonitorConfiguration: serializeAws_restJson1AppMonitorConfiguration(input.AppMonitorConfiguration, context),
|
|
349
352
|
}),
|
|
353
|
+
...(input.CustomEvents != null && {
|
|
354
|
+
CustomEvents: serializeAws_restJson1CustomEvents(input.CustomEvents, context),
|
|
355
|
+
}),
|
|
350
356
|
...(input.CwLogEnabled != null && { CwLogEnabled: input.CwLogEnabled }),
|
|
351
357
|
...(input.Domain != null && { Domain: input.Domain }),
|
|
352
358
|
});
|
|
@@ -1289,6 +1295,11 @@ const serializeAws_restJson1AppMonitorDetails = (input, context) => {
|
|
|
1289
1295
|
...(input.version != null && { version: input.version }),
|
|
1290
1296
|
};
|
|
1291
1297
|
};
|
|
1298
|
+
const serializeAws_restJson1CustomEvents = (input, context) => {
|
|
1299
|
+
return {
|
|
1300
|
+
...(input.Status != null && { Status: input.Status }),
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1292
1303
|
const serializeAws_restJson1DimensionKeysMap = (input, context) => {
|
|
1293
1304
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1294
1305
|
if (value === null) {
|
|
@@ -1400,6 +1411,7 @@ const deserializeAws_restJson1AppMonitor = (output, context) => {
|
|
|
1400
1411
|
? deserializeAws_restJson1AppMonitorConfiguration(output.AppMonitorConfiguration, context)
|
|
1401
1412
|
: undefined,
|
|
1402
1413
|
Created: __expectString(output.Created),
|
|
1414
|
+
CustomEvents: output.CustomEvents != null ? deserializeAws_restJson1CustomEvents(output.CustomEvents, context) : undefined,
|
|
1403
1415
|
DataStorage: output.DataStorage != null ? deserializeAws_restJson1DataStorage(output.DataStorage, context) : undefined,
|
|
1404
1416
|
Domain: __expectString(output.Domain),
|
|
1405
1417
|
Id: __expectString(output.Id),
|
|
@@ -1480,6 +1492,11 @@ const deserializeAws_restJson1BatchDeleteRumMetricDefinitionsErrors = (output, c
|
|
|
1480
1492
|
});
|
|
1481
1493
|
return retVal;
|
|
1482
1494
|
};
|
|
1495
|
+
const deserializeAws_restJson1CustomEvents = (output, context) => {
|
|
1496
|
+
return {
|
|
1497
|
+
Status: __expectString(output.Status),
|
|
1498
|
+
};
|
|
1499
|
+
};
|
|
1483
1500
|
const deserializeAws_restJson1CwLog = (output, context) => {
|
|
1484
1501
|
return {
|
|
1485
1502
|
CwLogEnabled: __expectBoolean(output.CwLogEnabled),
|
package/dist-types/RUM.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ import { RUMClient } from "./RUMClient";
|
|
|
22
22
|
* your web application performance from actual user sessions in real time. The data collected includes page load
|
|
23
23
|
* times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and
|
|
24
24
|
* also see breakdowns by the browsers and devices that your customers use.</p>
|
|
25
|
-
*
|
|
26
25
|
* <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch
|
|
27
26
|
* RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error
|
|
28
27
|
* messages, stack traces, and user sessions. You can also use RUM to
|
|
@@ -44,7 +43,6 @@ export declare class RUM extends RUMClient {
|
|
|
44
43
|
* Extended metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p>
|
|
45
44
|
* <p>The maximum number of metric definitions that you can specify in one
|
|
46
45
|
* <code>BatchCreateRumMetricDefinitions</code> operation is 200.</p>
|
|
47
|
-
*
|
|
48
46
|
* <p>The maximum number of metric definitions that one destination can contain is 2000.</p>
|
|
49
47
|
* <p>Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension
|
|
50
48
|
* value counts as a custom metric. For more information, see
|
|
@@ -144,7 +144,6 @@ export interface RUMClientResolvedConfig extends RUMClientResolvedConfigType {
|
|
|
144
144
|
* your web application performance from actual user sessions in real time. The data collected includes page load
|
|
145
145
|
* times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and
|
|
146
146
|
* also see breakdowns by the browsers and devices that your customers use.</p>
|
|
147
|
-
*
|
|
148
147
|
* <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch
|
|
149
148
|
* RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error
|
|
150
149
|
* messages, stack traces, and user sessions. You can also use RUM to
|
|
@@ -22,7 +22,6 @@ export interface BatchCreateRumMetricDefinitionsCommandOutput extends BatchCreat
|
|
|
22
22
|
* Extended metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p>
|
|
23
23
|
* <p>The maximum number of metric definitions that you can specify in one
|
|
24
24
|
* <code>BatchCreateRumMetricDefinitions</code> operation is 200.</p>
|
|
25
|
-
*
|
|
26
25
|
* <p>The maximum number of metric definitions that one destination can contain is 2000.</p>
|
|
27
26
|
* <p>Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension
|
|
28
27
|
* value counts as a custom metric. For more information, see
|
|
@@ -41,7 +41,6 @@ export interface AppMonitorConfiguration {
|
|
|
41
41
|
ExcludedPages?: string[];
|
|
42
42
|
/**
|
|
43
43
|
* <p>If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. </p>
|
|
44
|
-
*
|
|
45
44
|
* <p>You can't include both <code>ExcludedPages</code> and <code>IncludedPages</code> in the same operation.</p>
|
|
46
45
|
*/
|
|
47
46
|
IncludedPages?: string[];
|
|
@@ -100,6 +99,20 @@ export interface AppMonitorConfiguration {
|
|
|
100
99
|
*/
|
|
101
100
|
EnableXRay?: boolean;
|
|
102
101
|
}
|
|
102
|
+
export declare enum CustomEventsStatus {
|
|
103
|
+
DISABLED = "DISABLED",
|
|
104
|
+
ENABLED = "ENABLED"
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* <p>A structure that contains information about custom events for this app monitor.</p>
|
|
108
|
+
*/
|
|
109
|
+
export interface CustomEvents {
|
|
110
|
+
/**
|
|
111
|
+
* <p>Specifies whether this app monitor allows the web client to define and send
|
|
112
|
+
* custom events. The default is for custom events to be <code>DISABLED</code>.</p>
|
|
113
|
+
*/
|
|
114
|
+
Status?: CustomEventsStatus | string;
|
|
115
|
+
}
|
|
103
116
|
/**
|
|
104
117
|
* <p>A structure that contains the information about whether the app monitor stores copies of the data
|
|
105
118
|
* that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.</p>
|
|
@@ -174,6 +187,13 @@ export interface AppMonitor {
|
|
|
174
187
|
* the telemetry data that RUM collects using CloudWatch Logs.</p>
|
|
175
188
|
*/
|
|
176
189
|
DataStorage?: DataStorage;
|
|
190
|
+
/**
|
|
191
|
+
* <p>Specifies whether this app monitor allows the web client to define and send
|
|
192
|
+
* custom events.</p>
|
|
193
|
+
* <p>For more information about custom events, see
|
|
194
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html">Send custom events</a>.</p>
|
|
195
|
+
*/
|
|
196
|
+
CustomEvents?: CustomEvents;
|
|
177
197
|
}
|
|
178
198
|
/**
|
|
179
199
|
* <p>A structure that contains information about the RUM app monitor.</p>
|
|
@@ -406,7 +426,6 @@ export interface MetricDefinitionRequest {
|
|
|
406
426
|
* </p>
|
|
407
427
|
* </li>
|
|
408
428
|
* </ul>
|
|
409
|
-
*
|
|
410
429
|
* <p> All dimensions listed in this field
|
|
411
430
|
* must also be included in <code>EventPattern</code>.</p>
|
|
412
431
|
*/
|
|
@@ -767,7 +786,6 @@ export interface CreateAppMonitorRequest {
|
|
|
767
786
|
* permissions by granting a user
|
|
768
787
|
* permission to access or change only resources with certain tag values.</p>
|
|
769
788
|
* <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.</p>
|
|
770
|
-
*
|
|
771
789
|
* <p>You can associate as many as 50 tags with an app monitor.</p>
|
|
772
790
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
773
791
|
*/
|
|
@@ -790,6 +808,13 @@ export interface CreateAppMonitorRequest {
|
|
|
790
808
|
* <p>If you omit this parameter, the default is <code>false</code>.</p>
|
|
791
809
|
*/
|
|
792
810
|
CwLogEnabled?: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* <p>Specifies whether this app monitor allows the web client to define and send
|
|
813
|
+
* custom events. If you omit this parameter, custom events are <code>DISABLED</code>.</p>
|
|
814
|
+
* <p>For more information about custom events, see
|
|
815
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html">Send custom events</a>.</p>
|
|
816
|
+
*/
|
|
817
|
+
CustomEvents?: CustomEvents;
|
|
793
818
|
}
|
|
794
819
|
export interface CreateAppMonitorResponse {
|
|
795
820
|
/**
|
|
@@ -1060,6 +1085,13 @@ export interface UpdateAppMonitorRequest {
|
|
|
1060
1085
|
* Amazon CloudWatch Logs charges.</p>
|
|
1061
1086
|
*/
|
|
1062
1087
|
CwLogEnabled?: boolean;
|
|
1088
|
+
/**
|
|
1089
|
+
* <p>Specifies whether this app monitor allows the web client to define and send
|
|
1090
|
+
* custom events. The default is for custom events to be <code>DISABLED</code>.</p>
|
|
1091
|
+
* <p>For more information about custom events, see
|
|
1092
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html">Send custom events</a>.</p>
|
|
1093
|
+
*/
|
|
1094
|
+
CustomEvents?: CustomEvents;
|
|
1063
1095
|
}
|
|
1064
1096
|
export interface UpdateAppMonitorResponse {
|
|
1065
1097
|
}
|
|
@@ -1203,6 +1235,10 @@ export interface UntagResourceResponse {
|
|
|
1203
1235
|
* @internal
|
|
1204
1236
|
*/
|
|
1205
1237
|
export declare const AppMonitorConfigurationFilterSensitiveLog: (obj: AppMonitorConfiguration) => any;
|
|
1238
|
+
/**
|
|
1239
|
+
* @internal
|
|
1240
|
+
*/
|
|
1241
|
+
export declare const CustomEventsFilterSensitiveLog: (obj: CustomEvents) => any;
|
|
1206
1242
|
/**
|
|
1207
1243
|
* @internal
|
|
1208
1244
|
*/
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
35
|
-
credentials?: import("@aws-sdk/types").
|
|
35
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
36
36
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
38
38
|
systemClockOffset?: number | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
35
|
-
credentials?: import("@aws-sdk/types").
|
|
35
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
36
36
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
38
38
|
systemClockOffset?: number | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
32
32
|
tls?: boolean | undefined;
|
|
33
33
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
34
|
-
credentials?: import("@aws-sdk/types").
|
|
34
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
35
35
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
36
36
|
signingEscapePath?: boolean | undefined;
|
|
37
37
|
systemClockOffset?: number | undefined;
|
|
@@ -26,6 +26,13 @@ export interface AppMonitorConfiguration {
|
|
|
26
26
|
Telemetries?: (Telemetry | string)[];
|
|
27
27
|
EnableXRay?: boolean;
|
|
28
28
|
}
|
|
29
|
+
export declare enum CustomEventsStatus {
|
|
30
|
+
DISABLED = "DISABLED",
|
|
31
|
+
ENABLED = "ENABLED",
|
|
32
|
+
}
|
|
33
|
+
export interface CustomEvents {
|
|
34
|
+
Status?: CustomEventsStatus | string;
|
|
35
|
+
}
|
|
29
36
|
export interface CwLog {
|
|
30
37
|
CwLogEnabled?: boolean;
|
|
31
38
|
CwLogGroup?: string;
|
|
@@ -48,6 +55,7 @@ export interface AppMonitor {
|
|
|
48
55
|
State?: StateEnum | string;
|
|
49
56
|
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
50
57
|
DataStorage?: DataStorage;
|
|
58
|
+
CustomEvents?: CustomEvents;
|
|
51
59
|
}
|
|
52
60
|
export interface AppMonitorDetails {
|
|
53
61
|
name?: string;
|
|
@@ -172,6 +180,7 @@ export interface CreateAppMonitorRequest {
|
|
|
172
180
|
Tags?: Record<string, string>;
|
|
173
181
|
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
174
182
|
CwLogEnabled?: boolean;
|
|
183
|
+
CustomEvents?: CustomEvents;
|
|
175
184
|
}
|
|
176
185
|
export interface CreateAppMonitorResponse {
|
|
177
186
|
Id?: string;
|
|
@@ -252,6 +261,7 @@ export interface UpdateAppMonitorRequest {
|
|
|
252
261
|
Domain?: string;
|
|
253
262
|
AppMonitorConfiguration?: AppMonitorConfiguration;
|
|
254
263
|
CwLogEnabled?: boolean;
|
|
264
|
+
CustomEvents?: CustomEvents;
|
|
255
265
|
}
|
|
256
266
|
export interface UpdateAppMonitorResponse {}
|
|
257
267
|
export interface UpdateRumMetricDefinitionRequest {
|
|
@@ -301,6 +311,7 @@ export interface UntagResourceResponse {}
|
|
|
301
311
|
export declare const AppMonitorConfigurationFilterSensitiveLog: (
|
|
302
312
|
obj: AppMonitorConfiguration
|
|
303
313
|
) => any;
|
|
314
|
+
export declare const CustomEventsFilterSensitiveLog: (obj: CustomEvents) => any;
|
|
304
315
|
export declare const CwLogFilterSensitiveLog: (obj: CwLog) => any;
|
|
305
316
|
export declare const DataStorageFilterSensitiveLog: (obj: DataStorage) => any;
|
|
306
317
|
export declare const AppMonitorFilterSensitiveLog: (obj: AppMonitor) => any;
|
|
@@ -64,8 +64,10 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
64
64
|
tls?: boolean | undefined;
|
|
65
65
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
66
66
|
credentials?:
|
|
67
|
-
| import("@aws-sdk/types").
|
|
68
|
-
| import("@aws-sdk/types").Provider<
|
|
67
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
68
|
+
| import("@aws-sdk/types").Provider<
|
|
69
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
70
|
+
>
|
|
69
71
|
| undefined;
|
|
70
72
|
signer?:
|
|
71
73
|
| import("@aws-sdk/types").RequestSigner
|
|
@@ -64,8 +64,10 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
64
64
|
tls?: boolean | undefined;
|
|
65
65
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
66
66
|
credentials?:
|
|
67
|
-
| import("@aws-sdk/types").
|
|
68
|
-
| import("@aws-sdk/types").Provider<
|
|
67
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
68
|
+
| import("@aws-sdk/types").Provider<
|
|
69
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
70
|
+
>
|
|
69
71
|
| undefined;
|
|
70
72
|
signer?:
|
|
71
73
|
| import("@aws-sdk/types").RequestSigner
|
|
@@ -53,8 +53,10 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
53
53
|
tls?: boolean | undefined;
|
|
54
54
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
55
55
|
credentials?:
|
|
56
|
-
| import("@aws-sdk/types").
|
|
57
|
-
| import("@aws-sdk/types").Provider<
|
|
56
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
57
|
+
| import("@aws-sdk/types").Provider<
|
|
58
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
59
|
+
>
|
|
58
60
|
| undefined;
|
|
59
61
|
signer?:
|
|
60
62
|
| import("@aws-sdk/types").RequestSigner
|
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.215.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",
|
|
@@ -19,36 +19,36 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.215.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.215.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.215.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.215.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.215.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.215.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.215.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.215.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.215.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.215.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.215.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.215.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.215.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.215.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.215.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.215.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.215.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.215.0",
|
|
42
|
+
"@aws-sdk/types": "3.215.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.215.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.215.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.215.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.215.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.215.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.215.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
54
|
"tslib": "^2.3.1"
|