aws-sdk-cloudwatchrum 1.49.0 → 1.50.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.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::CloudWatchRUM
13
+ module Waiters
14
+ end
15
+ end
@@ -49,12 +49,13 @@ module Aws::CloudWatchRUM
49
49
  end
50
50
  autoload :Client, 'aws-sdk-cloudwatchrum/client'
51
51
  autoload :Errors, 'aws-sdk-cloudwatchrum/errors'
52
+ autoload :Waiters, 'aws-sdk-cloudwatchrum/waiters'
52
53
  autoload :Resource, 'aws-sdk-cloudwatchrum/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-cloudwatchrum/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-cloudwatchrum/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-cloudwatchrum/endpoints'
56
57
 
57
- GEM_VERSION = '1.49.0'
58
+ GEM_VERSION = '1.50.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -90,12 +90,12 @@ module Aws
90
90
  ?destination_arn: ::String,
91
91
  metric_definitions: Array[
92
92
  {
93
- dimension_keys: Hash[::String, ::String]?,
94
- event_pattern: ::String?,
95
93
  name: ::String,
96
- namespace: ::String?,
94
+ value_key: ::String?,
97
95
  unit_label: ::String?,
98
- value_key: ::String?
96
+ dimension_keys: Hash[::String, ::String]?,
97
+ event_pattern: ::String?,
98
+ namespace: ::String?
99
99
  },
100
100
  ]
101
101
  ) -> _BatchCreateRumMetricDefinitionsResponseSuccess
@@ -136,31 +136,32 @@ module Aws
136
136
  end
137
137
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#create_app_monitor-instance_method
138
138
  def create_app_monitor: (
139
+ name: ::String,
140
+ ?domain: ::String,
141
+ ?domain_list: Array[::String],
142
+ ?tags: Hash[::String, ::String],
139
143
  ?app_monitor_configuration: {
140
- allow_cookies: bool?,
141
- enable_x_ray: bool?,
142
- excluded_pages: Array[::String]?,
143
- favorite_pages: Array[::String]?,
144
- guest_role_arn: ::String?,
145
144
  identity_pool_id: ::String?,
145
+ excluded_pages: Array[::String]?,
146
146
  included_pages: Array[::String]?,
147
+ favorite_pages: Array[::String]?,
147
148
  session_sample_rate: ::Float?,
148
- telemetries: Array[("errors" | "performance" | "http")]?
149
+ guest_role_arn: ::String?,
150
+ allow_cookies: bool?,
151
+ telemetries: Array[("errors" | "performance" | "http")]?,
152
+ enable_x_ray: bool?
149
153
  },
154
+ ?cw_log_enabled: bool,
150
155
  ?custom_events: {
151
156
  status: ("ENABLED" | "DISABLED")?
152
157
  },
153
- ?cw_log_enabled: bool,
154
158
  ?deobfuscation_configuration: {
155
159
  java_script_source_maps: {
156
- s3_uri: ::String?,
157
- status: ("ENABLED" | "DISABLED")
160
+ status: ("ENABLED" | "DISABLED"),
161
+ s3_uri: ::String?
158
162
  }?
159
163
  },
160
- ?domain: ::String,
161
- ?domain_list: Array[::String],
162
- name: ::String,
163
- ?tags: Hash[::String, ::String]
164
+ ?platform: ("Web" | "Android" | "iOS")
164
165
  ) -> _CreateAppMonitorResponseSuccess
165
166
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAppMonitorResponseSuccess
166
167
 
@@ -212,6 +213,11 @@ module Aws
212
213
  end
213
214
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#get_app_monitor_data-instance_method
214
215
  def get_app_monitor_data: (
216
+ name: ::String,
217
+ time_range: {
218
+ after: ::Integer,
219
+ before: ::Integer?
220
+ },
215
221
  ?filters: Array[
216
222
  {
217
223
  name: ::String?,
@@ -219,12 +225,7 @@ module Aws
219
225
  },
220
226
  ],
221
227
  ?max_results: ::Integer,
222
- name: ::String,
223
- ?next_token: ::String,
224
- time_range: {
225
- after: ::Integer,
226
- before: ::Integer?
227
- }
228
+ ?next_token: ::String
228
229
  ) -> _GetAppMonitorDataResponseSuccess
229
230
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppMonitorDataResponseSuccess
230
231
 
@@ -241,8 +242,8 @@ module Aws
241
242
 
242
243
  interface _ListAppMonitorsResponseSuccess
243
244
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAppMonitorsResponse]
244
- def app_monitor_summaries: () -> ::Array[Types::AppMonitorSummary]
245
245
  def next_token: () -> ::String
246
+ def app_monitor_summaries: () -> ::Array[Types::AppMonitorSummary]
246
247
  end
247
248
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#list_app_monitors-instance_method
248
249
  def list_app_monitors: (
@@ -293,27 +294,27 @@ module Aws
293
294
  end
294
295
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#put_rum_events-instance_method
295
296
  def put_rum_events: (
296
- ?alias: ::String,
297
+ id: ::String,
298
+ batch_id: ::String,
297
299
  app_monitor_details: {
298
- id: ::String?,
299
300
  name: ::String?,
301
+ id: ::String?,
300
302
  version: ::String?
301
303
  },
302
- batch_id: ::String,
303
- id: ::String,
304
+ user_details: {
305
+ user_id: ::String?,
306
+ session_id: ::String?
307
+ },
304
308
  rum_events: Array[
305
309
  {
306
- details: ::String,
307
310
  id: ::String,
308
- metadata: ::String?,
309
311
  timestamp: ::Time,
310
- type: ::String
312
+ type: ::String,
313
+ metadata: ::String?,
314
+ details: ::String
311
315
  },
312
316
  ],
313
- user_details: {
314
- session_id: ::String?,
315
- user_id: ::String?
316
- }
317
+ ?alias: ::String
317
318
  ) -> _PutRumEventsResponseSuccess
318
319
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRumEventsResponseSuccess
319
320
 
@@ -354,30 +355,30 @@ module Aws
354
355
  end
355
356
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#update_app_monitor-instance_method
356
357
  def update_app_monitor: (
358
+ name: ::String,
359
+ ?domain: ::String,
360
+ ?domain_list: Array[::String],
357
361
  ?app_monitor_configuration: {
358
- allow_cookies: bool?,
359
- enable_x_ray: bool?,
360
- excluded_pages: Array[::String]?,
361
- favorite_pages: Array[::String]?,
362
- guest_role_arn: ::String?,
363
362
  identity_pool_id: ::String?,
363
+ excluded_pages: Array[::String]?,
364
364
  included_pages: Array[::String]?,
365
+ favorite_pages: Array[::String]?,
365
366
  session_sample_rate: ::Float?,
366
- telemetries: Array[("errors" | "performance" | "http")]?
367
+ guest_role_arn: ::String?,
368
+ allow_cookies: bool?,
369
+ telemetries: Array[("errors" | "performance" | "http")]?,
370
+ enable_x_ray: bool?
367
371
  },
372
+ ?cw_log_enabled: bool,
368
373
  ?custom_events: {
369
374
  status: ("ENABLED" | "DISABLED")?
370
375
  },
371
- ?cw_log_enabled: bool,
372
376
  ?deobfuscation_configuration: {
373
377
  java_script_source_maps: {
374
- s3_uri: ::String?,
375
- status: ("ENABLED" | "DISABLED")
378
+ status: ("ENABLED" | "DISABLED"),
379
+ s3_uri: ::String?
376
380
  }?
377
- },
378
- ?domain: ::String,
379
- ?domain_list: Array[::String],
380
- name: ::String
381
+ }
381
382
  ) -> _UpdateAppMonitorResponseSuccess
382
383
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAppMonitorResponseSuccess
383
384
 
@@ -390,12 +391,12 @@ module Aws
390
391
  destination: ("CloudWatch" | "Evidently"),
391
392
  ?destination_arn: ::String,
392
393
  metric_definition: {
393
- dimension_keys: Hash[::String, ::String]?,
394
- event_pattern: ::String?,
395
394
  name: ::String,
396
- namespace: ::String?,
395
+ value_key: ::String?,
397
396
  unit_label: ::String?,
398
- value_key: ::String?
397
+ dimension_keys: Hash[::String, ::String]?,
398
+ event_pattern: ::String?,
399
+ namespace: ::String?
399
400
  },
400
401
  metric_definition_id: ::String
401
402
  ) -> _UpdateRumMetricDefinitionResponseSuccess
data/sig/errors.rbs CHANGED
@@ -45,9 +45,9 @@ module Aws
45
45
  end
46
46
  class ThrottlingException < ::Aws::Errors::ServiceError
47
47
  def message: () -> ::String
48
+ def service_code: () -> ::String
48
49
  def quota_code: () -> ::String
49
50
  def retry_after_seconds: () -> ::String
50
- def service_code: () -> ::String
51
51
  end
52
52
  class ValidationException < ::Aws::Errors::ServiceError
53
53
  def message: () -> ::String
data/sig/types.rbs CHANGED
@@ -14,54 +14,56 @@ module Aws::CloudWatchRUM
14
14
  end
15
15
 
16
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 deobfuscation_configuration: Types::DeobfuscationConfiguration
17
+ attr_accessor name: ::String
22
18
  attr_accessor domain: ::String
23
19
  attr_accessor domain_list: ::Array[::String]
24
20
  attr_accessor id: ::String
21
+ attr_accessor created: ::String
25
22
  attr_accessor last_modified: ::String
26
- attr_accessor name: ::String
27
- attr_accessor state: ("CREATED" | "DELETING" | "ACTIVE")
28
23
  attr_accessor tags: ::Hash[::String, ::String]
24
+ attr_accessor state: ("CREATED" | "DELETING" | "ACTIVE")
25
+ attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
26
+ attr_accessor data_storage: Types::DataStorage
27
+ attr_accessor custom_events: Types::CustomEvents
28
+ attr_accessor deobfuscation_configuration: Types::DeobfuscationConfiguration
29
+ attr_accessor platform: ("Web" | "Android" | "iOS")
29
30
  SENSITIVE: []
30
31
  end
31
32
 
32
33
  class AppMonitorConfiguration
33
- attr_accessor allow_cookies: bool
34
- attr_accessor enable_x_ray: bool
35
- attr_accessor excluded_pages: ::Array[::String]
36
- attr_accessor favorite_pages: ::Array[::String]
37
- attr_accessor guest_role_arn: ::String
38
34
  attr_accessor identity_pool_id: ::String
35
+ attr_accessor excluded_pages: ::Array[::String]
39
36
  attr_accessor included_pages: ::Array[::String]
37
+ attr_accessor favorite_pages: ::Array[::String]
40
38
  attr_accessor session_sample_rate: ::Float
39
+ attr_accessor guest_role_arn: ::String
40
+ attr_accessor allow_cookies: bool
41
41
  attr_accessor telemetries: ::Array[("errors" | "performance" | "http")]
42
+ attr_accessor enable_x_ray: bool
42
43
  SENSITIVE: []
43
44
  end
44
45
 
45
46
  class AppMonitorDetails
46
- attr_accessor id: ::String
47
47
  attr_accessor name: ::String
48
+ attr_accessor id: ::String
48
49
  attr_accessor version: ::String
49
50
  SENSITIVE: []
50
51
  end
51
52
 
52
53
  class AppMonitorSummary
53
- attr_accessor created: ::String
54
+ attr_accessor name: ::String
54
55
  attr_accessor id: ::String
56
+ attr_accessor created: ::String
55
57
  attr_accessor last_modified: ::String
56
- attr_accessor name: ::String
57
58
  attr_accessor state: ("CREATED" | "DELETING" | "ACTIVE")
59
+ attr_accessor platform: ("Web" | "Android" | "iOS")
58
60
  SENSITIVE: []
59
61
  end
60
62
 
61
63
  class BatchCreateRumMetricDefinitionsError
64
+ attr_accessor metric_definition: Types::MetricDefinitionRequest
62
65
  attr_accessor error_code: ::String
63
66
  attr_accessor error_message: ::String
64
- attr_accessor metric_definition: Types::MetricDefinitionRequest
65
67
  SENSITIVE: []
66
68
  end
67
69
 
@@ -80,9 +82,9 @@ module Aws::CloudWatchRUM
80
82
  end
81
83
 
82
84
  class BatchDeleteRumMetricDefinitionsError
85
+ attr_accessor metric_definition_id: ::String
83
86
  attr_accessor error_code: ::String
84
87
  attr_accessor error_message: ::String
85
- attr_accessor metric_definition_id: ::String
86
88
  SENSITIVE: []
87
89
  end
88
90
 
@@ -123,14 +125,15 @@ module Aws::CloudWatchRUM
123
125
  end
124
126
 
125
127
  class CreateAppMonitorRequest
126
- attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
127
- attr_accessor custom_events: Types::CustomEvents
128
- attr_accessor cw_log_enabled: bool
129
- attr_accessor deobfuscation_configuration: Types::DeobfuscationConfiguration
128
+ attr_accessor name: ::String
130
129
  attr_accessor domain: ::String
131
130
  attr_accessor domain_list: ::Array[::String]
132
- attr_accessor name: ::String
133
131
  attr_accessor tags: ::Hash[::String, ::String]
132
+ attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
133
+ attr_accessor cw_log_enabled: bool
134
+ attr_accessor custom_events: Types::CustomEvents
135
+ attr_accessor deobfuscation_configuration: Types::DeobfuscationConfiguration
136
+ attr_accessor platform: ("Web" | "Android" | "iOS")
134
137
  SENSITIVE: []
135
138
  end
136
139
 
@@ -190,11 +193,11 @@ module Aws::CloudWatchRUM
190
193
  end
191
194
 
192
195
  class GetAppMonitorDataRequest
196
+ attr_accessor name: ::String
197
+ attr_accessor time_range: Types::TimeRange
193
198
  attr_accessor filters: ::Array[Types::QueryFilter]
194
199
  attr_accessor max_results: ::Integer
195
- attr_accessor name: ::String
196
200
  attr_accessor next_token: ::String
197
- attr_accessor time_range: Types::TimeRange
198
201
  SENSITIVE: []
199
202
  end
200
203
 
@@ -237,8 +240,8 @@ module Aws::CloudWatchRUM
237
240
  end
238
241
 
239
242
  class JavaScriptSourceMaps
240
- attr_accessor s3_uri: ::String
241
243
  attr_accessor status: ("ENABLED" | "DISABLED")
244
+ attr_accessor s3_uri: ::String
242
245
  SENSITIVE: []
243
246
  end
244
247
 
@@ -249,8 +252,8 @@ module Aws::CloudWatchRUM
249
252
  end
250
253
 
251
254
  class ListAppMonitorsResponse
252
- attr_accessor app_monitor_summaries: ::Array[Types::AppMonitorSummary]
253
255
  attr_accessor next_token: ::String
256
+ attr_accessor app_monitor_summaries: ::Array[Types::AppMonitorSummary]
254
257
  SENSITIVE: []
255
258
  end
256
259
 
@@ -284,23 +287,23 @@ module Aws::CloudWatchRUM
284
287
  end
285
288
 
286
289
  class MetricDefinition
287
- attr_accessor dimension_keys: ::Hash[::String, ::String]
288
- attr_accessor event_pattern: ::String
289
290
  attr_accessor metric_definition_id: ::String
290
291
  attr_accessor name: ::String
291
- attr_accessor namespace: ::String
292
- attr_accessor unit_label: ::String
293
292
  attr_accessor value_key: ::String
293
+ attr_accessor unit_label: ::String
294
+ attr_accessor dimension_keys: ::Hash[::String, ::String]
295
+ attr_accessor event_pattern: ::String
296
+ attr_accessor namespace: ::String
294
297
  SENSITIVE: []
295
298
  end
296
299
 
297
300
  class MetricDefinitionRequest
301
+ attr_accessor name: ::String
302
+ attr_accessor value_key: ::String
303
+ attr_accessor unit_label: ::String
298
304
  attr_accessor dimension_keys: ::Hash[::String, ::String]
299
305
  attr_accessor event_pattern: ::String
300
- attr_accessor name: ::String
301
306
  attr_accessor namespace: ::String
302
- attr_accessor unit_label: ::String
303
- attr_accessor value_key: ::String
304
307
  SENSITIVE: []
305
308
  end
306
309
 
@@ -335,12 +338,12 @@ module Aws::CloudWatchRUM
335
338
  end
336
339
 
337
340
  class PutRumEventsRequest
338
- attr_accessor alias: ::String
339
- attr_accessor app_monitor_details: Types::AppMonitorDetails
340
- attr_accessor batch_id: ::String
341
341
  attr_accessor id: ::String
342
- attr_accessor rum_events: ::Array[Types::RumEvent]
342
+ attr_accessor batch_id: ::String
343
+ attr_accessor app_monitor_details: Types::AppMonitorDetails
343
344
  attr_accessor user_details: Types::UserDetails
345
+ attr_accessor rum_events: ::Array[Types::RumEvent]
346
+ attr_accessor alias: ::String
344
347
  SENSITIVE: []
345
348
  end
346
349
 
@@ -372,11 +375,11 @@ module Aws::CloudWatchRUM
372
375
  end
373
376
 
374
377
  class RumEvent
375
- attr_accessor details: ::String
376
378
  attr_accessor id: ::String
377
- attr_accessor metadata: ::String
378
379
  attr_accessor timestamp: ::Time
379
380
  attr_accessor type: ::String
381
+ attr_accessor metadata: ::String
382
+ attr_accessor details: ::String
380
383
  SENSITIVE: []
381
384
  end
382
385
 
@@ -396,9 +399,9 @@ module Aws::CloudWatchRUM
396
399
 
397
400
  class ThrottlingException
398
401
  attr_accessor message: ::String
402
+ attr_accessor service_code: ::String
399
403
  attr_accessor quota_code: ::String
400
404
  attr_accessor retry_after_seconds: ::Integer
401
- attr_accessor service_code: ::String
402
405
  SENSITIVE: []
403
406
  end
404
407
 
@@ -418,13 +421,13 @@ module Aws::CloudWatchRUM
418
421
  end
419
422
 
420
423
  class UpdateAppMonitorRequest
424
+ attr_accessor name: ::String
425
+ attr_accessor domain: ::String
426
+ attr_accessor domain_list: ::Array[::String]
421
427
  attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
422
- attr_accessor custom_events: Types::CustomEvents
423
428
  attr_accessor cw_log_enabled: bool
429
+ attr_accessor custom_events: Types::CustomEvents
424
430
  attr_accessor deobfuscation_configuration: Types::DeobfuscationConfiguration
425
- attr_accessor domain: ::String
426
- attr_accessor domain_list: ::Array[::String]
427
- attr_accessor name: ::String
428
431
  SENSITIVE: []
429
432
  end
430
433
 
@@ -444,8 +447,8 @@ module Aws::CloudWatchRUM
444
447
  end
445
448
 
446
449
  class UserDetails
447
- attr_accessor session_id: ::String
448
450
  attr_accessor user_id: ::String
451
+ attr_accessor session_id: ::String
449
452
  SENSITIVE: []
450
453
  end
451
454
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchrum
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.49.0
4
+ version: 1.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -65,6 +65,7 @@ files:
65
65
  - lib/aws-sdk-cloudwatchrum/plugins/endpoints.rb
66
66
  - lib/aws-sdk-cloudwatchrum/resource.rb
67
67
  - lib/aws-sdk-cloudwatchrum/types.rb
68
+ - lib/aws-sdk-cloudwatchrum/waiters.rb
68
69
  - sig/client.rbs
69
70
  - sig/errors.rbs
70
71
  - sig/resource.rbs