aws-sdk-cloudwatchrum 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c4ffa715c6ef074119e4f51f2289ad49a93231de51a2359e0ea1ed13f338de7
4
- data.tar.gz: bc1c8f95291a15fc19905917cba8cd8bb81c37d3d94d45fa2bceac3c467f254e
3
+ metadata.gz: 20bb52ab04849ccff2aa8e3b4693d60fe788a58e95d6fdcb3f5189049692ac54
4
+ data.tar.gz: 503e19e7f22fa108214cae2aaa9a5ae4afb8a508c8a3e9daa03633bd04ae3f02
5
5
  SHA512:
6
- metadata.gz: 63cf009014891534d489afd7196187759d92f1bf08bf7c47bb5edf110f0b749527f219725263fc84409a348c25d1d9cebe379553b5a9215d730cca1b1d57bf4c
7
- data.tar.gz: 2ed9bfe8e31b06f402416befa77988a07e50a3f6c8972f5a28d8d975870683faccaa8b5c7d777a20a2bb2946545347955450c5b6045805880619a07cca038795
6
+ metadata.gz: 255be46858c8501eec0d0a4e5a120a45601fcf487b36366fce45a251138e4a75950aa9ce368455408e83f3115dbd673897a26d907edf795823c43429b1680562
7
+ data.tar.gz: 5c6923940bbd6d077a80316e8fb3eb8061b4d8f6890ef5913edcc570b5d175dd20e3dea2af0a0f270f4330a751eb47b50dbfae49123a23f9ea0f90b21854c875
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.7.0 (2022-11-17)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.8.0
@@ -1412,7 +1412,7 @@ module Aws::CloudWatchRUM
1412
1412
  params: params,
1413
1413
  config: config)
1414
1414
  context[:gem_name] = 'aws-sdk-cloudwatchrum'
1415
- context[:gem_version] = '1.7.0'
1415
+ context[:gem_version] = '1.8.0'
1416
1416
  Seahorse::Client::Request.new(handlers, context)
1417
1417
  end
1418
1418
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::CloudWatchRUM
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://rum-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://rum-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://rum.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://rum.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- Z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XSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
103
- dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
104
- LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
105
- Ijp7InVybCI6Imh0dHBzOi8vcnVtLntSZWdpb259LntQYXJ0aXRpb25SZXN1
106
- bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
107
- InR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -101,21 +101,6 @@ module Aws::CloudWatchRUM
101
101
  # This structure contains much of the configuration data for the app
102
102
  # monitor.
103
103
  #
104
- # @note When making an API call, you may pass AppMonitorConfiguration
105
- # data as a hash:
106
- #
107
- # {
108
- # allow_cookies: false,
109
- # enable_x_ray: false,
110
- # excluded_pages: ["Url"],
111
- # favorite_pages: ["String"],
112
- # guest_role_arn: "Arn",
113
- # identity_pool_id: "IdentityPoolId",
114
- # included_pages: ["Url"],
115
- # session_sample_rate: 1.0,
116
- # telemetries: ["errors"], # accepts errors, performance, http
117
- # }
118
- #
119
104
  # @!attribute [rw] allow_cookies
120
105
  # If you set this to `true`, the RUM web client sets two cookies, a
121
106
  # session cookie and a user cookie. The cookies allow the RUM web
@@ -215,15 +200,6 @@ module Aws::CloudWatchRUM
215
200
 
216
201
  # A structure that contains information about the RUM app monitor.
217
202
  #
218
- # @note When making an API call, you may pass AppMonitorDetails
219
- # data as a hash:
220
- #
221
- # {
222
- # id: "String",
223
- # name: "String",
224
- # version: "String",
225
- # }
226
- #
227
203
  # @!attribute [rw] id
228
204
  # The unique ID of the app monitor.
229
205
  # @return [String]
@@ -311,26 +287,6 @@ module Aws::CloudWatchRUM
311
287
  include Aws::Structure
312
288
  end
313
289
 
314
- # @note When making an API call, you may pass BatchCreateRumMetricDefinitionsRequest
315
- # data as a hash:
316
- #
317
- # {
318
- # app_monitor_name: "AppMonitorName", # required
319
- # destination: "CloudWatch", # required, accepts CloudWatch, Evidently
320
- # destination_arn: "DestinationArn",
321
- # metric_definitions: [ # required
322
- # {
323
- # dimension_keys: {
324
- # "DimensionKey" => "DimensionName",
325
- # },
326
- # event_pattern: "EventPattern",
327
- # name: "MetricName", # required
328
- # unit_label: "UnitLabel",
329
- # value_key: "ValueKey",
330
- # },
331
- # ],
332
- # }
333
- #
334
290
  # @!attribute [rw] app_monitor_name
335
291
  # The name of the CloudWatch RUM app monitor that is to send the
336
292
  # metrics.
@@ -420,16 +376,6 @@ module Aws::CloudWatchRUM
420
376
  include Aws::Structure
421
377
  end
422
378
 
423
- # @note When making an API call, you may pass BatchDeleteRumMetricDefinitionsRequest
424
- # data as a hash:
425
- #
426
- # {
427
- # app_monitor_name: "AppMonitorName", # required
428
- # destination: "CloudWatch", # required, accepts CloudWatch, Evidently
429
- # destination_arn: "DestinationArn",
430
- # metric_definition_ids: ["MetricDefinitionId"], # required
431
- # }
432
- #
433
379
  # @!attribute [rw] app_monitor_name
434
380
  # The name of the CloudWatch RUM app monitor that is sending these
435
381
  # metrics.
@@ -484,17 +430,6 @@ module Aws::CloudWatchRUM
484
430
  include Aws::Structure
485
431
  end
486
432
 
487
- # @note When making an API call, you may pass BatchGetRumMetricDefinitionsRequest
488
- # data as a hash:
489
- #
490
- # {
491
- # app_monitor_name: "AppMonitorName", # required
492
- # destination: "CloudWatch", # required, accepts CloudWatch, Evidently
493
- # destination_arn: "DestinationArn",
494
- # max_results: 1,
495
- # next_token: "String",
496
- # }
497
- #
498
433
  # @!attribute [rw] app_monitor_name
499
434
  # The name of the CloudWatch RUM app monitor that is sending the
500
435
  # metrics.
@@ -581,32 +516,6 @@ module Aws::CloudWatchRUM
581
516
  include Aws::Structure
582
517
  end
583
518
 
584
- # @note When making an API call, you may pass CreateAppMonitorRequest
585
- # data as a hash:
586
- #
587
- # {
588
- # app_monitor_configuration: {
589
- # allow_cookies: false,
590
- # enable_x_ray: false,
591
- # excluded_pages: ["Url"],
592
- # favorite_pages: ["String"],
593
- # guest_role_arn: "Arn",
594
- # identity_pool_id: "IdentityPoolId",
595
- # included_pages: ["Url"],
596
- # session_sample_rate: 1.0,
597
- # telemetries: ["errors"], # accepts errors, performance, http
598
- # },
599
- # custom_events: {
600
- # status: "ENABLED", # accepts ENABLED, DISABLED
601
- # },
602
- # cw_log_enabled: false,
603
- # domain: "AppMonitorDomain", # required
604
- # name: "AppMonitorName", # required
605
- # tags: {
606
- # "TagKey" => "TagValue",
607
- # },
608
- # }
609
- #
610
519
  # @!attribute [rw] app_monitor_configuration
611
520
  # A structure that contains much of the configuration data for the app
612
521
  # monitor. If you are using Amazon Cognito for authorization, you must
@@ -705,13 +614,6 @@ module Aws::CloudWatchRUM
705
614
  # A structure that contains information about custom events for this app
706
615
  # monitor.
707
616
  #
708
- # @note When making an API call, you may pass CustomEvents
709
- # data as a hash:
710
- #
711
- # {
712
- # status: "ENABLED", # accepts ENABLED, DISABLED
713
- # }
714
- #
715
617
  # @!attribute [rw] status
716
618
  # Specifies whether this app monitor allows the web client to define
717
619
  # and send custom events. The default is for custom events to be
@@ -768,13 +670,6 @@ module Aws::CloudWatchRUM
768
670
  include Aws::Structure
769
671
  end
770
672
 
771
- # @note When making an API call, you may pass DeleteAppMonitorRequest
772
- # data as a hash:
773
- #
774
- # {
775
- # name: "AppMonitorName", # required
776
- # }
777
- #
778
673
  # @!attribute [rw] name
779
674
  # The name of the app monitor to delete.
780
675
  # @return [String]
@@ -791,15 +686,6 @@ module Aws::CloudWatchRUM
791
686
  #
792
687
  class DeleteAppMonitorResponse < Aws::EmptyStructure; end
793
688
 
794
- # @note When making an API call, you may pass DeleteRumMetricsDestinationRequest
795
- # data as a hash:
796
- #
797
- # {
798
- # app_monitor_name: "AppMonitorName", # required
799
- # destination: "CloudWatch", # required, accepts CloudWatch, Evidently
800
- # destination_arn: "DestinationArn",
801
- # }
802
- #
803
689
  # @!attribute [rw] app_monitor_name
804
690
  # The name of the app monitor that is sending metrics to the
805
691
  # destination that you want to delete.
@@ -831,25 +717,6 @@ module Aws::CloudWatchRUM
831
717
  #
832
718
  class DeleteRumMetricsDestinationResponse < Aws::EmptyStructure; end
833
719
 
834
- # @note When making an API call, you may pass GetAppMonitorDataRequest
835
- # data as a hash:
836
- #
837
- # {
838
- # filters: [
839
- # {
840
- # name: "QueryFilterKey",
841
- # values: ["QueryFilterValue"],
842
- # },
843
- # ],
844
- # max_results: 1,
845
- # name: "AppMonitorName", # required
846
- # next_token: "Token",
847
- # time_range: { # required
848
- # after: 1, # required
849
- # before: 1,
850
- # },
851
- # }
852
- #
853
720
  # @!attribute [rw] filters
854
721
  # An array of structures that you can use to filter the results to
855
722
  # those that match one or more sets of key-value pairs that you
@@ -905,13 +772,6 @@ module Aws::CloudWatchRUM
905
772
  include Aws::Structure
906
773
  end
907
774
 
908
- # @note When making an API call, you may pass GetAppMonitorRequest
909
- # data as a hash:
910
- #
911
- # {
912
- # name: "AppMonitorName", # required
913
- # }
914
- #
915
775
  # @!attribute [rw] name
916
776
  # The app monitor to retrieve information for.
917
777
  # @return [String]
@@ -955,14 +815,6 @@ module Aws::CloudWatchRUM
955
815
  include Aws::Structure
956
816
  end
957
817
 
958
- # @note When making an API call, you may pass ListAppMonitorsRequest
959
- # data as a hash:
960
- #
961
- # {
962
- # max_results: 1,
963
- # next_token: "String",
964
- # }
965
- #
966
818
  # @!attribute [rw] max_results
967
819
  # The maximum number of results to return in one operation. The
968
820
  # default is 50. The maximum that you can specify is 100.
@@ -1001,15 +853,6 @@ module Aws::CloudWatchRUM
1001
853
  include Aws::Structure
1002
854
  end
1003
855
 
1004
- # @note When making an API call, you may pass ListRumMetricsDestinationsRequest
1005
- # data as a hash:
1006
- #
1007
- # {
1008
- # app_monitor_name: "AppMonitorName", # required
1009
- # max_results: 1,
1010
- # next_token: "String",
1011
- # }
1012
- #
1013
856
  # @!attribute [rw] app_monitor_name
1014
857
  # The name of the app monitor associated with the destinations that
1015
858
  # you want to retrieve.
@@ -1057,13 +900,6 @@ module Aws::CloudWatchRUM
1057
900
  include Aws::Structure
1058
901
  end
1059
902
 
1060
- # @note When making an API call, you may pass ListTagsForResourceRequest
1061
- # data as a hash:
1062
- #
1063
- # {
1064
- # resource_arn: "Arn", # required
1065
- # }
1066
- #
1067
903
  # @!attribute [rw] resource_arn
1068
904
  # The ARN of the resource that you want to see the tags of.
1069
905
  # @return [String]
@@ -1213,19 +1049,6 @@ module Aws::CloudWatchRUM
1213
1049
  #
1214
1050
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html
1215
1051
  #
1216
- # @note When making an API call, you may pass MetricDefinitionRequest
1217
- # data as a hash:
1218
- #
1219
- # {
1220
- # dimension_keys: {
1221
- # "DimensionKey" => "DimensionName",
1222
- # },
1223
- # event_pattern: "EventPattern",
1224
- # name: "MetricName", # required
1225
- # unit_label: "UnitLabel",
1226
- # value_key: "ValueKey",
1227
- # }
1228
- #
1229
1052
  # @!attribute [rw] dimension_keys
1230
1053
  # Use this field only if you are sending the metric to CloudWatch.
1231
1054
  #
@@ -1364,32 +1187,6 @@ module Aws::CloudWatchRUM
1364
1187
  include Aws::Structure
1365
1188
  end
1366
1189
 
1367
- # @note When making an API call, you may pass PutRumEventsRequest
1368
- # data as a hash:
1369
- #
1370
- # {
1371
- # app_monitor_details: { # required
1372
- # id: "String",
1373
- # name: "String",
1374
- # version: "String",
1375
- # },
1376
- # batch_id: "String", # required
1377
- # id: "AppMonitorId", # required
1378
- # rum_events: [ # required
1379
- # {
1380
- # details: "JsonValue", # required
1381
- # id: "String", # required
1382
- # metadata: "JsonValue",
1383
- # timestamp: Time.now, # required
1384
- # type: "String", # required
1385
- # },
1386
- # ],
1387
- # user_details: { # required
1388
- # session_id: "String",
1389
- # user_id: "String",
1390
- # },
1391
- # }
1392
- #
1393
1190
  # @!attribute [rw] app_monitor_details
1394
1191
  # A structure that contains information about the app monitor that
1395
1192
  # collected this telemetry information.
@@ -1428,16 +1225,6 @@ module Aws::CloudWatchRUM
1428
1225
  #
1429
1226
  class PutRumEventsResponse < Aws::EmptyStructure; end
1430
1227
 
1431
- # @note When making an API call, you may pass PutRumMetricsDestinationRequest
1432
- # data as a hash:
1433
- #
1434
- # {
1435
- # app_monitor_name: "AppMonitorName", # required
1436
- # destination: "CloudWatch", # required, accepts CloudWatch, Evidently
1437
- # destination_arn: "DestinationArn",
1438
- # iam_role_arn: "IamRoleArn",
1439
- # }
1440
- #
1441
1228
  # @!attribute [rw] app_monitor_name
1442
1229
  # The name of the CloudWatch RUM app monitor that will send the
1443
1230
  # metrics.
@@ -1495,14 +1282,6 @@ module Aws::CloudWatchRUM
1495
1282
  # the value to return all events except events from user sessions with
1496
1283
  # the Chrome browser.
1497
1284
  #
1498
- # @note When making an API call, you may pass QueryFilter
1499
- # data as a hash:
1500
- #
1501
- # {
1502
- # name: "QueryFilterKey",
1503
- # values: ["QueryFilterValue"],
1504
- # }
1505
- #
1506
1285
  # @!attribute [rw] name
1507
1286
  # The name of a key to search for. The filter returns only the events
1508
1287
  # that match the `Name` and `Values` that you specify.
@@ -1551,17 +1330,6 @@ module Aws::CloudWatchRUM
1551
1330
  # A structure that contains the information for one performance event
1552
1331
  # that RUM collects from a user session with your application.
1553
1332
  #
1554
- # @note When making an API call, you may pass RumEvent
1555
- # data as a hash:
1556
- #
1557
- # {
1558
- # details: "JsonValue", # required
1559
- # id: "String", # required
1560
- # metadata: "JsonValue",
1561
- # timestamp: Time.now, # required
1562
- # type: "String", # required
1563
- # }
1564
- #
1565
1333
  # @!attribute [rw] details
1566
1334
  # A string containing details about the event.
1567
1335
  # @return [String]
@@ -1611,16 +1379,6 @@ module Aws::CloudWatchRUM
1611
1379
  include Aws::Structure
1612
1380
  end
1613
1381
 
1614
- # @note When making an API call, you may pass TagResourceRequest
1615
- # data as a hash:
1616
- #
1617
- # {
1618
- # resource_arn: "Arn", # required
1619
- # tags: { # required
1620
- # "TagKey" => "TagValue",
1621
- # },
1622
- # }
1623
- #
1624
1382
  # @!attribute [rw] resource_arn
1625
1383
  # The ARN of the CloudWatch RUM resource that you're adding tags to.
1626
1384
  # @return [String]
@@ -1673,14 +1431,6 @@ module Aws::CloudWatchRUM
1673
1431
  # A structure that defines the time range that you want to retrieve
1674
1432
  # results from.
1675
1433
  #
1676
- # @note When making an API call, you may pass TimeRange
1677
- # data as a hash:
1678
- #
1679
- # {
1680
- # after: 1, # required
1681
- # before: 1,
1682
- # }
1683
- #
1684
1434
  # @!attribute [rw] after
1685
1435
  # The beginning of the time range to retrieve performance events from.
1686
1436
  # @return [Integer]
@@ -1700,14 +1450,6 @@ module Aws::CloudWatchRUM
1700
1450
  include Aws::Structure
1701
1451
  end
1702
1452
 
1703
- # @note When making an API call, you may pass UntagResourceRequest
1704
- # data as a hash:
1705
- #
1706
- # {
1707
- # resource_arn: "Arn", # required
1708
- # tag_keys: ["TagKey"], # required
1709
- # }
1710
- #
1711
1453
  # @!attribute [rw] resource_arn
1712
1454
  # The ARN of the CloudWatch RUM resource that you're removing tags
1713
1455
  # from.
@@ -1730,29 +1472,6 @@ module Aws::CloudWatchRUM
1730
1472
  #
1731
1473
  class UntagResourceResponse < Aws::EmptyStructure; end
1732
1474
 
1733
- # @note When making an API call, you may pass UpdateAppMonitorRequest
1734
- # data as a hash:
1735
- #
1736
- # {
1737
- # app_monitor_configuration: {
1738
- # allow_cookies: false,
1739
- # enable_x_ray: false,
1740
- # excluded_pages: ["Url"],
1741
- # favorite_pages: ["String"],
1742
- # guest_role_arn: "Arn",
1743
- # identity_pool_id: "IdentityPoolId",
1744
- # included_pages: ["Url"],
1745
- # session_sample_rate: 1.0,
1746
- # telemetries: ["errors"], # accepts errors, performance, http
1747
- # },
1748
- # custom_events: {
1749
- # status: "ENABLED", # accepts ENABLED, DISABLED
1750
- # },
1751
- # cw_log_enabled: false,
1752
- # domain: "AppMonitorDomain",
1753
- # name: "AppMonitorName", # required
1754
- # }
1755
- #
1756
1475
  # @!attribute [rw] app_monitor_configuration
1757
1476
  # A structure that contains much of the configuration data for the app
1758
1477
  # monitor. If you are using Amazon Cognito for authorization, you must
@@ -1813,25 +1532,6 @@ module Aws::CloudWatchRUM
1813
1532
  #
1814
1533
  class UpdateAppMonitorResponse < Aws::EmptyStructure; end
1815
1534
 
1816
- # @note When making an API call, you may pass UpdateRumMetricDefinitionRequest
1817
- # data as a hash:
1818
- #
1819
- # {
1820
- # app_monitor_name: "AppMonitorName", # required
1821
- # destination: "CloudWatch", # required, accepts CloudWatch, Evidently
1822
- # destination_arn: "DestinationArn",
1823
- # metric_definition: { # required
1824
- # dimension_keys: {
1825
- # "DimensionKey" => "DimensionName",
1826
- # },
1827
- # event_pattern: "EventPattern",
1828
- # name: "MetricName", # required
1829
- # unit_label: "UnitLabel",
1830
- # value_key: "ValueKey",
1831
- # },
1832
- # metric_definition_id: "MetricDefinitionId", # required
1833
- # }
1834
- #
1835
1535
  # @!attribute [rw] app_monitor_name
1836
1536
  # The name of the CloudWatch RUM app monitor that sends these metrics.
1837
1537
  # @return [String]
@@ -1886,14 +1586,6 @@ module Aws::CloudWatchRUM
1886
1586
  # A structure that contains information about the user session that this
1887
1587
  # batch of events was collected from.
1888
1588
  #
1889
- # @note When making an API call, you may pass UserDetails
1890
- # data as a hash:
1891
- #
1892
- # {
1893
- # session_id: "String",
1894
- # user_id: "String",
1895
- # }
1896
- #
1897
1589
  # @!attribute [rw] session_id
1898
1590
  # The session ID that the performance events are from.
1899
1591
  # @return [String]
@@ -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.7.0'
55
+ GEM_VERSION = '1.8.0'
56
56
 
57
57
  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.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-17 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core