@aws-sdk/client-rum 3.427.0 → 3.429.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.
@@ -106,7 +106,7 @@ export interface AppMonitorConfiguration {
106
106
  * </li>
107
107
  * </ul>
108
108
  */
109
- Telemetries?: (Telemetry | string)[];
109
+ Telemetries?: Telemetry[];
110
110
  /**
111
111
  * @public
112
112
  * <p>If you set this to <code>true</code>, RUM enables X-Ray tracing for
@@ -140,7 +140,7 @@ export interface CustomEvents {
140
140
  * <p>Specifies whether this app monitor allows the web client to define and send
141
141
  * custom events. The default is for custom events to be <code>DISABLED</code>.</p>
142
142
  */
143
- Status?: CustomEventsStatus | string;
143
+ Status?: CustomEventsStatus;
144
144
  }
145
145
  /**
146
146
  * @public
@@ -227,7 +227,7 @@ export interface AppMonitor {
227
227
  * @public
228
228
  * <p>The current state of the app monitor.</p>
229
229
  */
230
- State?: StateEnum | string;
230
+ State?: StateEnum;
231
231
  /**
232
232
  * @public
233
233
  * <p>A structure that contains much of the configuration data for the app monitor.</p>
@@ -705,7 +705,7 @@ export interface BatchCreateRumMetricDefinitionsRequest {
705
705
  * that will receive
706
706
  * the metrics and an IAM role that has permission to write to the experiment.</p>
707
707
  */
708
- Destination: MetricDestination | string | undefined;
708
+ Destination: MetricDestination | undefined;
709
709
  /**
710
710
  * @public
711
711
  * <p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
@@ -942,7 +942,7 @@ export interface BatchDeleteRumMetricDefinitionsRequest {
942
942
  * you specify <code>Evidently</code>, you must also specify the ARN of the CloudWatchEvidently experiment that is to
943
943
  * be the destination and an IAM role that has permission to write to the experiment.</p>
944
944
  */
945
- Destination: MetricDestination | string | undefined;
945
+ Destination: MetricDestination | undefined;
946
946
  /**
947
947
  * @public
948
948
  * <p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
@@ -1009,7 +1009,7 @@ export interface BatchGetRumMetricDefinitionsRequest {
1009
1009
  * <p>The type of destination that you want to view metrics for. Valid values are <code>CloudWatch</code>
1010
1010
  * and <code>Evidently</code>.</p>
1011
1011
  */
1012
- Destination: MetricDestination | string | undefined;
1012
+ Destination: MetricDestination | undefined;
1013
1013
  /**
1014
1014
  * @public
1015
1015
  * <p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
@@ -1141,7 +1141,7 @@ export interface DeleteRumMetricsDestinationRequest {
1141
1141
  * @public
1142
1142
  * <p>The type of destination to delete. Valid values are <code>CloudWatch</code> and <code>Evidently</code>.</p>
1143
1143
  */
1144
- Destination: MetricDestination | string | undefined;
1144
+ Destination: MetricDestination | undefined;
1145
1145
  /**
1146
1146
  * @public
1147
1147
  * <p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
@@ -1315,7 +1315,7 @@ export interface AppMonitorSummary {
1315
1315
  * @public
1316
1316
  * <p>The current state of this app monitor.</p>
1317
1317
  */
1318
- State?: StateEnum | string;
1318
+ State?: StateEnum;
1319
1319
  }
1320
1320
  /**
1321
1321
  * @public
@@ -1366,7 +1366,7 @@ export interface MetricDestinationSummary {
1366
1366
  * @public
1367
1367
  * <p>Specifies whether the destination is <code>CloudWatch</code> or <code>Evidently</code>.</p>
1368
1368
  */
1369
- Destination?: MetricDestination | string;
1369
+ Destination?: MetricDestination;
1370
1370
  /**
1371
1371
  * @public
1372
1372
  * <p>If the destination is <code>Evidently</code>, this specifies the ARN of the Evidently experiment that receives
@@ -1413,7 +1413,7 @@ export interface PutRumMetricsDestinationRequest {
1413
1413
  * you specify <code>Evidently</code>, you must also specify the ARN of the CloudWatchEvidently experiment that is to
1414
1414
  * be the destination and an IAM role that has permission to write to the experiment.</p>
1415
1415
  */
1416
- Destination: MetricDestination | string | undefined;
1416
+ Destination: MetricDestination | undefined;
1417
1417
  /**
1418
1418
  * @public
1419
1419
  * <p>Use this parameter only if <code>Destination</code> is <code>Evidently</code>. This parameter specifies
@@ -1497,7 +1497,7 @@ export interface UpdateRumMetricDefinitionRequest {
1497
1497
  * that will receive
1498
1498
  * the metrics and an IAM role that has permission to write to the experiment.</p>
1499
1499
  */
1500
- Destination: MetricDestination | string | undefined;
1500
+ Destination: MetricDestination | undefined;
1501
1501
  /**
1502
1502
  * @public
1503
1503
  * <p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
@@ -24,7 +24,7 @@ export interface AppMonitorConfiguration {
24
24
  SessionSampleRate?: number;
25
25
  GuestRoleArn?: string;
26
26
  AllowCookies?: boolean;
27
- Telemetries?: (Telemetry | string)[];
27
+ Telemetries?: Telemetry[];
28
28
  EnableXRay?: boolean;
29
29
  }
30
30
  export declare const CustomEventsStatus: {
@@ -34,7 +34,7 @@ export declare const CustomEventsStatus: {
34
34
  export type CustomEventsStatus =
35
35
  (typeof CustomEventsStatus)[keyof typeof CustomEventsStatus];
36
36
  export interface CustomEvents {
37
- Status?: CustomEventsStatus | string;
37
+ Status?: CustomEventsStatus;
38
38
  }
39
39
  export interface CwLog {
40
40
  CwLogEnabled?: boolean;
@@ -56,7 +56,7 @@ export interface AppMonitor {
56
56
  Created?: string;
57
57
  LastModified?: string;
58
58
  Tags?: Record<string, string>;
59
- State?: StateEnum | string;
59
+ State?: StateEnum;
60
60
  AppMonitorConfiguration?: AppMonitorConfiguration;
61
61
  DataStorage?: DataStorage;
62
62
  CustomEvents?: CustomEvents;
@@ -82,7 +82,7 @@ export interface MetricDefinitionRequest {
82
82
  }
83
83
  export interface BatchCreateRumMetricDefinitionsRequest {
84
84
  AppMonitorName: string | undefined;
85
- Destination: MetricDestination | string | undefined;
85
+ Destination: MetricDestination | undefined;
86
86
  DestinationArn?: string;
87
87
  MetricDefinitions: MetricDefinitionRequest[] | undefined;
88
88
  }
@@ -158,7 +158,7 @@ export declare class ValidationException extends __BaseException {
158
158
  }
159
159
  export interface BatchDeleteRumMetricDefinitionsRequest {
160
160
  AppMonitorName: string | undefined;
161
- Destination: MetricDestination | string | undefined;
161
+ Destination: MetricDestination | undefined;
162
162
  DestinationArn?: string;
163
163
  MetricDefinitionIds: string[] | undefined;
164
164
  }
@@ -173,7 +173,7 @@ export interface BatchDeleteRumMetricDefinitionsResponse {
173
173
  }
174
174
  export interface BatchGetRumMetricDefinitionsRequest {
175
175
  AppMonitorName: string | undefined;
176
- Destination: MetricDestination | string | undefined;
176
+ Destination: MetricDestination | undefined;
177
177
  DestinationArn?: string;
178
178
  MaxResults?: number;
179
179
  NextToken?: string;
@@ -199,7 +199,7 @@ export interface DeleteAppMonitorRequest {
199
199
  export interface DeleteAppMonitorResponse {}
200
200
  export interface DeleteRumMetricsDestinationRequest {
201
201
  AppMonitorName: string | undefined;
202
- Destination: MetricDestination | string | undefined;
202
+ Destination: MetricDestination | undefined;
203
203
  DestinationArn?: string;
204
204
  }
205
205
  export interface DeleteRumMetricsDestinationResponse {}
@@ -237,7 +237,7 @@ export interface AppMonitorSummary {
237
237
  Id?: string;
238
238
  Created?: string;
239
239
  LastModified?: string;
240
- State?: StateEnum | string;
240
+ State?: StateEnum;
241
241
  }
242
242
  export interface ListAppMonitorsResponse {
243
243
  NextToken?: string;
@@ -249,7 +249,7 @@ export interface ListRumMetricsDestinationsRequest {
249
249
  NextToken?: string;
250
250
  }
251
251
  export interface MetricDestinationSummary {
252
- Destination?: MetricDestination | string;
252
+ Destination?: MetricDestination;
253
253
  DestinationArn?: string;
254
254
  IamRoleArn?: string;
255
255
  }
@@ -259,7 +259,7 @@ export interface ListRumMetricsDestinationsResponse {
259
259
  }
260
260
  export interface PutRumMetricsDestinationRequest {
261
261
  AppMonitorName: string | undefined;
262
- Destination: MetricDestination | string | undefined;
262
+ Destination: MetricDestination | undefined;
263
263
  DestinationArn?: string;
264
264
  IamRoleArn?: string;
265
265
  }
@@ -274,7 +274,7 @@ export interface UpdateAppMonitorRequest {
274
274
  export interface UpdateAppMonitorResponse {}
275
275
  export interface UpdateRumMetricDefinitionRequest {
276
276
  AppMonitorName: string | undefined;
277
- Destination: MetricDestination | string | undefined;
277
+ Destination: MetricDestination | undefined;
278
278
  DestinationArn?: string;
279
279
  MetricDefinition: MetricDefinitionRequest | undefined;
280
280
  MetricDefinitionId: string | undefined;
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.427.0",
4
+ "version": "3.429.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,39 +21,39 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },