@aws-sdk/client-rum 3.760.0 → 3.769.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 +34 -22
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CreateAppMonitorCommand.d.ts +10 -1
- package/dist-types/commands/GetAppMonitorCommand.d.ts +9 -0
- package/dist-types/commands/UpdateAppMonitorCommand.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +92 -1
- package/dist-types/ts3.4/models/models_0.d.ts +20 -1
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
BatchCreateRumMetricDefinitionsCommand: () => BatchCreateRumMetricDefinitionsCommand,
|
|
26
26
|
BatchDeleteRumMetricDefinitionsCommand: () => BatchDeleteRumMetricDefinitionsCommand,
|
|
@@ -31,6 +31,7 @@ __export(src_exports, {
|
|
|
31
31
|
DeleteAppMonitorCommand: () => DeleteAppMonitorCommand,
|
|
32
32
|
DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,
|
|
33
33
|
DeleteRumMetricsDestinationCommand: () => DeleteRumMetricsDestinationCommand,
|
|
34
|
+
DeobfuscationStatus: () => DeobfuscationStatus,
|
|
34
35
|
GetAppMonitorCommand: () => GetAppMonitorCommand,
|
|
35
36
|
GetAppMonitorDataCommand: () => GetAppMonitorDataCommand,
|
|
36
37
|
GetResourcePolicyCommand: () => GetResourcePolicyCommand,
|
|
@@ -65,7 +66,7 @@ __export(src_exports, {
|
|
|
65
66
|
paginateListAppMonitors: () => paginateListAppMonitors,
|
|
66
67
|
paginateListRumMetricsDestinations: () => paginateListRumMetricsDestinations
|
|
67
68
|
});
|
|
68
|
-
module.exports = __toCommonJS(
|
|
69
|
+
module.exports = __toCommonJS(index_exports);
|
|
69
70
|
|
|
70
71
|
// src/RUMClient.ts
|
|
71
72
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -192,9 +193,9 @@ var RUMClient = class extends import_smithy_client.Client {
|
|
|
192
193
|
this.middlewareStack.use(
|
|
193
194
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
194
195
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRUMHttpAuthSchemeParametersProvider,
|
|
195
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
196
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
196
197
|
"aws.auth#sigv4": config.credentials
|
|
197
|
-
})
|
|
198
|
+
}), "identityProviderConfigProvider")
|
|
198
199
|
})
|
|
199
200
|
);
|
|
200
201
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -275,6 +276,10 @@ var CustomEventsStatus = {
|
|
|
275
276
|
DISABLED: "DISABLED",
|
|
276
277
|
ENABLED: "ENABLED"
|
|
277
278
|
};
|
|
279
|
+
var DeobfuscationStatus = {
|
|
280
|
+
DISABLED: "DISABLED",
|
|
281
|
+
ENABLED: "ENABLED"
|
|
282
|
+
};
|
|
278
283
|
var StateEnum = {
|
|
279
284
|
ACTIVE: "ACTIVE",
|
|
280
285
|
CREATED: "CREATED",
|
|
@@ -530,7 +535,7 @@ var se_BatchCreateRumMetricDefinitionsCommand = /* @__PURE__ */ __name(async (in
|
|
|
530
535
|
(0, import_smithy_client.take)(input, {
|
|
531
536
|
Destination: [],
|
|
532
537
|
DestinationArn: [],
|
|
533
|
-
MetricDefinitions: (_) => (0, import_smithy_client._json)(_)
|
|
538
|
+
MetricDefinitions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MetricDefinitions")
|
|
534
539
|
})
|
|
535
540
|
);
|
|
536
541
|
b.m("POST").h(headers).b(body);
|
|
@@ -574,12 +579,14 @@ var se_CreateAppMonitorCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
574
579
|
let body;
|
|
575
580
|
body = JSON.stringify(
|
|
576
581
|
(0, import_smithy_client.take)(input, {
|
|
577
|
-
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_, context),
|
|
578
|
-
CustomEvents: (_) => (0, import_smithy_client._json)(_),
|
|
582
|
+
AppMonitorConfiguration: /* @__PURE__ */ __name((_) => se_AppMonitorConfiguration(_, context), "AppMonitorConfiguration"),
|
|
583
|
+
CustomEvents: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CustomEvents"),
|
|
579
584
|
CwLogEnabled: [],
|
|
585
|
+
DeobfuscationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DeobfuscationConfiguration"),
|
|
580
586
|
Domain: [],
|
|
587
|
+
DomainList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DomainList"),
|
|
581
588
|
Name: [],
|
|
582
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
589
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
583
590
|
})
|
|
584
591
|
);
|
|
585
592
|
b.m("POST").h(headers).b(body);
|
|
@@ -638,10 +645,10 @@ var se_GetAppMonitorDataCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
638
645
|
let body;
|
|
639
646
|
body = JSON.stringify(
|
|
640
647
|
(0, import_smithy_client.take)(input, {
|
|
641
|
-
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
648
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
642
649
|
MaxResults: [],
|
|
643
650
|
NextToken: [],
|
|
644
|
-
TimeRange: (_) => (0, import_smithy_client._json)(_)
|
|
651
|
+
TimeRange: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TimeRange")
|
|
645
652
|
})
|
|
646
653
|
);
|
|
647
654
|
b.m("POST").h(headers).b(body);
|
|
@@ -718,10 +725,10 @@ var se_PutRumEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
718
725
|
body = JSON.stringify(
|
|
719
726
|
(0, import_smithy_client.take)(input, {
|
|
720
727
|
Alias: [],
|
|
721
|
-
AppMonitorDetails: (_) => (0, import_smithy_client._json)(_),
|
|
728
|
+
AppMonitorDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AppMonitorDetails"),
|
|
722
729
|
BatchId: [],
|
|
723
|
-
RumEvents: (_) => se_RumEventList(_, context),
|
|
724
|
-
UserDetails: (_) => (0, import_smithy_client._json)(_)
|
|
730
|
+
RumEvents: /* @__PURE__ */ __name((_) => se_RumEventList(_, context), "RumEvents"),
|
|
731
|
+
UserDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "UserDetails")
|
|
725
732
|
})
|
|
726
733
|
);
|
|
727
734
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -763,7 +770,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
763
770
|
let body;
|
|
764
771
|
body = JSON.stringify(
|
|
765
772
|
(0, import_smithy_client.take)(input, {
|
|
766
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
773
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
767
774
|
})
|
|
768
775
|
);
|
|
769
776
|
b.m("POST").h(headers).b(body);
|
|
@@ -791,10 +798,12 @@ var se_UpdateAppMonitorCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
791
798
|
let body;
|
|
792
799
|
body = JSON.stringify(
|
|
793
800
|
(0, import_smithy_client.take)(input, {
|
|
794
|
-
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_, context),
|
|
795
|
-
CustomEvents: (_) => (0, import_smithy_client._json)(_),
|
|
801
|
+
AppMonitorConfiguration: /* @__PURE__ */ __name((_) => se_AppMonitorConfiguration(_, context), "AppMonitorConfiguration"),
|
|
802
|
+
CustomEvents: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CustomEvents"),
|
|
796
803
|
CwLogEnabled: [],
|
|
797
|
-
|
|
804
|
+
DeobfuscationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DeobfuscationConfiguration"),
|
|
805
|
+
Domain: [],
|
|
806
|
+
DomainList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DomainList")
|
|
798
807
|
})
|
|
799
808
|
);
|
|
800
809
|
b.m("PATCH").h(headers).b(body);
|
|
@@ -812,7 +821,7 @@ var se_UpdateRumMetricDefinitionCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
812
821
|
(0, import_smithy_client.take)(input, {
|
|
813
822
|
Destination: [],
|
|
814
823
|
DestinationArn: [],
|
|
815
|
-
MetricDefinition: (_) => (0, import_smithy_client._json)(_),
|
|
824
|
+
MetricDefinition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MetricDefinition"),
|
|
816
825
|
MetricDefinitionId: []
|
|
817
826
|
})
|
|
818
827
|
);
|
|
@@ -921,7 +930,7 @@ var de_GetAppMonitorCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
921
930
|
});
|
|
922
931
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
923
932
|
const doc = (0, import_smithy_client.take)(data, {
|
|
924
|
-
AppMonitor: (_) => de_AppMonitor(_, context)
|
|
933
|
+
AppMonitor: /* @__PURE__ */ __name((_) => de_AppMonitor(_, context), "AppMonitor")
|
|
925
934
|
});
|
|
926
935
|
Object.assign(contents, doc);
|
|
927
936
|
return contents;
|
|
@@ -1297,7 +1306,7 @@ var se_RumEvent = /* @__PURE__ */ __name((input, context) => {
|
|
|
1297
1306
|
details: import_smithy_client.LazyJsonString.from,
|
|
1298
1307
|
id: [],
|
|
1299
1308
|
metadata: import_smithy_client.LazyJsonString.from,
|
|
1300
|
-
timestamp: (_) => _.getTime() / 1e3,
|
|
1309
|
+
timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "timestamp"),
|
|
1301
1310
|
type: []
|
|
1302
1311
|
});
|
|
1303
1312
|
}, "se_RumEvent");
|
|
@@ -1308,11 +1317,13 @@ var se_RumEventList = /* @__PURE__ */ __name((input, context) => {
|
|
|
1308
1317
|
}, "se_RumEventList");
|
|
1309
1318
|
var de_AppMonitor = /* @__PURE__ */ __name((output, context) => {
|
|
1310
1319
|
return (0, import_smithy_client.take)(output, {
|
|
1311
|
-
AppMonitorConfiguration: (_) => de_AppMonitorConfiguration(_, context),
|
|
1320
|
+
AppMonitorConfiguration: /* @__PURE__ */ __name((_) => de_AppMonitorConfiguration(_, context), "AppMonitorConfiguration"),
|
|
1312
1321
|
Created: import_smithy_client.expectString,
|
|
1313
1322
|
CustomEvents: import_smithy_client._json,
|
|
1314
1323
|
DataStorage: import_smithy_client._json,
|
|
1324
|
+
DeobfuscationConfiguration: import_smithy_client._json,
|
|
1315
1325
|
Domain: import_smithy_client.expectString,
|
|
1326
|
+
DomainList: import_smithy_client._json,
|
|
1316
1327
|
Id: import_smithy_client.expectString,
|
|
1317
1328
|
LastModified: import_smithy_client.expectString,
|
|
1318
1329
|
Name: import_smithy_client.expectString,
|
|
@@ -1733,6 +1744,7 @@ var paginateListRumMetricsDestinations = (0, import_core.createPaginator)(RUMCli
|
|
|
1733
1744
|
AccessDeniedException,
|
|
1734
1745
|
Telemetry,
|
|
1735
1746
|
CustomEventsStatus,
|
|
1747
|
+
DeobfuscationStatus,
|
|
1736
1748
|
StateEnum,
|
|
1737
1749
|
MetricDestination,
|
|
1738
1750
|
ConflictException,
|
|
@@ -20,6 +20,10 @@ export const CustomEventsStatus = {
|
|
|
20
20
|
DISABLED: "DISABLED",
|
|
21
21
|
ENABLED: "ENABLED",
|
|
22
22
|
};
|
|
23
|
+
export const DeobfuscationStatus = {
|
|
24
|
+
DISABLED: "DISABLED",
|
|
25
|
+
ENABLED: "ENABLED",
|
|
26
|
+
};
|
|
23
27
|
export const StateEnum = {
|
|
24
28
|
ACTIVE: "ACTIVE",
|
|
25
29
|
CREATED: "CREATED",
|
|
@@ -60,7 +60,9 @@ export const se_CreateAppMonitorCommand = async (input, context) => {
|
|
|
60
60
|
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_, context),
|
|
61
61
|
CustomEvents: (_) => _json(_),
|
|
62
62
|
CwLogEnabled: [],
|
|
63
|
+
DeobfuscationConfiguration: (_) => _json(_),
|
|
63
64
|
Domain: [],
|
|
65
|
+
DomainList: (_) => _json(_),
|
|
64
66
|
Name: [],
|
|
65
67
|
Tags: (_) => _json(_),
|
|
66
68
|
}));
|
|
@@ -265,7 +267,9 @@ export const se_UpdateAppMonitorCommand = async (input, context) => {
|
|
|
265
267
|
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_, context),
|
|
266
268
|
CustomEvents: (_) => _json(_),
|
|
267
269
|
CwLogEnabled: [],
|
|
270
|
+
DeobfuscationConfiguration: (_) => _json(_),
|
|
268
271
|
Domain: [],
|
|
272
|
+
DomainList: (_) => _json(_),
|
|
269
273
|
}));
|
|
270
274
|
b.m("PATCH").h(headers).b(body);
|
|
271
275
|
return b.build();
|
|
@@ -782,7 +786,9 @@ const de_AppMonitor = (output, context) => {
|
|
|
782
786
|
Created: __expectString,
|
|
783
787
|
CustomEvents: _json,
|
|
784
788
|
DataStorage: _json,
|
|
789
|
+
DeobfuscationConfiguration: _json,
|
|
785
790
|
Domain: __expectString,
|
|
791
|
+
DomainList: _json,
|
|
786
792
|
Id: __expectString,
|
|
787
793
|
LastModified: __expectString,
|
|
788
794
|
Name: __expectString,
|
|
@@ -44,7 +44,10 @@ declare const CreateAppMonitorCommand_base: {
|
|
|
44
44
|
* const client = new RUMClient(config);
|
|
45
45
|
* const input = { // CreateAppMonitorRequest
|
|
46
46
|
* Name: "STRING_VALUE", // required
|
|
47
|
-
* Domain: "STRING_VALUE",
|
|
47
|
+
* Domain: "STRING_VALUE",
|
|
48
|
+
* DomainList: [ // AppMonitorDomainList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
48
51
|
* Tags: { // TagMap
|
|
49
52
|
* "<keys>": "STRING_VALUE",
|
|
50
53
|
* },
|
|
@@ -71,6 +74,12 @@ declare const CreateAppMonitorCommand_base: {
|
|
|
71
74
|
* CustomEvents: { // CustomEvents
|
|
72
75
|
* Status: "STRING_VALUE",
|
|
73
76
|
* },
|
|
77
|
+
* DeobfuscationConfiguration: { // DeobfuscationConfiguration
|
|
78
|
+
* JavaScriptSourceMaps: { // JavaScriptSourceMaps
|
|
79
|
+
* Status: "STRING_VALUE", // required
|
|
80
|
+
* S3Uri: "STRING_VALUE",
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
74
83
|
* };
|
|
75
84
|
* const command = new CreateAppMonitorCommand(input);
|
|
76
85
|
* const response = await client.send(command);
|
|
@@ -43,6 +43,9 @@ declare const GetAppMonitorCommand_base: {
|
|
|
43
43
|
* // AppMonitor: { // AppMonitor
|
|
44
44
|
* // Name: "STRING_VALUE",
|
|
45
45
|
* // Domain: "STRING_VALUE",
|
|
46
|
+
* // DomainList: [ // AppMonitorDomainList
|
|
47
|
+
* // "STRING_VALUE",
|
|
48
|
+
* // ],
|
|
46
49
|
* // Id: "STRING_VALUE",
|
|
47
50
|
* // Created: "STRING_VALUE",
|
|
48
51
|
* // LastModified: "STRING_VALUE",
|
|
@@ -78,6 +81,12 @@ declare const GetAppMonitorCommand_base: {
|
|
|
78
81
|
* // CustomEvents: { // CustomEvents
|
|
79
82
|
* // Status: "STRING_VALUE",
|
|
80
83
|
* // },
|
|
84
|
+
* // DeobfuscationConfiguration: { // DeobfuscationConfiguration
|
|
85
|
+
* // JavaScriptSourceMaps: { // JavaScriptSourceMaps
|
|
86
|
+
* // Status: "STRING_VALUE", // required
|
|
87
|
+
* // S3Uri: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
81
90
|
* // },
|
|
82
91
|
* // };
|
|
83
92
|
*
|
|
@@ -47,6 +47,9 @@ declare const UpdateAppMonitorCommand_base: {
|
|
|
47
47
|
* const input = { // UpdateAppMonitorRequest
|
|
48
48
|
* Name: "STRING_VALUE", // required
|
|
49
49
|
* Domain: "STRING_VALUE",
|
|
50
|
+
* DomainList: [ // AppMonitorDomainList
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
50
53
|
* AppMonitorConfiguration: { // AppMonitorConfiguration
|
|
51
54
|
* IdentityPoolId: "STRING_VALUE",
|
|
52
55
|
* ExcludedPages: [ // Pages
|
|
@@ -70,6 +73,12 @@ declare const UpdateAppMonitorCommand_base: {
|
|
|
70
73
|
* CustomEvents: { // CustomEvents
|
|
71
74
|
* Status: "STRING_VALUE",
|
|
72
75
|
* },
|
|
76
|
+
* DeobfuscationConfiguration: { // DeobfuscationConfiguration
|
|
77
|
+
* JavaScriptSourceMaps: { // JavaScriptSourceMaps
|
|
78
|
+
* Status: "STRING_VALUE", // required
|
|
79
|
+
* S3Uri: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
73
82
|
* };
|
|
74
83
|
* const command = new UpdateAppMonitorCommand(input);
|
|
75
84
|
* const response = await client.send(command);
|
|
@@ -192,6 +192,55 @@ export interface DataStorage {
|
|
|
192
192
|
*/
|
|
193
193
|
CwLog?: CwLog | undefined;
|
|
194
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
* @enum
|
|
198
|
+
*/
|
|
199
|
+
export declare const DeobfuscationStatus: {
|
|
200
|
+
readonly DISABLED: "DISABLED";
|
|
201
|
+
readonly ENABLED: "ENABLED";
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export type DeobfuscationStatus = (typeof DeobfuscationStatus)[keyof typeof DeobfuscationStatus];
|
|
207
|
+
/**
|
|
208
|
+
* <p>
|
|
209
|
+
* A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.
|
|
210
|
+
* </p>
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
export interface JavaScriptSourceMaps {
|
|
214
|
+
/**
|
|
215
|
+
* <p>
|
|
216
|
+
* Specifies whether JavaScript error stack traces should be unminified for this app monitor. The default is for JavaScript error stack trace unminification to be <code>DISABLED</code>.
|
|
217
|
+
* </p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
Status: DeobfuscationStatus | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* <p>
|
|
223
|
+
* The S3Uri of the bucket or folder that stores the source map files. It is required if status is ENABLED.
|
|
224
|
+
* </p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
S3Uri?: string | undefined;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* <p>
|
|
231
|
+
* A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
232
|
+
* </p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export interface DeobfuscationConfiguration {
|
|
236
|
+
/**
|
|
237
|
+
* <p>
|
|
238
|
+
* A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.
|
|
239
|
+
* </p>
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
JavaScriptSourceMaps?: JavaScriptSourceMaps | undefined;
|
|
243
|
+
}
|
|
195
244
|
/**
|
|
196
245
|
* @public
|
|
197
246
|
* @enum
|
|
@@ -222,6 +271,13 @@ export interface AppMonitor {
|
|
|
222
271
|
* @public
|
|
223
272
|
*/
|
|
224
273
|
Domain?: string | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* <p>
|
|
276
|
+
* List the domain names for which your application has administrative authority.
|
|
277
|
+
* </p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
DomainList?: string[] | undefined;
|
|
225
281
|
/**
|
|
226
282
|
* <p>The unique ID of this app monitor.</p>
|
|
227
283
|
* @public
|
|
@@ -266,6 +322,13 @@ export interface AppMonitor {
|
|
|
266
322
|
* @public
|
|
267
323
|
*/
|
|
268
324
|
CustomEvents?: CustomEvents | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* <p>
|
|
327
|
+
* A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
328
|
+
* </p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
|
|
269
332
|
}
|
|
270
333
|
/**
|
|
271
334
|
* <p>A structure that contains information about the RUM app monitor.</p>
|
|
@@ -1100,7 +1163,14 @@ export interface CreateAppMonitorRequest {
|
|
|
1100
1163
|
* <p>The top-level internet domain name for which your application has administrative authority.</p>
|
|
1101
1164
|
* @public
|
|
1102
1165
|
*/
|
|
1103
|
-
Domain
|
|
1166
|
+
Domain?: string | undefined;
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>
|
|
1169
|
+
* List the domain names for which your application has administrative authority. The <code>CreateAppMonitor</code> requires either the domain or the domain list.
|
|
1170
|
+
* </p>
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1173
|
+
DomainList?: string[] | undefined;
|
|
1104
1174
|
/**
|
|
1105
1175
|
* <p>Assigns one or more tags (key-value pairs) to the app monitor.</p>
|
|
1106
1176
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
@@ -1140,6 +1210,13 @@ export interface CreateAppMonitorRequest {
|
|
|
1140
1210
|
* @public
|
|
1141
1211
|
*/
|
|
1142
1212
|
CustomEvents?: CustomEvents | undefined;
|
|
1213
|
+
/**
|
|
1214
|
+
* <p>
|
|
1215
|
+
* A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
1216
|
+
* </p>
|
|
1217
|
+
* @public
|
|
1218
|
+
*/
|
|
1219
|
+
DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
|
|
1143
1220
|
}
|
|
1144
1221
|
/**
|
|
1145
1222
|
* @public
|
|
@@ -1630,6 +1707,13 @@ export interface UpdateAppMonitorRequest {
|
|
|
1630
1707
|
* @public
|
|
1631
1708
|
*/
|
|
1632
1709
|
Domain?: string | undefined;
|
|
1710
|
+
/**
|
|
1711
|
+
* <p>
|
|
1712
|
+
* List the domain names for which your application has administrative authority. The <code>UpdateAppMonitor</code> allows either the domain or the domain list.
|
|
1713
|
+
* </p>
|
|
1714
|
+
* @public
|
|
1715
|
+
*/
|
|
1716
|
+
DomainList?: string[] | undefined;
|
|
1633
1717
|
/**
|
|
1634
1718
|
* <p>A structure that contains much of the configuration data for the app monitor. If you are using
|
|
1635
1719
|
* Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the
|
|
@@ -1656,6 +1740,13 @@ export interface UpdateAppMonitorRequest {
|
|
|
1656
1740
|
* @public
|
|
1657
1741
|
*/
|
|
1658
1742
|
CustomEvents?: CustomEvents | undefined;
|
|
1743
|
+
/**
|
|
1744
|
+
* <p>
|
|
1745
|
+
* A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
1746
|
+
* </p>
|
|
1747
|
+
* @public
|
|
1748
|
+
*/
|
|
1749
|
+
DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
|
|
1659
1750
|
}
|
|
1660
1751
|
/**
|
|
1661
1752
|
* @public
|
|
@@ -43,6 +43,19 @@ export interface CwLog {
|
|
|
43
43
|
export interface DataStorage {
|
|
44
44
|
CwLog?: CwLog | undefined;
|
|
45
45
|
}
|
|
46
|
+
export declare const DeobfuscationStatus: {
|
|
47
|
+
readonly DISABLED: "DISABLED";
|
|
48
|
+
readonly ENABLED: "ENABLED";
|
|
49
|
+
};
|
|
50
|
+
export type DeobfuscationStatus =
|
|
51
|
+
(typeof DeobfuscationStatus)[keyof typeof DeobfuscationStatus];
|
|
52
|
+
export interface JavaScriptSourceMaps {
|
|
53
|
+
Status: DeobfuscationStatus | undefined;
|
|
54
|
+
S3Uri?: string | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface DeobfuscationConfiguration {
|
|
57
|
+
JavaScriptSourceMaps?: JavaScriptSourceMaps | undefined;
|
|
58
|
+
}
|
|
46
59
|
export declare const StateEnum: {
|
|
47
60
|
readonly ACTIVE: "ACTIVE";
|
|
48
61
|
readonly CREATED: "CREATED";
|
|
@@ -52,6 +65,7 @@ export type StateEnum = (typeof StateEnum)[keyof typeof StateEnum];
|
|
|
52
65
|
export interface AppMonitor {
|
|
53
66
|
Name?: string | undefined;
|
|
54
67
|
Domain?: string | undefined;
|
|
68
|
+
DomainList?: string[] | undefined;
|
|
55
69
|
Id?: string | undefined;
|
|
56
70
|
Created?: string | undefined;
|
|
57
71
|
LastModified?: string | undefined;
|
|
@@ -60,6 +74,7 @@ export interface AppMonitor {
|
|
|
60
74
|
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
61
75
|
DataStorage?: DataStorage | undefined;
|
|
62
76
|
CustomEvents?: CustomEvents | undefined;
|
|
77
|
+
DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
|
|
63
78
|
}
|
|
64
79
|
export interface AppMonitorDetails {
|
|
65
80
|
name?: string | undefined;
|
|
@@ -184,11 +199,13 @@ export interface BatchGetRumMetricDefinitionsResponse {
|
|
|
184
199
|
}
|
|
185
200
|
export interface CreateAppMonitorRequest {
|
|
186
201
|
Name: string | undefined;
|
|
187
|
-
Domain
|
|
202
|
+
Domain?: string | undefined;
|
|
203
|
+
DomainList?: string[] | undefined;
|
|
188
204
|
Tags?: Record<string, string> | undefined;
|
|
189
205
|
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
190
206
|
CwLogEnabled?: boolean | undefined;
|
|
191
207
|
CustomEvents?: CustomEvents | undefined;
|
|
208
|
+
DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
|
|
192
209
|
}
|
|
193
210
|
export interface CreateAppMonitorResponse {
|
|
194
211
|
Id?: string | undefined;
|
|
@@ -327,9 +344,11 @@ export interface PutRumMetricsDestinationResponse {}
|
|
|
327
344
|
export interface UpdateAppMonitorRequest {
|
|
328
345
|
Name: string | undefined;
|
|
329
346
|
Domain?: string | undefined;
|
|
347
|
+
DomainList?: string[] | undefined;
|
|
330
348
|
AppMonitorConfiguration?: AppMonitorConfiguration | undefined;
|
|
331
349
|
CwLogEnabled?: boolean | undefined;
|
|
332
350
|
CustomEvents?: CustomEvents | undefined;
|
|
351
|
+
DeobfuscationConfiguration?: DeobfuscationConfiguration | undefined;
|
|
333
352
|
}
|
|
334
353
|
export interface UpdateAppMonitorResponse {}
|
|
335
354
|
export interface UpdateRumMetricDefinitionRequest {
|
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.769.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rum",
|