aws-sdk-cloudwatchrum 1.19.0 → 1.20.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchrum/client.rb +25 -15
- data/lib/aws-sdk-cloudwatchrum/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-cloudwatchrum/types.rb +61 -15
- 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: e877212df6f7d184132c5a3b0223e55ef3fd14da5123162409aeec7ab6c12cc7
|
4
|
+
data.tar.gz: 88ac93d18d001255f29e34d05575edeace3d5e1a709347ad65e813dc71a8fcd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1df607880f09dd92075ce4543bc5b197d6465b135544939030d4d7fe27f9f6e65c09fd69da2ac9cff1dab723635a2499485c4ae9a25d9a6f7b35a73beb87729f
|
7
|
+
data.tar.gz: 57ba21456766bca57b3dc45b3aae6653502ff97b06218b3565264a63aadd5c26dae96b849ecb9068bc410acc7155023aee8a6eedd8961e69798242093e318f16
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -397,21 +397,21 @@ module Aws::CloudWatchRUM
|
|
397
397
|
# with CloudWatch RUM][1].
|
398
398
|
#
|
399
399
|
# In addition to these default metrics, you can choose to send extended
|
400
|
-
# metrics
|
400
|
+
# metrics, custom metrics, or both.
|
401
401
|
#
|
402
|
-
# * Extended metrics
|
403
|
-
#
|
404
|
-
# extended metrics to Evidently
|
402
|
+
# * Extended metrics let you send metrics with additional dimensions
|
403
|
+
# that aren't included in the default metrics. You can also send
|
404
|
+
# extended metrics to both Evidently and CloudWatch. The valid
|
405
405
|
# dimension names for the additional dimensions for extended metrics
|
406
406
|
# are `BrowserName`, `CountryCode`, `DeviceType`, `FileType`,
|
407
407
|
# `OSName`, and `PageId`. For more information, see [ Extended metrics
|
408
408
|
# that you can send to CloudWatch and CloudWatch Evidently][2].
|
409
409
|
#
|
410
410
|
# * Custom metrics are metrics that you define. You can send custom
|
411
|
-
# metrics to CloudWatch
|
412
|
-
#
|
413
|
-
#
|
414
|
-
#
|
411
|
+
# metrics to CloudWatch. CloudWatch Evidently, or both. With custom
|
412
|
+
# metrics, you can use any metric name and namespace. To derive the
|
413
|
+
# metrics, you can use any custom events, built-in events, custom
|
414
|
+
# attributes, or default attributes.
|
415
415
|
#
|
416
416
|
# You can't send custom metrics to the `AWS/RUM` namespace. You must
|
417
417
|
# send custom metrics to a custom namespace that you define. The
|
@@ -453,9 +453,9 @@ module Aws::CloudWatchRUM
|
|
453
453
|
# @option params [required, String] :destination
|
454
454
|
# The destination to send the metrics to. Valid values are `CloudWatch`
|
455
455
|
# and `Evidently`. If you specify `Evidently`, you must also specify the
|
456
|
-
# ARN of the CloudWatchEvidently experiment that
|
457
|
-
# metrics and an IAM role that has permission to write
|
458
|
-
# experiment.
|
456
|
+
# Amazon Resource Name (ARN) of the CloudWatchEvidently experiment that
|
457
|
+
# will receive the metrics and an IAM role that has permission to write
|
458
|
+
# to the experiment.
|
459
459
|
#
|
460
460
|
# @option params [String] :destination_arn
|
461
461
|
# This parameter is required if `Destination` is `Evidently`. If
|
@@ -694,7 +694,7 @@ module Aws::CloudWatchRUM
|
|
694
694
|
#
|
695
695
|
#
|
696
696
|
#
|
697
|
-
# [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
|
697
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html
|
698
698
|
#
|
699
699
|
# @option params [Types::CustomEvents] :custom_events
|
700
700
|
# Specifies whether this app monitor allows the web client to define and
|
@@ -1177,12 +1177,22 @@ module Aws::CloudWatchRUM
|
|
1177
1177
|
#
|
1178
1178
|
# @option params [String] :iam_role_arn
|
1179
1179
|
# This parameter is required if `Destination` is `Evidently`. If
|
1180
|
-
# `Destination` is `CloudWatch`,
|
1180
|
+
# `Destination` is `CloudWatch`, don't use this parameter.
|
1181
1181
|
#
|
1182
1182
|
# This parameter specifies the ARN of an IAM role that RUM will assume
|
1183
1183
|
# to write to the Evidently experiment that you are sending metrics to.
|
1184
1184
|
# This role must have permission to write to that experiment.
|
1185
1185
|
#
|
1186
|
+
# If you specify this parameter, you must be signed on to a role that
|
1187
|
+
# has [PassRole][1] permissions attached to it, to allow the role to be
|
1188
|
+
# passed. The [ CloudWatchAmazonCloudWatchRUMFullAccess][2] policy
|
1189
|
+
# doesn't include `PassRole` permissions.
|
1190
|
+
#
|
1191
|
+
#
|
1192
|
+
#
|
1193
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html
|
1194
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html#managed-policies-cloudwatch-RUM
|
1195
|
+
#
|
1186
1196
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1187
1197
|
#
|
1188
1198
|
# @example Request syntax with placeholder values
|
@@ -1314,7 +1324,7 @@ module Aws::CloudWatchRUM
|
|
1314
1324
|
#
|
1315
1325
|
#
|
1316
1326
|
#
|
1317
|
-
# [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
|
1327
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html
|
1318
1328
|
#
|
1319
1329
|
# @option params [Types::CustomEvents] :custom_events
|
1320
1330
|
# Specifies whether this app monitor allows the web client to define and
|
@@ -1454,7 +1464,7 @@ module Aws::CloudWatchRUM
|
|
1454
1464
|
params: params,
|
1455
1465
|
config: config)
|
1456
1466
|
context[:gem_name] = 'aws-sdk-cloudwatchrum'
|
1457
|
-
context[:gem_version] = '1.
|
1467
|
+
context[:gem_version] = '1.20.0'
|
1458
1468
|
Seahorse::Client::Request.new(handlers, context)
|
1459
1469
|
end
|
1460
1470
|
|
@@ -32,7 +32,7 @@ module Aws::CloudWatchRUM
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://rum-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -139,6 +139,28 @@ module Aws::CloudWatchRUM
|
|
139
139
|
# @!attribute [rw] guest_role_arn
|
140
140
|
# The ARN of the guest IAM role that is attached to the Amazon Cognito
|
141
141
|
# identity pool that is used to authorize the sending of data to RUM.
|
142
|
+
#
|
143
|
+
# <note markdown="1"> It is possible that an app monitor does not have a value for
|
144
|
+
# `GuestRoleArn`. For example, this can happen when you use the
|
145
|
+
# console to create an app monitor and you allow CloudWatch RUM to
|
146
|
+
# create a new identity pool for Authorization. In this case,
|
147
|
+
# `GuestRoleArn` is not present in the [GetAppMonitor][1] response
|
148
|
+
# because it is not stored by the service.
|
149
|
+
#
|
150
|
+
# If this issue affects you, you can take one of the following steps:
|
151
|
+
#
|
152
|
+
# * Use the Cloud Development Kit (CDK) to create an identity pool and
|
153
|
+
# the associated IAM role, and use that for your app monitor.
|
154
|
+
#
|
155
|
+
# * Make a separate [GetIdentityPoolRoles][2] call to Amazon Cognito
|
156
|
+
# to retrieve the `GuestRoleArn`.
|
157
|
+
#
|
158
|
+
# </note>
|
159
|
+
#
|
160
|
+
#
|
161
|
+
#
|
162
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_GetAppMonitor.html
|
163
|
+
# [2]: https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetIdentityPoolRoles.html
|
142
164
|
# @return [String]
|
143
165
|
#
|
144
166
|
# @!attribute [rw] identity_pool_id
|
@@ -295,9 +317,9 @@ module Aws::CloudWatchRUM
|
|
295
317
|
# @!attribute [rw] destination
|
296
318
|
# The destination to send the metrics to. Valid values are
|
297
319
|
# `CloudWatch` and `Evidently`. If you specify `Evidently`, you must
|
298
|
-
# also specify the ARN of the
|
299
|
-
# receive the metrics and an
|
300
|
-
# the experiment.
|
320
|
+
# also specify the Amazon Resource Name (ARN) of the
|
321
|
+
# CloudWatchEvidently experiment that will receive the metrics and an
|
322
|
+
# IAM role that has permission to write to the experiment.
|
301
323
|
# @return [String]
|
302
324
|
#
|
303
325
|
# @!attribute [rw] destination_arn
|
@@ -530,7 +552,7 @@ module Aws::CloudWatchRUM
|
|
530
552
|
#
|
531
553
|
#
|
532
554
|
#
|
533
|
-
# [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
|
555
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html
|
534
556
|
# @return [Types::AppMonitorConfiguration]
|
535
557
|
#
|
536
558
|
# @!attribute [rw] custom_events
|
@@ -997,8 +1019,8 @@ module Aws::CloudWatchRUM
|
|
997
1019
|
|
998
1020
|
# Use this structure to define one extended metric or custom metric that
|
999
1021
|
# RUM will send to CloudWatch or CloudWatch Evidently. For more
|
1000
|
-
# information, see [
|
1001
|
-
# and CloudWatch Evidently][1].
|
1022
|
+
# information, see [ Custom metrics and extended metrics that you can
|
1023
|
+
# send to CloudWatch and CloudWatch Evidently][1].
|
1002
1024
|
#
|
1003
1025
|
# This structure is validated differently for extended metrics and
|
1004
1026
|
# custom metrics. For extended metrics that are sent to the `AWS/RUM`
|
@@ -1008,8 +1030,8 @@ module Aws::CloudWatchRUM
|
|
1008
1030
|
#
|
1009
1031
|
# * Only certain combinations of values for `Name`, `ValueKey`, and
|
1010
1032
|
# `EventPattern` are valid. In addition to what is displayed in the
|
1011
|
-
# list
|
1012
|
-
# the `DimensionKeys` field.
|
1033
|
+
# following list, the `EventPattern` can also include information used
|
1034
|
+
# by the `DimensionKeys` field.
|
1013
1035
|
#
|
1014
1036
|
# * If `Name` is `PerformanceNavigationDuration`, then `ValueKey`must
|
1015
1037
|
# be `event_details.duration` and the `EventPattern` must include
|
@@ -1060,6 +1082,20 @@ module Aws::CloudWatchRUM
|
|
1060
1082
|
# `EventPattern` must include
|
1061
1083
|
# `\{"event_type":["com.amazon.rum.session_start_event"]\}`
|
1062
1084
|
#
|
1085
|
+
# * If `Name` is `PageViewCount`, then `ValueKey`must be null and the
|
1086
|
+
# `EventPattern` must include
|
1087
|
+
# `\{"event_type":["com.amazon.rum.page_view_event"]\}`
|
1088
|
+
#
|
1089
|
+
# * If `Name` is `Http4xxCount`, then `ValueKey`must be null and the
|
1090
|
+
# `EventPattern` must include `\{"event_type":
|
1091
|
+
# ["com.amazon.rum.http_event"],"event_details":\{"response":\{"status":[\{"numeric":[">=",400,"<",500]\}]\}\}\}
|
1092
|
+
# \}`
|
1093
|
+
#
|
1094
|
+
# * If `Name` is `Http5xxCount`, then `ValueKey`must be null and the
|
1095
|
+
# `EventPattern` must include `\{"event_type":
|
1096
|
+
# ["com.amazon.rum.http_event"],"event_details":\{"response":\{"status":[\{"numeric":[">=",500,"<=",599]\}]\}\}\}
|
1097
|
+
# \}`
|
1098
|
+
#
|
1063
1099
|
# For custom metrics, the following validation rules apply:
|
1064
1100
|
#
|
1065
1101
|
# * The namespace can't be omitted and can't be `AWS/RUM`. You can use
|
@@ -1123,7 +1159,7 @@ module Aws::CloudWatchRUM
|
|
1123
1159
|
#
|
1124
1160
|
#
|
1125
1161
|
#
|
1126
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-
|
1162
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-and-extended-metrics.html
|
1127
1163
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-datacollected.html#CloudWatch-RUM-datacollected-eventDetails
|
1128
1164
|
#
|
1129
1165
|
# @!attribute [rw] dimension_keys
|
@@ -1175,7 +1211,7 @@ module Aws::CloudWatchRUM
|
|
1175
1211
|
# "event_details": \{ "duration": [\{ "numeric": [ ">=", 2000, "<",
|
1176
1212
|
# 8000 ] \}] \} \}'`
|
1177
1213
|
#
|
1178
|
-
# If the metrics destination
|
1214
|
+
# If the metrics destination is `CloudWatch` and the event also
|
1179
1215
|
# matches a value in `DimensionKeys`, then the metric is published
|
1180
1216
|
# with the specified dimensions.
|
1181
1217
|
# @return [String]
|
@@ -1228,12 +1264,12 @@ module Aws::CloudWatchRUM
|
|
1228
1264
|
# from.
|
1229
1265
|
#
|
1230
1266
|
# If you omit this field, a hardcoded value of 1 is pushed as the
|
1231
|
-
# metric value. This is useful if you
|
1267
|
+
# metric value. This is useful if you want to count the number of
|
1232
1268
|
# events that the filter catches.
|
1233
1269
|
#
|
1234
1270
|
# If this metric is sent to CloudWatch Evidently, this field will be
|
1235
|
-
# passed to Evidently raw
|
1236
|
-
#
|
1271
|
+
# passed to Evidently raw. Evidently will handle data extraction from
|
1272
|
+
# the event.
|
1237
1273
|
# @return [String]
|
1238
1274
|
#
|
1239
1275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/MetricDefinitionRequest AWS API Documentation
|
@@ -1336,11 +1372,21 @@ module Aws::CloudWatchRUM
|
|
1336
1372
|
#
|
1337
1373
|
# @!attribute [rw] iam_role_arn
|
1338
1374
|
# This parameter is required if `Destination` is `Evidently`. If
|
1339
|
-
# `Destination` is `CloudWatch`,
|
1375
|
+
# `Destination` is `CloudWatch`, don't use this parameter.
|
1340
1376
|
#
|
1341
1377
|
# This parameter specifies the ARN of an IAM role that RUM will assume
|
1342
1378
|
# to write to the Evidently experiment that you are sending metrics
|
1343
1379
|
# to. This role must have permission to write to that experiment.
|
1380
|
+
#
|
1381
|
+
# If you specify this parameter, you must be signed on to a role that
|
1382
|
+
# has [PassRole][1] permissions attached to it, to allow the role to
|
1383
|
+
# be passed. The [ CloudWatchAmazonCloudWatchRUMFullAccess][2] policy
|
1384
|
+
# doesn't include `PassRole` permissions.
|
1385
|
+
#
|
1386
|
+
#
|
1387
|
+
#
|
1388
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html
|
1389
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html#managed-policies-cloudwatch-RUM
|
1344
1390
|
# @return [String]
|
1345
1391
|
#
|
1346
1392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutRumMetricsDestinationRequest AWS API Documentation
|
@@ -1573,7 +1619,7 @@ module Aws::CloudWatchRUM
|
|
1573
1619
|
#
|
1574
1620
|
#
|
1575
1621
|
#
|
1576
|
-
# [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
|
1622
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html
|
1577
1623
|
# @return [Types::AppMonitorConfiguration]
|
1578
1624
|
#
|
1579
1625
|
# @!attribute [rw] custom_events
|
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.20.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: 2024-
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|