Skip to content

Commit ee01839

Browse files
author
AWS
committed
CloudWatch RUM Update: CloudWatch RUM now supports unminification of JS error stack traces.
1 parent fac7bff commit ee01839

File tree

2 files changed

+76
-5
lines changed

2 files changed

+76
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "CloudWatch RUM",
4+
"contributor": "",
5+
"description": "CloudWatch RUM now supports unminification of JS error stack traces."
6+
}

services/rum/src/main/resources/codegen-resources/service-2.json

Lines changed: 70 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,10 +436,18 @@
436436
"shape":"DataStorage",
437437
"documentation":"<p>A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.</p>"
438438
},
439+
"DeobfuscationConfiguration":{
440+
"shape":"DeobfuscationConfiguration",
441+
"documentation":"<p> A structure that contains the configuration for how an app monitor can deobfuscate stack traces. </p>"
442+
},
439443
"Domain":{
440444
"shape":"AppMonitorDomain",
441445
"documentation":"<p>The top-level internet domain name for which your application has administrative authority.</p>"
442446
},
447+
"DomainList":{
448+
"shape":"AppMonitorDomainList",
449+
"documentation":"<p> List the domain names for which your application has administrative authority. </p>"
450+
},
443451
"Id":{
444452
"shape":"AppMonitorId",
445453
"documentation":"<p>The unique ID of this app monitor.</p>"
@@ -527,7 +535,13 @@
527535
"type":"string",
528536
"max":253,
529537
"min":1,
530-
"pattern":"^(localhost)$|^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|(?=^[a-zA-Z0-9\\.\\*-]{4,253}$)(?!.*\\.-)(?!.*-\\.)(?!.*\\.\\.)(?!.*[^\\.]{64,})^(\\*\\.)?(?![-\\.\\*])[^\\*]{1,}\\.(?!.*--)(?=.*[a-zA-Z])[^\\*]{1,}[^\\*-]$"
538+
"pattern":"^(localhost)$|^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|(?=^[a-zA-Z0-9\\.\\*-]{4,253}$)(?!.*\\.-)(?!.*-\\.)(?!.*\\.\\.)(?!.*[^\\.]{64,})^(\\*\\.)?(?![-\\.\\*])[^\\*]{1,}\\.(\\*|(?!.*--)(?=.*[a-zA-Z])[^\\*]{1,}[^\\*-])$"
539+
},
540+
"AppMonitorDomainList":{
541+
"type":"list",
542+
"member":{"shape":"AppMonitorDomain"},
543+
"max":5,
544+
"min":1
531545
},
532546
"AppMonitorId":{
533547
"type":"string",
@@ -801,10 +815,7 @@
801815
},
802816
"CreateAppMonitorRequest":{
803817
"type":"structure",
804-
"required":[
805-
"Domain",
806-
"Name"
807-
],
818+
"required":["Name"],
808819
"members":{
809820
"AppMonitorConfiguration":{
810821
"shape":"AppMonitorConfiguration",
@@ -818,10 +829,18 @@
818829
"shape":"Boolean",
819830
"documentation":"<p>Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.</p> <p>If you omit this parameter, the default is <code>false</code>.</p>"
820831
},
832+
"DeobfuscationConfiguration":{
833+
"shape":"DeobfuscationConfiguration",
834+
"documentation":"<p> A structure that contains the configuration for how an app monitor can deobfuscate stack traces. </p>"
835+
},
821836
"Domain":{
822837
"shape":"AppMonitorDomain",
823838
"documentation":"<p>The top-level internet domain name for which your application has administrative authority.</p>"
824839
},
840+
"DomainList":{
841+
"shape":"AppMonitorDomainList",
842+
"documentation":"<p> List the domain names for which your application has administrative authority. The <code>CreateAppMonitor</code> requires either the domain or the domain list. </p>"
843+
},
825844
"Name":{
826845
"shape":"AppMonitorName",
827846
"documentation":"<p>A name for the app monitor.</p>"
@@ -958,6 +977,29 @@
958977
"members":{
959978
}
960979
},
980+
"DeobfuscationConfiguration":{
981+
"type":"structure",
982+
"members":{
983+
"JavaScriptSourceMaps":{
984+
"shape":"JavaScriptSourceMaps",
985+
"documentation":"<p> A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps. </p>"
986+
}
987+
},
988+
"documentation":"<p> A structure that contains the configuration for how an app monitor can deobfuscate stack traces. </p>"
989+
},
990+
"DeobfuscationS3Uri":{
991+
"type":"string",
992+
"max":1024,
993+
"min":1,
994+
"pattern":"^s3://[a-z0-9][-.a-z0-9]{1,61}(?:/[-!_*'().a-z0-9A-Z]+(?:/[-!_*'().a-z0-9A-Z]+)*)?/?$"
995+
},
996+
"DeobfuscationStatus":{
997+
"type":"string",
998+
"enum":[
999+
"ENABLED",
1000+
"DISABLED"
1001+
]
1002+
},
9611003
"DestinationArn":{
9621004
"type":"string",
9631005
"max":2048,
@@ -1138,6 +1180,21 @@
11381180
},
11391181
"exception":true
11401182
},
1183+
"JavaScriptSourceMaps":{
1184+
"type":"structure",
1185+
"required":["Status"],
1186+
"members":{
1187+
"S3Uri":{
1188+
"shape":"DeobfuscationS3Uri",
1189+
"documentation":"<p> The S3Uri of the bucket or folder that stores the source map files. It is required if status is ENABLED. </p>"
1190+
},
1191+
"Status":{
1192+
"shape":"DeobfuscationStatus",
1193+
"documentation":"<p> 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>. </p>"
1194+
}
1195+
},
1196+
"documentation":"<p> A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps. </p>"
1197+
},
11411198
"JsonValue":{"type":"string"},
11421199
"ListAppMonitorsRequest":{
11431200
"type":"structure",
@@ -1815,10 +1872,18 @@
18151872
"shape":"Boolean",
18161873
"documentation":"<p>Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.</p>"
18171874
},
1875+
"DeobfuscationConfiguration":{
1876+
"shape":"DeobfuscationConfiguration",
1877+
"documentation":"<p> A structure that contains the configuration for how an app monitor can deobfuscate stack traces. </p>"
1878+
},
18181879
"Domain":{
18191880
"shape":"AppMonitorDomain",
18201881
"documentation":"<p>The top-level internet domain name for which your application has administrative authority.</p>"
18211882
},
1883+
"DomainList":{
1884+
"shape":"AppMonitorDomainList",
1885+
"documentation":"<p> List the domain names for which your application has administrative authority. The <code>UpdateAppMonitor</code> allows either the domain or the domain list. </p>"
1886+
},
18221887
"Name":{
18231888
"shape":"AppMonitorName",
18241889
"documentation":"<p>The name of the app monitor to update.</p>",

0 commit comments

Comments
 (0)