aws-sdk-cloudwatchrum 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchrum/client.rb +53 -3
- data/lib/aws-sdk-cloudwatchrum/client_api.rb +8 -0
- data/lib/aws-sdk-cloudwatchrum/types.rb +83 -4
- data/lib/aws-sdk-cloudwatchrum.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4ffa715c6ef074119e4f51f2289ad49a93231de51a2359e0ea1ed13f338de7
|
4
|
+
data.tar.gz: bc1c8f95291a15fc19905917cba8cd8bb81c37d3d94d45fa2bceac3c467f254e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63cf009014891534d489afd7196187759d92f1bf08bf7c47bb5edf110f0b749527f219725263fc84409a348c25d1d9cebe379553b5a9215d730cca1b1d57bf4c
|
7
|
+
data.tar.gz: 2ed9bfe8e31b06f402416befa77988a07e50a3f6c8972f5a28d8d975870683faccaa8b5c7d777a20a2bb2946545347955450c5b6045805880619a07cca038795
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.7.0 (2022-11-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - CloudWatch RUM now supports custom events. To use custom events, create an app monitor or update an app monitor with CustomEvent Status as ENABLED.
|
8
|
+
|
4
9
|
1.6.0 (2022-10-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
@@ -387,12 +387,28 @@ module Aws::CloudWatchRUM
|
|
387
387
|
# The maximum number of metric definitions that you can specify in one
|
388
388
|
# `BatchCreateRumMetricDefinitions` operation is 200.
|
389
389
|
#
|
390
|
-
#
|
390
|
+
# The maximum number of metric definitions that one destination can
|
391
|
+
# contain is 2000.
|
392
|
+
#
|
393
|
+
# Extended metrics sent are charged as CloudWatch custom metrics. Each
|
394
|
+
# combination of additional dimension name and dimension value counts as
|
395
|
+
# a custom metric. For more information, see [Amazon CloudWatch
|
396
|
+
# Pricing][3].
|
397
|
+
#
|
398
|
+
# You must have already created a destination for the metrics before you
|
399
|
+
# send them. For more information, see [PutRumMetricsDestination][4].
|
400
|
+
#
|
401
|
+
# If some metric definitions specified in a
|
402
|
+
# `BatchCreateRumMetricDefinitions` operations are not valid, those
|
403
|
+
# metric definitions fail and return errors, but all valid metric
|
404
|
+
# definitions in the same operation still succeed.
|
391
405
|
#
|
392
406
|
#
|
393
407
|
#
|
394
408
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.html
|
395
409
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html
|
410
|
+
# [3]: https://aws.amazon.com/cloudwatch/pricing/
|
411
|
+
# [4]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html
|
396
412
|
#
|
397
413
|
# @option params [required, String] :app_monitor_name
|
398
414
|
# The name of the CloudWatch RUM app monitor that is to send the
|
@@ -640,6 +656,17 @@ module Aws::CloudWatchRUM
|
|
640
656
|
#
|
641
657
|
# [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
|
642
658
|
#
|
659
|
+
# @option params [Types::CustomEvents] :custom_events
|
660
|
+
# Specifies whether this app monitor allows the web client to define and
|
661
|
+
# send custom events. If you omit this parameter, custom events are
|
662
|
+
# `DISABLED`.
|
663
|
+
#
|
664
|
+
# For more information about custom events, see [Send custom events][1].
|
665
|
+
#
|
666
|
+
#
|
667
|
+
#
|
668
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
|
669
|
+
#
|
643
670
|
# @option params [Boolean] :cw_log_enabled
|
644
671
|
# Data collected by RUM is kept by RUM for 30 days and then deleted.
|
645
672
|
# This parameter specifies whether RUM sends a copy of this telemetry
|
@@ -666,7 +693,13 @@ module Aws::CloudWatchRUM
|
|
666
693
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
667
694
|
# interpreted strictly as strings of characters.
|
668
695
|
#
|
669
|
-
#
|
696
|
+
# You can associate as many as 50 tags with an app monitor.
|
697
|
+
#
|
698
|
+
# For more information, see [Tagging Amazon Web Services resources][1].
|
699
|
+
#
|
700
|
+
#
|
701
|
+
#
|
702
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
670
703
|
#
|
671
704
|
# @return [Types::CreateAppMonitorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
672
705
|
#
|
@@ -686,6 +719,9 @@ module Aws::CloudWatchRUM
|
|
686
719
|
# session_sample_rate: 1.0,
|
687
720
|
# telemetries: ["errors"], # accepts errors, performance, http
|
688
721
|
# },
|
722
|
+
# custom_events: {
|
723
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
724
|
+
# },
|
689
725
|
# cw_log_enabled: false,
|
690
726
|
# domain: "AppMonitorDomain", # required
|
691
727
|
# name: "AppMonitorName", # required
|
@@ -798,6 +834,7 @@ module Aws::CloudWatchRUM
|
|
798
834
|
# resp.app_monitor.app_monitor_configuration.telemetries #=> Array
|
799
835
|
# resp.app_monitor.app_monitor_configuration.telemetries[0] #=> String, one of "errors", "performance", "http"
|
800
836
|
# resp.app_monitor.created #=> String
|
837
|
+
# resp.app_monitor.custom_events.status #=> String, one of "ENABLED", "DISABLED"
|
801
838
|
# resp.app_monitor.data_storage.cw_log.cw_log_enabled #=> Boolean
|
802
839
|
# resp.app_monitor.data_storage.cw_log.cw_log_group #=> String
|
803
840
|
# resp.app_monitor.domain #=> String
|
@@ -1238,6 +1275,16 @@ module Aws::CloudWatchRUM
|
|
1238
1275
|
#
|
1239
1276
|
# [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
|
1240
1277
|
#
|
1278
|
+
# @option params [Types::CustomEvents] :custom_events
|
1279
|
+
# Specifies whether this app monitor allows the web client to define and
|
1280
|
+
# send custom events. The default is for custom events to be `DISABLED`.
|
1281
|
+
#
|
1282
|
+
# For more information about custom events, see [Send custom events][1].
|
1283
|
+
#
|
1284
|
+
#
|
1285
|
+
#
|
1286
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
|
1287
|
+
#
|
1241
1288
|
# @option params [Boolean] :cw_log_enabled
|
1242
1289
|
# Data collected by RUM is kept by RUM for 30 days and then deleted.
|
1243
1290
|
# This parameter specifies whether RUM sends a copy of this telemetry
|
@@ -1268,6 +1315,9 @@ module Aws::CloudWatchRUM
|
|
1268
1315
|
# session_sample_rate: 1.0,
|
1269
1316
|
# telemetries: ["errors"], # accepts errors, performance, http
|
1270
1317
|
# },
|
1318
|
+
# custom_events: {
|
1319
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
1320
|
+
# },
|
1271
1321
|
# cw_log_enabled: false,
|
1272
1322
|
# domain: "AppMonitorDomain",
|
1273
1323
|
# name: "AppMonitorName", # required
|
@@ -1362,7 +1412,7 @@ module Aws::CloudWatchRUM
|
|
1362
1412
|
params: params,
|
1363
1413
|
config: config)
|
1364
1414
|
context[:gem_name] = 'aws-sdk-cloudwatchrum'
|
1365
|
-
context[:gem_version] = '1.
|
1415
|
+
context[:gem_version] = '1.7.0'
|
1366
1416
|
Seahorse::Client::Request.new(handlers, context)
|
1367
1417
|
end
|
1368
1418
|
|
@@ -37,6 +37,8 @@ module Aws::CloudWatchRUM
|
|
37
37
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
38
38
|
CreateAppMonitorRequest = Shapes::StructureShape.new(name: 'CreateAppMonitorRequest')
|
39
39
|
CreateAppMonitorResponse = Shapes::StructureShape.new(name: 'CreateAppMonitorResponse')
|
40
|
+
CustomEvents = Shapes::StructureShape.new(name: 'CustomEvents')
|
41
|
+
CustomEventsStatus = Shapes::StringShape.new(name: 'CustomEventsStatus')
|
40
42
|
CwLog = Shapes::StructureShape.new(name: 'CwLog')
|
41
43
|
DataStorage = Shapes::StructureShape.new(name: 'DataStorage')
|
42
44
|
DeleteAppMonitorRequest = Shapes::StructureShape.new(name: 'DeleteAppMonitorRequest')
|
@@ -126,6 +128,7 @@ module Aws::CloudWatchRUM
|
|
126
128
|
|
127
129
|
AppMonitor.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
|
128
130
|
AppMonitor.add_member(:created, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "Created"))
|
131
|
+
AppMonitor.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
|
129
132
|
AppMonitor.add_member(:data_storage, Shapes::ShapeRef.new(shape: DataStorage, location_name: "DataStorage"))
|
130
133
|
AppMonitor.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
|
131
134
|
AppMonitor.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
|
@@ -211,6 +214,7 @@ module Aws::CloudWatchRUM
|
|
211
214
|
ConflictException.struct_class = Types::ConflictException
|
212
215
|
|
213
216
|
CreateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
|
217
|
+
CreateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
|
214
218
|
CreateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
|
215
219
|
CreateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, required: true, location_name: "Domain"))
|
216
220
|
CreateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location_name: "Name"))
|
@@ -220,6 +224,9 @@ module Aws::CloudWatchRUM
|
|
220
224
|
CreateAppMonitorResponse.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
|
221
225
|
CreateAppMonitorResponse.struct_class = Types::CreateAppMonitorResponse
|
222
226
|
|
227
|
+
CustomEvents.add_member(:status, Shapes::ShapeRef.new(shape: CustomEventsStatus, location_name: "Status"))
|
228
|
+
CustomEvents.struct_class = Types::CustomEvents
|
229
|
+
|
223
230
|
CwLog.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
|
224
231
|
CwLog.add_member(:cw_log_group, Shapes::ShapeRef.new(shape: String, location_name: "CwLogGroup"))
|
225
232
|
CwLog.struct_class = Types::CwLog
|
@@ -393,6 +400,7 @@ module Aws::CloudWatchRUM
|
|
393
400
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
394
401
|
|
395
402
|
UpdateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
|
403
|
+
UpdateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
|
396
404
|
UpdateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
|
397
405
|
UpdateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
|
398
406
|
UpdateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
|
@@ -37,6 +37,18 @@ module Aws::CloudWatchRUM
|
|
37
37
|
# The date and time that this app monitor was created.
|
38
38
|
# @return [String]
|
39
39
|
#
|
40
|
+
# @!attribute [rw] custom_events
|
41
|
+
# Specifies whether this app monitor allows the web client to define
|
42
|
+
# and send custom events.
|
43
|
+
#
|
44
|
+
# For more information about custom events, see [Send custom
|
45
|
+
# events][1].
|
46
|
+
#
|
47
|
+
#
|
48
|
+
#
|
49
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
|
50
|
+
# @return [Types::CustomEvents]
|
51
|
+
#
|
40
52
|
# @!attribute [rw] data_storage
|
41
53
|
# A structure that contains information about whether this app monitor
|
42
54
|
# stores a copy of the telemetry data that RUM collects using
|
@@ -74,6 +86,7 @@ module Aws::CloudWatchRUM
|
|
74
86
|
class AppMonitor < Struct.new(
|
75
87
|
:app_monitor_configuration,
|
76
88
|
:created,
|
89
|
+
:custom_events,
|
77
90
|
:data_storage,
|
78
91
|
:domain,
|
79
92
|
:id,
|
@@ -152,7 +165,8 @@ module Aws::CloudWatchRUM
|
|
152
165
|
# If this app monitor is to collect data from only certain pages in
|
153
166
|
# your application, this structure lists those pages.
|
154
167
|
#
|
155
|
-
#
|
168
|
+
# You can't include both `ExcludedPages` and `IncludedPages` in the
|
169
|
+
# same operation.
|
156
170
|
# @return [Array<String>]
|
157
171
|
#
|
158
172
|
# @!attribute [rw] session_sample_rate
|
@@ -582,6 +596,9 @@ module Aws::CloudWatchRUM
|
|
582
596
|
# session_sample_rate: 1.0,
|
583
597
|
# telemetries: ["errors"], # accepts errors, performance, http
|
584
598
|
# },
|
599
|
+
# custom_events: {
|
600
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
601
|
+
# },
|
585
602
|
# cw_log_enabled: false,
|
586
603
|
# domain: "AppMonitorDomain", # required
|
587
604
|
# name: "AppMonitorName", # required
|
@@ -607,6 +624,19 @@ module Aws::CloudWatchRUM
|
|
607
624
|
# [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
|
608
625
|
# @return [Types::AppMonitorConfiguration]
|
609
626
|
#
|
627
|
+
# @!attribute [rw] custom_events
|
628
|
+
# Specifies whether this app monitor allows the web client to define
|
629
|
+
# and send custom events. If you omit this parameter, custom events
|
630
|
+
# are `DISABLED`.
|
631
|
+
#
|
632
|
+
# For more information about custom events, see [Send custom
|
633
|
+
# events][1].
|
634
|
+
#
|
635
|
+
#
|
636
|
+
#
|
637
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
|
638
|
+
# @return [Types::CustomEvents]
|
639
|
+
#
|
610
640
|
# @!attribute [rw] cw_log_enabled
|
611
641
|
# Data collected by RUM is kept by RUM for 30 days and then deleted.
|
612
642
|
# This parameter specifies whether RUM sends a copy of this telemetry
|
@@ -637,13 +667,21 @@ module Aws::CloudWatchRUM
|
|
637
667
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
638
668
|
# interpreted strictly as strings of characters.
|
639
669
|
#
|
640
|
-
#
|
670
|
+
# You can associate as many as 50 tags with an app monitor.
|
671
|
+
#
|
672
|
+
# For more information, see [Tagging Amazon Web Services
|
673
|
+
# resources][1].
|
674
|
+
#
|
675
|
+
#
|
676
|
+
#
|
677
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
641
678
|
# @return [Hash<String,String>]
|
642
679
|
#
|
643
680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/CreateAppMonitorRequest AWS API Documentation
|
644
681
|
#
|
645
682
|
class CreateAppMonitorRequest < Struct.new(
|
646
683
|
:app_monitor_configuration,
|
684
|
+
:custom_events,
|
647
685
|
:cw_log_enabled,
|
648
686
|
:domain,
|
649
687
|
:name,
|
@@ -664,6 +702,30 @@ module Aws::CloudWatchRUM
|
|
664
702
|
include Aws::Structure
|
665
703
|
end
|
666
704
|
|
705
|
+
# A structure that contains information about custom events for this app
|
706
|
+
# monitor.
|
707
|
+
#
|
708
|
+
# @note When making an API call, you may pass CustomEvents
|
709
|
+
# data as a hash:
|
710
|
+
#
|
711
|
+
# {
|
712
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
713
|
+
# }
|
714
|
+
#
|
715
|
+
# @!attribute [rw] status
|
716
|
+
# Specifies whether this app monitor allows the web client to define
|
717
|
+
# and send custom events. The default is for custom events to be
|
718
|
+
# `DISABLED`.
|
719
|
+
# @return [String]
|
720
|
+
#
|
721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/CustomEvents AWS API Documentation
|
722
|
+
#
|
723
|
+
class CustomEvents < Struct.new(
|
724
|
+
:status)
|
725
|
+
SENSITIVE = []
|
726
|
+
include Aws::Structure
|
727
|
+
end
|
728
|
+
|
667
729
|
# A structure that contains the information about whether the app
|
668
730
|
# monitor stores copies of the data that RUM collects in CloudWatch
|
669
731
|
# Logs. If it does, this structure also contains the name of the log
|
@@ -1182,9 +1244,9 @@ module Aws::CloudWatchRUM
|
|
1182
1244
|
# * `"metadata.countryCode": "CountryCode"`
|
1183
1245
|
#
|
1184
1246
|
# * `"event_details.fileType": "FileType"`
|
1185
|
-
# ^
|
1186
1247
|
#
|
1187
|
-
#
|
1248
|
+
# All dimensions listed in this field must also be included in
|
1249
|
+
# `EventPattern`.
|
1188
1250
|
# @return [Hash<String,String>]
|
1189
1251
|
#
|
1190
1252
|
# @!attribute [rw] event_pattern
|
@@ -1683,6 +1745,9 @@ module Aws::CloudWatchRUM
|
|
1683
1745
|
# session_sample_rate: 1.0,
|
1684
1746
|
# telemetries: ["errors"], # accepts errors, performance, http
|
1685
1747
|
# },
|
1748
|
+
# custom_events: {
|
1749
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
1750
|
+
# },
|
1686
1751
|
# cw_log_enabled: false,
|
1687
1752
|
# domain: "AppMonitorDomain",
|
1688
1753
|
# name: "AppMonitorName", # required
|
@@ -1702,6 +1767,19 @@ module Aws::CloudWatchRUM
|
|
1702
1767
|
# [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
|
1703
1768
|
# @return [Types::AppMonitorConfiguration]
|
1704
1769
|
#
|
1770
|
+
# @!attribute [rw] custom_events
|
1771
|
+
# Specifies whether this app monitor allows the web client to define
|
1772
|
+
# and send custom events. The default is for custom events to be
|
1773
|
+
# `DISABLED`.
|
1774
|
+
#
|
1775
|
+
# For more information about custom events, see [Send custom
|
1776
|
+
# events][1].
|
1777
|
+
#
|
1778
|
+
#
|
1779
|
+
#
|
1780
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
|
1781
|
+
# @return [Types::CustomEvents]
|
1782
|
+
#
|
1705
1783
|
# @!attribute [rw] cw_log_enabled
|
1706
1784
|
# Data collected by RUM is kept by RUM for 30 days and then deleted.
|
1707
1785
|
# This parameter specifies whether RUM sends a copy of this telemetry
|
@@ -1723,6 +1801,7 @@ module Aws::CloudWatchRUM
|
|
1723
1801
|
#
|
1724
1802
|
class UpdateAppMonitorRequest < Struct.new(
|
1725
1803
|
:app_monitor_configuration,
|
1804
|
+
:custom_events,
|
1726
1805
|
:cw_log_enabled,
|
1727
1806
|
:domain,
|
1728
1807
|
:name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudwatchrum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|