aws-sdk-cloudwatchrum 1.18.0 → 1.19.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e35f49224a6e75af345212b8ced3f29b9dfef1066f6a64491c371a54e4153bf7
4
- data.tar.gz: 0d7ddd58550f08bfe8634fe318566159e1efec1a5b2cae1f278c79efa89ae150
3
+ metadata.gz: f57c12b93f2d224ba6feba5c9491e8d1704dd5adb77ec5d0ab9e10fe9f7ca967
4
+ data.tar.gz: 26acac08d5047c5b7446288429c9bec7ac2a8b94ff471845502cb61cb90e861d
5
5
  SHA512:
6
- metadata.gz: 07d5a22a9cfc6da1a1b10d43df28b3a6338c446c383921bab2c0e67aa0c4c74b58ceeb8b002b35bd5ffe0690cbc3277a444ac104894ef249c3e1d5c21e19f59e
7
- data.tar.gz: ce0f17d0000c036305c845b3085190deaa149c6d05aefea65265ec86688ca312e78bc27b618ad04c22272023cec6235eb8656b7647737657b81e7fd8fda84c40
6
+ metadata.gz: 8158e6d2757f8895bb2c81325367bdec2ef379cbb02551fa87c67133851cc02dd99ab574b1b575eedd5557255d3e75941b8548cc479a8f8b7b7f41e89c703a8b
7
+ data.tar.gz: 0d87e4b7962075cf5e8d90748693addde127cd0e00ff0cedc0aa1103298e3d40f600ff2e8704a90b42ecd977de735d4f62641346797d0433d4696a08ff165343
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.18.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.19.0
@@ -1454,7 +1454,7 @@ module Aws::CloudWatchRUM
1454
1454
  params: params,
1455
1455
  config: config)
1456
1456
  context[:gem_name] = 'aws-sdk-cloudwatchrum'
1457
- context[:gem_version] = '1.18.0'
1457
+ context[:gem_version] = '1.19.0'
1458
1458
  Seahorse::Client::Request.new(handlers, context)
1459
1459
  end
1460
1460
 
@@ -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 '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudwatchrum/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudWatchRUM
54
54
 
55
- GEM_VERSION = '1.18.0'
55
+ GEM_VERSION = '1.19.0'
56
56
 
57
57
  end
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.18.0
4
+ version: 1.19.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: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
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.188.0
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.1.6
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: []