@aws-sdk/client-rum 3.300.0 → 3.303.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.
@@ -15,28 +15,24 @@ class AccessDeniedException extends RUMServiceException_1.RUMServiceException {
15
15
  }
16
16
  }
17
17
  exports.AccessDeniedException = AccessDeniedException;
18
- var Telemetry;
19
- (function (Telemetry) {
20
- Telemetry["ERRORS"] = "errors";
21
- Telemetry["HTTP"] = "http";
22
- Telemetry["PERFORMANCE"] = "performance";
23
- })(Telemetry = exports.Telemetry || (exports.Telemetry = {}));
24
- var CustomEventsStatus;
25
- (function (CustomEventsStatus) {
26
- CustomEventsStatus["DISABLED"] = "DISABLED";
27
- CustomEventsStatus["ENABLED"] = "ENABLED";
28
- })(CustomEventsStatus = exports.CustomEventsStatus || (exports.CustomEventsStatus = {}));
29
- var StateEnum;
30
- (function (StateEnum) {
31
- StateEnum["ACTIVE"] = "ACTIVE";
32
- StateEnum["CREATED"] = "CREATED";
33
- StateEnum["DELETING"] = "DELETING";
34
- })(StateEnum = exports.StateEnum || (exports.StateEnum = {}));
35
- var MetricDestination;
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 var Telemetry;
15
- (function (Telemetry) {
16
- Telemetry["ERRORS"] = "errors";
17
- Telemetry["HTTP"] = "http";
18
- Telemetry["PERFORMANCE"] = "performance";
19
- })(Telemetry || (Telemetry = {}));
20
- export var CustomEventsStatus;
21
- (function (CustomEventsStatus) {
22
- CustomEventsStatus["DISABLED"] = "DISABLED";
23
- CustomEventsStatus["ENABLED"] = "ENABLED";
24
- })(CustomEventsStatus || (CustomEventsStatus = {}));
25
- export var StateEnum;
26
- (function (StateEnum) {
27
- StateEnum["ACTIVE"] = "ACTIVE";
28
- StateEnum["CREATED"] = "CREATED";
29
- StateEnum["DELETING"] = "DELETING";
30
- })(StateEnum || (StateEnum = {}));
31
- export var MetricDestination;
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({
@@ -65,16 +65,16 @@ export interface BatchCreateRumMetricDefinitionsCommandOutput extends BatchCreat
65
65
  * import { RUMClient, BatchCreateRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
66
66
  * // const { RUMClient, BatchCreateRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
67
67
  * const client = new RUMClient(config);
68
- * const input = {
68
+ * const input = { // BatchCreateRumMetricDefinitionsRequest
69
69
  * AppMonitorName: "STRING_VALUE", // required
70
70
  * Destination: "STRING_VALUE", // required
71
71
  * DestinationArn: "STRING_VALUE",
72
- * MetricDefinitions: [ // required
73
- * {
72
+ * MetricDefinitions: [ // MetricDefinitionsRequest // required
73
+ * { // MetricDefinitionRequest
74
74
  * Name: "STRING_VALUE", // required
75
75
  * ValueKey: "STRING_VALUE",
76
76
  * UnitLabel: "STRING_VALUE",
77
- * DimensionKeys: {
77
+ * DimensionKeys: { // DimensionKeysMap
78
78
  * "<keys>": "STRING_VALUE",
79
79
  * },
80
80
  * EventPattern: "STRING_VALUE",
@@ -31,11 +31,11 @@ export interface BatchDeleteRumMetricDefinitionsCommandOutput extends BatchDelet
31
31
  * import { RUMClient, BatchDeleteRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
32
32
  * // const { RUMClient, BatchDeleteRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
33
33
  * const client = new RUMClient(config);
34
- * const input = {
34
+ * const input = { // BatchDeleteRumMetricDefinitionsRequest
35
35
  * AppMonitorName: "STRING_VALUE", // required
36
36
  * Destination: "STRING_VALUE", // required
37
37
  * DestinationArn: "STRING_VALUE",
38
- * MetricDefinitionIds: [ // required
38
+ * MetricDefinitionIds: [ // MetricDefinitionIds // required
39
39
  * "STRING_VALUE",
40
40
  * ],
41
41
  * };
@@ -26,7 +26,7 @@ export interface BatchGetRumMetricDefinitionsCommandOutput extends BatchGetRumMe
26
26
  * import { RUMClient, BatchGetRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, BatchGetRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
- * const input = {
29
+ * const input = { // BatchGetRumMetricDefinitionsRequest
30
30
  * AppMonitorName: "STRING_VALUE", // required
31
31
  * Destination: "STRING_VALUE", // required
32
32
  * DestinationArn: "STRING_VALUE",
@@ -34,33 +34,33 @@ export interface CreateAppMonitorCommandOutput extends CreateAppMonitorResponse,
34
34
  * import { RUMClient, CreateAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
35
35
  * // const { RUMClient, CreateAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
36
36
  * const client = new RUMClient(config);
37
- * const input = {
37
+ * const input = { // CreateAppMonitorRequest
38
38
  * Name: "STRING_VALUE", // required
39
39
  * Domain: "STRING_VALUE", // required
40
- * Tags: {
40
+ * Tags: { // TagMap
41
41
  * "<keys>": "STRING_VALUE",
42
42
  * },
43
- * AppMonitorConfiguration: {
43
+ * AppMonitorConfiguration: { // AppMonitorConfiguration
44
44
  * IdentityPoolId: "STRING_VALUE",
45
- * ExcludedPages: [
45
+ * ExcludedPages: [ // Pages
46
46
  * "STRING_VALUE",
47
47
  * ],
48
48
  * IncludedPages: [
49
49
  * "STRING_VALUE",
50
50
  * ],
51
- * FavoritePages: [
51
+ * FavoritePages: [ // FavoritePages
52
52
  * "STRING_VALUE",
53
53
  * ],
54
54
  * SessionSampleRate: Number("double"),
55
55
  * GuestRoleArn: "STRING_VALUE",
56
56
  * AllowCookies: true || false,
57
- * Telemetries: [
57
+ * Telemetries: [ // Telemetries
58
58
  * "STRING_VALUE",
59
59
  * ],
60
60
  * EnableXRay: true || false,
61
61
  * },
62
62
  * CwLogEnabled: true || false,
63
- * CustomEvents: {
63
+ * CustomEvents: { // CustomEvents
64
64
  * Status: "STRING_VALUE",
65
65
  * },
66
66
  * };
@@ -26,7 +26,7 @@ export interface DeleteAppMonitorCommandOutput extends DeleteAppMonitorResponse,
26
26
  * import { RUMClient, DeleteAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, DeleteAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
- * const input = {
29
+ * const input = { // DeleteAppMonitorRequest
30
30
  * Name: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteAppMonitorCommand(input);
@@ -27,7 +27,7 @@ export interface DeleteRumMetricsDestinationCommandOutput extends DeleteRumMetri
27
27
  * import { RUMClient, DeleteRumMetricsDestinationCommand } from "@aws-sdk/client-rum"; // ES Modules import
28
28
  * // const { RUMClient, DeleteRumMetricsDestinationCommand } = require("@aws-sdk/client-rum"); // CommonJS import
29
29
  * const client = new RUMClient(config);
30
- * const input = {
30
+ * const input = { // DeleteRumMetricsDestinationRequest
31
31
  * AppMonitorName: "STRING_VALUE", // required
32
32
  * Destination: "STRING_VALUE", // required
33
33
  * DestinationArn: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface GetAppMonitorCommandOutput extends GetAppMonitorResponse, __Met
26
26
  * import { RUMClient, GetAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, GetAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
- * const input = {
29
+ * const input = { // GetAppMonitorRequest
30
30
  * Name: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetAppMonitorCommand(input);
@@ -27,16 +27,16 @@ export interface GetAppMonitorDataCommandOutput extends GetAppMonitorDataRespons
27
27
  * import { RUMClient, GetAppMonitorDataCommand } from "@aws-sdk/client-rum"; // ES Modules import
28
28
  * // const { RUMClient, GetAppMonitorDataCommand } = require("@aws-sdk/client-rum"); // CommonJS import
29
29
  * const client = new RUMClient(config);
30
- * const input = {
30
+ * const input = { // GetAppMonitorDataRequest
31
31
  * Name: "STRING_VALUE", // required
32
- * TimeRange: {
32
+ * TimeRange: { // TimeRange
33
33
  * After: Number("long"), // required
34
34
  * Before: Number("long"),
35
35
  * },
36
- * Filters: [
37
- * {
36
+ * Filters: [ // QueryFilters
37
+ * { // QueryFilter
38
38
  * Name: "STRING_VALUE",
39
- * Values: [
39
+ * Values: [ // QueryFilterValueList
40
40
  * "STRING_VALUE",
41
41
  * ],
42
42
  * },
@@ -26,7 +26,7 @@ export interface ListAppMonitorsCommandOutput extends ListAppMonitorsResponse, _
26
26
  * import { RUMClient, ListAppMonitorsCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, ListAppMonitorsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
- * const input = {
29
+ * const input = { // ListAppMonitorsRequest
30
30
  * MaxResults: Number("int"),
31
31
  * NextToken: "STRING_VALUE",
32
32
  * };
@@ -28,7 +28,7 @@ export interface ListRumMetricsDestinationsCommandOutput extends ListRumMetricsD
28
28
  * import { RUMClient, ListRumMetricsDestinationsCommand } from "@aws-sdk/client-rum"; // ES Modules import
29
29
  * // const { RUMClient, ListRumMetricsDestinationsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
30
30
  * const client = new RUMClient(config);
31
- * const input = {
31
+ * const input = { // ListRumMetricsDestinationsRequest
32
32
  * AppMonitorName: "STRING_VALUE", // required
33
33
  * MaxResults: Number("int"),
34
34
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { RUMClient, ListTagsForResourceCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -29,20 +29,20 @@ export interface PutRumEventsCommandOutput extends PutRumEventsResponse, __Metad
29
29
  * import { RUMClient, PutRumEventsCommand } from "@aws-sdk/client-rum"; // ES Modules import
30
30
  * // const { RUMClient, PutRumEventsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
31
31
  * const client = new RUMClient(config);
32
- * const input = {
32
+ * const input = { // PutRumEventsRequest
33
33
  * Id: "STRING_VALUE", // required
34
34
  * BatchId: "STRING_VALUE", // required
35
- * AppMonitorDetails: {
35
+ * AppMonitorDetails: { // AppMonitorDetails
36
36
  * name: "STRING_VALUE",
37
37
  * id: "STRING_VALUE",
38
38
  * version: "STRING_VALUE",
39
39
  * },
40
- * UserDetails: {
40
+ * UserDetails: { // UserDetails
41
41
  * userId: "STRING_VALUE",
42
42
  * sessionId: "STRING_VALUE",
43
43
  * },
44
- * RumEvents: [ // required
45
- * {
44
+ * RumEvents: [ // RumEventList // required
45
+ * { // RumEvent
46
46
  * id: "STRING_VALUE", // required
47
47
  * timestamp: new Date("TIMESTAMP"), // required
48
48
  * type: "STRING_VALUE", // required
@@ -28,7 +28,7 @@ export interface PutRumMetricsDestinationCommandOutput extends PutRumMetricsDest
28
28
  * import { RUMClient, PutRumMetricsDestinationCommand } from "@aws-sdk/client-rum"; // ES Modules import
29
29
  * // const { RUMClient, PutRumMetricsDestinationCommand } = require("@aws-sdk/client-rum"); // CommonJS import
30
30
  * const client = new RUMClient(config);
31
- * const input = {
31
+ * const input = { // PutRumMetricsDestinationRequest
32
32
  * AppMonitorName: "STRING_VALUE", // required
33
33
  * Destination: "STRING_VALUE", // required
34
34
  * DestinationArn: "STRING_VALUE",
@@ -39,9 +39,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
39
39
  * import { RUMClient, TagResourceCommand } from "@aws-sdk/client-rum"; // ES Modules import
40
40
  * // const { RUMClient, TagResourceCommand } = require("@aws-sdk/client-rum"); // CommonJS import
41
41
  * const client = new RUMClient(config);
42
- * const input = {
42
+ * const input = { // TagResourceRequest
43
43
  * ResourceArn: "STRING_VALUE", // required
44
- * Tags: { // required
44
+ * Tags: { // TagMap // required
45
45
  * "<keys>": "STRING_VALUE",
46
46
  * },
47
47
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { RUMClient, UntagResourceCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, UntagResourceCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -36,30 +36,30 @@ export interface UpdateAppMonitorCommandOutput extends UpdateAppMonitorResponse,
36
36
  * import { RUMClient, UpdateAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
37
37
  * // const { RUMClient, UpdateAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
38
38
  * const client = new RUMClient(config);
39
- * const input = {
39
+ * const input = { // UpdateAppMonitorRequest
40
40
  * Name: "STRING_VALUE", // required
41
41
  * Domain: "STRING_VALUE",
42
- * AppMonitorConfiguration: {
42
+ * AppMonitorConfiguration: { // AppMonitorConfiguration
43
43
  * IdentityPoolId: "STRING_VALUE",
44
- * ExcludedPages: [
44
+ * ExcludedPages: [ // Pages
45
45
  * "STRING_VALUE",
46
46
  * ],
47
47
  * IncludedPages: [
48
48
  * "STRING_VALUE",
49
49
  * ],
50
- * FavoritePages: [
50
+ * FavoritePages: [ // FavoritePages
51
51
  * "STRING_VALUE",
52
52
  * ],
53
53
  * SessionSampleRate: Number("double"),
54
54
  * GuestRoleArn: "STRING_VALUE",
55
55
  * AllowCookies: true || false,
56
- * Telemetries: [
56
+ * Telemetries: [ // Telemetries
57
57
  * "STRING_VALUE",
58
58
  * ],
59
59
  * EnableXRay: true || false,
60
60
  * },
61
61
  * CwLogEnabled: true || false,
62
- * CustomEvents: {
62
+ * CustomEvents: { // CustomEvents
63
63
  * Status: "STRING_VALUE",
64
64
  * },
65
65
  * };
@@ -27,15 +27,15 @@ export interface UpdateRumMetricDefinitionCommandOutput extends UpdateRumMetricD
27
27
  * import { RUMClient, UpdateRumMetricDefinitionCommand } from "@aws-sdk/client-rum"; // ES Modules import
28
28
  * // const { RUMClient, UpdateRumMetricDefinitionCommand } = require("@aws-sdk/client-rum"); // CommonJS import
29
29
  * const client = new RUMClient(config);
30
- * const input = {
30
+ * const input = { // UpdateRumMetricDefinitionRequest
31
31
  * AppMonitorName: "STRING_VALUE", // required
32
32
  * Destination: "STRING_VALUE", // required
33
33
  * DestinationArn: "STRING_VALUE",
34
- * MetricDefinition: {
34
+ * MetricDefinition: { // MetricDefinitionRequest
35
35
  * Name: "STRING_VALUE", // required
36
36
  * ValueKey: "STRING_VALUE",
37
37
  * UnitLabel: "STRING_VALUE",
38
- * DimensionKeys: {
38
+ * DimensionKeys: { // DimensionKeysMap
39
39
  * "<keys>": "STRING_VALUE",
40
40
  * },
41
41
  * EventPattern: "STRING_VALUE",
@@ -14,21 +14,26 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  }
15
15
  /**
16
16
  * @public
17
+ * @enum
17
18
  */
18
- export declare enum Telemetry {
19
+ export declare const Telemetry: {
19
20
  /**
20
21
  * Includes JS error event plugin
21
22
  */
22
- ERRORS = "errors",
23
+ readonly ERRORS: "errors";
23
24
  /**
24
25
  * Includes X-Ray Xhr and X-Ray Fetch plugin
25
26
  */
26
- HTTP = "http",
27
+ readonly HTTP: "http";
27
28
  /**
28
29
  * Includes navigation, paint, resource and web vital event plugins
29
30
  */
30
- PERFORMANCE = "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 enum CustomEventsStatus {
111
- DISABLED = "DISABLED",
112
- ENABLED = "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 enum StateEnum {
157
- ACTIVE = "ACTIVE",
158
- CREATED = "CREATED",
159
- DELETING = "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 enum MetricDestination {
235
- CloudWatch = "CloudWatch",
236
- Evidently = "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 enum Telemetry {
14
- ERRORS = "errors",
15
- HTTP = "http",
16
- PERFORMANCE = "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 enum CustomEventsStatus {
30
- DISABLED = "DISABLED",
31
- ENABLED = "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 enum StateEnum {
44
- ACTIVE = "ACTIVE",
45
- CREATED = "CREATED",
46
- DELETING = "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 enum MetricDestination {
66
- CloudWatch = "CloudWatch",
67
- Evidently = "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.300.0",
4
+ "version": "3.303.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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.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.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.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.295.0",
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",