aws-sdk-cloudwatchrum 1.18.0 → 1.20.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 +10 -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/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudwatchrum/types.rb +61 -15
- data/lib/aws-sdk-cloudwatchrum.rb +1 -1
- data/sig/client.rbs +350 -0
- data/sig/errors.rbs +45 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +384 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2024-02-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Doc-only update for new RUM metrics that were added
|
8
|
+
|
9
|
+
1.19.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.18.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
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"
|
@@ -14,6 +14,7 @@ module Aws::CloudWatchRUM
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::CloudWatchRUM::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -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
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,350 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudWatchRUM
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _BatchCreateRumMetricDefinitionsResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateRumMetricDefinitionsResponse]
|
77
|
+
def errors: () -> ::Array[Types::BatchCreateRumMetricDefinitionsError]
|
78
|
+
def metric_definitions: () -> ::Array[Types::MetricDefinition]
|
79
|
+
end
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#batch_create_rum_metric_definitions-instance_method
|
81
|
+
def batch_create_rum_metric_definitions: (
|
82
|
+
app_monitor_name: ::String,
|
83
|
+
destination: ("CloudWatch" | "Evidently"),
|
84
|
+
?destination_arn: ::String,
|
85
|
+
metric_definitions: Array[
|
86
|
+
{
|
87
|
+
dimension_keys: Hash[::String, ::String]?,
|
88
|
+
event_pattern: ::String?,
|
89
|
+
name: ::String,
|
90
|
+
namespace: ::String?,
|
91
|
+
unit_label: ::String?,
|
92
|
+
value_key: ::String?
|
93
|
+
},
|
94
|
+
]
|
95
|
+
) -> _BatchCreateRumMetricDefinitionsResponseSuccess
|
96
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateRumMetricDefinitionsResponseSuccess
|
97
|
+
|
98
|
+
interface _BatchDeleteRumMetricDefinitionsResponseSuccess
|
99
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteRumMetricDefinitionsResponse]
|
100
|
+
def errors: () -> ::Array[Types::BatchDeleteRumMetricDefinitionsError]
|
101
|
+
def metric_definition_ids: () -> ::Array[::String]
|
102
|
+
end
|
103
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#batch_delete_rum_metric_definitions-instance_method
|
104
|
+
def batch_delete_rum_metric_definitions: (
|
105
|
+
app_monitor_name: ::String,
|
106
|
+
destination: ("CloudWatch" | "Evidently"),
|
107
|
+
?destination_arn: ::String,
|
108
|
+
metric_definition_ids: Array[::String]
|
109
|
+
) -> _BatchDeleteRumMetricDefinitionsResponseSuccess
|
110
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteRumMetricDefinitionsResponseSuccess
|
111
|
+
|
112
|
+
interface _BatchGetRumMetricDefinitionsResponseSuccess
|
113
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetRumMetricDefinitionsResponse]
|
114
|
+
def metric_definitions: () -> ::Array[Types::MetricDefinition]
|
115
|
+
def next_token: () -> ::String
|
116
|
+
end
|
117
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#batch_get_rum_metric_definitions-instance_method
|
118
|
+
def batch_get_rum_metric_definitions: (
|
119
|
+
app_monitor_name: ::String,
|
120
|
+
destination: ("CloudWatch" | "Evidently"),
|
121
|
+
?destination_arn: ::String,
|
122
|
+
?max_results: ::Integer,
|
123
|
+
?next_token: ::String
|
124
|
+
) -> _BatchGetRumMetricDefinitionsResponseSuccess
|
125
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetRumMetricDefinitionsResponseSuccess
|
126
|
+
|
127
|
+
interface _CreateAppMonitorResponseSuccess
|
128
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAppMonitorResponse]
|
129
|
+
def id: () -> ::String
|
130
|
+
end
|
131
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#create_app_monitor-instance_method
|
132
|
+
def create_app_monitor: (
|
133
|
+
?app_monitor_configuration: {
|
134
|
+
allow_cookies: bool?,
|
135
|
+
enable_x_ray: bool?,
|
136
|
+
excluded_pages: Array[::String]?,
|
137
|
+
favorite_pages: Array[::String]?,
|
138
|
+
guest_role_arn: ::String?,
|
139
|
+
identity_pool_id: ::String?,
|
140
|
+
included_pages: Array[::String]?,
|
141
|
+
session_sample_rate: ::Float?,
|
142
|
+
telemetries: Array[("errors" | "performance" | "http")]?
|
143
|
+
},
|
144
|
+
?custom_events: {
|
145
|
+
status: ("ENABLED" | "DISABLED")?
|
146
|
+
},
|
147
|
+
?cw_log_enabled: bool,
|
148
|
+
domain: ::String,
|
149
|
+
name: ::String,
|
150
|
+
?tags: Hash[::String, ::String]
|
151
|
+
) -> _CreateAppMonitorResponseSuccess
|
152
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAppMonitorResponseSuccess
|
153
|
+
|
154
|
+
interface _DeleteAppMonitorResponseSuccess
|
155
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppMonitorResponse]
|
156
|
+
end
|
157
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#delete_app_monitor-instance_method
|
158
|
+
def delete_app_monitor: (
|
159
|
+
name: ::String
|
160
|
+
) -> _DeleteAppMonitorResponseSuccess
|
161
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppMonitorResponseSuccess
|
162
|
+
|
163
|
+
interface _DeleteRumMetricsDestinationResponseSuccess
|
164
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRumMetricsDestinationResponse]
|
165
|
+
end
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#delete_rum_metrics_destination-instance_method
|
167
|
+
def delete_rum_metrics_destination: (
|
168
|
+
app_monitor_name: ::String,
|
169
|
+
destination: ("CloudWatch" | "Evidently"),
|
170
|
+
?destination_arn: ::String
|
171
|
+
) -> _DeleteRumMetricsDestinationResponseSuccess
|
172
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRumMetricsDestinationResponseSuccess
|
173
|
+
|
174
|
+
interface _GetAppMonitorResponseSuccess
|
175
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAppMonitorResponse]
|
176
|
+
def app_monitor: () -> Types::AppMonitor
|
177
|
+
end
|
178
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#get_app_monitor-instance_method
|
179
|
+
def get_app_monitor: (
|
180
|
+
name: ::String
|
181
|
+
) -> _GetAppMonitorResponseSuccess
|
182
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppMonitorResponseSuccess
|
183
|
+
|
184
|
+
interface _GetAppMonitorDataResponseSuccess
|
185
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAppMonitorDataResponse]
|
186
|
+
def events: () -> ::Array[::String]
|
187
|
+
def next_token: () -> ::String
|
188
|
+
end
|
189
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#get_app_monitor_data-instance_method
|
190
|
+
def get_app_monitor_data: (
|
191
|
+
?filters: Array[
|
192
|
+
{
|
193
|
+
name: ::String?,
|
194
|
+
values: Array[::String]?
|
195
|
+
},
|
196
|
+
],
|
197
|
+
?max_results: ::Integer,
|
198
|
+
name: ::String,
|
199
|
+
?next_token: ::String,
|
200
|
+
time_range: {
|
201
|
+
after: ::Integer,
|
202
|
+
before: ::Integer?
|
203
|
+
}
|
204
|
+
) -> _GetAppMonitorDataResponseSuccess
|
205
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppMonitorDataResponseSuccess
|
206
|
+
|
207
|
+
interface _ListAppMonitorsResponseSuccess
|
208
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAppMonitorsResponse]
|
209
|
+
def app_monitor_summaries: () -> ::Array[Types::AppMonitorSummary]
|
210
|
+
def next_token: () -> ::String
|
211
|
+
end
|
212
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#list_app_monitors-instance_method
|
213
|
+
def list_app_monitors: (
|
214
|
+
?max_results: ::Integer,
|
215
|
+
?next_token: ::String
|
216
|
+
) -> _ListAppMonitorsResponseSuccess
|
217
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppMonitorsResponseSuccess
|
218
|
+
|
219
|
+
interface _ListRumMetricsDestinationsResponseSuccess
|
220
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRumMetricsDestinationsResponse]
|
221
|
+
def destinations: () -> ::Array[Types::MetricDestinationSummary]
|
222
|
+
def next_token: () -> ::String
|
223
|
+
end
|
224
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#list_rum_metrics_destinations-instance_method
|
225
|
+
def list_rum_metrics_destinations: (
|
226
|
+
app_monitor_name: ::String,
|
227
|
+
?max_results: ::Integer,
|
228
|
+
?next_token: ::String
|
229
|
+
) -> _ListRumMetricsDestinationsResponseSuccess
|
230
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRumMetricsDestinationsResponseSuccess
|
231
|
+
|
232
|
+
interface _ListTagsForResourceResponseSuccess
|
233
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
234
|
+
def resource_arn: () -> ::String
|
235
|
+
def tags: () -> ::Hash[::String, ::String]
|
236
|
+
end
|
237
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#list_tags_for_resource-instance_method
|
238
|
+
def list_tags_for_resource: (
|
239
|
+
resource_arn: ::String
|
240
|
+
) -> _ListTagsForResourceResponseSuccess
|
241
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
242
|
+
|
243
|
+
interface _PutRumEventsResponseSuccess
|
244
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutRumEventsResponse]
|
245
|
+
end
|
246
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#put_rum_events-instance_method
|
247
|
+
def put_rum_events: (
|
248
|
+
app_monitor_details: {
|
249
|
+
id: ::String?,
|
250
|
+
name: ::String?,
|
251
|
+
version: ::String?
|
252
|
+
},
|
253
|
+
batch_id: ::String,
|
254
|
+
id: ::String,
|
255
|
+
rum_events: Array[
|
256
|
+
{
|
257
|
+
details: ::String,
|
258
|
+
id: ::String,
|
259
|
+
metadata: ::String?,
|
260
|
+
timestamp: ::Time,
|
261
|
+
type: ::String
|
262
|
+
},
|
263
|
+
],
|
264
|
+
user_details: {
|
265
|
+
session_id: ::String?,
|
266
|
+
user_id: ::String?
|
267
|
+
}
|
268
|
+
) -> _PutRumEventsResponseSuccess
|
269
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRumEventsResponseSuccess
|
270
|
+
|
271
|
+
interface _PutRumMetricsDestinationResponseSuccess
|
272
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutRumMetricsDestinationResponse]
|
273
|
+
end
|
274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#put_rum_metrics_destination-instance_method
|
275
|
+
def put_rum_metrics_destination: (
|
276
|
+
app_monitor_name: ::String,
|
277
|
+
destination: ("CloudWatch" | "Evidently"),
|
278
|
+
?destination_arn: ::String,
|
279
|
+
?iam_role_arn: ::String
|
280
|
+
) -> _PutRumMetricsDestinationResponseSuccess
|
281
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRumMetricsDestinationResponseSuccess
|
282
|
+
|
283
|
+
interface _TagResourceResponseSuccess
|
284
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
285
|
+
end
|
286
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#tag_resource-instance_method
|
287
|
+
def tag_resource: (
|
288
|
+
resource_arn: ::String,
|
289
|
+
tags: Hash[::String, ::String]
|
290
|
+
) -> _TagResourceResponseSuccess
|
291
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
292
|
+
|
293
|
+
interface _UntagResourceResponseSuccess
|
294
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
295
|
+
end
|
296
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#untag_resource-instance_method
|
297
|
+
def untag_resource: (
|
298
|
+
resource_arn: ::String,
|
299
|
+
tag_keys: Array[::String]
|
300
|
+
) -> _UntagResourceResponseSuccess
|
301
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
302
|
+
|
303
|
+
interface _UpdateAppMonitorResponseSuccess
|
304
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAppMonitorResponse]
|
305
|
+
end
|
306
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#update_app_monitor-instance_method
|
307
|
+
def update_app_monitor: (
|
308
|
+
?app_monitor_configuration: {
|
309
|
+
allow_cookies: bool?,
|
310
|
+
enable_x_ray: bool?,
|
311
|
+
excluded_pages: Array[::String]?,
|
312
|
+
favorite_pages: Array[::String]?,
|
313
|
+
guest_role_arn: ::String?,
|
314
|
+
identity_pool_id: ::String?,
|
315
|
+
included_pages: Array[::String]?,
|
316
|
+
session_sample_rate: ::Float?,
|
317
|
+
telemetries: Array[("errors" | "performance" | "http")]?
|
318
|
+
},
|
319
|
+
?custom_events: {
|
320
|
+
status: ("ENABLED" | "DISABLED")?
|
321
|
+
},
|
322
|
+
?cw_log_enabled: bool,
|
323
|
+
?domain: ::String,
|
324
|
+
name: ::String
|
325
|
+
) -> _UpdateAppMonitorResponseSuccess
|
326
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAppMonitorResponseSuccess
|
327
|
+
|
328
|
+
interface _UpdateRumMetricDefinitionResponseSuccess
|
329
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRumMetricDefinitionResponse]
|
330
|
+
end
|
331
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#update_rum_metric_definition-instance_method
|
332
|
+
def update_rum_metric_definition: (
|
333
|
+
app_monitor_name: ::String,
|
334
|
+
destination: ("CloudWatch" | "Evidently"),
|
335
|
+
?destination_arn: ::String,
|
336
|
+
metric_definition: {
|
337
|
+
dimension_keys: Hash[::String, ::String]?,
|
338
|
+
event_pattern: ::String?,
|
339
|
+
name: ::String,
|
340
|
+
namespace: ::String?,
|
341
|
+
unit_label: ::String?,
|
342
|
+
value_key: ::String?
|
343
|
+
},
|
344
|
+
metric_definition_id: ::String
|
345
|
+
) -> _UpdateRumMetricDefinitionResponseSuccess
|
346
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRumMetricDefinitionResponseSuccess
|
347
|
+
end
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudWatchRUM
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def resource_name: () -> ::String
|
20
|
+
def resource_type: () -> ::String
|
21
|
+
end
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def retry_after_seconds: () -> ::String
|
25
|
+
end
|
26
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
def resource_name: () -> ::String
|
29
|
+
def resource_type: () -> ::String
|
30
|
+
end
|
31
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
end
|
34
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
35
|
+
def message: () -> ::String
|
36
|
+
def quota_code: () -> ::String
|
37
|
+
def retry_after_seconds: () -> ::String
|
38
|
+
def service_code: () -> ::String
|
39
|
+
end
|
40
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
41
|
+
def message: () -> ::String
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudWatchRUM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,384 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::CloudWatchRUM
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AppMonitor
|
17
|
+
attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
|
18
|
+
attr_accessor created: ::String
|
19
|
+
attr_accessor custom_events: Types::CustomEvents
|
20
|
+
attr_accessor data_storage: Types::DataStorage
|
21
|
+
attr_accessor domain: ::String
|
22
|
+
attr_accessor id: ::String
|
23
|
+
attr_accessor last_modified: ::String
|
24
|
+
attr_accessor name: ::String
|
25
|
+
attr_accessor state: ("CREATED" | "DELETING" | "ACTIVE")
|
26
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
27
|
+
SENSITIVE: []
|
28
|
+
end
|
29
|
+
|
30
|
+
class AppMonitorConfiguration
|
31
|
+
attr_accessor allow_cookies: bool
|
32
|
+
attr_accessor enable_x_ray: bool
|
33
|
+
attr_accessor excluded_pages: ::Array[::String]
|
34
|
+
attr_accessor favorite_pages: ::Array[::String]
|
35
|
+
attr_accessor guest_role_arn: ::String
|
36
|
+
attr_accessor identity_pool_id: ::String
|
37
|
+
attr_accessor included_pages: ::Array[::String]
|
38
|
+
attr_accessor session_sample_rate: ::Float
|
39
|
+
attr_accessor telemetries: ::Array[("errors" | "performance" | "http")]
|
40
|
+
SENSITIVE: []
|
41
|
+
end
|
42
|
+
|
43
|
+
class AppMonitorDetails
|
44
|
+
attr_accessor id: ::String
|
45
|
+
attr_accessor name: ::String
|
46
|
+
attr_accessor version: ::String
|
47
|
+
SENSITIVE: []
|
48
|
+
end
|
49
|
+
|
50
|
+
class AppMonitorSummary
|
51
|
+
attr_accessor created: ::String
|
52
|
+
attr_accessor id: ::String
|
53
|
+
attr_accessor last_modified: ::String
|
54
|
+
attr_accessor name: ::String
|
55
|
+
attr_accessor state: ("CREATED" | "DELETING" | "ACTIVE")
|
56
|
+
SENSITIVE: []
|
57
|
+
end
|
58
|
+
|
59
|
+
class BatchCreateRumMetricDefinitionsError
|
60
|
+
attr_accessor error_code: ::String
|
61
|
+
attr_accessor error_message: ::String
|
62
|
+
attr_accessor metric_definition: Types::MetricDefinitionRequest
|
63
|
+
SENSITIVE: []
|
64
|
+
end
|
65
|
+
|
66
|
+
class BatchCreateRumMetricDefinitionsRequest
|
67
|
+
attr_accessor app_monitor_name: ::String
|
68
|
+
attr_accessor destination: ("CloudWatch" | "Evidently")
|
69
|
+
attr_accessor destination_arn: ::String
|
70
|
+
attr_accessor metric_definitions: ::Array[Types::MetricDefinitionRequest]
|
71
|
+
SENSITIVE: []
|
72
|
+
end
|
73
|
+
|
74
|
+
class BatchCreateRumMetricDefinitionsResponse
|
75
|
+
attr_accessor errors: ::Array[Types::BatchCreateRumMetricDefinitionsError]
|
76
|
+
attr_accessor metric_definitions: ::Array[Types::MetricDefinition]
|
77
|
+
SENSITIVE: []
|
78
|
+
end
|
79
|
+
|
80
|
+
class BatchDeleteRumMetricDefinitionsError
|
81
|
+
attr_accessor error_code: ::String
|
82
|
+
attr_accessor error_message: ::String
|
83
|
+
attr_accessor metric_definition_id: ::String
|
84
|
+
SENSITIVE: []
|
85
|
+
end
|
86
|
+
|
87
|
+
class BatchDeleteRumMetricDefinitionsRequest
|
88
|
+
attr_accessor app_monitor_name: ::String
|
89
|
+
attr_accessor destination: ("CloudWatch" | "Evidently")
|
90
|
+
attr_accessor destination_arn: ::String
|
91
|
+
attr_accessor metric_definition_ids: ::Array[::String]
|
92
|
+
SENSITIVE: []
|
93
|
+
end
|
94
|
+
|
95
|
+
class BatchDeleteRumMetricDefinitionsResponse
|
96
|
+
attr_accessor errors: ::Array[Types::BatchDeleteRumMetricDefinitionsError]
|
97
|
+
attr_accessor metric_definition_ids: ::Array[::String]
|
98
|
+
SENSITIVE: []
|
99
|
+
end
|
100
|
+
|
101
|
+
class BatchGetRumMetricDefinitionsRequest
|
102
|
+
attr_accessor app_monitor_name: ::String
|
103
|
+
attr_accessor destination: ("CloudWatch" | "Evidently")
|
104
|
+
attr_accessor destination_arn: ::String
|
105
|
+
attr_accessor max_results: ::Integer
|
106
|
+
attr_accessor next_token: ::String
|
107
|
+
SENSITIVE: []
|
108
|
+
end
|
109
|
+
|
110
|
+
class BatchGetRumMetricDefinitionsResponse
|
111
|
+
attr_accessor metric_definitions: ::Array[Types::MetricDefinition]
|
112
|
+
attr_accessor next_token: ::String
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
116
|
+
class ConflictException
|
117
|
+
attr_accessor message: ::String
|
118
|
+
attr_accessor resource_name: ::String
|
119
|
+
attr_accessor resource_type: ::String
|
120
|
+
SENSITIVE: []
|
121
|
+
end
|
122
|
+
|
123
|
+
class CreateAppMonitorRequest
|
124
|
+
attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
|
125
|
+
attr_accessor custom_events: Types::CustomEvents
|
126
|
+
attr_accessor cw_log_enabled: bool
|
127
|
+
attr_accessor domain: ::String
|
128
|
+
attr_accessor name: ::String
|
129
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
130
|
+
SENSITIVE: []
|
131
|
+
end
|
132
|
+
|
133
|
+
class CreateAppMonitorResponse
|
134
|
+
attr_accessor id: ::String
|
135
|
+
SENSITIVE: []
|
136
|
+
end
|
137
|
+
|
138
|
+
class CustomEvents
|
139
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
140
|
+
SENSITIVE: []
|
141
|
+
end
|
142
|
+
|
143
|
+
class CwLog
|
144
|
+
attr_accessor cw_log_enabled: bool
|
145
|
+
attr_accessor cw_log_group: ::String
|
146
|
+
SENSITIVE: []
|
147
|
+
end
|
148
|
+
|
149
|
+
class DataStorage
|
150
|
+
attr_accessor cw_log: Types::CwLog
|
151
|
+
SENSITIVE: []
|
152
|
+
end
|
153
|
+
|
154
|
+
class DeleteAppMonitorRequest
|
155
|
+
attr_accessor name: ::String
|
156
|
+
SENSITIVE: []
|
157
|
+
end
|
158
|
+
|
159
|
+
class DeleteAppMonitorResponse < Aws::EmptyStructure
|
160
|
+
end
|
161
|
+
|
162
|
+
class DeleteRumMetricsDestinationRequest
|
163
|
+
attr_accessor app_monitor_name: ::String
|
164
|
+
attr_accessor destination: ("CloudWatch" | "Evidently")
|
165
|
+
attr_accessor destination_arn: ::String
|
166
|
+
SENSITIVE: []
|
167
|
+
end
|
168
|
+
|
169
|
+
class DeleteRumMetricsDestinationResponse < Aws::EmptyStructure
|
170
|
+
end
|
171
|
+
|
172
|
+
class GetAppMonitorDataRequest
|
173
|
+
attr_accessor filters: ::Array[Types::QueryFilter]
|
174
|
+
attr_accessor max_results: ::Integer
|
175
|
+
attr_accessor name: ::String
|
176
|
+
attr_accessor next_token: ::String
|
177
|
+
attr_accessor time_range: Types::TimeRange
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class GetAppMonitorDataResponse
|
182
|
+
attr_accessor events: ::Array[::String]
|
183
|
+
attr_accessor next_token: ::String
|
184
|
+
SENSITIVE: []
|
185
|
+
end
|
186
|
+
|
187
|
+
class GetAppMonitorRequest
|
188
|
+
attr_accessor name: ::String
|
189
|
+
SENSITIVE: []
|
190
|
+
end
|
191
|
+
|
192
|
+
class GetAppMonitorResponse
|
193
|
+
attr_accessor app_monitor: Types::AppMonitor
|
194
|
+
SENSITIVE: []
|
195
|
+
end
|
196
|
+
|
197
|
+
class InternalServerException
|
198
|
+
attr_accessor message: ::String
|
199
|
+
attr_accessor retry_after_seconds: ::Integer
|
200
|
+
SENSITIVE: []
|
201
|
+
end
|
202
|
+
|
203
|
+
class ListAppMonitorsRequest
|
204
|
+
attr_accessor max_results: ::Integer
|
205
|
+
attr_accessor next_token: ::String
|
206
|
+
SENSITIVE: []
|
207
|
+
end
|
208
|
+
|
209
|
+
class ListAppMonitorsResponse
|
210
|
+
attr_accessor app_monitor_summaries: ::Array[Types::AppMonitorSummary]
|
211
|
+
attr_accessor next_token: ::String
|
212
|
+
SENSITIVE: []
|
213
|
+
end
|
214
|
+
|
215
|
+
class ListRumMetricsDestinationsRequest
|
216
|
+
attr_accessor app_monitor_name: ::String
|
217
|
+
attr_accessor max_results: ::Integer
|
218
|
+
attr_accessor next_token: ::String
|
219
|
+
SENSITIVE: []
|
220
|
+
end
|
221
|
+
|
222
|
+
class ListRumMetricsDestinationsResponse
|
223
|
+
attr_accessor destinations: ::Array[Types::MetricDestinationSummary]
|
224
|
+
attr_accessor next_token: ::String
|
225
|
+
SENSITIVE: []
|
226
|
+
end
|
227
|
+
|
228
|
+
class ListTagsForResourceRequest
|
229
|
+
attr_accessor resource_arn: ::String
|
230
|
+
SENSITIVE: []
|
231
|
+
end
|
232
|
+
|
233
|
+
class ListTagsForResourceResponse
|
234
|
+
attr_accessor resource_arn: ::String
|
235
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
236
|
+
SENSITIVE: []
|
237
|
+
end
|
238
|
+
|
239
|
+
class MetricDefinition
|
240
|
+
attr_accessor dimension_keys: ::Hash[::String, ::String]
|
241
|
+
attr_accessor event_pattern: ::String
|
242
|
+
attr_accessor metric_definition_id: ::String
|
243
|
+
attr_accessor name: ::String
|
244
|
+
attr_accessor namespace: ::String
|
245
|
+
attr_accessor unit_label: ::String
|
246
|
+
attr_accessor value_key: ::String
|
247
|
+
SENSITIVE: []
|
248
|
+
end
|
249
|
+
|
250
|
+
class MetricDefinitionRequest
|
251
|
+
attr_accessor dimension_keys: ::Hash[::String, ::String]
|
252
|
+
attr_accessor event_pattern: ::String
|
253
|
+
attr_accessor name: ::String
|
254
|
+
attr_accessor namespace: ::String
|
255
|
+
attr_accessor unit_label: ::String
|
256
|
+
attr_accessor value_key: ::String
|
257
|
+
SENSITIVE: []
|
258
|
+
end
|
259
|
+
|
260
|
+
class MetricDestinationSummary
|
261
|
+
attr_accessor destination: ("CloudWatch" | "Evidently")
|
262
|
+
attr_accessor destination_arn: ::String
|
263
|
+
attr_accessor iam_role_arn: ::String
|
264
|
+
SENSITIVE: []
|
265
|
+
end
|
266
|
+
|
267
|
+
class PutRumEventsRequest
|
268
|
+
attr_accessor app_monitor_details: Types::AppMonitorDetails
|
269
|
+
attr_accessor batch_id: ::String
|
270
|
+
attr_accessor id: ::String
|
271
|
+
attr_accessor rum_events: ::Array[Types::RumEvent]
|
272
|
+
attr_accessor user_details: Types::UserDetails
|
273
|
+
SENSITIVE: []
|
274
|
+
end
|
275
|
+
|
276
|
+
class PutRumEventsResponse < Aws::EmptyStructure
|
277
|
+
end
|
278
|
+
|
279
|
+
class PutRumMetricsDestinationRequest
|
280
|
+
attr_accessor app_monitor_name: ::String
|
281
|
+
attr_accessor destination: ("CloudWatch" | "Evidently")
|
282
|
+
attr_accessor destination_arn: ::String
|
283
|
+
attr_accessor iam_role_arn: ::String
|
284
|
+
SENSITIVE: []
|
285
|
+
end
|
286
|
+
|
287
|
+
class PutRumMetricsDestinationResponse < Aws::EmptyStructure
|
288
|
+
end
|
289
|
+
|
290
|
+
class QueryFilter
|
291
|
+
attr_accessor name: ::String
|
292
|
+
attr_accessor values: ::Array[::String]
|
293
|
+
SENSITIVE: []
|
294
|
+
end
|
295
|
+
|
296
|
+
class ResourceNotFoundException
|
297
|
+
attr_accessor message: ::String
|
298
|
+
attr_accessor resource_name: ::String
|
299
|
+
attr_accessor resource_type: ::String
|
300
|
+
SENSITIVE: []
|
301
|
+
end
|
302
|
+
|
303
|
+
class RumEvent
|
304
|
+
attr_accessor details: ::String
|
305
|
+
attr_accessor id: ::String
|
306
|
+
attr_accessor metadata: ::String
|
307
|
+
attr_accessor timestamp: ::Time
|
308
|
+
attr_accessor type: ::String
|
309
|
+
SENSITIVE: []
|
310
|
+
end
|
311
|
+
|
312
|
+
class ServiceQuotaExceededException
|
313
|
+
attr_accessor message: ::String
|
314
|
+
SENSITIVE: []
|
315
|
+
end
|
316
|
+
|
317
|
+
class TagResourceRequest
|
318
|
+
attr_accessor resource_arn: ::String
|
319
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
320
|
+
SENSITIVE: []
|
321
|
+
end
|
322
|
+
|
323
|
+
class TagResourceResponse < Aws::EmptyStructure
|
324
|
+
end
|
325
|
+
|
326
|
+
class ThrottlingException
|
327
|
+
attr_accessor message: ::String
|
328
|
+
attr_accessor quota_code: ::String
|
329
|
+
attr_accessor retry_after_seconds: ::Integer
|
330
|
+
attr_accessor service_code: ::String
|
331
|
+
SENSITIVE: []
|
332
|
+
end
|
333
|
+
|
334
|
+
class TimeRange
|
335
|
+
attr_accessor after: ::Integer
|
336
|
+
attr_accessor before: ::Integer
|
337
|
+
SENSITIVE: []
|
338
|
+
end
|
339
|
+
|
340
|
+
class UntagResourceRequest
|
341
|
+
attr_accessor resource_arn: ::String
|
342
|
+
attr_accessor tag_keys: ::Array[::String]
|
343
|
+
SENSITIVE: []
|
344
|
+
end
|
345
|
+
|
346
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
347
|
+
end
|
348
|
+
|
349
|
+
class UpdateAppMonitorRequest
|
350
|
+
attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
|
351
|
+
attr_accessor custom_events: Types::CustomEvents
|
352
|
+
attr_accessor cw_log_enabled: bool
|
353
|
+
attr_accessor domain: ::String
|
354
|
+
attr_accessor name: ::String
|
355
|
+
SENSITIVE: []
|
356
|
+
end
|
357
|
+
|
358
|
+
class UpdateAppMonitorResponse < Aws::EmptyStructure
|
359
|
+
end
|
360
|
+
|
361
|
+
class UpdateRumMetricDefinitionRequest
|
362
|
+
attr_accessor app_monitor_name: ::String
|
363
|
+
attr_accessor destination: ("CloudWatch" | "Evidently")
|
364
|
+
attr_accessor destination_arn: ::String
|
365
|
+
attr_accessor metric_definition: Types::MetricDefinitionRequest
|
366
|
+
attr_accessor metric_definition_id: ::String
|
367
|
+
SENSITIVE: []
|
368
|
+
end
|
369
|
+
|
370
|
+
class UpdateRumMetricDefinitionResponse < Aws::EmptyStructure
|
371
|
+
end
|
372
|
+
|
373
|
+
class UserDetails
|
374
|
+
attr_accessor session_id: ::String
|
375
|
+
attr_accessor user_id: ::String
|
376
|
+
SENSITIVE: []
|
377
|
+
end
|
378
|
+
|
379
|
+
class ValidationException
|
380
|
+
attr_accessor message: ::String
|
381
|
+
SENSITIVE: []
|
382
|
+
end
|
383
|
+
end
|
384
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudWatchRUM
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
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
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.191.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-cloudwatchrum/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-cloudwatchrum/resource.rb
|
68
68
|
- lib/aws-sdk-cloudwatchrum/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchrum
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchrum/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - CloudWatch RUM
|
94
99
|
test_files: []
|