aws-sdk-cloudwatchrum 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchrum/client.rb +53 -3
- data/lib/aws-sdk-cloudwatchrum/client_api.rb +8 -0
- data/lib/aws-sdk-cloudwatchrum/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-cloudwatchrum/types.rb +70 -299
- data/lib/aws-sdk-cloudwatchrum.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 20bb52ab04849ccff2aa8e3b4693d60fe788a58e95d6fdcb3f5189049692ac54
         | 
| 4 | 
            +
              data.tar.gz: 503e19e7f22fa108214cae2aaa9a5ae4afb8a508c8a3e9daa03633bd04ae3f02
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 255be46858c8501eec0d0a4e5a120a45601fcf487b36366fce45a251138e4a75950aa9ce368455408e83f3115dbd673897a26d907edf795823c43429b1680562
         | 
| 7 | 
            +
              data.tar.gz: 5c6923940bbd6d077a80316e8fb3eb8061b4d8f6890ef5913edcc570b5d175dd20e3dea2af0a0f270f4330a751eb47b50dbfae49123a23f9ea0f90b21854c875
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,18 @@ | |
| 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 | 
            +
             | 
| 11 | 
            +
            1.7.0 (2022-11-17)
         | 
| 12 | 
            +
            ------------------
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            * Feature - CloudWatch RUM now supports custom events. To use custom events, create an app monitor or update an app monitor with CustomEvent Status as ENABLED.
         | 
| 15 | 
            +
             | 
| 4 16 | 
             
            1.6.0 (2022-10-25)
         | 
| 5 17 | 
             
            ------------------
         | 
| 6 18 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.8.0
         | 
| @@ -387,12 +387,28 @@ module Aws::CloudWatchRUM | |
| 387 387 | 
             
                # The maximum number of metric definitions that you can specify in one
         | 
| 388 388 | 
             
                # `BatchCreateRumMetricDefinitions` operation is 200.
         | 
| 389 389 | 
             
                #
         | 
| 390 | 
            -
                # | 
| 390 | 
            +
                # The maximum number of metric definitions that one destination can
         | 
| 391 | 
            +
                # contain is 2000.
         | 
| 392 | 
            +
                #
         | 
| 393 | 
            +
                # Extended metrics sent are charged as CloudWatch custom metrics. Each
         | 
| 394 | 
            +
                # combination of additional dimension name and dimension value counts as
         | 
| 395 | 
            +
                # a custom metric. For more information, see [Amazon CloudWatch
         | 
| 396 | 
            +
                # Pricing][3].
         | 
| 397 | 
            +
                #
         | 
| 398 | 
            +
                # You must have already created a destination for the metrics before you
         | 
| 399 | 
            +
                # send them. For more information, see [PutRumMetricsDestination][4].
         | 
| 400 | 
            +
                #
         | 
| 401 | 
            +
                # If some metric definitions specified in a
         | 
| 402 | 
            +
                # `BatchCreateRumMetricDefinitions` operations are not valid, those
         | 
| 403 | 
            +
                # metric definitions fail and return errors, but all valid metric
         | 
| 404 | 
            +
                # definitions in the same operation still succeed.
         | 
| 391 405 | 
             
                #
         | 
| 392 406 | 
             
                #
         | 
| 393 407 | 
             
                #
         | 
| 394 408 | 
             
                # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.html
         | 
| 395 409 | 
             
                # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html
         | 
| 410 | 
            +
                # [3]: https://aws.amazon.com/cloudwatch/pricing/
         | 
| 411 | 
            +
                # [4]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html
         | 
| 396 412 | 
             
                #
         | 
| 397 413 | 
             
                # @option params [required, String] :app_monitor_name
         | 
| 398 414 | 
             
                #   The name of the CloudWatch RUM app monitor that is to send the
         | 
| @@ -640,6 +656,17 @@ module Aws::CloudWatchRUM | |
| 640 656 | 
             
                #
         | 
| 641 657 | 
             
                #   [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
         | 
| 642 658 | 
             
                #
         | 
| 659 | 
            +
                # @option params [Types::CustomEvents] :custom_events
         | 
| 660 | 
            +
                #   Specifies whether this app monitor allows the web client to define and
         | 
| 661 | 
            +
                #   send custom events. If you omit this parameter, custom events are
         | 
| 662 | 
            +
                #   `DISABLED`.
         | 
| 663 | 
            +
                #
         | 
| 664 | 
            +
                #   For more information about custom events, see [Send custom events][1].
         | 
| 665 | 
            +
                #
         | 
| 666 | 
            +
                #
         | 
| 667 | 
            +
                #
         | 
| 668 | 
            +
                #   [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
         | 
| 669 | 
            +
                #
         | 
| 643 670 | 
             
                # @option params [Boolean] :cw_log_enabled
         | 
| 644 671 | 
             
                #   Data collected by RUM is kept by RUM for 30 days and then deleted.
         | 
| 645 672 | 
             
                #   This parameter specifies whether RUM sends a copy of this telemetry
         | 
| @@ -666,7 +693,13 @@ module Aws::CloudWatchRUM | |
| 666 693 | 
             
                #   Tags don't have any semantic meaning to Amazon Web Services and are
         | 
| 667 694 | 
             
                #   interpreted strictly as strings of characters.
         | 
| 668 695 | 
             
                #
         | 
| 669 | 
            -
                # | 
| 696 | 
            +
                #   You can associate as many as 50 tags with an app monitor.
         | 
| 697 | 
            +
                #
         | 
| 698 | 
            +
                #   For more information, see [Tagging Amazon Web Services resources][1].
         | 
| 699 | 
            +
                #
         | 
| 700 | 
            +
                #
         | 
| 701 | 
            +
                #
         | 
| 702 | 
            +
                #   [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
         | 
| 670 703 | 
             
                #
         | 
| 671 704 | 
             
                # @return [Types::CreateAppMonitorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 672 705 | 
             
                #
         | 
| @@ -686,6 +719,9 @@ module Aws::CloudWatchRUM | |
| 686 719 | 
             
                #       session_sample_rate: 1.0,
         | 
| 687 720 | 
             
                #       telemetries: ["errors"], # accepts errors, performance, http
         | 
| 688 721 | 
             
                #     },
         | 
| 722 | 
            +
                #     custom_events: {
         | 
| 723 | 
            +
                #       status: "ENABLED", # accepts ENABLED, DISABLED
         | 
| 724 | 
            +
                #     },
         | 
| 689 725 | 
             
                #     cw_log_enabled: false,
         | 
| 690 726 | 
             
                #     domain: "AppMonitorDomain", # required
         | 
| 691 727 | 
             
                #     name: "AppMonitorName", # required
         | 
| @@ -798,6 +834,7 @@ module Aws::CloudWatchRUM | |
| 798 834 | 
             
                #   resp.app_monitor.app_monitor_configuration.telemetries #=> Array
         | 
| 799 835 | 
             
                #   resp.app_monitor.app_monitor_configuration.telemetries[0] #=> String, one of "errors", "performance", "http"
         | 
| 800 836 | 
             
                #   resp.app_monitor.created #=> String
         | 
| 837 | 
            +
                #   resp.app_monitor.custom_events.status #=> String, one of "ENABLED", "DISABLED"
         | 
| 801 838 | 
             
                #   resp.app_monitor.data_storage.cw_log.cw_log_enabled #=> Boolean
         | 
| 802 839 | 
             
                #   resp.app_monitor.data_storage.cw_log.cw_log_group #=> String
         | 
| 803 840 | 
             
                #   resp.app_monitor.domain #=> String
         | 
| @@ -1238,6 +1275,16 @@ module Aws::CloudWatchRUM | |
| 1238 1275 | 
             
                #
         | 
| 1239 1276 | 
             
                #   [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
         | 
| 1240 1277 | 
             
                #
         | 
| 1278 | 
            +
                # @option params [Types::CustomEvents] :custom_events
         | 
| 1279 | 
            +
                #   Specifies whether this app monitor allows the web client to define and
         | 
| 1280 | 
            +
                #   send custom events. The default is for custom events to be `DISABLED`.
         | 
| 1281 | 
            +
                #
         | 
| 1282 | 
            +
                #   For more information about custom events, see [Send custom events][1].
         | 
| 1283 | 
            +
                #
         | 
| 1284 | 
            +
                #
         | 
| 1285 | 
            +
                #
         | 
| 1286 | 
            +
                #   [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
         | 
| 1287 | 
            +
                #
         | 
| 1241 1288 | 
             
                # @option params [Boolean] :cw_log_enabled
         | 
| 1242 1289 | 
             
                #   Data collected by RUM is kept by RUM for 30 days and then deleted.
         | 
| 1243 1290 | 
             
                #   This parameter specifies whether RUM sends a copy of this telemetry
         | 
| @@ -1268,6 +1315,9 @@ module Aws::CloudWatchRUM | |
| 1268 1315 | 
             
                #       session_sample_rate: 1.0,
         | 
| 1269 1316 | 
             
                #       telemetries: ["errors"], # accepts errors, performance, http
         | 
| 1270 1317 | 
             
                #     },
         | 
| 1318 | 
            +
                #     custom_events: {
         | 
| 1319 | 
            +
                #       status: "ENABLED", # accepts ENABLED, DISABLED
         | 
| 1320 | 
            +
                #     },
         | 
| 1271 1321 | 
             
                #     cw_log_enabled: false,
         | 
| 1272 1322 | 
             
                #     domain: "AppMonitorDomain",
         | 
| 1273 1323 | 
             
                #     name: "AppMonitorName", # required
         | 
| @@ -1362,7 +1412,7 @@ module Aws::CloudWatchRUM | |
| 1362 1412 | 
             
                    params: params,
         | 
| 1363 1413 | 
             
                    config: config)
         | 
| 1364 1414 | 
             
                  context[:gem_name] = 'aws-sdk-cloudwatchrum'
         | 
| 1365 | 
            -
                  context[:gem_version] = '1. | 
| 1415 | 
            +
                  context[:gem_version] = '1.8.0'
         | 
| 1366 1416 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 1367 1417 | 
             
                end
         | 
| 1368 1418 |  | 
| @@ -37,6 +37,8 @@ module Aws::CloudWatchRUM | |
| 37 37 | 
             
                ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
         | 
| 38 38 | 
             
                CreateAppMonitorRequest = Shapes::StructureShape.new(name: 'CreateAppMonitorRequest')
         | 
| 39 39 | 
             
                CreateAppMonitorResponse = Shapes::StructureShape.new(name: 'CreateAppMonitorResponse')
         | 
| 40 | 
            +
                CustomEvents = Shapes::StructureShape.new(name: 'CustomEvents')
         | 
| 41 | 
            +
                CustomEventsStatus = Shapes::StringShape.new(name: 'CustomEventsStatus')
         | 
| 40 42 | 
             
                CwLog = Shapes::StructureShape.new(name: 'CwLog')
         | 
| 41 43 | 
             
                DataStorage = Shapes::StructureShape.new(name: 'DataStorage')
         | 
| 42 44 | 
             
                DeleteAppMonitorRequest = Shapes::StructureShape.new(name: 'DeleteAppMonitorRequest')
         | 
| @@ -126,6 +128,7 @@ module Aws::CloudWatchRUM | |
| 126 128 |  | 
| 127 129 | 
             
                AppMonitor.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
         | 
| 128 130 | 
             
                AppMonitor.add_member(:created, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "Created"))
         | 
| 131 | 
            +
                AppMonitor.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
         | 
| 129 132 | 
             
                AppMonitor.add_member(:data_storage, Shapes::ShapeRef.new(shape: DataStorage, location_name: "DataStorage"))
         | 
| 130 133 | 
             
                AppMonitor.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
         | 
| 131 134 | 
             
                AppMonitor.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
         | 
| @@ -211,6 +214,7 @@ module Aws::CloudWatchRUM | |
| 211 214 | 
             
                ConflictException.struct_class = Types::ConflictException
         | 
| 212 215 |  | 
| 213 216 | 
             
                CreateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
         | 
| 217 | 
            +
                CreateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
         | 
| 214 218 | 
             
                CreateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
         | 
| 215 219 | 
             
                CreateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, required: true, location_name: "Domain"))
         | 
| 216 220 | 
             
                CreateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location_name: "Name"))
         | 
| @@ -220,6 +224,9 @@ module Aws::CloudWatchRUM | |
| 220 224 | 
             
                CreateAppMonitorResponse.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
         | 
| 221 225 | 
             
                CreateAppMonitorResponse.struct_class = Types::CreateAppMonitorResponse
         | 
| 222 226 |  | 
| 227 | 
            +
                CustomEvents.add_member(:status, Shapes::ShapeRef.new(shape: CustomEventsStatus, location_name: "Status"))
         | 
| 228 | 
            +
                CustomEvents.struct_class = Types::CustomEvents
         | 
| 229 | 
            +
             | 
| 223 230 | 
             
                CwLog.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
         | 
| 224 231 | 
             
                CwLog.add_member(:cw_log_group, Shapes::ShapeRef.new(shape: String, location_name: "CwLogGroup"))
         | 
| 225 232 | 
             
                CwLog.struct_class = Types::CwLog
         | 
| @@ -393,6 +400,7 @@ module Aws::CloudWatchRUM | |
| 393 400 | 
             
                UntagResourceResponse.struct_class = Types::UntagResourceResponse
         | 
| 394 401 |  | 
| 395 402 | 
             
                UpdateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
         | 
| 403 | 
            +
                UpdateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
         | 
| 396 404 | 
             
                UpdateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
         | 
| 397 405 | 
             
                UpdateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
         | 
| 398 406 | 
             
                UpdateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
         | 
| @@ -9,103 +9,43 @@ | |
| 9 9 |  | 
| 10 10 | 
             
            module Aws::CloudWatchRUM
         | 
| 11 11 | 
             
              class EndpointProvider
         | 
| 12 | 
            -
                def  | 
| 13 | 
            -
                   | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
                       | 
| 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 | 
            -
                   | 
| 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 | 
            -
            ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
         | 
| 37 | 
            -
            ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
         | 
| 38 | 
            -
            ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
         | 
| 39 | 
            -
            aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
         | 
| 40 | 
            -
            OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
         | 
| 41 | 
            -
            UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
         | 
| 42 | 
            -
            dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
         | 
| 43 | 
            -
            UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
         | 
| 44 | 
            -
            dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIGEgRklQUyBjb21wbGlhbnQg
         | 
| 45 | 
            -
            ZW5kcG9pbnQsIGRpc3BhdGNoaW5nIHRoZSByZXF1ZXN0IHdpbGwgcmV0dXJu
         | 
| 46 | 
            -
            IGFuIGVycm9yLiIsInR5cGUiOiJCb29sZWFuIn0sIkVuZHBvaW50Ijp7ImJ1
         | 
| 47 | 
            -
            aWx0SW4iOiJTREs6OkVuZHBvaW50IiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1
         | 
| 48 | 
            -
            bWVudGF0aW9uIjoiT3ZlcnJpZGUgdGhlIGVuZHBvaW50IHVzZWQgdG8gc2Vu
         | 
| 49 | 
            -
            ZCB0aGlzIHJlcXVlc3QiLCJ0eXBlIjoiU3RyaW5nIn19LCJydWxlcyI6W3si
         | 
| 50 | 
            -
            Y29uZGl0aW9ucyI6W3siZm4iOiJhd3MucGFydGl0aW9uIiwiYXJndiI6W3si
         | 
| 51 | 
            -
            cmVmIjoiUmVnaW9uIn1dLCJhc3NpZ24iOiJQYXJ0aXRpb25SZXN1bHQifV0s
         | 
| 52 | 
            -
            InR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoi
         | 
| 53 | 
            -
            aXNTZXQiLCJhcmd2IjpbeyJyZWYiOiJFbmRwb2ludCJ9XX0seyJmbiI6InBh
         | 
| 54 | 
            -
            cnNlVVJMIiwiYXJndiI6W3sicmVmIjoiRW5kcG9pbnQifV0sImFzc2lnbiI6
         | 
| 55 | 
            -
            InVybCJ9XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6
         | 
| 56 | 
            -
            W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQ
         | 
| 57 | 
            -
            UyJ9LHRydWVdfV0sImVycm9yIjoiSW52YWxpZCBDb25maWd1cmF0aW9uOiBG
         | 
| 58 | 
            -
            SVBTIGFuZCBjdXN0b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0
         | 
| 59 | 
            -
            eXBlIjoiZXJyb3IifSx7ImNvbmRpdGlvbnMiOltdLCJ0eXBlIjoidHJlZSIs
         | 
| 60 | 
            -
            InJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMi
         | 
| 61 | 
            -
            LCJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJlcnJv
         | 
| 62 | 
            -
            ciI6IkludmFsaWQgQ29uZmlndXJhdGlvbjogRHVhbHN0YWNrIGFuZCBjdXN0
         | 
| 63 | 
            -
            b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0eXBlIjoiZXJyb3Ii
         | 
| 64 | 
            -
            fSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOnsicmVmIjoi
         | 
| 65 | 
            -
            RW5kcG9pbnQifSwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlw
         | 
| 66 | 
            -
            ZSI6ImVuZHBvaW50In1dfV19LHsiY29uZGl0aW9ucyI6W3siZm4iOiJib29s
         | 
| 67 | 
            -
            ZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQUyJ9LHRydWVdfSx7
         | 
| 68 | 
            -
            ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUR1YWxT
         | 
| 69 | 
            -
            dGFjayJ9LHRydWVdfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRp
         | 
| 70 | 
            -
            dGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsi
         | 
| 71 | 
            -
            Zm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0
         | 
| 72 | 
            -
            In0sInN1cHBvcnRzRklQUyJdfV19LHsiZm4iOiJib29sZWFuRXF1YWxzIiwi
         | 
| 73 | 
            -
            YXJndiI6W3RydWUseyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQ
         | 
| 74 | 
            -
            YXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5
         | 
| 75 | 
            -
            cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2lu
         | 
| 76 | 
            -
            dCI6eyJ1cmwiOiJodHRwczovL3J1bS1maXBzLntSZWdpb259LntQYXJ0aXRp
         | 
| 77 | 
            -
            b25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
         | 
| 78 | 
            -
            LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRp
         | 
| 79 | 
            -
            b25zIjpbXSwiZXJyb3IiOiJGSVBTIGFuZCBEdWFsU3RhY2sgYXJlIGVuYWJs
         | 
| 80 | 
            -
            ZWQsIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IG9uZSBv
         | 
| 81 | 
            -
            ciBib3RoIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOlt7ImZu
         | 
| 82 | 
            -
            IjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUZJUFMifSx0
         | 
| 83 | 
            -
            cnVlXX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpb
         | 
| 84 | 
            -
            eyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0
         | 
| 85 | 
            -
            QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBw
         | 
| 86 | 
            -
            b3J0c0ZJUFMiXX1dfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRp
         | 
| 87 | 
            -
            dGlvbnMiOltdLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25z
         | 
| 88 | 
            -
            IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9ydW0tZmlwcy57UmVn
         | 
| 89 | 
            -
            aW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
         | 
| 90 | 
            -
            Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0seyJj
         | 
| 91 | 
            -
            b25kaXRpb25zIjpbXSwiZXJyb3IiOiJGSVBTIGlzIGVuYWJsZWQgYnV0IHRo
         | 
| 92 | 
            -
            aXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRklQUyIsInR5cGUiOiJl
         | 
| 93 | 
            -
            cnJvciJ9XX0seyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMi
         | 
| 94 | 
            -
            LCJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJ0eXBl
         | 
| 95 | 
            -
            IjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xl
         | 
| 96 | 
            -
            YW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3Yi
         | 
| 97 | 
            -
            Olt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFj
         | 
| 98 | 
            -
            ayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6
         | 
| 99 | 
            -
            W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vcnVtLntSZWdpb259LntQ
         | 
| 100 | 
            -
            YXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRp
         | 
| 101 | 
            -
            ZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJj
         | 
| 102 | 
            -
            b25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
         | 
| 103 | 
            -
            dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
         | 
| 104 | 
            -
            LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
         | 
| 105 | 
            -
            Ijp7InVybCI6Imh0dHBzOi8vcnVtLntSZWdpb259LntQYXJ0aXRpb25SZXN1
         | 
| 106 | 
            -
            bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
         | 
| 107 | 
            -
            InR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
         | 
| 108 | 
            -
             | 
| 109 | 
            -
                JSON
         | 
| 110 50 | 
             
              end
         | 
| 111 51 | 
             
            end
         | 
| @@ -37,6 +37,18 @@ module Aws::CloudWatchRUM | |
| 37 37 | 
             
                #   The date and time that this app monitor was created.
         | 
| 38 38 | 
             
                #   @return [String]
         | 
| 39 39 | 
             
                #
         | 
| 40 | 
            +
                # @!attribute [rw] custom_events
         | 
| 41 | 
            +
                #   Specifies whether this app monitor allows the web client to define
         | 
| 42 | 
            +
                #   and send custom events.
         | 
| 43 | 
            +
                #
         | 
| 44 | 
            +
                #   For more information about custom events, see [Send custom
         | 
| 45 | 
            +
                #   events][1].
         | 
| 46 | 
            +
                #
         | 
| 47 | 
            +
                #
         | 
| 48 | 
            +
                #
         | 
| 49 | 
            +
                #   [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
         | 
| 50 | 
            +
                #   @return [Types::CustomEvents]
         | 
| 51 | 
            +
                #
         | 
| 40 52 | 
             
                # @!attribute [rw] data_storage
         | 
| 41 53 | 
             
                #   A structure that contains information about whether this app monitor
         | 
| 42 54 | 
             
                #   stores a copy of the telemetry data that RUM collects using
         | 
| @@ -74,6 +86,7 @@ module Aws::CloudWatchRUM | |
| 74 86 | 
             
                class AppMonitor < Struct.new(
         | 
| 75 87 | 
             
                  :app_monitor_configuration,
         | 
| 76 88 | 
             
                  :created,
         | 
| 89 | 
            +
                  :custom_events,
         | 
| 77 90 | 
             
                  :data_storage,
         | 
| 78 91 | 
             
                  :domain,
         | 
| 79 92 | 
             
                  :id,
         | 
| @@ -88,21 +101,6 @@ module Aws::CloudWatchRUM | |
| 88 101 | 
             
                # This structure contains much of the configuration data for the app
         | 
| 89 102 | 
             
                # monitor.
         | 
| 90 103 | 
             
                #
         | 
| 91 | 
            -
                # @note When making an API call, you may pass AppMonitorConfiguration
         | 
| 92 | 
            -
                #   data as a hash:
         | 
| 93 | 
            -
                #
         | 
| 94 | 
            -
                #       {
         | 
| 95 | 
            -
                #         allow_cookies: false,
         | 
| 96 | 
            -
                #         enable_x_ray: false,
         | 
| 97 | 
            -
                #         excluded_pages: ["Url"],
         | 
| 98 | 
            -
                #         favorite_pages: ["String"],
         | 
| 99 | 
            -
                #         guest_role_arn: "Arn",
         | 
| 100 | 
            -
                #         identity_pool_id: "IdentityPoolId",
         | 
| 101 | 
            -
                #         included_pages: ["Url"],
         | 
| 102 | 
            -
                #         session_sample_rate: 1.0,
         | 
| 103 | 
            -
                #         telemetries: ["errors"], # accepts errors, performance, http
         | 
| 104 | 
            -
                #       }
         | 
| 105 | 
            -
                #
         | 
| 106 104 | 
             
                # @!attribute [rw] allow_cookies
         | 
| 107 105 | 
             
                #   If you set this to `true`, the RUM web client sets two cookies, a
         | 
| 108 106 | 
             
                #   session cookie and a user cookie. The cookies allow the RUM web
         | 
| @@ -152,7 +150,8 @@ module Aws::CloudWatchRUM | |
| 152 150 | 
             
                #   If this app monitor is to collect data from only certain pages in
         | 
| 153 151 | 
             
                #   your application, this structure lists those pages.
         | 
| 154 152 | 
             
                #
         | 
| 155 | 
            -
                # | 
| 153 | 
            +
                #   You can't include both `ExcludedPages` and `IncludedPages` in the
         | 
| 154 | 
            +
                #   same operation.
         | 
| 156 155 | 
             
                #   @return [Array<String>]
         | 
| 157 156 | 
             
                #
         | 
| 158 157 | 
             
                # @!attribute [rw] session_sample_rate
         | 
| @@ -201,15 +200,6 @@ module Aws::CloudWatchRUM | |
| 201 200 |  | 
| 202 201 | 
             
                # A structure that contains information about the RUM app monitor.
         | 
| 203 202 | 
             
                #
         | 
| 204 | 
            -
                # @note When making an API call, you may pass AppMonitorDetails
         | 
| 205 | 
            -
                #   data as a hash:
         | 
| 206 | 
            -
                #
         | 
| 207 | 
            -
                #       {
         | 
| 208 | 
            -
                #         id: "String",
         | 
| 209 | 
            -
                #         name: "String",
         | 
| 210 | 
            -
                #         version: "String",
         | 
| 211 | 
            -
                #       }
         | 
| 212 | 
            -
                #
         | 
| 213 203 | 
             
                # @!attribute [rw] id
         | 
| 214 204 | 
             
                #   The unique ID of the app monitor.
         | 
| 215 205 | 
             
                #   @return [String]
         | 
| @@ -297,26 +287,6 @@ module Aws::CloudWatchRUM | |
| 297 287 | 
             
                  include Aws::Structure
         | 
| 298 288 | 
             
                end
         | 
| 299 289 |  | 
| 300 | 
            -
                # @note When making an API call, you may pass BatchCreateRumMetricDefinitionsRequest
         | 
| 301 | 
            -
                #   data as a hash:
         | 
| 302 | 
            -
                #
         | 
| 303 | 
            -
                #       {
         | 
| 304 | 
            -
                #         app_monitor_name: "AppMonitorName", # required
         | 
| 305 | 
            -
                #         destination: "CloudWatch", # required, accepts CloudWatch, Evidently
         | 
| 306 | 
            -
                #         destination_arn: "DestinationArn",
         | 
| 307 | 
            -
                #         metric_definitions: [ # required
         | 
| 308 | 
            -
                #           {
         | 
| 309 | 
            -
                #             dimension_keys: {
         | 
| 310 | 
            -
                #               "DimensionKey" => "DimensionName",
         | 
| 311 | 
            -
                #             },
         | 
| 312 | 
            -
                #             event_pattern: "EventPattern",
         | 
| 313 | 
            -
                #             name: "MetricName", # required
         | 
| 314 | 
            -
                #             unit_label: "UnitLabel",
         | 
| 315 | 
            -
                #             value_key: "ValueKey",
         | 
| 316 | 
            -
                #           },
         | 
| 317 | 
            -
                #         ],
         | 
| 318 | 
            -
                #       }
         | 
| 319 | 
            -
                #
         | 
| 320 290 | 
             
                # @!attribute [rw] app_monitor_name
         | 
| 321 291 | 
             
                #   The name of the CloudWatch RUM app monitor that is to send the
         | 
| 322 292 | 
             
                #   metrics.
         | 
| @@ -406,16 +376,6 @@ module Aws::CloudWatchRUM | |
| 406 376 | 
             
                  include Aws::Structure
         | 
| 407 377 | 
             
                end
         | 
| 408 378 |  | 
| 409 | 
            -
                # @note When making an API call, you may pass BatchDeleteRumMetricDefinitionsRequest
         | 
| 410 | 
            -
                #   data as a hash:
         | 
| 411 | 
            -
                #
         | 
| 412 | 
            -
                #       {
         | 
| 413 | 
            -
                #         app_monitor_name: "AppMonitorName", # required
         | 
| 414 | 
            -
                #         destination: "CloudWatch", # required, accepts CloudWatch, Evidently
         | 
| 415 | 
            -
                #         destination_arn: "DestinationArn",
         | 
| 416 | 
            -
                #         metric_definition_ids: ["MetricDefinitionId"], # required
         | 
| 417 | 
            -
                #       }
         | 
| 418 | 
            -
                #
         | 
| 419 379 | 
             
                # @!attribute [rw] app_monitor_name
         | 
| 420 380 | 
             
                #   The name of the CloudWatch RUM app monitor that is sending these
         | 
| 421 381 | 
             
                #   metrics.
         | 
| @@ -470,17 +430,6 @@ module Aws::CloudWatchRUM | |
| 470 430 | 
             
                  include Aws::Structure
         | 
| 471 431 | 
             
                end
         | 
| 472 432 |  | 
| 473 | 
            -
                # @note When making an API call, you may pass BatchGetRumMetricDefinitionsRequest
         | 
| 474 | 
            -
                #   data as a hash:
         | 
| 475 | 
            -
                #
         | 
| 476 | 
            -
                #       {
         | 
| 477 | 
            -
                #         app_monitor_name: "AppMonitorName", # required
         | 
| 478 | 
            -
                #         destination: "CloudWatch", # required, accepts CloudWatch, Evidently
         | 
| 479 | 
            -
                #         destination_arn: "DestinationArn",
         | 
| 480 | 
            -
                #         max_results: 1,
         | 
| 481 | 
            -
                #         next_token: "String",
         | 
| 482 | 
            -
                #       }
         | 
| 483 | 
            -
                #
         | 
| 484 433 | 
             
                # @!attribute [rw] app_monitor_name
         | 
| 485 434 | 
             
                #   The name of the CloudWatch RUM app monitor that is sending the
         | 
| 486 435 | 
             
                #   metrics.
         | 
| @@ -567,29 +516,6 @@ module Aws::CloudWatchRUM | |
| 567 516 | 
             
                  include Aws::Structure
         | 
| 568 517 | 
             
                end
         | 
| 569 518 |  | 
| 570 | 
            -
                # @note When making an API call, you may pass CreateAppMonitorRequest
         | 
| 571 | 
            -
                #   data as a hash:
         | 
| 572 | 
            -
                #
         | 
| 573 | 
            -
                #       {
         | 
| 574 | 
            -
                #         app_monitor_configuration: {
         | 
| 575 | 
            -
                #           allow_cookies: false,
         | 
| 576 | 
            -
                #           enable_x_ray: false,
         | 
| 577 | 
            -
                #           excluded_pages: ["Url"],
         | 
| 578 | 
            -
                #           favorite_pages: ["String"],
         | 
| 579 | 
            -
                #           guest_role_arn: "Arn",
         | 
| 580 | 
            -
                #           identity_pool_id: "IdentityPoolId",
         | 
| 581 | 
            -
                #           included_pages: ["Url"],
         | 
| 582 | 
            -
                #           session_sample_rate: 1.0,
         | 
| 583 | 
            -
                #           telemetries: ["errors"], # accepts errors, performance, http
         | 
| 584 | 
            -
                #         },
         | 
| 585 | 
            -
                #         cw_log_enabled: false,
         | 
| 586 | 
            -
                #         domain: "AppMonitorDomain", # required
         | 
| 587 | 
            -
                #         name: "AppMonitorName", # required
         | 
| 588 | 
            -
                #         tags: {
         | 
| 589 | 
            -
                #           "TagKey" => "TagValue",
         | 
| 590 | 
            -
                #         },
         | 
| 591 | 
            -
                #       }
         | 
| 592 | 
            -
                #
         | 
| 593 519 | 
             
                # @!attribute [rw] app_monitor_configuration
         | 
| 594 520 | 
             
                #   A structure that contains much of the configuration data for the app
         | 
| 595 521 | 
             
                #   monitor. If you are using Amazon Cognito for authorization, you must
         | 
| @@ -607,6 +533,19 @@ module Aws::CloudWatchRUM | |
| 607 533 | 
             
                #   [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
         | 
| 608 534 | 
             
                #   @return [Types::AppMonitorConfiguration]
         | 
| 609 535 | 
             
                #
         | 
| 536 | 
            +
                # @!attribute [rw] custom_events
         | 
| 537 | 
            +
                #   Specifies whether this app monitor allows the web client to define
         | 
| 538 | 
            +
                #   and send custom events. If you omit this parameter, custom events
         | 
| 539 | 
            +
                #   are `DISABLED`.
         | 
| 540 | 
            +
                #
         | 
| 541 | 
            +
                #   For more information about custom events, see [Send custom
         | 
| 542 | 
            +
                #   events][1].
         | 
| 543 | 
            +
                #
         | 
| 544 | 
            +
                #
         | 
| 545 | 
            +
                #
         | 
| 546 | 
            +
                #   [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
         | 
| 547 | 
            +
                #   @return [Types::CustomEvents]
         | 
| 548 | 
            +
                #
         | 
| 610 549 | 
             
                # @!attribute [rw] cw_log_enabled
         | 
| 611 550 | 
             
                #   Data collected by RUM is kept by RUM for 30 days and then deleted.
         | 
| 612 551 | 
             
                #   This parameter specifies whether RUM sends a copy of this telemetry
         | 
| @@ -637,13 +576,21 @@ module Aws::CloudWatchRUM | |
| 637 576 | 
             
                #   Tags don't have any semantic meaning to Amazon Web Services and are
         | 
| 638 577 | 
             
                #   interpreted strictly as strings of characters.
         | 
| 639 578 | 
             
                #
         | 
| 640 | 
            -
                # | 
| 579 | 
            +
                #   You can associate as many as 50 tags with an app monitor.
         | 
| 580 | 
            +
                #
         | 
| 581 | 
            +
                #   For more information, see [Tagging Amazon Web Services
         | 
| 582 | 
            +
                #   resources][1].
         | 
| 583 | 
            +
                #
         | 
| 584 | 
            +
                #
         | 
| 585 | 
            +
                #
         | 
| 586 | 
            +
                #   [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
         | 
| 641 587 | 
             
                #   @return [Hash<String,String>]
         | 
| 642 588 | 
             
                #
         | 
| 643 589 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/CreateAppMonitorRequest AWS API Documentation
         | 
| 644 590 | 
             
                #
         | 
| 645 591 | 
             
                class CreateAppMonitorRequest < Struct.new(
         | 
| 646 592 | 
             
                  :app_monitor_configuration,
         | 
| 593 | 
            +
                  :custom_events,
         | 
| 647 594 | 
             
                  :cw_log_enabled,
         | 
| 648 595 | 
             
                  :domain,
         | 
| 649 596 | 
             
                  :name,
         | 
| @@ -664,6 +611,23 @@ module Aws::CloudWatchRUM | |
| 664 611 | 
             
                  include Aws::Structure
         | 
| 665 612 | 
             
                end
         | 
| 666 613 |  | 
| 614 | 
            +
                # A structure that contains information about custom events for this app
         | 
| 615 | 
            +
                # monitor.
         | 
| 616 | 
            +
                #
         | 
| 617 | 
            +
                # @!attribute [rw] status
         | 
| 618 | 
            +
                #   Specifies whether this app monitor allows the web client to define
         | 
| 619 | 
            +
                #   and send custom events. The default is for custom events to be
         | 
| 620 | 
            +
                #   `DISABLED`.
         | 
| 621 | 
            +
                #   @return [String]
         | 
| 622 | 
            +
                #
         | 
| 623 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/CustomEvents AWS API Documentation
         | 
| 624 | 
            +
                #
         | 
| 625 | 
            +
                class CustomEvents < Struct.new(
         | 
| 626 | 
            +
                  :status)
         | 
| 627 | 
            +
                  SENSITIVE = []
         | 
| 628 | 
            +
                  include Aws::Structure
         | 
| 629 | 
            +
                end
         | 
| 630 | 
            +
             | 
| 667 631 | 
             
                # A structure that contains the information about whether the app
         | 
| 668 632 | 
             
                # monitor stores copies of the data that RUM collects in CloudWatch
         | 
| 669 633 | 
             
                # Logs. If it does, this structure also contains the name of the log
         | 
| @@ -706,13 +670,6 @@ module Aws::CloudWatchRUM | |
| 706 670 | 
             
                  include Aws::Structure
         | 
| 707 671 | 
             
                end
         | 
| 708 672 |  | 
| 709 | 
            -
                # @note When making an API call, you may pass DeleteAppMonitorRequest
         | 
| 710 | 
            -
                #   data as a hash:
         | 
| 711 | 
            -
                #
         | 
| 712 | 
            -
                #       {
         | 
| 713 | 
            -
                #         name: "AppMonitorName", # required
         | 
| 714 | 
            -
                #       }
         | 
| 715 | 
            -
                #
         | 
| 716 673 | 
             
                # @!attribute [rw] name
         | 
| 717 674 | 
             
                #   The name of the app monitor to delete.
         | 
| 718 675 | 
             
                #   @return [String]
         | 
| @@ -729,15 +686,6 @@ module Aws::CloudWatchRUM | |
| 729 686 | 
             
                #
         | 
| 730 687 | 
             
                class DeleteAppMonitorResponse < Aws::EmptyStructure; end
         | 
| 731 688 |  | 
| 732 | 
            -
                # @note When making an API call, you may pass DeleteRumMetricsDestinationRequest
         | 
| 733 | 
            -
                #   data as a hash:
         | 
| 734 | 
            -
                #
         | 
| 735 | 
            -
                #       {
         | 
| 736 | 
            -
                #         app_monitor_name: "AppMonitorName", # required
         | 
| 737 | 
            -
                #         destination: "CloudWatch", # required, accepts CloudWatch, Evidently
         | 
| 738 | 
            -
                #         destination_arn: "DestinationArn",
         | 
| 739 | 
            -
                #       }
         | 
| 740 | 
            -
                #
         | 
| 741 689 | 
             
                # @!attribute [rw] app_monitor_name
         | 
| 742 690 | 
             
                #   The name of the app monitor that is sending metrics to the
         | 
| 743 691 | 
             
                #   destination that you want to delete.
         | 
| @@ -769,25 +717,6 @@ module Aws::CloudWatchRUM | |
| 769 717 | 
             
                #
         | 
| 770 718 | 
             
                class DeleteRumMetricsDestinationResponse < Aws::EmptyStructure; end
         | 
| 771 719 |  | 
| 772 | 
            -
                # @note When making an API call, you may pass GetAppMonitorDataRequest
         | 
| 773 | 
            -
                #   data as a hash:
         | 
| 774 | 
            -
                #
         | 
| 775 | 
            -
                #       {
         | 
| 776 | 
            -
                #         filters: [
         | 
| 777 | 
            -
                #           {
         | 
| 778 | 
            -
                #             name: "QueryFilterKey",
         | 
| 779 | 
            -
                #             values: ["QueryFilterValue"],
         | 
| 780 | 
            -
                #           },
         | 
| 781 | 
            -
                #         ],
         | 
| 782 | 
            -
                #         max_results: 1,
         | 
| 783 | 
            -
                #         name: "AppMonitorName", # required
         | 
| 784 | 
            -
                #         next_token: "Token",
         | 
| 785 | 
            -
                #         time_range: { # required
         | 
| 786 | 
            -
                #           after: 1, # required
         | 
| 787 | 
            -
                #           before: 1,
         | 
| 788 | 
            -
                #         },
         | 
| 789 | 
            -
                #       }
         | 
| 790 | 
            -
                #
         | 
| 791 720 | 
             
                # @!attribute [rw] filters
         | 
| 792 721 | 
             
                #   An array of structures that you can use to filter the results to
         | 
| 793 722 | 
             
                #   those that match one or more sets of key-value pairs that you
         | 
| @@ -843,13 +772,6 @@ module Aws::CloudWatchRUM | |
| 843 772 | 
             
                  include Aws::Structure
         | 
| 844 773 | 
             
                end
         | 
| 845 774 |  | 
| 846 | 
            -
                # @note When making an API call, you may pass GetAppMonitorRequest
         | 
| 847 | 
            -
                #   data as a hash:
         | 
| 848 | 
            -
                #
         | 
| 849 | 
            -
                #       {
         | 
| 850 | 
            -
                #         name: "AppMonitorName", # required
         | 
| 851 | 
            -
                #       }
         | 
| 852 | 
            -
                #
         | 
| 853 775 | 
             
                # @!attribute [rw] name
         | 
| 854 776 | 
             
                #   The app monitor to retrieve information for.
         | 
| 855 777 | 
             
                #   @return [String]
         | 
| @@ -893,14 +815,6 @@ module Aws::CloudWatchRUM | |
| 893 815 | 
             
                  include Aws::Structure
         | 
| 894 816 | 
             
                end
         | 
| 895 817 |  | 
| 896 | 
            -
                # @note When making an API call, you may pass ListAppMonitorsRequest
         | 
| 897 | 
            -
                #   data as a hash:
         | 
| 898 | 
            -
                #
         | 
| 899 | 
            -
                #       {
         | 
| 900 | 
            -
                #         max_results: 1,
         | 
| 901 | 
            -
                #         next_token: "String",
         | 
| 902 | 
            -
                #       }
         | 
| 903 | 
            -
                #
         | 
| 904 818 | 
             
                # @!attribute [rw] max_results
         | 
| 905 819 | 
             
                #   The maximum number of results to return in one operation. The
         | 
| 906 820 | 
             
                #   default is 50. The maximum that you can specify is 100.
         | 
| @@ -939,15 +853,6 @@ module Aws::CloudWatchRUM | |
| 939 853 | 
             
                  include Aws::Structure
         | 
| 940 854 | 
             
                end
         | 
| 941 855 |  | 
| 942 | 
            -
                # @note When making an API call, you may pass ListRumMetricsDestinationsRequest
         | 
| 943 | 
            -
                #   data as a hash:
         | 
| 944 | 
            -
                #
         | 
| 945 | 
            -
                #       {
         | 
| 946 | 
            -
                #         app_monitor_name: "AppMonitorName", # required
         | 
| 947 | 
            -
                #         max_results: 1,
         | 
| 948 | 
            -
                #         next_token: "String",
         | 
| 949 | 
            -
                #       }
         | 
| 950 | 
            -
                #
         | 
| 951 856 | 
             
                # @!attribute [rw] app_monitor_name
         | 
| 952 857 | 
             
                #   The name of the app monitor associated with the destinations that
         | 
| 953 858 | 
             
                #   you want to retrieve.
         | 
| @@ -995,13 +900,6 @@ module Aws::CloudWatchRUM | |
| 995 900 | 
             
                  include Aws::Structure
         | 
| 996 901 | 
             
                end
         | 
| 997 902 |  | 
| 998 | 
            -
                # @note When making an API call, you may pass ListTagsForResourceRequest
         | 
| 999 | 
            -
                #   data as a hash:
         | 
| 1000 | 
            -
                #
         | 
| 1001 | 
            -
                #       {
         | 
| 1002 | 
            -
                #         resource_arn: "Arn", # required
         | 
| 1003 | 
            -
                #       }
         | 
| 1004 | 
            -
                #
         | 
| 1005 903 | 
             
                # @!attribute [rw] resource_arn
         | 
| 1006 904 | 
             
                #   The ARN of the resource that you want to see the tags of.
         | 
| 1007 905 | 
             
                #   @return [String]
         | 
| @@ -1151,19 +1049,6 @@ module Aws::CloudWatchRUM | |
| 1151 1049 | 
             
                #
         | 
| 1152 1050 | 
             
                # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html
         | 
| 1153 1051 | 
             
                #
         | 
| 1154 | 
            -
                # @note When making an API call, you may pass MetricDefinitionRequest
         | 
| 1155 | 
            -
                #   data as a hash:
         | 
| 1156 | 
            -
                #
         | 
| 1157 | 
            -
                #       {
         | 
| 1158 | 
            -
                #         dimension_keys: {
         | 
| 1159 | 
            -
                #           "DimensionKey" => "DimensionName",
         | 
| 1160 | 
            -
                #         },
         | 
| 1161 | 
            -
                #         event_pattern: "EventPattern",
         | 
| 1162 | 
            -
                #         name: "MetricName", # required
         | 
| 1163 | 
            -
                #         unit_label: "UnitLabel",
         | 
| 1164 | 
            -
                #         value_key: "ValueKey",
         | 
| 1165 | 
            -
                #       }
         | 
| 1166 | 
            -
                #
         | 
| 1167 1052 | 
             
                # @!attribute [rw] dimension_keys
         | 
| 1168 1053 | 
             
                #   Use this field only if you are sending the metric to CloudWatch.
         | 
| 1169 1054 | 
             
                #
         | 
| @@ -1182,9 +1067,9 @@ module Aws::CloudWatchRUM | |
| 1182 1067 | 
             
                #   * `"metadata.countryCode": "CountryCode"`
         | 
| 1183 1068 | 
             
                #
         | 
| 1184 1069 | 
             
                #   * `"event_details.fileType": "FileType"`
         | 
| 1185 | 
            -
                #   ^
         | 
| 1186 1070 | 
             
                #
         | 
| 1187 | 
            -
                # | 
| 1071 | 
            +
                #   All dimensions listed in this field must also be included in
         | 
| 1072 | 
            +
                #   `EventPattern`.
         | 
| 1188 1073 | 
             
                #   @return [Hash<String,String>]
         | 
| 1189 1074 | 
             
                #
         | 
| 1190 1075 | 
             
                # @!attribute [rw] event_pattern
         | 
| @@ -1302,32 +1187,6 @@ module Aws::CloudWatchRUM | |
| 1302 1187 | 
             
                  include Aws::Structure
         | 
| 1303 1188 | 
             
                end
         | 
| 1304 1189 |  | 
| 1305 | 
            -
                # @note When making an API call, you may pass PutRumEventsRequest
         | 
| 1306 | 
            -
                #   data as a hash:
         | 
| 1307 | 
            -
                #
         | 
| 1308 | 
            -
                #       {
         | 
| 1309 | 
            -
                #         app_monitor_details: { # required
         | 
| 1310 | 
            -
                #           id: "String",
         | 
| 1311 | 
            -
                #           name: "String",
         | 
| 1312 | 
            -
                #           version: "String",
         | 
| 1313 | 
            -
                #         },
         | 
| 1314 | 
            -
                #         batch_id: "String", # required
         | 
| 1315 | 
            -
                #         id: "AppMonitorId", # required
         | 
| 1316 | 
            -
                #         rum_events: [ # required
         | 
| 1317 | 
            -
                #           {
         | 
| 1318 | 
            -
                #             details: "JsonValue", # required
         | 
| 1319 | 
            -
                #             id: "String", # required
         | 
| 1320 | 
            -
                #             metadata: "JsonValue",
         | 
| 1321 | 
            -
                #             timestamp: Time.now, # required
         | 
| 1322 | 
            -
                #             type: "String", # required
         | 
| 1323 | 
            -
                #           },
         | 
| 1324 | 
            -
                #         ],
         | 
| 1325 | 
            -
                #         user_details: { # required
         | 
| 1326 | 
            -
                #           session_id: "String",
         | 
| 1327 | 
            -
                #           user_id: "String",
         | 
| 1328 | 
            -
                #         },
         | 
| 1329 | 
            -
                #       }
         | 
| 1330 | 
            -
                #
         | 
| 1331 1190 | 
             
                # @!attribute [rw] app_monitor_details
         | 
| 1332 1191 | 
             
                #   A structure that contains information about the app monitor that
         | 
| 1333 1192 | 
             
                #   collected this telemetry information.
         | 
| @@ -1366,16 +1225,6 @@ module Aws::CloudWatchRUM | |
| 1366 1225 | 
             
                #
         | 
| 1367 1226 | 
             
                class PutRumEventsResponse < Aws::EmptyStructure; end
         | 
| 1368 1227 |  | 
| 1369 | 
            -
                # @note When making an API call, you may pass PutRumMetricsDestinationRequest
         | 
| 1370 | 
            -
                #   data as a hash:
         | 
| 1371 | 
            -
                #
         | 
| 1372 | 
            -
                #       {
         | 
| 1373 | 
            -
                #         app_monitor_name: "AppMonitorName", # required
         | 
| 1374 | 
            -
                #         destination: "CloudWatch", # required, accepts CloudWatch, Evidently
         | 
| 1375 | 
            -
                #         destination_arn: "DestinationArn",
         | 
| 1376 | 
            -
                #         iam_role_arn: "IamRoleArn",
         | 
| 1377 | 
            -
                #       }
         | 
| 1378 | 
            -
                #
         | 
| 1379 1228 | 
             
                # @!attribute [rw] app_monitor_name
         | 
| 1380 1229 | 
             
                #   The name of the CloudWatch RUM app monitor that will send the
         | 
| 1381 1230 | 
             
                #   metrics.
         | 
| @@ -1433,14 +1282,6 @@ module Aws::CloudWatchRUM | |
| 1433 1282 | 
             
                # the value to return all events except events from user sessions with
         | 
| 1434 1283 | 
             
                # the Chrome browser.
         | 
| 1435 1284 | 
             
                #
         | 
| 1436 | 
            -
                # @note When making an API call, you may pass QueryFilter
         | 
| 1437 | 
            -
                #   data as a hash:
         | 
| 1438 | 
            -
                #
         | 
| 1439 | 
            -
                #       {
         | 
| 1440 | 
            -
                #         name: "QueryFilterKey",
         | 
| 1441 | 
            -
                #         values: ["QueryFilterValue"],
         | 
| 1442 | 
            -
                #       }
         | 
| 1443 | 
            -
                #
         | 
| 1444 1285 | 
             
                # @!attribute [rw] name
         | 
| 1445 1286 | 
             
                #   The name of a key to search for. The filter returns only the events
         | 
| 1446 1287 | 
             
                #   that match the `Name` and `Values` that you specify.
         | 
| @@ -1489,17 +1330,6 @@ module Aws::CloudWatchRUM | |
| 1489 1330 | 
             
                # A structure that contains the information for one performance event
         | 
| 1490 1331 | 
             
                # that RUM collects from a user session with your application.
         | 
| 1491 1332 | 
             
                #
         | 
| 1492 | 
            -
                # @note When making an API call, you may pass RumEvent
         | 
| 1493 | 
            -
                #   data as a hash:
         | 
| 1494 | 
            -
                #
         | 
| 1495 | 
            -
                #       {
         | 
| 1496 | 
            -
                #         details: "JsonValue", # required
         | 
| 1497 | 
            -
                #         id: "String", # required
         | 
| 1498 | 
            -
                #         metadata: "JsonValue",
         | 
| 1499 | 
            -
                #         timestamp: Time.now, # required
         | 
| 1500 | 
            -
                #         type: "String", # required
         | 
| 1501 | 
            -
                #       }
         | 
| 1502 | 
            -
                #
         | 
| 1503 1333 | 
             
                # @!attribute [rw] details
         | 
| 1504 1334 | 
             
                #   A string containing details about the event.
         | 
| 1505 1335 | 
             
                #   @return [String]
         | 
| @@ -1549,16 +1379,6 @@ module Aws::CloudWatchRUM | |
| 1549 1379 | 
             
                  include Aws::Structure
         | 
| 1550 1380 | 
             
                end
         | 
| 1551 1381 |  | 
| 1552 | 
            -
                # @note When making an API call, you may pass TagResourceRequest
         | 
| 1553 | 
            -
                #   data as a hash:
         | 
| 1554 | 
            -
                #
         | 
| 1555 | 
            -
                #       {
         | 
| 1556 | 
            -
                #         resource_arn: "Arn", # required
         | 
| 1557 | 
            -
                #         tags: { # required
         | 
| 1558 | 
            -
                #           "TagKey" => "TagValue",
         | 
| 1559 | 
            -
                #         },
         | 
| 1560 | 
            -
                #       }
         | 
| 1561 | 
            -
                #
         | 
| 1562 1382 | 
             
                # @!attribute [rw] resource_arn
         | 
| 1563 1383 | 
             
                #   The ARN of the CloudWatch RUM resource that you're adding tags to.
         | 
| 1564 1384 | 
             
                #   @return [String]
         | 
| @@ -1611,14 +1431,6 @@ module Aws::CloudWatchRUM | |
| 1611 1431 | 
             
                # A structure that defines the time range that you want to retrieve
         | 
| 1612 1432 | 
             
                # results from.
         | 
| 1613 1433 | 
             
                #
         | 
| 1614 | 
            -
                # @note When making an API call, you may pass TimeRange
         | 
| 1615 | 
            -
                #   data as a hash:
         | 
| 1616 | 
            -
                #
         | 
| 1617 | 
            -
                #       {
         | 
| 1618 | 
            -
                #         after: 1, # required
         | 
| 1619 | 
            -
                #         before: 1,
         | 
| 1620 | 
            -
                #       }
         | 
| 1621 | 
            -
                #
         | 
| 1622 1434 | 
             
                # @!attribute [rw] after
         | 
| 1623 1435 | 
             
                #   The beginning of the time range to retrieve performance events from.
         | 
| 1624 1436 | 
             
                #   @return [Integer]
         | 
| @@ -1638,14 +1450,6 @@ module Aws::CloudWatchRUM | |
| 1638 1450 | 
             
                  include Aws::Structure
         | 
| 1639 1451 | 
             
                end
         | 
| 1640 1452 |  | 
| 1641 | 
            -
                # @note When making an API call, you may pass UntagResourceRequest
         | 
| 1642 | 
            -
                #   data as a hash:
         | 
| 1643 | 
            -
                #
         | 
| 1644 | 
            -
                #       {
         | 
| 1645 | 
            -
                #         resource_arn: "Arn", # required
         | 
| 1646 | 
            -
                #         tag_keys: ["TagKey"], # required
         | 
| 1647 | 
            -
                #       }
         | 
| 1648 | 
            -
                #
         | 
| 1649 1453 | 
             
                # @!attribute [rw] resource_arn
         | 
| 1650 1454 | 
             
                #   The ARN of the CloudWatch RUM resource that you're removing tags
         | 
| 1651 1455 | 
             
                #   from.
         | 
| @@ -1668,26 +1472,6 @@ module Aws::CloudWatchRUM | |
| 1668 1472 | 
             
                #
         | 
| 1669 1473 | 
             
                class UntagResourceResponse < Aws::EmptyStructure; end
         | 
| 1670 1474 |  | 
| 1671 | 
            -
                # @note When making an API call, you may pass UpdateAppMonitorRequest
         | 
| 1672 | 
            -
                #   data as a hash:
         | 
| 1673 | 
            -
                #
         | 
| 1674 | 
            -
                #       {
         | 
| 1675 | 
            -
                #         app_monitor_configuration: {
         | 
| 1676 | 
            -
                #           allow_cookies: false,
         | 
| 1677 | 
            -
                #           enable_x_ray: false,
         | 
| 1678 | 
            -
                #           excluded_pages: ["Url"],
         | 
| 1679 | 
            -
                #           favorite_pages: ["String"],
         | 
| 1680 | 
            -
                #           guest_role_arn: "Arn",
         | 
| 1681 | 
            -
                #           identity_pool_id: "IdentityPoolId",
         | 
| 1682 | 
            -
                #           included_pages: ["Url"],
         | 
| 1683 | 
            -
                #           session_sample_rate: 1.0,
         | 
| 1684 | 
            -
                #           telemetries: ["errors"], # accepts errors, performance, http
         | 
| 1685 | 
            -
                #         },
         | 
| 1686 | 
            -
                #         cw_log_enabled: false,
         | 
| 1687 | 
            -
                #         domain: "AppMonitorDomain",
         | 
| 1688 | 
            -
                #         name: "AppMonitorName", # required
         | 
| 1689 | 
            -
                #       }
         | 
| 1690 | 
            -
                #
         | 
| 1691 1475 | 
             
                # @!attribute [rw] app_monitor_configuration
         | 
| 1692 1476 | 
             
                #   A structure that contains much of the configuration data for the app
         | 
| 1693 1477 | 
             
                #   monitor. If you are using Amazon Cognito for authorization, you must
         | 
| @@ -1702,6 +1486,19 @@ module Aws::CloudWatchRUM | |
| 1702 1486 | 
             
                #   [1]: https://docs.aws.amazon.com/monitoring/CloudWatch-RUM-get-started-authorization.html
         | 
| 1703 1487 | 
             
                #   @return [Types::AppMonitorConfiguration]
         | 
| 1704 1488 | 
             
                #
         | 
| 1489 | 
            +
                # @!attribute [rw] custom_events
         | 
| 1490 | 
            +
                #   Specifies whether this app monitor allows the web client to define
         | 
| 1491 | 
            +
                #   and send custom events. The default is for custom events to be
         | 
| 1492 | 
            +
                #   `DISABLED`.
         | 
| 1493 | 
            +
                #
         | 
| 1494 | 
            +
                #   For more information about custom events, see [Send custom
         | 
| 1495 | 
            +
                #   events][1].
         | 
| 1496 | 
            +
                #
         | 
| 1497 | 
            +
                #
         | 
| 1498 | 
            +
                #
         | 
| 1499 | 
            +
                #   [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
         | 
| 1500 | 
            +
                #   @return [Types::CustomEvents]
         | 
| 1501 | 
            +
                #
         | 
| 1705 1502 | 
             
                # @!attribute [rw] cw_log_enabled
         | 
| 1706 1503 | 
             
                #   Data collected by RUM is kept by RUM for 30 days and then deleted.
         | 
| 1707 1504 | 
             
                #   This parameter specifies whether RUM sends a copy of this telemetry
         | 
| @@ -1723,6 +1520,7 @@ module Aws::CloudWatchRUM | |
| 1723 1520 | 
             
                #
         | 
| 1724 1521 | 
             
                class UpdateAppMonitorRequest < Struct.new(
         | 
| 1725 1522 | 
             
                  :app_monitor_configuration,
         | 
| 1523 | 
            +
                  :custom_events,
         | 
| 1726 1524 | 
             
                  :cw_log_enabled,
         | 
| 1727 1525 | 
             
                  :domain,
         | 
| 1728 1526 | 
             
                  :name)
         | 
| @@ -1734,25 +1532,6 @@ module Aws::CloudWatchRUM | |
| 1734 1532 | 
             
                #
         | 
| 1735 1533 | 
             
                class UpdateAppMonitorResponse < Aws::EmptyStructure; end
         | 
| 1736 1534 |  | 
| 1737 | 
            -
                # @note When making an API call, you may pass UpdateRumMetricDefinitionRequest
         | 
| 1738 | 
            -
                #   data as a hash:
         | 
| 1739 | 
            -
                #
         | 
| 1740 | 
            -
                #       {
         | 
| 1741 | 
            -
                #         app_monitor_name: "AppMonitorName", # required
         | 
| 1742 | 
            -
                #         destination: "CloudWatch", # required, accepts CloudWatch, Evidently
         | 
| 1743 | 
            -
                #         destination_arn: "DestinationArn",
         | 
| 1744 | 
            -
                #         metric_definition: { # required
         | 
| 1745 | 
            -
                #           dimension_keys: {
         | 
| 1746 | 
            -
                #             "DimensionKey" => "DimensionName",
         | 
| 1747 | 
            -
                #           },
         | 
| 1748 | 
            -
                #           event_pattern: "EventPattern",
         | 
| 1749 | 
            -
                #           name: "MetricName", # required
         | 
| 1750 | 
            -
                #           unit_label: "UnitLabel",
         | 
| 1751 | 
            -
                #           value_key: "ValueKey",
         | 
| 1752 | 
            -
                #         },
         | 
| 1753 | 
            -
                #         metric_definition_id: "MetricDefinitionId", # required
         | 
| 1754 | 
            -
                #       }
         | 
| 1755 | 
            -
                #
         | 
| 1756 1535 | 
             
                # @!attribute [rw] app_monitor_name
         | 
| 1757 1536 | 
             
                #   The name of the CloudWatch RUM app monitor that sends these metrics.
         | 
| 1758 1537 | 
             
                #   @return [String]
         | 
| @@ -1807,14 +1586,6 @@ module Aws::CloudWatchRUM | |
| 1807 1586 | 
             
                # A structure that contains information about the user session that this
         | 
| 1808 1587 | 
             
                # batch of events was collected from.
         | 
| 1809 1588 | 
             
                #
         | 
| 1810 | 
            -
                # @note When making an API call, you may pass UserDetails
         | 
| 1811 | 
            -
                #   data as a hash:
         | 
| 1812 | 
            -
                #
         | 
| 1813 | 
            -
                #       {
         | 
| 1814 | 
            -
                #         session_id: "String",
         | 
| 1815 | 
            -
                #         user_id: "String",
         | 
| 1816 | 
            -
                #       }
         | 
| 1817 | 
            -
                #
         | 
| 1818 1589 | 
             
                # @!attribute [rw] session_id
         | 
| 1819 1590 | 
             
                #   The session ID that the performance events are from.
         | 
| 1820 1591 | 
             
                #   @return [String]
         | 
    
        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.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:  | 
| 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
         |