@aws-sdk/client-rum 3.1170.0 → 3.1172.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/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1169.0";
72
+ var version = "3.1171.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -428,6 +428,7 @@ const _REL = "RumEventList";
428
428
  const _REu = "RumEvent";
429
429
  const _RNFE = "ResourceNotFoundException";
430
430
  const _S = "State";
431
+ const _SM = "SessionMetadata";
431
432
  const _SQEE = "ServiceQuotaExceededException";
432
433
  const _SSR = "SessionSampleRate";
433
434
  const _SU = "S3Uri";
@@ -775,8 +776,8 @@ var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
775
776
  ];
776
777
  var PutRumEventsRequest$ = [3, n0, _PRER,
777
778
  0,
778
- [_I, _BI, _AMD, _UD, _RE, _A],
779
- [[0, 1], 0, () => AppMonitorDetails$, () => UserDetails$, [() => RumEventList, 0], 0], 5
779
+ [_I, _BI, _AMD, _UD, _RE, _A, _SM],
780
+ [[0, 1], 0, () => AppMonitorDetails$, () => UserDetails$, [() => RumEventList, 0], 0, [() => JsonValue, 0]], 5
780
781
  ];
781
782
  var PutRumEventsResponse$ = [3, n0, _PRERu,
782
783
  0,
@@ -123,6 +123,7 @@ const _REL = "RumEventList";
123
123
  const _REu = "RumEvent";
124
124
  const _RNFE = "ResourceNotFoundException";
125
125
  const _S = "State";
126
+ const _SM = "SessionMetadata";
126
127
  const _SQEE = "ServiceQuotaExceededException";
127
128
  const _SSR = "SessionSampleRate";
128
129
  const _SU = "S3Uri";
@@ -473,8 +474,8 @@ export var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
473
474
  ];
474
475
  export var PutRumEventsRequest$ = [3, n0, _PRER,
475
476
  0,
476
- [_I, _BI, _AMD, _UD, _RE, _A],
477
- [[0, 1], 0, () => AppMonitorDetails$, () => UserDetails$, [() => RumEventList, 0], 0], 5
477
+ [_I, _BI, _AMD, _UD, _RE, _A, _SM],
478
+ [[0, 1], 0, () => AppMonitorDetails$, () => UserDetails$, [() => RumEventList, 0], 0, [() => JsonValue, 0]], 5
478
479
  ];
479
480
  export var PutRumEventsResponse$ = [3, n0, _PRERu,
480
481
  0,
@@ -55,6 +55,7 @@ declare const PutRumEventsCommand_base: {
55
55
  * },
56
56
  * ],
57
57
  * Alias: "STRING_VALUE",
58
+ * SessionMetadata: "STRING_VALUE",
58
59
  * };
59
60
  * const command = new PutRumEventsCommand(input);
60
61
  * const response = await client.send(command);
@@ -1072,6 +1072,11 @@ export interface PutRumEventsRequest {
1072
1072
  * @public
1073
1073
  */
1074
1074
  Alias?: string | undefined;
1075
+ /**
1076
+ * <p>A JSON serialization of attributes that apply to every event in this batch, such as the browser, device, and operating system of the end user. CloudWatch RUM merges these attributes into each event in the batch, so you send them once for the batch instead of once for each event. If an attribute appears both here and in an individual event's <code>metadata</code>, CloudWatch RUM uses the value in the event's <code>metadata</code>.</p>
1077
+ * @public
1078
+ */
1079
+ SessionMetadata?: __AutomaticJsonStringConversion | string | undefined;
1075
1080
  }
1076
1081
  /**
1077
1082
  * @public
@@ -265,6 +265,7 @@ export interface PutRumEventsRequest {
265
265
  UserDetails: UserDetails | undefined;
266
266
  RumEvents: RumEvent[] | undefined;
267
267
  Alias?: string | undefined;
268
+ SessionMetadata?: __AutomaticJsonStringConversion | string | undefined;
268
269
  }
269
270
  export interface PutRumEventsResponse {}
270
271
  export interface TagResourceRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rum",
3
- "version": "3.1170.0",
3
+ "version": "3.1172.0",
4
4
  "description": "AWS SDK for JavaScript Rum Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rum",
6
6
  "license": "Apache-2.0",