@aws-sdk/client-rum 3.933.0 → 3.935.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.
Files changed (32) hide show
  1. package/README.md +1 -8
  2. package/dist-cjs/index.js +6 -31
  3. package/dist-es/index.js +1 -1
  4. package/dist-es/models/errors.js +153 -0
  5. package/dist-es/models/models_0.js +5 -153
  6. package/dist-es/schemas/schemas_0.js +7 -5
  7. package/dist-types/RUM.d.ts +1 -8
  8. package/dist-types/RUMClient.d.ts +1 -8
  9. package/dist-types/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +1 -41
  10. package/dist-types/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +1 -6
  11. package/dist-types/commands/CreateAppMonitorCommand.d.ts +2 -9
  12. package/dist-types/commands/DeleteRumMetricsDestinationCommand.d.ts +1 -2
  13. package/dist-types/commands/GetAppMonitorCommand.d.ts +1 -0
  14. package/dist-types/commands/GetAppMonitorDataCommand.d.ts +1 -2
  15. package/dist-types/commands/ListAppMonitorsCommand.d.ts +1 -0
  16. package/dist-types/commands/ListRumMetricsDestinationsCommand.d.ts +1 -3
  17. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -2
  18. package/dist-types/commands/PutRumEventsCommand.d.ts +1 -4
  19. package/dist-types/commands/PutRumMetricsDestinationCommand.d.ts +1 -3
  20. package/dist-types/commands/TagResourceCommand.d.ts +1 -14
  21. package/dist-types/commands/UpdateAppMonitorCommand.d.ts +1 -11
  22. package/dist-types/commands/UpdateRumMetricDefinitionCommand.d.ts +1 -2
  23. package/dist-types/index.d.ts +3 -9
  24. package/dist-types/models/errors.d.ts +178 -0
  25. package/dist-types/models/models_0.d.ts +114 -864
  26. package/dist-types/ts3.4/index.d.ts +2 -1
  27. package/dist-types/ts3.4/models/errors.d.ts +98 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +11 -101
  29. package/package.json +12 -12
  30. package/dist-es/models/index.js +0 -1
  31. package/dist-types/models/index.d.ts +0 -1
  32. package/dist-types/ts3.4/models/index.d.ts +0 -1
package/README.md CHANGED
@@ -6,14 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript RUM Client for Node.js, Browser and React Native.
8
8
 
9
- <p>With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about
10
- your web application performance from actual user sessions in real time. The data collected includes page load
11
- times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and
12
- also see breakdowns by the browsers and devices that your customers use.</p>
13
- <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch
14
- RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error
15
- messages, stack traces, and user sessions. You can also use RUM to
16
- understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
9
+ <p>With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about your web application performance from actual user sessions in real time. The data collected includes page load times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and also see breakdowns by the browsers and devices that your customers use.</p> <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error messages, stack traces, and user sessions. You can also use RUM to understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
17
10
 
18
11
  ## Installing
19
12
 
package/dist-cjs/index.js CHANGED
@@ -129,28 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends RUMServiceExce
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  };
132
- const Telemetry = {
133
- ERRORS: "errors",
134
- HTTP: "http",
135
- PERFORMANCE: "performance",
136
- };
137
- const CustomEventsStatus = {
138
- DISABLED: "DISABLED",
139
- ENABLED: "ENABLED",
140
- };
141
- const DeobfuscationStatus = {
142
- DISABLED: "DISABLED",
143
- ENABLED: "ENABLED",
144
- };
145
- const StateEnum = {
146
- ACTIVE: "ACTIVE",
147
- CREATED: "CREATED",
148
- DELETING: "DELETING",
149
- };
150
- const MetricDestination = {
151
- CloudWatch: "CloudWatch",
152
- Evidently: "Evidently",
153
- };
154
132
  let ConflictException$1 = class ConflictException extends RUMServiceException$1 {
155
133
  name = "ConflictException";
156
134
  $fault = "client";
@@ -394,6 +372,7 @@ const _MR = "MaxResults";
394
372
  const _N = "Name";
395
373
  const _NT = "NextToken";
396
374
  const _Na = "Namespace";
375
+ const _P = "Platform";
397
376
  const _PD = "PolicyDocument";
398
377
  const _PNFE = "PolicyNotFoundException";
399
378
  const _PRE = "PutRumEvents";
@@ -502,7 +481,7 @@ var AppMonitor = [
502
481
  n0,
503
482
  _AM,
504
483
  0,
505
- [_N, _D, _DL, _I, _C, _LM, _T, _S, _AMC, _DS, _CE, _DC],
484
+ [_N, _D, _DL, _I, _C, _LM, _T, _S, _AMC, _DS, _CE, _DC, _P],
506
485
  [
507
486
  0,
508
487
  0,
@@ -516,6 +495,7 @@ var AppMonitor = [
516
495
  () => DataStorage,
517
496
  () => CustomEvents,
518
497
  () => DeobfuscationConfiguration,
498
+ 0,
519
499
  ],
520
500
  ];
521
501
  var AppMonitorConfiguration = [
@@ -527,7 +507,7 @@ var AppMonitorConfiguration = [
527
507
  [0, 64 | 0, 64 | 0, 64 | 0, 1, 0, 2, 64 | 0, 2],
528
508
  ];
529
509
  var AppMonitorDetails = [3, n0, _AMD, 0, [_n, _i, _v], [0, 0, 0]];
530
- var AppMonitorSummary = [3, n0, _AMS, 0, [_N, _I, _C, _LM, _S], [0, 0, 0, 0, 0]];
510
+ var AppMonitorSummary = [3, n0, _AMS, 0, [_N, _I, _C, _LM, _S, _P], [0, 0, 0, 0, 0, 0]];
531
511
  var BatchCreateRumMetricDefinitionsError = [
532
512
  3,
533
513
  n0,
@@ -655,8 +635,8 @@ var CreateAppMonitorRequest = [
655
635
  n0,
656
636
  _CAMR,
657
637
  0,
658
- [_N, _D, _DL, _T, _AMC, _CLE, _CE, _DC],
659
- [0, 0, 64 | 0, 128 | 0, () => AppMonitorConfiguration, 2, () => CustomEvents, () => DeobfuscationConfiguration],
638
+ [_N, _D, _DL, _T, _AMC, _CLE, _CE, _DC, _P],
639
+ [0, 0, 64 | 0, 128 | 0, () => AppMonitorConfiguration, 2, () => CustomEvents, () => DeobfuscationConfiguration, 0],
660
640
  ];
661
641
  var CreateAppMonitorResponse = [3, n0, _CAMRr, 0, [_I], [0]];
662
642
  var CustomEvents = [3, n0, _CE, 0, [_St], [0]];
@@ -1503,11 +1483,9 @@ exports.BatchDeleteRumMetricDefinitionsCommand = BatchDeleteRumMetricDefinitions
1503
1483
  exports.BatchGetRumMetricDefinitionsCommand = BatchGetRumMetricDefinitionsCommand;
1504
1484
  exports.ConflictException = ConflictException$1;
1505
1485
  exports.CreateAppMonitorCommand = CreateAppMonitorCommand;
1506
- exports.CustomEventsStatus = CustomEventsStatus;
1507
1486
  exports.DeleteAppMonitorCommand = DeleteAppMonitorCommand;
1508
1487
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1509
1488
  exports.DeleteRumMetricsDestinationCommand = DeleteRumMetricsDestinationCommand;
1510
- exports.DeobfuscationStatus = DeobfuscationStatus;
1511
1489
  exports.GetAppMonitorCommand = GetAppMonitorCommand;
1512
1490
  exports.GetAppMonitorDataCommand = GetAppMonitorDataCommand;
1513
1491
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
@@ -1517,7 +1495,6 @@ exports.ListAppMonitorsCommand = ListAppMonitorsCommand;
1517
1495
  exports.ListRumMetricsDestinationsCommand = ListRumMetricsDestinationsCommand;
1518
1496
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1519
1497
  exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException$1;
1520
- exports.MetricDestination = MetricDestination;
1521
1498
  exports.PolicyNotFoundException = PolicyNotFoundException$1;
1522
1499
  exports.PolicySizeLimitExceededException = PolicySizeLimitExceededException$1;
1523
1500
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
@@ -1528,9 +1505,7 @@ exports.RUMClient = RUMClient;
1528
1505
  exports.RUMServiceException = RUMServiceException$1;
1529
1506
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1530
1507
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1531
- exports.StateEnum = StateEnum;
1532
1508
  exports.TagResourceCommand = TagResourceCommand;
1533
- exports.Telemetry = Telemetry;
1534
1509
  exports.ThrottlingException = ThrottlingException$1;
1535
1510
  exports.UntagResourceCommand = UntagResourceCommand;
1536
1511
  exports.UpdateAppMonitorCommand = UpdateAppMonitorCommand;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./RUMClient";
2
2
  export * from "./RUM";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { RUMServiceException } from "./models/RUMServiceException";
@@ -0,0 +1,153 @@
1
+ import { RUMServiceException as __BaseException } from "./RUMServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ resourceName;
18
+ resourceType;
19
+ constructor(opts) {
20
+ super({
21
+ name: "ConflictException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, ConflictException.prototype);
26
+ this.resourceName = opts.resourceName;
27
+ this.resourceType = opts.resourceType;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ $retryable = {};
34
+ retryAfterSeconds;
35
+ constructor(opts) {
36
+ super({
37
+ name: "InternalServerException",
38
+ $fault: "server",
39
+ ...opts,
40
+ });
41
+ Object.setPrototypeOf(this, InternalServerException.prototype);
42
+ this.retryAfterSeconds = opts.retryAfterSeconds;
43
+ }
44
+ }
45
+ export class ResourceNotFoundException extends __BaseException {
46
+ name = "ResourceNotFoundException";
47
+ $fault = "client";
48
+ resourceName;
49
+ resourceType;
50
+ constructor(opts) {
51
+ super({
52
+ name: "ResourceNotFoundException",
53
+ $fault: "client",
54
+ ...opts,
55
+ });
56
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
57
+ this.resourceName = opts.resourceName;
58
+ this.resourceType = opts.resourceType;
59
+ }
60
+ }
61
+ export class ServiceQuotaExceededException extends __BaseException {
62
+ name = "ServiceQuotaExceededException";
63
+ $fault = "client";
64
+ constructor(opts) {
65
+ super({
66
+ name: "ServiceQuotaExceededException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
71
+ }
72
+ }
73
+ export class ThrottlingException extends __BaseException {
74
+ name = "ThrottlingException";
75
+ $fault = "client";
76
+ $retryable = {
77
+ throttling: true,
78
+ };
79
+ serviceCode;
80
+ quotaCode;
81
+ retryAfterSeconds;
82
+ constructor(opts) {
83
+ super({
84
+ name: "ThrottlingException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
89
+ this.serviceCode = opts.serviceCode;
90
+ this.quotaCode = opts.quotaCode;
91
+ this.retryAfterSeconds = opts.retryAfterSeconds;
92
+ }
93
+ }
94
+ export class ValidationException extends __BaseException {
95
+ name = "ValidationException";
96
+ $fault = "client";
97
+ constructor(opts) {
98
+ super({
99
+ name: "ValidationException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, ValidationException.prototype);
104
+ }
105
+ }
106
+ export class InvalidPolicyRevisionIdException extends __BaseException {
107
+ name = "InvalidPolicyRevisionIdException";
108
+ $fault = "client";
109
+ constructor(opts) {
110
+ super({
111
+ name: "InvalidPolicyRevisionIdException",
112
+ $fault: "client",
113
+ ...opts,
114
+ });
115
+ Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
116
+ }
117
+ }
118
+ export class PolicyNotFoundException extends __BaseException {
119
+ name = "PolicyNotFoundException";
120
+ $fault = "client";
121
+ constructor(opts) {
122
+ super({
123
+ name: "PolicyNotFoundException",
124
+ $fault: "client",
125
+ ...opts,
126
+ });
127
+ Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
128
+ }
129
+ }
130
+ export class MalformedPolicyDocumentException extends __BaseException {
131
+ name = "MalformedPolicyDocumentException";
132
+ $fault = "client";
133
+ constructor(opts) {
134
+ super({
135
+ name: "MalformedPolicyDocumentException",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
140
+ }
141
+ }
142
+ export class PolicySizeLimitExceededException extends __BaseException {
143
+ name = "PolicySizeLimitExceededException";
144
+ $fault = "client";
145
+ constructor(opts) {
146
+ super({
147
+ name: "PolicySizeLimitExceededException",
148
+ $fault: "client",
149
+ ...opts,
150
+ });
151
+ Object.setPrototypeOf(this, PolicySizeLimitExceededException.prototype);
152
+ }
153
+ }
@@ -1,16 +1,3 @@
1
- import { RUMServiceException as __BaseException } from "./RUMServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
1
  export const Telemetry = {
15
2
  ERRORS: "errors",
16
3
  HTTP: "http",
@@ -24,6 +11,11 @@ export const DeobfuscationStatus = {
24
11
  DISABLED: "DISABLED",
25
12
  ENABLED: "ENABLED",
26
13
  };
14
+ export const AppMonitorPlatform = {
15
+ ANDROID: "Android",
16
+ IOS: "iOS",
17
+ WEB: "Web",
18
+ };
27
19
  export const StateEnum = {
28
20
  ACTIVE: "ACTIVE",
29
21
  CREATED: "CREATED",
@@ -33,143 +25,3 @@ export const MetricDestination = {
33
25
  CloudWatch: "CloudWatch",
34
26
  Evidently: "Evidently",
35
27
  };
36
- export class ConflictException extends __BaseException {
37
- name = "ConflictException";
38
- $fault = "client";
39
- resourceName;
40
- resourceType;
41
- constructor(opts) {
42
- super({
43
- name: "ConflictException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, ConflictException.prototype);
48
- this.resourceName = opts.resourceName;
49
- this.resourceType = opts.resourceType;
50
- }
51
- }
52
- export class InternalServerException extends __BaseException {
53
- name = "InternalServerException";
54
- $fault = "server";
55
- $retryable = {};
56
- retryAfterSeconds;
57
- constructor(opts) {
58
- super({
59
- name: "InternalServerException",
60
- $fault: "server",
61
- ...opts,
62
- });
63
- Object.setPrototypeOf(this, InternalServerException.prototype);
64
- this.retryAfterSeconds = opts.retryAfterSeconds;
65
- }
66
- }
67
- export class ResourceNotFoundException extends __BaseException {
68
- name = "ResourceNotFoundException";
69
- $fault = "client";
70
- resourceName;
71
- resourceType;
72
- constructor(opts) {
73
- super({
74
- name: "ResourceNotFoundException",
75
- $fault: "client",
76
- ...opts,
77
- });
78
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
79
- this.resourceName = opts.resourceName;
80
- this.resourceType = opts.resourceType;
81
- }
82
- }
83
- export class ServiceQuotaExceededException extends __BaseException {
84
- name = "ServiceQuotaExceededException";
85
- $fault = "client";
86
- constructor(opts) {
87
- super({
88
- name: "ServiceQuotaExceededException",
89
- $fault: "client",
90
- ...opts,
91
- });
92
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
93
- }
94
- }
95
- export class ThrottlingException extends __BaseException {
96
- name = "ThrottlingException";
97
- $fault = "client";
98
- $retryable = {
99
- throttling: true,
100
- };
101
- serviceCode;
102
- quotaCode;
103
- retryAfterSeconds;
104
- constructor(opts) {
105
- super({
106
- name: "ThrottlingException",
107
- $fault: "client",
108
- ...opts,
109
- });
110
- Object.setPrototypeOf(this, ThrottlingException.prototype);
111
- this.serviceCode = opts.serviceCode;
112
- this.quotaCode = opts.quotaCode;
113
- this.retryAfterSeconds = opts.retryAfterSeconds;
114
- }
115
- }
116
- export class ValidationException extends __BaseException {
117
- name = "ValidationException";
118
- $fault = "client";
119
- constructor(opts) {
120
- super({
121
- name: "ValidationException",
122
- $fault: "client",
123
- ...opts,
124
- });
125
- Object.setPrototypeOf(this, ValidationException.prototype);
126
- }
127
- }
128
- export class InvalidPolicyRevisionIdException extends __BaseException {
129
- name = "InvalidPolicyRevisionIdException";
130
- $fault = "client";
131
- constructor(opts) {
132
- super({
133
- name: "InvalidPolicyRevisionIdException",
134
- $fault: "client",
135
- ...opts,
136
- });
137
- Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
138
- }
139
- }
140
- export class PolicyNotFoundException extends __BaseException {
141
- name = "PolicyNotFoundException";
142
- $fault = "client";
143
- constructor(opts) {
144
- super({
145
- name: "PolicyNotFoundException",
146
- $fault: "client",
147
- ...opts,
148
- });
149
- Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
150
- }
151
- }
152
- export class MalformedPolicyDocumentException extends __BaseException {
153
- name = "MalformedPolicyDocumentException";
154
- $fault = "client";
155
- constructor(opts) {
156
- super({
157
- name: "MalformedPolicyDocumentException",
158
- $fault: "client",
159
- ...opts,
160
- });
161
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
162
- }
163
- }
164
- export class PolicySizeLimitExceededException extends __BaseException {
165
- name = "PolicySizeLimitExceededException";
166
- $fault = "client";
167
- constructor(opts) {
168
- super({
169
- name: "PolicySizeLimitExceededException",
170
- $fault: "client",
171
- ...opts,
172
- });
173
- Object.setPrototypeOf(this, PolicySizeLimitExceededException.prototype);
174
- }
175
- }
@@ -100,6 +100,7 @@ const _MR = "MaxResults";
100
100
  const _N = "Name";
101
101
  const _NT = "NextToken";
102
102
  const _Na = "Namespace";
103
+ const _P = "Platform";
103
104
  const _PD = "PolicyDocument";
104
105
  const _PNFE = "PolicyNotFoundException";
105
106
  const _PRE = "PutRumEvents";
@@ -183,7 +184,7 @@ const _uI = "userId";
183
184
  const _v = "version";
184
185
  const n0 = "com.amazonaws.rum";
185
186
  import { TypeRegistry } from "@smithy/core/schema";
186
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidPolicyRevisionIdException as __InvalidPolicyRevisionIdException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PolicyNotFoundException as __PolicyNotFoundException, PolicySizeLimitExceededException as __PolicySizeLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
187
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidPolicyRevisionIdException as __InvalidPolicyRevisionIdException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PolicyNotFoundException as __PolicyNotFoundException, PolicySizeLimitExceededException as __PolicySizeLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
187
188
  import { RUMServiceException as __RUMServiceException } from "../models/RUMServiceException";
188
189
  export var JsonValue = [
189
190
  0,
@@ -211,7 +212,7 @@ export var AppMonitor = [
211
212
  n0,
212
213
  _AM,
213
214
  0,
214
- [_N, _D, _DL, _I, _C, _LM, _T, _S, _AMC, _DS, _CE, _DC],
215
+ [_N, _D, _DL, _I, _C, _LM, _T, _S, _AMC, _DS, _CE, _DC, _P],
215
216
  [
216
217
  0,
217
218
  0,
@@ -225,6 +226,7 @@ export var AppMonitor = [
225
226
  () => DataStorage,
226
227
  () => CustomEvents,
227
228
  () => DeobfuscationConfiguration,
229
+ 0,
228
230
  ],
229
231
  ];
230
232
  export var AppMonitorConfiguration = [
@@ -236,7 +238,7 @@ export var AppMonitorConfiguration = [
236
238
  [0, 64 | 0, 64 | 0, 64 | 0, 1, 0, 2, 64 | 0, 2],
237
239
  ];
238
240
  export var AppMonitorDetails = [3, n0, _AMD, 0, [_n, _i, _v], [0, 0, 0]];
239
- export var AppMonitorSummary = [3, n0, _AMS, 0, [_N, _I, _C, _LM, _S], [0, 0, 0, 0, 0]];
241
+ export var AppMonitorSummary = [3, n0, _AMS, 0, [_N, _I, _C, _LM, _S, _P], [0, 0, 0, 0, 0, 0]];
240
242
  export var BatchCreateRumMetricDefinitionsError = [
241
243
  3,
242
244
  n0,
@@ -364,8 +366,8 @@ export var CreateAppMonitorRequest = [
364
366
  n0,
365
367
  _CAMR,
366
368
  0,
367
- [_N, _D, _DL, _T, _AMC, _CLE, _CE, _DC],
368
- [0, 0, 64 | 0, 128 | 0, () => AppMonitorConfiguration, 2, () => CustomEvents, () => DeobfuscationConfiguration],
369
+ [_N, _D, _DL, _T, _AMC, _CLE, _CE, _DC, _P],
370
+ [0, 0, 64 | 0, 128 | 0, () => AppMonitorConfiguration, 2, () => CustomEvents, () => DeobfuscationConfiguration, 0],
369
371
  ];
370
372
  export var CreateAppMonitorResponse = [3, n0, _CAMRr, 0, [_I], [0]];
371
373
  export var CustomEvents = [3, n0, _CE, 0, [_St], [0]];
@@ -144,14 +144,7 @@ export interface RUM {
144
144
  updateRumMetricDefinition(args: UpdateRumMetricDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRumMetricDefinitionCommandOutput) => void): void;
145
145
  }
146
146
  /**
147
- * <p>With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about
148
- * your web application performance from actual user sessions in real time. The data collected includes page load
149
- * times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and
150
- * also see breakdowns by the browsers and devices that your customers use.</p>
151
- * <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch
152
- * RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error
153
- * messages, stack traces, and user sessions. You can also use RUM to
154
- * understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
147
+ * <p>With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about your web application performance from actual user sessions in real time. The data collected includes page load times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and also see breakdowns by the browsers and devices that your customers use.</p> <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error messages, stack traces, and user sessions. You can also use RUM to understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
155
148
  * @public
156
149
  */
157
150
  export declare class RUM extends RUMClient implements RUM {
@@ -198,14 +198,7 @@ export type RUMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
198
198
  export interface RUMClientResolvedConfig extends RUMClientResolvedConfigType {
199
199
  }
200
200
  /**
201
- * <p>With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about
202
- * your web application performance from actual user sessions in real time. The data collected includes page load
203
- * times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and
204
- * also see breakdowns by the browsers and devices that your customers use.</p>
205
- * <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch
206
- * RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error
207
- * messages, stack traces, and user sessions. You can also use RUM to
208
- * understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
201
+ * <p>With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about your web application performance from actual user sessions in real time. The data collected includes page load times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and also see breakdowns by the browsers and devices that your customers use.</p> <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error messages, stack traces, and user sessions. You can also use RUM to understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
209
202
  * @public
210
203
  */
211
204
  export declare class RUMClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RUMClientResolvedConfig> {
@@ -27,47 +27,7 @@ declare const BatchCreateRumMetricDefinitionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Specifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid
31
- * destinations include CloudWatch and Evidently.</p>
32
- * <p>By default, RUM app monitors send some metrics to CloudWatch. These default metrics
33
- * are listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.html">CloudWatch metrics that you can collect
34
- * with CloudWatch RUM</a>.</p>
35
- * <p>In addition to these default metrics, you can choose to send extended metrics, custom
36
- * metrics, or both.</p>
37
- * <ul>
38
- * <li>
39
- * <p>Extended metrics let you send metrics with additional dimensions that aren't included in the
40
- * default metrics. You can also send extended metrics to both Evidently and CloudWatch. The valid dimension names for the additional dimensions for extended
41
- * metrics are <code>BrowserName</code>, <code>CountryCode</code>,
42
- * <code>DeviceType</code>, <code>FileType</code>, <code>OSName</code>, and
43
- * <code>PageId</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html">
44
- * Extended metrics that you can send to CloudWatch and CloudWatch
45
- * Evidently</a>.</p>
46
- * </li>
47
- * <li>
48
- * <p>Custom metrics are metrics that you define. You can send custom metrics to CloudWatch.
49
- * CloudWatch Evidently, or both. With custom metrics, you can use any metric
50
- * name and namespace. To derive the metrics, you can use any custom events, built-in
51
- * events, custom attributes, or default attributes. </p>
52
- * <p>You can't send custom metrics to the <code>AWS/RUM</code> namespace. You must send custom metrics to a
53
- * custom namespace that you define. The namespace that you use can't start with <code>AWS/</code>.
54
- * CloudWatch RUM prepends <code>RUM/CustomMetrics/</code> to the custom namespace that you define,
55
- * so the final namespace for your metrics in CloudWatch is
56
- * <code>RUM/CustomMetrics/<i>your-custom-namespace</i>
57
- * </code>.</p>
58
- * </li>
59
- * </ul>
60
- * <p>The maximum number of metric definitions that you can specify in one
61
- * <code>BatchCreateRumMetricDefinitions</code> operation is 200.</p>
62
- * <p>The maximum number of metric definitions that one destination can contain is 2000.</p>
63
- * <p>Extended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension
64
- * value counts as a custom metric. For more information, see
65
- * <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch Pricing</a>.</p>
66
- * <p>You must have
67
- * already created a destination for the metrics before you send them. For more information, see
68
- * <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p>
69
- * <p>If some metric definitions specified in a <code>BatchCreateRumMetricDefinitions</code> operations are not valid,
70
- * those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.</p>
30
+ * <p>Specifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently.</p> <p>By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.html">CloudWatch metrics that you can collect with CloudWatch RUM</a>.</p> <p>In addition to these default metrics, you can choose to send extended metrics, custom metrics, or both.</p> <ul> <li> <p>Extended metrics let you send metrics with additional dimensions that aren't included in the default metrics. You can also send extended metrics to both Evidently and CloudWatch. The valid dimension names for the additional dimensions for extended metrics are <code>BrowserName</code>, <code>CountryCode</code>, <code>DeviceType</code>, <code>FileType</code>, <code>OSName</code>, and <code>PageId</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html"> Extended metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p> </li> <li> <p>Custom metrics are metrics that you define. You can send custom metrics to CloudWatch. CloudWatch Evidently, or both. With custom metrics, you can use any metric name and namespace. To derive the metrics, you can use any custom events, built-in events, custom attributes, or default attributes. </p> <p>You can't send custom metrics to the <code>AWS/RUM</code> namespace. You must send custom metrics to a custom namespace that you define. The namespace that you use can't start with <code>AWS/</code>. CloudWatch RUM prepends <code>RUM/CustomMetrics/</code> to the custom namespace that you define, so the final namespace for your metrics in CloudWatch is <code>RUM/CustomMetrics/<i>your-custom-namespace</i> </code>.</p> </li> </ul> <p>The maximum number of metric definitions that you can specify in one <code>BatchCreateRumMetricDefinitions</code> operation is 200.</p> <p>The maximum number of metric definitions that one destination can contain is 2000.</p> <p>Extended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch Pricing</a>.</p> <p>You must have already created a destination for the metrics before you send them. For more information, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p> <p>If some metric definitions specified in a <code>BatchCreateRumMetricDefinitions</code> operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.</p>
71
31
  * @example
72
32
  * Use a bare-bones client and the command you need to make an API call.
73
33
  * ```javascript
@@ -27,12 +27,7 @@ declare const BatchDeleteRumMetricDefinitionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Removes the specified metrics from being sent to an extended metrics destination.</p>
31
- * <p>If some metric definition IDs specified in a <code>BatchDeleteRumMetricDefinitions</code> operations are not valid,
32
- * those metric definitions fail and return errors, but all valid metric definition IDs in the same operation are still
33
- * deleted.</p>
34
- * <p>The maximum number of metric definitions that you can specify in one
35
- * <code>BatchDeleteRumMetricDefinitions</code> operation is 200.</p>
30
+ * <p>Removes the specified metrics from being sent to an extended metrics destination.</p> <p>If some metric definition IDs specified in a <code>BatchDeleteRumMetricDefinitions</code> operations are not valid, those metric definitions fail and return errors, but all valid metric definition IDs in the same operation are still deleted.</p> <p>The maximum number of metric definitions that you can specify in one <code>BatchDeleteRumMetricDefinitions</code> operation is 200.</p>
36
31
  * @example
37
32
  * Use a bare-bones client and the command you need to make an API call.
38
33
  * ```javascript
@@ -27,15 +27,7 @@ declare const CreateAppMonitorCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that
31
- * data to RUM. The data includes performance and reliability information such as page load time, client-side errors,
32
- * and user behavior.</p>
33
- * <p>You use this operation only to create a new app monitor. To update an existing app monitor, use <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_UpdateAppMonitor.html">UpdateAppMonitor</a> instead.</p>
34
- * <p>After you create an app monitor, sign in to the CloudWatch RUM console to get
35
- * the JavaScript code snippet to add to your web application. For more information, see
36
- * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-find-code-snippet.html">How do I find a code snippet
37
- * that I've already generated?</a>
38
- * </p>
30
+ * <p>Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that data to RUM. The data includes performance and reliability information such as page load time, client-side errors, and user behavior.</p> <p>You use this operation only to create a new app monitor. To update an existing app monitor, use <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_UpdateAppMonitor.html">UpdateAppMonitor</a> instead.</p> <p>After you create an app monitor, sign in to the CloudWatch RUM console to get the JavaScript code snippet to add to your web application. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-find-code-snippet.html">How do I find a code snippet that I've already generated?</a> </p>
39
31
  * @example
40
32
  * Use a bare-bones client and the command you need to make an API call.
41
33
  * ```javascript
@@ -82,6 +74,7 @@ declare const CreateAppMonitorCommand_base: {
82
74
  * S3Uri: "STRING_VALUE",
83
75
  * },
84
76
  * },
77
+ * Platform: "STRING_VALUE",
85
78
  * };
86
79
  * const command = new CreateAppMonitorCommand(input);
87
80
  * const response = await client.send(command);
@@ -27,8 +27,7 @@ declare const DeleteRumMetricsDestinationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops
31
- * sending extended metrics to that destination.</p>
30
+ * <p>Deletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops sending extended metrics to that destination.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -89,6 +89,7 @@ declare const GetAppMonitorCommand_base: {
89
89
  * // S3Uri: "STRING_VALUE",
90
90
  * // },
91
91
  * // },
92
+ * // Platform: "STRING_VALUE",
92
93
  * // },
93
94
  * // };
94
95
  *