aws-sdk-cloudwatchrum 1.49.0 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchrum/client.rb +171 -163
- data/lib/aws-sdk-cloudwatchrum/client_api.rb +50 -47
- data/lib/aws-sdk-cloudwatchrum/errors.rb +5 -5
- data/lib/aws-sdk-cloudwatchrum/types.rb +372 -351
- data/lib/aws-sdk-cloudwatchrum/waiters.rb +15 -0
- data/lib/aws-sdk-cloudwatchrum.rb +2 -1
- data/sig/client.rbs +53 -52
- data/sig/errors.rbs +1 -1
- data/sig/types.rbs +48 -45
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85a9315f20e9360f394aefec8d90858817e5ae428fecd53cfa451e958dfcc152
|
|
4
|
+
data.tar.gz: d0b2e6fbe3e9b0d01e93826fbe4f44a1fc1eac1579b8f47825b270da32be4985
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aca8b999000f8d5b8541976a23a1414427b073f9c56abeb0531c3652bf2cd5aab1598d5bbae17a5e90ae5615633f7605a79e2bc459cfe342bdbf61830dca4cb4
|
|
7
|
+
data.tar.gz: 694f22feda096f7c9029641ce2b9db587b8a0b25683a08c34c7254bcff2c7a31f0eca6b82df17ed6e161b84fbf913b90af98e5a7952341159129f53b41bd78e3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.50.0
|
|
@@ -574,14 +574,14 @@ module Aws::CloudWatchRUM
|
|
|
574
574
|
# destination_arn: "DestinationArn",
|
|
575
575
|
# metric_definitions: [ # required
|
|
576
576
|
# {
|
|
577
|
+
# name: "MetricName", # required
|
|
578
|
+
# value_key: "ValueKey",
|
|
579
|
+
# unit_label: "UnitLabel",
|
|
577
580
|
# dimension_keys: {
|
|
578
581
|
# "DimensionKey" => "DimensionName",
|
|
579
582
|
# },
|
|
580
583
|
# event_pattern: "EventPattern",
|
|
581
|
-
# name: "MetricName", # required
|
|
582
584
|
# namespace: "Namespace",
|
|
583
|
-
# unit_label: "UnitLabel",
|
|
584
|
-
# value_key: "ValueKey",
|
|
585
585
|
# },
|
|
586
586
|
# ],
|
|
587
587
|
# })
|
|
@@ -589,24 +589,24 @@ module Aws::CloudWatchRUM
|
|
|
589
589
|
# @example Response structure
|
|
590
590
|
#
|
|
591
591
|
# resp.errors #=> Array
|
|
592
|
-
# resp.errors[0].
|
|
593
|
-
# resp.errors[0].
|
|
592
|
+
# resp.errors[0].metric_definition.name #=> String
|
|
593
|
+
# resp.errors[0].metric_definition.value_key #=> String
|
|
594
|
+
# resp.errors[0].metric_definition.unit_label #=> String
|
|
594
595
|
# resp.errors[0].metric_definition.dimension_keys #=> Hash
|
|
595
596
|
# resp.errors[0].metric_definition.dimension_keys["DimensionKey"] #=> String
|
|
596
597
|
# resp.errors[0].metric_definition.event_pattern #=> String
|
|
597
|
-
# resp.errors[0].metric_definition.name #=> String
|
|
598
598
|
# resp.errors[0].metric_definition.namespace #=> String
|
|
599
|
-
# resp.errors[0].
|
|
600
|
-
# resp.errors[0].
|
|
599
|
+
# resp.errors[0].error_code #=> String
|
|
600
|
+
# resp.errors[0].error_message #=> String
|
|
601
601
|
# resp.metric_definitions #=> Array
|
|
602
|
+
# resp.metric_definitions[0].metric_definition_id #=> String
|
|
603
|
+
# resp.metric_definitions[0].name #=> String
|
|
604
|
+
# resp.metric_definitions[0].value_key #=> String
|
|
605
|
+
# resp.metric_definitions[0].unit_label #=> String
|
|
602
606
|
# resp.metric_definitions[0].dimension_keys #=> Hash
|
|
603
607
|
# resp.metric_definitions[0].dimension_keys["DimensionKey"] #=> String
|
|
604
608
|
# resp.metric_definitions[0].event_pattern #=> String
|
|
605
|
-
# resp.metric_definitions[0].metric_definition_id #=> String
|
|
606
|
-
# resp.metric_definitions[0].name #=> String
|
|
607
609
|
# resp.metric_definitions[0].namespace #=> String
|
|
608
|
-
# resp.metric_definitions[0].unit_label #=> String
|
|
609
|
-
# resp.metric_definitions[0].value_key #=> String
|
|
610
610
|
#
|
|
611
611
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/BatchCreateRumMetricDefinitions AWS API Documentation
|
|
612
612
|
#
|
|
@@ -667,9 +667,9 @@ module Aws::CloudWatchRUM
|
|
|
667
667
|
# @example Response structure
|
|
668
668
|
#
|
|
669
669
|
# resp.errors #=> Array
|
|
670
|
+
# resp.errors[0].metric_definition_id #=> String
|
|
670
671
|
# resp.errors[0].error_code #=> String
|
|
671
672
|
# resp.errors[0].error_message #=> String
|
|
672
|
-
# resp.errors[0].metric_definition_id #=> String
|
|
673
673
|
# resp.metric_definition_ids #=> Array
|
|
674
674
|
# resp.metric_definition_ids[0] #=> String
|
|
675
675
|
#
|
|
@@ -731,14 +731,14 @@ module Aws::CloudWatchRUM
|
|
|
731
731
|
# @example Response structure
|
|
732
732
|
#
|
|
733
733
|
# resp.metric_definitions #=> Array
|
|
734
|
+
# resp.metric_definitions[0].metric_definition_id #=> String
|
|
735
|
+
# resp.metric_definitions[0].name #=> String
|
|
736
|
+
# resp.metric_definitions[0].value_key #=> String
|
|
737
|
+
# resp.metric_definitions[0].unit_label #=> String
|
|
734
738
|
# resp.metric_definitions[0].dimension_keys #=> Hash
|
|
735
739
|
# resp.metric_definitions[0].dimension_keys["DimensionKey"] #=> String
|
|
736
740
|
# resp.metric_definitions[0].event_pattern #=> String
|
|
737
|
-
# resp.metric_definitions[0].metric_definition_id #=> String
|
|
738
|
-
# resp.metric_definitions[0].name #=> String
|
|
739
741
|
# resp.metric_definitions[0].namespace #=> String
|
|
740
|
-
# resp.metric_definitions[0].unit_label #=> String
|
|
741
|
-
# resp.metric_definitions[0].value_key #=> String
|
|
742
742
|
# resp.next_token #=> String
|
|
743
743
|
#
|
|
744
744
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/BatchGetRumMetricDefinitions AWS API Documentation
|
|
@@ -768,6 +768,36 @@ module Aws::CloudWatchRUM
|
|
|
768
768
|
# [1]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_UpdateAppMonitor.html
|
|
769
769
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-find-code-snippet.html
|
|
770
770
|
#
|
|
771
|
+
# @option params [required, String] :name
|
|
772
|
+
# A name for the app monitor.
|
|
773
|
+
#
|
|
774
|
+
# @option params [String] :domain
|
|
775
|
+
# The top-level internet domain name for which your application has
|
|
776
|
+
# administrative authority.
|
|
777
|
+
#
|
|
778
|
+
# @option params [Array<String>] :domain_list
|
|
779
|
+
# List the domain names for which your application has administrative
|
|
780
|
+
# authority. The `CreateAppMonitor` requires either the domain or the
|
|
781
|
+
# domain list.
|
|
782
|
+
#
|
|
783
|
+
# @option params [Hash<String,String>] :tags
|
|
784
|
+
# Assigns one or more tags (key-value pairs) to the app monitor.
|
|
785
|
+
#
|
|
786
|
+
# Tags can help you organize and categorize your resources. You can also
|
|
787
|
+
# use them to scope user permissions by granting a user permission to
|
|
788
|
+
# access or change only resources with certain tag values.
|
|
789
|
+
#
|
|
790
|
+
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
791
|
+
# interpreted strictly as strings of characters.
|
|
792
|
+
#
|
|
793
|
+
# You can associate as many as 50 tags with an app monitor.
|
|
794
|
+
#
|
|
795
|
+
# For more information, see [Tagging Amazon Web Services resources][1].
|
|
796
|
+
#
|
|
797
|
+
#
|
|
798
|
+
#
|
|
799
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
800
|
+
#
|
|
771
801
|
# @option params [Types::AppMonitorConfiguration] :app_monitor_configuration
|
|
772
802
|
# A structure that contains much of the configuration data for the app
|
|
773
803
|
# monitor. If you are using Amazon Cognito for authorization, you must
|
|
@@ -784,17 +814,6 @@ module Aws::CloudWatchRUM
|
|
|
784
814
|
#
|
|
785
815
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html
|
|
786
816
|
#
|
|
787
|
-
# @option params [Types::CustomEvents] :custom_events
|
|
788
|
-
# Specifies whether this app monitor allows the web client to define and
|
|
789
|
-
# send custom events. If you omit this parameter, custom events are
|
|
790
|
-
# `DISABLED`.
|
|
791
|
-
#
|
|
792
|
-
# For more information about custom events, see [Send custom events][1].
|
|
793
|
-
#
|
|
794
|
-
#
|
|
795
|
-
#
|
|
796
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
|
|
797
|
-
#
|
|
798
817
|
# @option params [Boolean] :cw_log_enabled
|
|
799
818
|
# Data collected by RUM is kept by RUM for 30 days and then deleted.
|
|
800
819
|
# This parameter specifies whether RUM sends a copy of this telemetry
|
|
@@ -804,39 +823,25 @@ module Aws::CloudWatchRUM
|
|
|
804
823
|
#
|
|
805
824
|
# If you omit this parameter, the default is `false`.
|
|
806
825
|
#
|
|
807
|
-
# @option params [Types::
|
|
808
|
-
#
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
# @option params [String] :domain
|
|
812
|
-
# The top-level internet domain name for which your application has
|
|
813
|
-
# administrative authority.
|
|
814
|
-
#
|
|
815
|
-
# @option params [Array<String>] :domain_list
|
|
816
|
-
# List the domain names for which your application has administrative
|
|
817
|
-
# authority. The `CreateAppMonitor` requires either the domain or the
|
|
818
|
-
# domain list.
|
|
819
|
-
#
|
|
820
|
-
# @option params [required, String] :name
|
|
821
|
-
# A name for the app monitor.
|
|
822
|
-
#
|
|
823
|
-
# @option params [Hash<String,String>] :tags
|
|
824
|
-
# Assigns one or more tags (key-value pairs) to the app monitor.
|
|
825
|
-
#
|
|
826
|
-
# Tags can help you organize and categorize your resources. You can also
|
|
827
|
-
# use them to scope user permissions by granting a user permission to
|
|
828
|
-
# access or change only resources with certain tag values.
|
|
826
|
+
# @option params [Types::CustomEvents] :custom_events
|
|
827
|
+
# Specifies whether this app monitor allows the web client to define and
|
|
828
|
+
# send custom events. If you omit this parameter, custom events are
|
|
829
|
+
# `DISABLED`.
|
|
829
830
|
#
|
|
830
|
-
#
|
|
831
|
-
# interpreted strictly as strings of characters.
|
|
831
|
+
# For more information about custom events, see [Send custom events][1].
|
|
832
832
|
#
|
|
833
|
-
# You can associate as many as 50 tags with an app monitor.
|
|
834
833
|
#
|
|
835
|
-
# For more information, see [Tagging Amazon Web Services resources][1].
|
|
836
834
|
#
|
|
835
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
|
|
837
836
|
#
|
|
837
|
+
# @option params [Types::DeobfuscationConfiguration] :deobfuscation_configuration
|
|
838
|
+
# A structure that contains the configuration for how an app monitor can
|
|
839
|
+
# deobfuscate stack traces.
|
|
838
840
|
#
|
|
839
|
-
#
|
|
841
|
+
# @option params [String] :platform
|
|
842
|
+
# The platform type for the app monitor. Valid values are `Web` for web
|
|
843
|
+
# applications, `Android` for Android applications, and `iOS` for IOS
|
|
844
|
+
# applications. If you omit this parameter, the default is `Web`.
|
|
840
845
|
#
|
|
841
846
|
# @return [Types::CreateAppMonitorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
842
847
|
#
|
|
@@ -845,33 +850,34 @@ module Aws::CloudWatchRUM
|
|
|
845
850
|
# @example Request syntax with placeholder values
|
|
846
851
|
#
|
|
847
852
|
# resp = client.create_app_monitor({
|
|
853
|
+
# name: "AppMonitorName", # required
|
|
854
|
+
# domain: "AppMonitorDomain",
|
|
855
|
+
# domain_list: ["AppMonitorDomain"],
|
|
856
|
+
# tags: {
|
|
857
|
+
# "TagKey" => "TagValue",
|
|
858
|
+
# },
|
|
848
859
|
# app_monitor_configuration: {
|
|
849
|
-
# allow_cookies: false,
|
|
850
|
-
# enable_x_ray: false,
|
|
851
|
-
# excluded_pages: ["Url"],
|
|
852
|
-
# favorite_pages: ["String"],
|
|
853
|
-
# guest_role_arn: "Arn",
|
|
854
860
|
# identity_pool_id: "IdentityPoolId",
|
|
861
|
+
# excluded_pages: ["Url"],
|
|
855
862
|
# included_pages: ["Url"],
|
|
863
|
+
# favorite_pages: ["String"],
|
|
856
864
|
# session_sample_rate: 1.0,
|
|
865
|
+
# guest_role_arn: "Arn",
|
|
866
|
+
# allow_cookies: false,
|
|
857
867
|
# telemetries: ["errors"], # accepts errors, performance, http
|
|
868
|
+
# enable_x_ray: false,
|
|
858
869
|
# },
|
|
870
|
+
# cw_log_enabled: false,
|
|
859
871
|
# custom_events: {
|
|
860
872
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
861
873
|
# },
|
|
862
|
-
# cw_log_enabled: false,
|
|
863
874
|
# deobfuscation_configuration: {
|
|
864
875
|
# java_script_source_maps: {
|
|
865
|
-
# s3_uri: "DeobfuscationS3Uri",
|
|
866
876
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
877
|
+
# s3_uri: "DeobfuscationS3Uri",
|
|
867
878
|
# },
|
|
868
879
|
# },
|
|
869
|
-
#
|
|
870
|
-
# domain_list: ["AppMonitorDomain"],
|
|
871
|
-
# name: "AppMonitorName", # required
|
|
872
|
-
# tags: {
|
|
873
|
-
# "TagKey" => "TagValue",
|
|
874
|
-
# },
|
|
880
|
+
# platform: "Web", # accepts Web, Android, iOS
|
|
875
881
|
# })
|
|
876
882
|
#
|
|
877
883
|
# @example Response structure
|
|
@@ -1001,34 +1007,35 @@ module Aws::CloudWatchRUM
|
|
|
1001
1007
|
#
|
|
1002
1008
|
# @example Response structure
|
|
1003
1009
|
#
|
|
1004
|
-
# resp.app_monitor.
|
|
1005
|
-
# resp.app_monitor.
|
|
1010
|
+
# resp.app_monitor.name #=> String
|
|
1011
|
+
# resp.app_monitor.domain #=> String
|
|
1012
|
+
# resp.app_monitor.domain_list #=> Array
|
|
1013
|
+
# resp.app_monitor.domain_list[0] #=> String
|
|
1014
|
+
# resp.app_monitor.id #=> String
|
|
1015
|
+
# resp.app_monitor.created #=> String
|
|
1016
|
+
# resp.app_monitor.last_modified #=> String
|
|
1017
|
+
# resp.app_monitor.tags #=> Hash
|
|
1018
|
+
# resp.app_monitor.tags["TagKey"] #=> String
|
|
1019
|
+
# resp.app_monitor.state #=> String, one of "CREATED", "DELETING", "ACTIVE"
|
|
1020
|
+
# resp.app_monitor.app_monitor_configuration.identity_pool_id #=> String
|
|
1006
1021
|
# resp.app_monitor.app_monitor_configuration.excluded_pages #=> Array
|
|
1007
1022
|
# resp.app_monitor.app_monitor_configuration.excluded_pages[0] #=> String
|
|
1008
|
-
# resp.app_monitor.app_monitor_configuration.favorite_pages #=> Array
|
|
1009
|
-
# resp.app_monitor.app_monitor_configuration.favorite_pages[0] #=> String
|
|
1010
|
-
# resp.app_monitor.app_monitor_configuration.guest_role_arn #=> String
|
|
1011
|
-
# resp.app_monitor.app_monitor_configuration.identity_pool_id #=> String
|
|
1012
1023
|
# resp.app_monitor.app_monitor_configuration.included_pages #=> Array
|
|
1013
1024
|
# resp.app_monitor.app_monitor_configuration.included_pages[0] #=> String
|
|
1025
|
+
# resp.app_monitor.app_monitor_configuration.favorite_pages #=> Array
|
|
1026
|
+
# resp.app_monitor.app_monitor_configuration.favorite_pages[0] #=> String
|
|
1014
1027
|
# resp.app_monitor.app_monitor_configuration.session_sample_rate #=> Float
|
|
1028
|
+
# resp.app_monitor.app_monitor_configuration.guest_role_arn #=> String
|
|
1029
|
+
# resp.app_monitor.app_monitor_configuration.allow_cookies #=> Boolean
|
|
1015
1030
|
# resp.app_monitor.app_monitor_configuration.telemetries #=> Array
|
|
1016
1031
|
# resp.app_monitor.app_monitor_configuration.telemetries[0] #=> String, one of "errors", "performance", "http"
|
|
1017
|
-
# resp.app_monitor.
|
|
1018
|
-
# resp.app_monitor.custom_events.status #=> String, one of "ENABLED", "DISABLED"
|
|
1032
|
+
# resp.app_monitor.app_monitor_configuration.enable_x_ray #=> Boolean
|
|
1019
1033
|
# resp.app_monitor.data_storage.cw_log.cw_log_enabled #=> Boolean
|
|
1020
1034
|
# resp.app_monitor.data_storage.cw_log.cw_log_group #=> String
|
|
1021
|
-
# resp.app_monitor.
|
|
1035
|
+
# resp.app_monitor.custom_events.status #=> String, one of "ENABLED", "DISABLED"
|
|
1022
1036
|
# resp.app_monitor.deobfuscation_configuration.java_script_source_maps.status #=> String, one of "ENABLED", "DISABLED"
|
|
1023
|
-
# resp.app_monitor.
|
|
1024
|
-
# resp.app_monitor.
|
|
1025
|
-
# resp.app_monitor.domain_list[0] #=> String
|
|
1026
|
-
# resp.app_monitor.id #=> String
|
|
1027
|
-
# resp.app_monitor.last_modified #=> String
|
|
1028
|
-
# resp.app_monitor.name #=> String
|
|
1029
|
-
# resp.app_monitor.state #=> String, one of "CREATED", "DELETING", "ACTIVE"
|
|
1030
|
-
# resp.app_monitor.tags #=> Hash
|
|
1031
|
-
# resp.app_monitor.tags["TagKey"] #=> String
|
|
1037
|
+
# resp.app_monitor.deobfuscation_configuration.java_script_source_maps.s3_uri #=> String
|
|
1038
|
+
# resp.app_monitor.platform #=> String, one of "Web", "Android", "iOS"
|
|
1032
1039
|
#
|
|
1033
1040
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetAppMonitor AWS API Documentation
|
|
1034
1041
|
#
|
|
@@ -1043,6 +1050,14 @@ module Aws::CloudWatchRUM
|
|
|
1043
1050
|
# web application, so that you can do your own processing or analysis of
|
|
1044
1051
|
# this data.
|
|
1045
1052
|
#
|
|
1053
|
+
# @option params [required, String] :name
|
|
1054
|
+
# The name of the app monitor that collected the data that you want to
|
|
1055
|
+
# retrieve.
|
|
1056
|
+
#
|
|
1057
|
+
# @option params [required, Types::TimeRange] :time_range
|
|
1058
|
+
# A structure that defines the time range that you want to retrieve
|
|
1059
|
+
# results from.
|
|
1060
|
+
#
|
|
1046
1061
|
# @option params [Array<Types::QueryFilter>] :filters
|
|
1047
1062
|
# An array of structures that you can use to filter the results to those
|
|
1048
1063
|
# that match one or more sets of key-value pairs that you specify.
|
|
@@ -1050,18 +1065,10 @@ module Aws::CloudWatchRUM
|
|
|
1050
1065
|
# @option params [Integer] :max_results
|
|
1051
1066
|
# The maximum number of results to return in one operation.
|
|
1052
1067
|
#
|
|
1053
|
-
# @option params [required, String] :name
|
|
1054
|
-
# The name of the app monitor that collected the data that you want to
|
|
1055
|
-
# retrieve.
|
|
1056
|
-
#
|
|
1057
1068
|
# @option params [String] :next_token
|
|
1058
1069
|
# Use the token returned by the previous operation to request the next
|
|
1059
1070
|
# page of results.
|
|
1060
1071
|
#
|
|
1061
|
-
# @option params [required, Types::TimeRange] :time_range
|
|
1062
|
-
# A structure that defines the time range that you want to retrieve
|
|
1063
|
-
# results from.
|
|
1064
|
-
#
|
|
1065
1072
|
# @return [Types::GetAppMonitorDataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1066
1073
|
#
|
|
1067
1074
|
# * {Types::GetAppMonitorDataResponse#events #events} => Array<String>
|
|
@@ -1072,6 +1079,11 @@ module Aws::CloudWatchRUM
|
|
|
1072
1079
|
# @example Request syntax with placeholder values
|
|
1073
1080
|
#
|
|
1074
1081
|
# resp = client.get_app_monitor_data({
|
|
1082
|
+
# name: "AppMonitorName", # required
|
|
1083
|
+
# time_range: { # required
|
|
1084
|
+
# after: 1, # required
|
|
1085
|
+
# before: 1,
|
|
1086
|
+
# },
|
|
1075
1087
|
# filters: [
|
|
1076
1088
|
# {
|
|
1077
1089
|
# name: "QueryFilterKey",
|
|
@@ -1079,12 +1091,7 @@ module Aws::CloudWatchRUM
|
|
|
1079
1091
|
# },
|
|
1080
1092
|
# ],
|
|
1081
1093
|
# max_results: 1,
|
|
1082
|
-
# name: "AppMonitorName", # required
|
|
1083
1094
|
# next_token: "Token",
|
|
1084
|
-
# time_range: { # required
|
|
1085
|
-
# after: 1, # required
|
|
1086
|
-
# before: 1,
|
|
1087
|
-
# },
|
|
1088
1095
|
# })
|
|
1089
1096
|
#
|
|
1090
1097
|
# @example Response structure
|
|
@@ -1147,8 +1154,8 @@ module Aws::CloudWatchRUM
|
|
|
1147
1154
|
#
|
|
1148
1155
|
# @return [Types::ListAppMonitorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1149
1156
|
#
|
|
1150
|
-
# * {Types::ListAppMonitorsResponse#app_monitor_summaries #app_monitor_summaries} => Array<Types::AppMonitorSummary>
|
|
1151
1157
|
# * {Types::ListAppMonitorsResponse#next_token #next_token} => String
|
|
1158
|
+
# * {Types::ListAppMonitorsResponse#app_monitor_summaries #app_monitor_summaries} => Array<Types::AppMonitorSummary>
|
|
1152
1159
|
#
|
|
1153
1160
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1154
1161
|
#
|
|
@@ -1161,13 +1168,14 @@ module Aws::CloudWatchRUM
|
|
|
1161
1168
|
#
|
|
1162
1169
|
# @example Response structure
|
|
1163
1170
|
#
|
|
1171
|
+
# resp.next_token #=> String
|
|
1164
1172
|
# resp.app_monitor_summaries #=> Array
|
|
1165
|
-
# resp.app_monitor_summaries[0].
|
|
1173
|
+
# resp.app_monitor_summaries[0].name #=> String
|
|
1166
1174
|
# resp.app_monitor_summaries[0].id #=> String
|
|
1175
|
+
# resp.app_monitor_summaries[0].created #=> String
|
|
1167
1176
|
# resp.app_monitor_summaries[0].last_modified #=> String
|
|
1168
|
-
# resp.app_monitor_summaries[0].name #=> String
|
|
1169
1177
|
# resp.app_monitor_summaries[0].state #=> String, one of "CREATED", "DELETING", "ACTIVE"
|
|
1170
|
-
# resp.
|
|
1178
|
+
# resp.app_monitor_summaries[0].platform #=> String, one of "Web", "Android", "iOS"
|
|
1171
1179
|
#
|
|
1172
1180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/ListAppMonitors AWS API Documentation
|
|
1173
1181
|
#
|
|
@@ -1337,60 +1345,60 @@ module Aws::CloudWatchRUM
|
|
|
1337
1345
|
# Each `PutRumEvents` operation can send a batch of events from one user
|
|
1338
1346
|
# session.
|
|
1339
1347
|
#
|
|
1340
|
-
# @option params [String] :
|
|
1341
|
-
#
|
|
1342
|
-
# `PutRumEvents` requests to specify a certain alias, specify that alias
|
|
1343
|
-
# here. This alias will be compared to the `rum:alias` context key in
|
|
1344
|
-
# the resource-based policy. For more information, see [Using
|
|
1345
|
-
# resource-based policies with CloudWatch RUM][1].
|
|
1346
|
-
#
|
|
1347
|
-
#
|
|
1348
|
+
# @option params [required, String] :id
|
|
1349
|
+
# The ID of the app monitor that is sending this data.
|
|
1348
1350
|
#
|
|
1349
|
-
#
|
|
1351
|
+
# @option params [required, String] :batch_id
|
|
1352
|
+
# A unique identifier for this batch of RUM event data.
|
|
1350
1353
|
#
|
|
1351
1354
|
# @option params [required, Types::AppMonitorDetails] :app_monitor_details
|
|
1352
1355
|
# A structure that contains information about the app monitor that
|
|
1353
1356
|
# collected this telemetry information.
|
|
1354
1357
|
#
|
|
1355
|
-
# @option params [required,
|
|
1356
|
-
# A
|
|
1357
|
-
#
|
|
1358
|
-
# @option params [required, String] :id
|
|
1359
|
-
# The ID of the app monitor that is sending this data.
|
|
1358
|
+
# @option params [required, Types::UserDetails] :user_details
|
|
1359
|
+
# A structure that contains information about the user session that this
|
|
1360
|
+
# batch of events was collected from.
|
|
1360
1361
|
#
|
|
1361
1362
|
# @option params [required, Array<Types::RumEvent>] :rum_events
|
|
1362
1363
|
# An array of structures that contain the telemetry event data.
|
|
1363
1364
|
#
|
|
1364
|
-
# @option params [
|
|
1365
|
-
#
|
|
1366
|
-
#
|
|
1365
|
+
# @option params [String] :alias
|
|
1366
|
+
# If the app monitor uses a resource-based policy that requires
|
|
1367
|
+
# `PutRumEvents` requests to specify a certain alias, specify that alias
|
|
1368
|
+
# here. This alias will be compared to the `rum:alias` context key in
|
|
1369
|
+
# the resource-based policy. For more information, see [Using
|
|
1370
|
+
# resource-based policies with CloudWatch RUM][1].
|
|
1371
|
+
#
|
|
1372
|
+
#
|
|
1373
|
+
#
|
|
1374
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
|
|
1367
1375
|
#
|
|
1368
1376
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1369
1377
|
#
|
|
1370
1378
|
# @example Request syntax with placeholder values
|
|
1371
1379
|
#
|
|
1372
1380
|
# resp = client.put_rum_events({
|
|
1373
|
-
#
|
|
1381
|
+
# id: "PutRumEventsRequestIdString", # required
|
|
1382
|
+
# batch_id: "PutRumEventsRequestBatchIdString", # required
|
|
1374
1383
|
# app_monitor_details: { # required
|
|
1375
|
-
# id: "String",
|
|
1376
1384
|
# name: "String",
|
|
1385
|
+
# id: "String",
|
|
1377
1386
|
# version: "String",
|
|
1378
1387
|
# },
|
|
1379
|
-
#
|
|
1380
|
-
#
|
|
1388
|
+
# user_details: { # required
|
|
1389
|
+
# user_id: "UserDetailsUserIdString",
|
|
1390
|
+
# session_id: "UserDetailsSessionIdString",
|
|
1391
|
+
# },
|
|
1381
1392
|
# rum_events: [ # required
|
|
1382
1393
|
# {
|
|
1383
|
-
# details: "JsonValue", # required
|
|
1384
1394
|
# id: "RumEventIdString", # required
|
|
1385
|
-
# metadata: "JsonValue",
|
|
1386
1395
|
# timestamp: Time.now, # required
|
|
1387
1396
|
# type: "String", # required
|
|
1397
|
+
# metadata: "JsonValue",
|
|
1398
|
+
# details: "JsonValue", # required
|
|
1388
1399
|
# },
|
|
1389
1400
|
# ],
|
|
1390
|
-
#
|
|
1391
|
-
# session_id: "UserDetailsSessionIdString",
|
|
1392
|
-
# user_id: "UserDetailsUserIdString",
|
|
1393
|
-
# },
|
|
1401
|
+
# alias: "Alias",
|
|
1394
1402
|
# })
|
|
1395
1403
|
#
|
|
1396
1404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutRumEvents AWS API Documentation
|
|
@@ -1566,6 +1574,18 @@ module Aws::CloudWatchRUM
|
|
|
1566
1574
|
# [2]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_CreateAppMonitor.html
|
|
1567
1575
|
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-find-code-snippet.html
|
|
1568
1576
|
#
|
|
1577
|
+
# @option params [required, String] :name
|
|
1578
|
+
# The name of the app monitor to update.
|
|
1579
|
+
#
|
|
1580
|
+
# @option params [String] :domain
|
|
1581
|
+
# The top-level internet domain name for which your application has
|
|
1582
|
+
# administrative authority.
|
|
1583
|
+
#
|
|
1584
|
+
# @option params [Array<String>] :domain_list
|
|
1585
|
+
# List the domain names for which your application has administrative
|
|
1586
|
+
# authority. The `UpdateAppMonitor` allows either the domain or the
|
|
1587
|
+
# domain list.
|
|
1588
|
+
#
|
|
1569
1589
|
# @option params [Types::AppMonitorConfiguration] :app_monitor_configuration
|
|
1570
1590
|
# A structure that contains much of the configuration data for the app
|
|
1571
1591
|
# monitor. If you are using Amazon Cognito for authorization, you must
|
|
@@ -1579,6 +1599,13 @@ module Aws::CloudWatchRUM
|
|
|
1579
1599
|
#
|
|
1580
1600
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html
|
|
1581
1601
|
#
|
|
1602
|
+
# @option params [Boolean] :cw_log_enabled
|
|
1603
|
+
# Data collected by RUM is kept by RUM for 30 days and then deleted.
|
|
1604
|
+
# This parameter specifies whether RUM sends a copy of this telemetry
|
|
1605
|
+
# data to Amazon CloudWatch Logs in your account. This enables you to
|
|
1606
|
+
# keep the telemetry data for more than 30 days, but it does incur
|
|
1607
|
+
# Amazon CloudWatch Logs charges.
|
|
1608
|
+
#
|
|
1582
1609
|
# @option params [Types::CustomEvents] :custom_events
|
|
1583
1610
|
# Specifies whether this app monitor allows the web client to define and
|
|
1584
1611
|
# send custom events. The default is for custom events to be `DISABLED`.
|
|
@@ -1589,58 +1616,39 @@ module Aws::CloudWatchRUM
|
|
|
1589
1616
|
#
|
|
1590
1617
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-events.html
|
|
1591
1618
|
#
|
|
1592
|
-
# @option params [Boolean] :cw_log_enabled
|
|
1593
|
-
# Data collected by RUM is kept by RUM for 30 days and then deleted.
|
|
1594
|
-
# This parameter specifies whether RUM sends a copy of this telemetry
|
|
1595
|
-
# data to Amazon CloudWatch Logs in your account. This enables you to
|
|
1596
|
-
# keep the telemetry data for more than 30 days, but it does incur
|
|
1597
|
-
# Amazon CloudWatch Logs charges.
|
|
1598
|
-
#
|
|
1599
1619
|
# @option params [Types::DeobfuscationConfiguration] :deobfuscation_configuration
|
|
1600
1620
|
# A structure that contains the configuration for how an app monitor can
|
|
1601
1621
|
# deobfuscate stack traces.
|
|
1602
1622
|
#
|
|
1603
|
-
# @option params [String] :domain
|
|
1604
|
-
# The top-level internet domain name for which your application has
|
|
1605
|
-
# administrative authority.
|
|
1606
|
-
#
|
|
1607
|
-
# @option params [Array<String>] :domain_list
|
|
1608
|
-
# List the domain names for which your application has administrative
|
|
1609
|
-
# authority. The `UpdateAppMonitor` allows either the domain or the
|
|
1610
|
-
# domain list.
|
|
1611
|
-
#
|
|
1612
|
-
# @option params [required, String] :name
|
|
1613
|
-
# The name of the app monitor to update.
|
|
1614
|
-
#
|
|
1615
1623
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1616
1624
|
#
|
|
1617
1625
|
# @example Request syntax with placeholder values
|
|
1618
1626
|
#
|
|
1619
1627
|
# resp = client.update_app_monitor({
|
|
1628
|
+
# name: "AppMonitorName", # required
|
|
1629
|
+
# domain: "AppMonitorDomain",
|
|
1630
|
+
# domain_list: ["AppMonitorDomain"],
|
|
1620
1631
|
# app_monitor_configuration: {
|
|
1621
|
-
# allow_cookies: false,
|
|
1622
|
-
# enable_x_ray: false,
|
|
1623
|
-
# excluded_pages: ["Url"],
|
|
1624
|
-
# favorite_pages: ["String"],
|
|
1625
|
-
# guest_role_arn: "Arn",
|
|
1626
1632
|
# identity_pool_id: "IdentityPoolId",
|
|
1633
|
+
# excluded_pages: ["Url"],
|
|
1627
1634
|
# included_pages: ["Url"],
|
|
1635
|
+
# favorite_pages: ["String"],
|
|
1628
1636
|
# session_sample_rate: 1.0,
|
|
1637
|
+
# guest_role_arn: "Arn",
|
|
1638
|
+
# allow_cookies: false,
|
|
1629
1639
|
# telemetries: ["errors"], # accepts errors, performance, http
|
|
1640
|
+
# enable_x_ray: false,
|
|
1630
1641
|
# },
|
|
1642
|
+
# cw_log_enabled: false,
|
|
1631
1643
|
# custom_events: {
|
|
1632
1644
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
1633
1645
|
# },
|
|
1634
|
-
# cw_log_enabled: false,
|
|
1635
1646
|
# deobfuscation_configuration: {
|
|
1636
1647
|
# java_script_source_maps: {
|
|
1637
|
-
# s3_uri: "DeobfuscationS3Uri",
|
|
1638
1648
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
1649
|
+
# s3_uri: "DeobfuscationS3Uri",
|
|
1639
1650
|
# },
|
|
1640
1651
|
# },
|
|
1641
|
-
# domain: "AppMonitorDomain",
|
|
1642
|
-
# domain_list: ["AppMonitorDomain"],
|
|
1643
|
-
# name: "AppMonitorName", # required
|
|
1644
1652
|
# })
|
|
1645
1653
|
#
|
|
1646
1654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/UpdateAppMonitor AWS API Documentation
|
|
@@ -1699,14 +1707,14 @@ module Aws::CloudWatchRUM
|
|
|
1699
1707
|
# destination: "CloudWatch", # required, accepts CloudWatch, Evidently
|
|
1700
1708
|
# destination_arn: "DestinationArn",
|
|
1701
1709
|
# metric_definition: { # required
|
|
1710
|
+
# name: "MetricName", # required
|
|
1711
|
+
# value_key: "ValueKey",
|
|
1712
|
+
# unit_label: "UnitLabel",
|
|
1702
1713
|
# dimension_keys: {
|
|
1703
1714
|
# "DimensionKey" => "DimensionName",
|
|
1704
1715
|
# },
|
|
1705
1716
|
# event_pattern: "EventPattern",
|
|
1706
|
-
# name: "MetricName", # required
|
|
1707
1717
|
# namespace: "Namespace",
|
|
1708
|
-
# unit_label: "UnitLabel",
|
|
1709
|
-
# value_key: "ValueKey",
|
|
1710
1718
|
# },
|
|
1711
1719
|
# metric_definition_id: "MetricDefinitionId", # required
|
|
1712
1720
|
# })
|
|
@@ -1738,7 +1746,7 @@ module Aws::CloudWatchRUM
|
|
|
1738
1746
|
tracer: tracer
|
|
1739
1747
|
)
|
|
1740
1748
|
context[:gem_name] = 'aws-sdk-cloudwatchrum'
|
|
1741
|
-
context[:gem_version] = '1.
|
|
1749
|
+
context[:gem_version] = '1.50.0'
|
|
1742
1750
|
Seahorse::Client::Request.new(handlers, context)
|
|
1743
1751
|
end
|
|
1744
1752
|
|