aws-sdk-cloudwatchrum 1.37.0 → 1.39.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchrum/client.rb +184 -3
- data/lib/aws-sdk-cloudwatchrum/client_api.rb +119 -1
- data/lib/aws-sdk-cloudwatchrum/errors.rb +64 -0
- data/lib/aws-sdk-cloudwatchrum/types.rb +265 -0
- data/lib/aws-sdk-cloudwatchrum.rb +1 -1
- data/sig/client.rbs +51 -1
- data/sig/errors.rbs +12 -0
- data/sig/types.rbs +73 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26114cec684f8c532e059f4abe33cbdcd5dc8d022805e66f8299017fd0fcabf5
|
4
|
+
data.tar.gz: 3a23b1fd8ffcc78193f0a3e6e4504b0110671861b9f03a35d4523bc11fb6443f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3730e57385a854b31b97ef8ced45a6390b1fe93225f17fa438a88648b175e7b8804e067668babc26afa9dd7542eed1fa42e30154ffdde5175b7a4fa88cf51add
|
7
|
+
data.tar.gz: 276a8b3e92d8126ff287e8911f4c3f5327a6448764423449c7d034433d6a14bbefb73c1a51ac9d68809e3b5121b1a47b981551815f90e408701a98e533cee7bd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.39.0 (2025-03-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - CloudWatch RUM now supports unminification of JS error stack traces.
|
8
|
+
|
9
|
+
1.38.0 (2025-03-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy to support resource based policies for AWS CloudWatch RUM
|
13
|
+
|
4
14
|
1.37.0 (2025-02-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -798,10 +798,19 @@ module Aws::CloudWatchRUM
|
|
798
798
|
#
|
799
799
|
# If you omit this parameter, the default is `false`.
|
800
800
|
#
|
801
|
-
# @option params [
|
801
|
+
# @option params [Types::DeobfuscationConfiguration] :deobfuscation_configuration
|
802
|
+
# A structure that contains the configuration for how an app monitor can
|
803
|
+
# deobfuscate stack traces.
|
804
|
+
#
|
805
|
+
# @option params [String] :domain
|
802
806
|
# The top-level internet domain name for which your application has
|
803
807
|
# administrative authority.
|
804
808
|
#
|
809
|
+
# @option params [Array<String>] :domain_list
|
810
|
+
# List the domain names for which your application has administrative
|
811
|
+
# authority. The `CreateAppMonitor` requires either the domain or the
|
812
|
+
# domain list.
|
813
|
+
#
|
805
814
|
# @option params [required, String] :name
|
806
815
|
# A name for the app monitor.
|
807
816
|
#
|
@@ -845,7 +854,14 @@ module Aws::CloudWatchRUM
|
|
845
854
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
846
855
|
# },
|
847
856
|
# cw_log_enabled: false,
|
848
|
-
#
|
857
|
+
# deobfuscation_configuration: {
|
858
|
+
# java_script_source_maps: {
|
859
|
+
# s3_uri: "DeobfuscationS3Uri",
|
860
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
861
|
+
# },
|
862
|
+
# },
|
863
|
+
# domain: "AppMonitorDomain",
|
864
|
+
# domain_list: ["AppMonitorDomain"],
|
849
865
|
# name: "AppMonitorName", # required
|
850
866
|
# tags: {
|
851
867
|
# "TagKey" => "TagValue",
|
@@ -888,6 +904,43 @@ module Aws::CloudWatchRUM
|
|
888
904
|
req.send_request(options)
|
889
905
|
end
|
890
906
|
|
907
|
+
# Removes the association of a resource-based policy from an app
|
908
|
+
# monitor.
|
909
|
+
#
|
910
|
+
# @option params [required, String] :name
|
911
|
+
# The app monitor that you want to remove the resource policy from.
|
912
|
+
#
|
913
|
+
# @option params [String] :policy_revision_id
|
914
|
+
# Specifies a specific policy revision to delete. Provide a
|
915
|
+
# `PolicyRevisionId` to ensure an atomic delete operation. If the
|
916
|
+
# revision ID that you provide doesn't match the latest policy revision
|
917
|
+
# ID, the request will be rejected with an
|
918
|
+
# `InvalidPolicyRevisionIdException` error.
|
919
|
+
#
|
920
|
+
# @return [Types::DeleteResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
921
|
+
#
|
922
|
+
# * {Types::DeleteResourcePolicyResponse#policy_revision_id #policy_revision_id} => String
|
923
|
+
#
|
924
|
+
# @example Request syntax with placeholder values
|
925
|
+
#
|
926
|
+
# resp = client.delete_resource_policy({
|
927
|
+
# name: "AppMonitorName", # required
|
928
|
+
# policy_revision_id: "PolicyRevisionId",
|
929
|
+
# })
|
930
|
+
#
|
931
|
+
# @example Response structure
|
932
|
+
#
|
933
|
+
# resp.policy_revision_id #=> String
|
934
|
+
#
|
935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeleteResourcePolicy AWS API Documentation
|
936
|
+
#
|
937
|
+
# @overload delete_resource_policy(params = {})
|
938
|
+
# @param [Hash] params ({})
|
939
|
+
def delete_resource_policy(params = {}, options = {})
|
940
|
+
req = build_request(:delete_resource_policy, params)
|
941
|
+
req.send_request(options)
|
942
|
+
end
|
943
|
+
|
891
944
|
# Deletes a destination for CloudWatch RUM extended metrics, so that the
|
892
945
|
# specified app monitor stops sending extended metrics to that
|
893
946
|
# destination.
|
@@ -959,7 +1012,11 @@ module Aws::CloudWatchRUM
|
|
959
1012
|
# resp.app_monitor.custom_events.status #=> String, one of "ENABLED", "DISABLED"
|
960
1013
|
# resp.app_monitor.data_storage.cw_log.cw_log_enabled #=> Boolean
|
961
1014
|
# resp.app_monitor.data_storage.cw_log.cw_log_group #=> String
|
1015
|
+
# resp.app_monitor.deobfuscation_configuration.java_script_source_maps.s3_uri #=> String
|
1016
|
+
# resp.app_monitor.deobfuscation_configuration.java_script_source_maps.status #=> String, one of "ENABLED", "DISABLED"
|
962
1017
|
# resp.app_monitor.domain #=> String
|
1018
|
+
# resp.app_monitor.domain_list #=> Array
|
1019
|
+
# resp.app_monitor.domain_list[0] #=> String
|
963
1020
|
# resp.app_monitor.id #=> String
|
964
1021
|
# resp.app_monitor.last_modified #=> String
|
965
1022
|
# resp.app_monitor.name #=> String
|
@@ -1039,6 +1096,38 @@ module Aws::CloudWatchRUM
|
|
1039
1096
|
req.send_request(options)
|
1040
1097
|
end
|
1041
1098
|
|
1099
|
+
# Use this operation to retrieve information about a resource-based
|
1100
|
+
# policy that is attached to an app monitor.
|
1101
|
+
#
|
1102
|
+
# @option params [required, String] :name
|
1103
|
+
# The name of the app monitor that is associated with the resource-based
|
1104
|
+
# policy that you want to view.
|
1105
|
+
#
|
1106
|
+
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1107
|
+
#
|
1108
|
+
# * {Types::GetResourcePolicyResponse#policy_document #policy_document} => String
|
1109
|
+
# * {Types::GetResourcePolicyResponse#policy_revision_id #policy_revision_id} => String
|
1110
|
+
#
|
1111
|
+
# @example Request syntax with placeholder values
|
1112
|
+
#
|
1113
|
+
# resp = client.get_resource_policy({
|
1114
|
+
# name: "AppMonitorName", # required
|
1115
|
+
# })
|
1116
|
+
#
|
1117
|
+
# @example Response structure
|
1118
|
+
#
|
1119
|
+
# resp.policy_document #=> String
|
1120
|
+
# resp.policy_revision_id #=> String
|
1121
|
+
#
|
1122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetResourcePolicy AWS API Documentation
|
1123
|
+
#
|
1124
|
+
# @overload get_resource_policy(params = {})
|
1125
|
+
# @param [Hash] params ({})
|
1126
|
+
def get_resource_policy(params = {}, options = {})
|
1127
|
+
req = build_request(:get_resource_policy, params)
|
1128
|
+
req.send_request(options)
|
1129
|
+
end
|
1130
|
+
|
1042
1131
|
# Returns a list of the Amazon CloudWatch RUM app monitors in the
|
1043
1132
|
# account.
|
1044
1133
|
#
|
@@ -1170,6 +1259,70 @@ module Aws::CloudWatchRUM
|
|
1170
1259
|
req.send_request(options)
|
1171
1260
|
end
|
1172
1261
|
|
1262
|
+
# Use this operation to assign a resource-based policy to a CloudWatch
|
1263
|
+
# RUM app monitor to control access to it. Each app monitor can have one
|
1264
|
+
# resource-based policy. The maximum size of the policy is 4 KB. To
|
1265
|
+
# learn more about using resource policies with RUM, see [Using
|
1266
|
+
# resource-based policies with CloudWatch RUM][1].
|
1267
|
+
#
|
1268
|
+
#
|
1269
|
+
#
|
1270
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
|
1271
|
+
#
|
1272
|
+
# @option params [required, String] :name
|
1273
|
+
# The name of the app monitor that you want to apply this resource-based
|
1274
|
+
# policy to. To find the names of your app monitors, you can use the
|
1275
|
+
# [ListAppMonitors][1] operation.
|
1276
|
+
#
|
1277
|
+
#
|
1278
|
+
#
|
1279
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_ListAppMonitors.html
|
1280
|
+
#
|
1281
|
+
# @option params [required, String] :policy_document
|
1282
|
+
# The JSON to use as the resource policy. The document can be up to 4 KB
|
1283
|
+
# in size. For more information about the contents and syntax for this
|
1284
|
+
# policy, see [Using resource-based policies with CloudWatch RUM][1].
|
1285
|
+
#
|
1286
|
+
#
|
1287
|
+
#
|
1288
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
|
1289
|
+
#
|
1290
|
+
# @option params [String] :policy_revision_id
|
1291
|
+
# A string value that you can use to conditionally update your policy.
|
1292
|
+
# You can provide the revision ID of your existing policy to make
|
1293
|
+
# mutating requests against that policy.
|
1294
|
+
#
|
1295
|
+
# When you assign a policy revision ID, then later requests about that
|
1296
|
+
# policy will be rejected with an `InvalidPolicyRevisionIdException`
|
1297
|
+
# error if they don't provide the correct current revision ID.
|
1298
|
+
#
|
1299
|
+
# @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1300
|
+
#
|
1301
|
+
# * {Types::PutResourcePolicyResponse#policy_document #policy_document} => String
|
1302
|
+
# * {Types::PutResourcePolicyResponse#policy_revision_id #policy_revision_id} => String
|
1303
|
+
#
|
1304
|
+
# @example Request syntax with placeholder values
|
1305
|
+
#
|
1306
|
+
# resp = client.put_resource_policy({
|
1307
|
+
# name: "AppMonitorName", # required
|
1308
|
+
# policy_document: "String", # required
|
1309
|
+
# policy_revision_id: "PolicyRevisionId",
|
1310
|
+
# })
|
1311
|
+
#
|
1312
|
+
# @example Response structure
|
1313
|
+
#
|
1314
|
+
# resp.policy_document #=> String
|
1315
|
+
# resp.policy_revision_id #=> String
|
1316
|
+
#
|
1317
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutResourcePolicy AWS API Documentation
|
1318
|
+
#
|
1319
|
+
# @overload put_resource_policy(params = {})
|
1320
|
+
# @param [Hash] params ({})
|
1321
|
+
def put_resource_policy(params = {}, options = {})
|
1322
|
+
req = build_request(:put_resource_policy, params)
|
1323
|
+
req.send_request(options)
|
1324
|
+
end
|
1325
|
+
|
1173
1326
|
# Sends telemetry events about your application performance and user
|
1174
1327
|
# behavior to CloudWatch RUM. The code snippet that RUM generates for
|
1175
1328
|
# you to add to your application includes `PutRumEvents` operations to
|
@@ -1178,6 +1331,17 @@ module Aws::CloudWatchRUM
|
|
1178
1331
|
# Each `PutRumEvents` operation can send a batch of events from one user
|
1179
1332
|
# session.
|
1180
1333
|
#
|
1334
|
+
# @option params [String] :alias
|
1335
|
+
# If the app monitor uses a resource-based policy that requires
|
1336
|
+
# `PutRumEvents` requests to specify a certain alias, specify that alias
|
1337
|
+
# here. This alias will be compared to the `rum:alias` context key in
|
1338
|
+
# the resource-based policy. For more information, see [Using
|
1339
|
+
# resource-based policies with CloudWatch RUM][1].
|
1340
|
+
#
|
1341
|
+
#
|
1342
|
+
#
|
1343
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
|
1344
|
+
#
|
1181
1345
|
# @option params [required, Types::AppMonitorDetails] :app_monitor_details
|
1182
1346
|
# A structure that contains information about the app monitor that
|
1183
1347
|
# collected this telemetry information.
|
@@ -1200,6 +1364,7 @@ module Aws::CloudWatchRUM
|
|
1200
1364
|
# @example Request syntax with placeholder values
|
1201
1365
|
#
|
1202
1366
|
# resp = client.put_rum_events({
|
1367
|
+
# alias: "Alias",
|
1203
1368
|
# app_monitor_details: { # required
|
1204
1369
|
# id: "String",
|
1205
1370
|
# name: "String",
|
@@ -1425,10 +1590,19 @@ module Aws::CloudWatchRUM
|
|
1425
1590
|
# keep the telemetry data for more than 30 days, but it does incur
|
1426
1591
|
# Amazon CloudWatch Logs charges.
|
1427
1592
|
#
|
1593
|
+
# @option params [Types::DeobfuscationConfiguration] :deobfuscation_configuration
|
1594
|
+
# A structure that contains the configuration for how an app monitor can
|
1595
|
+
# deobfuscate stack traces.
|
1596
|
+
#
|
1428
1597
|
# @option params [String] :domain
|
1429
1598
|
# The top-level internet domain name for which your application has
|
1430
1599
|
# administrative authority.
|
1431
1600
|
#
|
1601
|
+
# @option params [Array<String>] :domain_list
|
1602
|
+
# List the domain names for which your application has administrative
|
1603
|
+
# authority. The `UpdateAppMonitor` allows either the domain or the
|
1604
|
+
# domain list.
|
1605
|
+
#
|
1432
1606
|
# @option params [required, String] :name
|
1433
1607
|
# The name of the app monitor to update.
|
1434
1608
|
#
|
@@ -1452,7 +1626,14 @@ module Aws::CloudWatchRUM
|
|
1452
1626
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
1453
1627
|
# },
|
1454
1628
|
# cw_log_enabled: false,
|
1629
|
+
# deobfuscation_configuration: {
|
1630
|
+
# java_script_source_maps: {
|
1631
|
+
# s3_uri: "DeobfuscationS3Uri",
|
1632
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
1633
|
+
# },
|
1634
|
+
# },
|
1455
1635
|
# domain: "AppMonitorDomain",
|
1636
|
+
# domain_list: ["AppMonitorDomain"],
|
1456
1637
|
# name: "AppMonitorName", # required
|
1457
1638
|
# })
|
1458
1639
|
#
|
@@ -1551,7 +1732,7 @@ module Aws::CloudWatchRUM
|
|
1551
1732
|
tracer: tracer
|
1552
1733
|
)
|
1553
1734
|
context[:gem_name] = 'aws-sdk-cloudwatchrum'
|
1554
|
-
context[:gem_version] = '1.
|
1735
|
+
context[:gem_version] = '1.39.0'
|
1555
1736
|
Seahorse::Client::Request.new(handlers, context)
|
1556
1737
|
end
|
1557
1738
|
|
@@ -15,10 +15,12 @@ module Aws::CloudWatchRUM
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
Alias = Shapes::StringShape.new(name: 'Alias')
|
18
19
|
AppMonitor = Shapes::StructureShape.new(name: 'AppMonitor')
|
19
20
|
AppMonitorConfiguration = Shapes::StructureShape.new(name: 'AppMonitorConfiguration')
|
20
21
|
AppMonitorDetails = Shapes::StructureShape.new(name: 'AppMonitorDetails')
|
21
22
|
AppMonitorDomain = Shapes::StringShape.new(name: 'AppMonitorDomain')
|
23
|
+
AppMonitorDomainList = Shapes::ListShape.new(name: 'AppMonitorDomainList')
|
22
24
|
AppMonitorId = Shapes::StringShape.new(name: 'AppMonitorId')
|
23
25
|
AppMonitorName = Shapes::StringShape.new(name: 'AppMonitorName')
|
24
26
|
AppMonitorSummary = Shapes::StructureShape.new(name: 'AppMonitorSummary')
|
@@ -44,8 +46,13 @@ module Aws::CloudWatchRUM
|
|
44
46
|
DataStorage = Shapes::StructureShape.new(name: 'DataStorage')
|
45
47
|
DeleteAppMonitorRequest = Shapes::StructureShape.new(name: 'DeleteAppMonitorRequest')
|
46
48
|
DeleteAppMonitorResponse = Shapes::StructureShape.new(name: 'DeleteAppMonitorResponse')
|
49
|
+
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
50
|
+
DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
|
47
51
|
DeleteRumMetricsDestinationRequest = Shapes::StructureShape.new(name: 'DeleteRumMetricsDestinationRequest')
|
48
52
|
DeleteRumMetricsDestinationResponse = Shapes::StructureShape.new(name: 'DeleteRumMetricsDestinationResponse')
|
53
|
+
DeobfuscationConfiguration = Shapes::StructureShape.new(name: 'DeobfuscationConfiguration')
|
54
|
+
DeobfuscationS3Uri = Shapes::StringShape.new(name: 'DeobfuscationS3Uri')
|
55
|
+
DeobfuscationStatus = Shapes::StringShape.new(name: 'DeobfuscationStatus')
|
49
56
|
DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
|
50
57
|
DimensionKey = Shapes::StringShape.new(name: 'DimensionKey')
|
51
58
|
DimensionKeysMap = Shapes::MapShape.new(name: 'DimensionKeysMap')
|
@@ -58,11 +65,15 @@ module Aws::CloudWatchRUM
|
|
58
65
|
GetAppMonitorDataResponse = Shapes::StructureShape.new(name: 'GetAppMonitorDataResponse')
|
59
66
|
GetAppMonitorRequest = Shapes::StructureShape.new(name: 'GetAppMonitorRequest')
|
60
67
|
GetAppMonitorResponse = Shapes::StructureShape.new(name: 'GetAppMonitorResponse')
|
68
|
+
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
69
|
+
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
61
70
|
ISOTimestampString = Shapes::StringShape.new(name: 'ISOTimestampString')
|
62
71
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
63
72
|
IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
|
64
73
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
65
74
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
75
|
+
InvalidPolicyRevisionIdException = Shapes::StructureShape.new(name: 'InvalidPolicyRevisionIdException')
|
76
|
+
JavaScriptSourceMaps = Shapes::StructureShape.new(name: 'JavaScriptSourceMaps')
|
66
77
|
JsonValue = Shapes::StringShape.new(name: 'JsonValue')
|
67
78
|
ListAppMonitorsRequest = Shapes::StructureShape.new(name: 'ListAppMonitorsRequest')
|
68
79
|
ListAppMonitorsResponse = Shapes::StructureShape.new(name: 'ListAppMonitorsResponse')
|
@@ -70,6 +81,7 @@ module Aws::CloudWatchRUM
|
|
70
81
|
ListRumMetricsDestinationsResponse = Shapes::StructureShape.new(name: 'ListRumMetricsDestinationsResponse')
|
71
82
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
72
83
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
84
|
+
MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
|
73
85
|
MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
|
74
86
|
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
75
87
|
MetricDefinition = Shapes::StructureShape.new(name: 'MetricDefinition')
|
@@ -84,6 +96,11 @@ module Aws::CloudWatchRUM
|
|
84
96
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
85
97
|
Namespace = Shapes::StringShape.new(name: 'Namespace')
|
86
98
|
Pages = Shapes::ListShape.new(name: 'Pages')
|
99
|
+
PolicyNotFoundException = Shapes::StructureShape.new(name: 'PolicyNotFoundException')
|
100
|
+
PolicyRevisionId = Shapes::StringShape.new(name: 'PolicyRevisionId')
|
101
|
+
PolicySizeLimitExceededException = Shapes::StructureShape.new(name: 'PolicySizeLimitExceededException')
|
102
|
+
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
103
|
+
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
87
104
|
PutRumEventsRequest = Shapes::StructureShape.new(name: 'PutRumEventsRequest')
|
88
105
|
PutRumEventsRequestBatchIdString = Shapes::StringShape.new(name: 'PutRumEventsRequestBatchIdString')
|
89
106
|
PutRumEventsRequestIdString = Shapes::StringShape.new(name: 'PutRumEventsRequestIdString')
|
@@ -137,7 +154,9 @@ module Aws::CloudWatchRUM
|
|
137
154
|
AppMonitor.add_member(:created, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "Created"))
|
138
155
|
AppMonitor.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
|
139
156
|
AppMonitor.add_member(:data_storage, Shapes::ShapeRef.new(shape: DataStorage, location_name: "DataStorage"))
|
157
|
+
AppMonitor.add_member(:deobfuscation_configuration, Shapes::ShapeRef.new(shape: DeobfuscationConfiguration, location_name: "DeobfuscationConfiguration"))
|
140
158
|
AppMonitor.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
|
159
|
+
AppMonitor.add_member(:domain_list, Shapes::ShapeRef.new(shape: AppMonitorDomainList, location_name: "DomainList"))
|
141
160
|
AppMonitor.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
|
142
161
|
AppMonitor.add_member(:last_modified, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "LastModified"))
|
143
162
|
AppMonitor.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, location_name: "Name"))
|
@@ -161,6 +180,8 @@ module Aws::CloudWatchRUM
|
|
161
180
|
AppMonitorDetails.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
162
181
|
AppMonitorDetails.struct_class = Types::AppMonitorDetails
|
163
182
|
|
183
|
+
AppMonitorDomainList.member = Shapes::ShapeRef.new(shape: AppMonitorDomain)
|
184
|
+
|
164
185
|
AppMonitorSummary.add_member(:created, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "Created"))
|
165
186
|
AppMonitorSummary.add_member(:id, Shapes::ShapeRef.new(shape: AppMonitorId, location_name: "Id"))
|
166
187
|
AppMonitorSummary.add_member(:last_modified, Shapes::ShapeRef.new(shape: ISOTimestampString, location_name: "LastModified"))
|
@@ -223,7 +244,9 @@ module Aws::CloudWatchRUM
|
|
223
244
|
CreateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
|
224
245
|
CreateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
|
225
246
|
CreateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
|
226
|
-
CreateAppMonitorRequest.add_member(:
|
247
|
+
CreateAppMonitorRequest.add_member(:deobfuscation_configuration, Shapes::ShapeRef.new(shape: DeobfuscationConfiguration, location_name: "DeobfuscationConfiguration"))
|
248
|
+
CreateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
|
249
|
+
CreateAppMonitorRequest.add_member(:domain_list, Shapes::ShapeRef.new(shape: AppMonitorDomainList, location_name: "DomainList"))
|
227
250
|
CreateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location_name: "Name"))
|
228
251
|
CreateAppMonitorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
229
252
|
CreateAppMonitorRequest.struct_class = Types::CreateAppMonitorRequest
|
@@ -246,6 +269,13 @@ module Aws::CloudWatchRUM
|
|
246
269
|
|
247
270
|
DeleteAppMonitorResponse.struct_class = Types::DeleteAppMonitorResponse
|
248
271
|
|
272
|
+
DeleteResourcePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
|
273
|
+
DeleteResourcePolicyRequest.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location: "querystring", location_name: "policyRevisionId"))
|
274
|
+
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
275
|
+
|
276
|
+
DeleteResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
|
277
|
+
DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
|
278
|
+
|
249
279
|
DeleteRumMetricsDestinationRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
|
250
280
|
DeleteRumMetricsDestinationRequest.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, required: true, location: "querystring", location_name: "destination"))
|
251
281
|
DeleteRumMetricsDestinationRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location: "querystring", location_name: "destinationArn"))
|
@@ -253,6 +283,9 @@ module Aws::CloudWatchRUM
|
|
253
283
|
|
254
284
|
DeleteRumMetricsDestinationResponse.struct_class = Types::DeleteRumMetricsDestinationResponse
|
255
285
|
|
286
|
+
DeobfuscationConfiguration.add_member(:java_script_source_maps, Shapes::ShapeRef.new(shape: JavaScriptSourceMaps, location_name: "JavaScriptSourceMaps"))
|
287
|
+
DeobfuscationConfiguration.struct_class = Types::DeobfuscationConfiguration
|
288
|
+
|
256
289
|
DimensionKeysMap.key = Shapes::ShapeRef.new(shape: DimensionKey)
|
257
290
|
DimensionKeysMap.value = Shapes::ShapeRef.new(shape: DimensionName)
|
258
291
|
|
@@ -277,10 +310,24 @@ module Aws::CloudWatchRUM
|
|
277
310
|
GetAppMonitorResponse.add_member(:app_monitor, Shapes::ShapeRef.new(shape: AppMonitor, location_name: "AppMonitor"))
|
278
311
|
GetAppMonitorResponse.struct_class = Types::GetAppMonitorResponse
|
279
312
|
|
313
|
+
GetResourcePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
|
314
|
+
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
315
|
+
|
316
|
+
GetResourcePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: String, location_name: "PolicyDocument"))
|
317
|
+
GetResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
|
318
|
+
GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
|
319
|
+
|
280
320
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
281
321
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
282
322
|
InternalServerException.struct_class = Types::InternalServerException
|
283
323
|
|
324
|
+
InvalidPolicyRevisionIdException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
325
|
+
InvalidPolicyRevisionIdException.struct_class = Types::InvalidPolicyRevisionIdException
|
326
|
+
|
327
|
+
JavaScriptSourceMaps.add_member(:s3_uri, Shapes::ShapeRef.new(shape: DeobfuscationS3Uri, location_name: "S3Uri"))
|
328
|
+
JavaScriptSourceMaps.add_member(:status, Shapes::ShapeRef.new(shape: DeobfuscationStatus, required: true, location_name: "Status"))
|
329
|
+
JavaScriptSourceMaps.struct_class = Types::JavaScriptSourceMaps
|
330
|
+
|
284
331
|
ListAppMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
285
332
|
ListAppMonitorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
286
333
|
ListAppMonitorsRequest.struct_class = Types::ListAppMonitorsRequest
|
@@ -305,6 +352,9 @@ module Aws::CloudWatchRUM
|
|
305
352
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
306
353
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
307
354
|
|
355
|
+
MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
356
|
+
MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
|
357
|
+
|
308
358
|
MetricDefinition.add_member(:dimension_keys, Shapes::ShapeRef.new(shape: DimensionKeysMap, location_name: "DimensionKeys"))
|
309
359
|
MetricDefinition.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
|
310
360
|
MetricDefinition.add_member(:metric_definition_id, Shapes::ShapeRef.new(shape: MetricDefinitionId, required: true, location_name: "MetricDefinitionId"))
|
@@ -337,6 +387,22 @@ module Aws::CloudWatchRUM
|
|
337
387
|
|
338
388
|
Pages.member = Shapes::ShapeRef.new(shape: Url)
|
339
389
|
|
390
|
+
PolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
391
|
+
PolicyNotFoundException.struct_class = Types::PolicyNotFoundException
|
392
|
+
|
393
|
+
PolicySizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
394
|
+
PolicySizeLimitExceededException.struct_class = Types::PolicySizeLimitExceededException
|
395
|
+
|
396
|
+
PutResourcePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
|
397
|
+
PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PolicyDocument"))
|
398
|
+
PutResourcePolicyRequest.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
|
399
|
+
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
400
|
+
|
401
|
+
PutResourcePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: String, location_name: "PolicyDocument"))
|
402
|
+
PutResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
|
403
|
+
PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
|
404
|
+
|
405
|
+
PutRumEventsRequest.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
|
340
406
|
PutRumEventsRequest.add_member(:app_monitor_details, Shapes::ShapeRef.new(shape: AppMonitorDetails, required: true, location_name: "AppMonitorDetails"))
|
341
407
|
PutRumEventsRequest.add_member(:batch_id, Shapes::ShapeRef.new(shape: PutRumEventsRequestBatchIdString, required: true, location_name: "BatchId"))
|
342
408
|
PutRumEventsRequest.add_member(:id, Shapes::ShapeRef.new(shape: PutRumEventsRequestIdString, required: true, location: "uri", location_name: "Id"))
|
@@ -411,7 +477,9 @@ module Aws::CloudWatchRUM
|
|
411
477
|
UpdateAppMonitorRequest.add_member(:app_monitor_configuration, Shapes::ShapeRef.new(shape: AppMonitorConfiguration, location_name: "AppMonitorConfiguration"))
|
412
478
|
UpdateAppMonitorRequest.add_member(:custom_events, Shapes::ShapeRef.new(shape: CustomEvents, location_name: "CustomEvents"))
|
413
479
|
UpdateAppMonitorRequest.add_member(:cw_log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CwLogEnabled"))
|
480
|
+
UpdateAppMonitorRequest.add_member(:deobfuscation_configuration, Shapes::ShapeRef.new(shape: DeobfuscationConfiguration, location_name: "DeobfuscationConfiguration"))
|
414
481
|
UpdateAppMonitorRequest.add_member(:domain, Shapes::ShapeRef.new(shape: AppMonitorDomain, location_name: "Domain"))
|
482
|
+
UpdateAppMonitorRequest.add_member(:domain_list, Shapes::ShapeRef.new(shape: AppMonitorDomainList, location_name: "DomainList"))
|
415
483
|
UpdateAppMonitorRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
|
416
484
|
UpdateAppMonitorRequest.struct_class = Types::UpdateAppMonitorRequest
|
417
485
|
|
@@ -441,9 +509,11 @@ module Aws::CloudWatchRUM
|
|
441
509
|
|
442
510
|
api.metadata = {
|
443
511
|
"apiVersion" => "2018-05-10",
|
512
|
+
"auth" => ["aws.auth#sigv4"],
|
444
513
|
"endpointPrefix" => "rum",
|
445
514
|
"jsonVersion" => "1.1",
|
446
515
|
"protocol" => "rest-json",
|
516
|
+
"protocols" => ["rest-json"],
|
447
517
|
"serviceFullName" => "CloudWatch RUM",
|
448
518
|
"serviceId" => "RUM",
|
449
519
|
"signatureVersion" => "v4",
|
@@ -527,6 +597,22 @@ module Aws::CloudWatchRUM
|
|
527
597
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
528
598
|
end)
|
529
599
|
|
600
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
601
|
+
o.name = "DeleteResourcePolicy"
|
602
|
+
o.http_method = "DELETE"
|
603
|
+
o.http_request_uri = "/appmonitor/{Name}/policy"
|
604
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
|
605
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyRevisionIdException)
|
607
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
609
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
614
|
+
end)
|
615
|
+
|
530
616
|
api.add_operation(:delete_rum_metrics_destination, Seahorse::Model::Operation.new.tap do |o|
|
531
617
|
o.name = "DeleteRumMetricsDestination"
|
532
618
|
o.http_method = "DELETE"
|
@@ -573,6 +659,21 @@ module Aws::CloudWatchRUM
|
|
573
659
|
)
|
574
660
|
end)
|
575
661
|
|
662
|
+
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
663
|
+
o.name = "GetResourcePolicy"
|
664
|
+
o.http_method = "GET"
|
665
|
+
o.http_request_uri = "/appmonitor/{Name}/policy"
|
666
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
|
667
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
675
|
+
end)
|
676
|
+
|
576
677
|
api.add_operation(:list_app_monitors, Seahorse::Model::Operation.new.tap do |o|
|
577
678
|
o.name = "ListAppMonitors"
|
578
679
|
o.http_method = "POST"
|
@@ -620,6 +721,23 @@ module Aws::CloudWatchRUM
|
|
620
721
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
621
722
|
end)
|
622
723
|
|
724
|
+
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
725
|
+
o.name = "PutResourcePolicy"
|
726
|
+
o.http_method = "PUT"
|
727
|
+
o.http_request_uri = "/appmonitor/{Name}/policy"
|
728
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
|
729
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicySizeLimitExceededException)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyRevisionIdException)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
734
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
738
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
739
|
+
end)
|
740
|
+
|
623
741
|
api.add_operation(:put_rum_events, Seahorse::Model::Operation.new.tap do |o|
|
624
742
|
o.name = "PutRumEvents"
|
625
743
|
o.http_method = "POST"
|
@@ -30,6 +30,10 @@ module Aws::CloudWatchRUM
|
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ConflictException}
|
32
32
|
# * {InternalServerException}
|
33
|
+
# * {InvalidPolicyRevisionIdException}
|
34
|
+
# * {MalformedPolicyDocumentException}
|
35
|
+
# * {PolicyNotFoundException}
|
36
|
+
# * {PolicySizeLimitExceededException}
|
33
37
|
# * {ResourceNotFoundException}
|
34
38
|
# * {ServiceQuotaExceededException}
|
35
39
|
# * {ThrottlingException}
|
@@ -105,6 +109,66 @@ module Aws::CloudWatchRUM
|
|
105
109
|
end
|
106
110
|
end
|
107
111
|
|
112
|
+
class InvalidPolicyRevisionIdException < ServiceError
|
113
|
+
|
114
|
+
# @param [Seahorse::Client::RequestContext] context
|
115
|
+
# @param [String] message
|
116
|
+
# @param [Aws::CloudWatchRUM::Types::InvalidPolicyRevisionIdException] data
|
117
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
118
|
+
super(context, message, data)
|
119
|
+
end
|
120
|
+
|
121
|
+
# @return [String]
|
122
|
+
def message
|
123
|
+
@message || @data[:message]
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
class MalformedPolicyDocumentException < ServiceError
|
128
|
+
|
129
|
+
# @param [Seahorse::Client::RequestContext] context
|
130
|
+
# @param [String] message
|
131
|
+
# @param [Aws::CloudWatchRUM::Types::MalformedPolicyDocumentException] data
|
132
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
133
|
+
super(context, message, data)
|
134
|
+
end
|
135
|
+
|
136
|
+
# @return [String]
|
137
|
+
def message
|
138
|
+
@message || @data[:message]
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
class PolicyNotFoundException < ServiceError
|
143
|
+
|
144
|
+
# @param [Seahorse::Client::RequestContext] context
|
145
|
+
# @param [String] message
|
146
|
+
# @param [Aws::CloudWatchRUM::Types::PolicyNotFoundException] data
|
147
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
148
|
+
super(context, message, data)
|
149
|
+
end
|
150
|
+
|
151
|
+
# @return [String]
|
152
|
+
def message
|
153
|
+
@message || @data[:message]
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
class PolicySizeLimitExceededException < ServiceError
|
158
|
+
|
159
|
+
# @param [Seahorse::Client::RequestContext] context
|
160
|
+
# @param [String] message
|
161
|
+
# @param [Aws::CloudWatchRUM::Types::PolicySizeLimitExceededException] data
|
162
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
163
|
+
super(context, message, data)
|
164
|
+
end
|
165
|
+
|
166
|
+
# @return [String]
|
167
|
+
def message
|
168
|
+
@message || @data[:message]
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
108
172
|
class ResourceNotFoundException < ServiceError
|
109
173
|
|
110
174
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -55,11 +55,21 @@ module Aws::CloudWatchRUM
|
|
55
55
|
# CloudWatch Logs.
|
56
56
|
# @return [Types::DataStorage]
|
57
57
|
#
|
58
|
+
# @!attribute [rw] deobfuscation_configuration
|
59
|
+
# A structure that contains the configuration for how an app monitor
|
60
|
+
# can deobfuscate stack traces.
|
61
|
+
# @return [Types::DeobfuscationConfiguration]
|
62
|
+
#
|
58
63
|
# @!attribute [rw] domain
|
59
64
|
# The top-level internet domain name for which your application has
|
60
65
|
# administrative authority.
|
61
66
|
# @return [String]
|
62
67
|
#
|
68
|
+
# @!attribute [rw] domain_list
|
69
|
+
# List the domain names for which your application has administrative
|
70
|
+
# authority.
|
71
|
+
# @return [Array<String>]
|
72
|
+
#
|
63
73
|
# @!attribute [rw] id
|
64
74
|
# The unique ID of this app monitor.
|
65
75
|
# @return [String]
|
@@ -88,7 +98,9 @@ module Aws::CloudWatchRUM
|
|
88
98
|
:created,
|
89
99
|
:custom_events,
|
90
100
|
:data_storage,
|
101
|
+
:deobfuscation_configuration,
|
91
102
|
:domain,
|
103
|
+
:domain_list,
|
92
104
|
:id,
|
93
105
|
:last_modified,
|
94
106
|
:name,
|
@@ -578,11 +590,22 @@ module Aws::CloudWatchRUM
|
|
578
590
|
# If you omit this parameter, the default is `false`.
|
579
591
|
# @return [Boolean]
|
580
592
|
#
|
593
|
+
# @!attribute [rw] deobfuscation_configuration
|
594
|
+
# A structure that contains the configuration for how an app monitor
|
595
|
+
# can deobfuscate stack traces.
|
596
|
+
# @return [Types::DeobfuscationConfiguration]
|
597
|
+
#
|
581
598
|
# @!attribute [rw] domain
|
582
599
|
# The top-level internet domain name for which your application has
|
583
600
|
# administrative authority.
|
584
601
|
# @return [String]
|
585
602
|
#
|
603
|
+
# @!attribute [rw] domain_list
|
604
|
+
# List the domain names for which your application has administrative
|
605
|
+
# authority. The `CreateAppMonitor` requires either the domain or the
|
606
|
+
# domain list.
|
607
|
+
# @return [Array<String>]
|
608
|
+
#
|
586
609
|
# @!attribute [rw] name
|
587
610
|
# A name for the app monitor.
|
588
611
|
# @return [String]
|
@@ -614,7 +637,9 @@ module Aws::CloudWatchRUM
|
|
614
637
|
:app_monitor_configuration,
|
615
638
|
:custom_events,
|
616
639
|
:cw_log_enabled,
|
640
|
+
:deobfuscation_configuration,
|
617
641
|
:domain,
|
642
|
+
:domain_list,
|
618
643
|
:name,
|
619
644
|
:tags)
|
620
645
|
SENSITIVE = []
|
@@ -708,6 +733,39 @@ module Aws::CloudWatchRUM
|
|
708
733
|
#
|
709
734
|
class DeleteAppMonitorResponse < Aws::EmptyStructure; end
|
710
735
|
|
736
|
+
# @!attribute [rw] name
|
737
|
+
# The app monitor that you want to remove the resource policy from.
|
738
|
+
# @return [String]
|
739
|
+
#
|
740
|
+
# @!attribute [rw] policy_revision_id
|
741
|
+
# Specifies a specific policy revision to delete. Provide a
|
742
|
+
# `PolicyRevisionId` to ensure an atomic delete operation. If the
|
743
|
+
# revision ID that you provide doesn't match the latest policy
|
744
|
+
# revision ID, the request will be rejected with an
|
745
|
+
# `InvalidPolicyRevisionIdException` error.
|
746
|
+
# @return [String]
|
747
|
+
#
|
748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeleteResourcePolicyRequest AWS API Documentation
|
749
|
+
#
|
750
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
751
|
+
:name,
|
752
|
+
:policy_revision_id)
|
753
|
+
SENSITIVE = []
|
754
|
+
include Aws::Structure
|
755
|
+
end
|
756
|
+
|
757
|
+
# @!attribute [rw] policy_revision_id
|
758
|
+
# The revision ID of the policy that was removed, if it had one.
|
759
|
+
# @return [String]
|
760
|
+
#
|
761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeleteResourcePolicyResponse AWS API Documentation
|
762
|
+
#
|
763
|
+
class DeleteResourcePolicyResponse < Struct.new(
|
764
|
+
:policy_revision_id)
|
765
|
+
SENSITIVE = []
|
766
|
+
include Aws::Structure
|
767
|
+
end
|
768
|
+
|
711
769
|
# @!attribute [rw] app_monitor_name
|
712
770
|
# The name of the app monitor that is sending metrics to the
|
713
771
|
# destination that you want to delete.
|
@@ -739,6 +797,22 @@ module Aws::CloudWatchRUM
|
|
739
797
|
#
|
740
798
|
class DeleteRumMetricsDestinationResponse < Aws::EmptyStructure; end
|
741
799
|
|
800
|
+
# A structure that contains the configuration for how an app monitor can
|
801
|
+
# deobfuscate stack traces.
|
802
|
+
#
|
803
|
+
# @!attribute [rw] java_script_source_maps
|
804
|
+
# A structure that contains the configuration for how an app monitor
|
805
|
+
# can unminify JavaScript error stack traces using source maps.
|
806
|
+
# @return [Types::JavaScriptSourceMaps]
|
807
|
+
#
|
808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeobfuscationConfiguration AWS API Documentation
|
809
|
+
#
|
810
|
+
class DeobfuscationConfiguration < Struct.new(
|
811
|
+
:java_script_source_maps)
|
812
|
+
SENSITIVE = []
|
813
|
+
include Aws::Structure
|
814
|
+
end
|
815
|
+
|
742
816
|
# @!attribute [rw] filters
|
743
817
|
# An array of structures that you can use to filter the results to
|
744
818
|
# those that match one or more sets of key-value pairs that you
|
@@ -819,6 +893,37 @@ module Aws::CloudWatchRUM
|
|
819
893
|
include Aws::Structure
|
820
894
|
end
|
821
895
|
|
896
|
+
# @!attribute [rw] name
|
897
|
+
# The name of the app monitor that is associated with the
|
898
|
+
# resource-based policy that you want to view.
|
899
|
+
# @return [String]
|
900
|
+
#
|
901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetResourcePolicyRequest AWS API Documentation
|
902
|
+
#
|
903
|
+
class GetResourcePolicyRequest < Struct.new(
|
904
|
+
:name)
|
905
|
+
SENSITIVE = []
|
906
|
+
include Aws::Structure
|
907
|
+
end
|
908
|
+
|
909
|
+
# @!attribute [rw] policy_document
|
910
|
+
# The JSON policy document that you requested.
|
911
|
+
# @return [String]
|
912
|
+
#
|
913
|
+
# @!attribute [rw] policy_revision_id
|
914
|
+
# The revision ID information for this version of the policy document
|
915
|
+
# that you requested.
|
916
|
+
# @return [String]
|
917
|
+
#
|
918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetResourcePolicyResponse AWS API Documentation
|
919
|
+
#
|
920
|
+
class GetResourcePolicyResponse < Struct.new(
|
921
|
+
:policy_document,
|
922
|
+
:policy_revision_id)
|
923
|
+
SENSITIVE = []
|
924
|
+
include Aws::Structure
|
925
|
+
end
|
926
|
+
|
822
927
|
# Internal service exception.
|
823
928
|
#
|
824
929
|
# @!attribute [rw] message
|
@@ -837,6 +942,43 @@ module Aws::CloudWatchRUM
|
|
837
942
|
include Aws::Structure
|
838
943
|
end
|
839
944
|
|
945
|
+
# The policy revision ID that you provided doeesn't match the latest
|
946
|
+
# policy revision ID.
|
947
|
+
#
|
948
|
+
# @!attribute [rw] message
|
949
|
+
# @return [String]
|
950
|
+
#
|
951
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/InvalidPolicyRevisionIdException AWS API Documentation
|
952
|
+
#
|
953
|
+
class InvalidPolicyRevisionIdException < Struct.new(
|
954
|
+
:message)
|
955
|
+
SENSITIVE = []
|
956
|
+
include Aws::Structure
|
957
|
+
end
|
958
|
+
|
959
|
+
# A structure that contains the configuration for how an app monitor can
|
960
|
+
# unminify JavaScript error stack traces using source maps.
|
961
|
+
#
|
962
|
+
# @!attribute [rw] s3_uri
|
963
|
+
# The S3Uri of the bucket or folder that stores the source map files.
|
964
|
+
# It is required if status is ENABLED.
|
965
|
+
# @return [String]
|
966
|
+
#
|
967
|
+
# @!attribute [rw] status
|
968
|
+
# Specifies whether JavaScript error stack traces should be unminified
|
969
|
+
# for this app monitor. The default is for JavaScript error stack
|
970
|
+
# trace unminification to be `DISABLED`.
|
971
|
+
# @return [String]
|
972
|
+
#
|
973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/JavaScriptSourceMaps AWS API Documentation
|
974
|
+
#
|
975
|
+
class JavaScriptSourceMaps < Struct.new(
|
976
|
+
:s3_uri,
|
977
|
+
:status)
|
978
|
+
SENSITIVE = []
|
979
|
+
include Aws::Structure
|
980
|
+
end
|
981
|
+
|
840
982
|
# @!attribute [rw] max_results
|
841
983
|
# The maximum number of results to return in one operation. The
|
842
984
|
# default is 50. The maximum that you can specify is 100.
|
@@ -952,6 +1094,19 @@ module Aws::CloudWatchRUM
|
|
952
1094
|
include Aws::Structure
|
953
1095
|
end
|
954
1096
|
|
1097
|
+
# The policy document that you specified is not formatted correctly.
|
1098
|
+
#
|
1099
|
+
# @!attribute [rw] message
|
1100
|
+
# @return [String]
|
1101
|
+
#
|
1102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/MalformedPolicyDocumentException AWS API Documentation
|
1103
|
+
#
|
1104
|
+
class MalformedPolicyDocumentException < Struct.new(
|
1105
|
+
:message)
|
1106
|
+
SENSITIVE = []
|
1107
|
+
include Aws::Structure
|
1108
|
+
end
|
1109
|
+
|
955
1110
|
# A structure that displays the definition of one extended metric that
|
956
1111
|
# RUM sends to CloudWatch or CloudWatch Evidently. For more information,
|
957
1112
|
# see [ Additional metrics that you can send to CloudWatch and
|
@@ -1311,6 +1466,102 @@ module Aws::CloudWatchRUM
|
|
1311
1466
|
include Aws::Structure
|
1312
1467
|
end
|
1313
1468
|
|
1469
|
+
# The resource-based policy doesn't exist on this app monitor.
|
1470
|
+
#
|
1471
|
+
# @!attribute [rw] message
|
1472
|
+
# @return [String]
|
1473
|
+
#
|
1474
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PolicyNotFoundException AWS API Documentation
|
1475
|
+
#
|
1476
|
+
class PolicyNotFoundException < Struct.new(
|
1477
|
+
:message)
|
1478
|
+
SENSITIVE = []
|
1479
|
+
include Aws::Structure
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
# The policy document is too large. The limit is 4 KB.
|
1483
|
+
#
|
1484
|
+
# @!attribute [rw] message
|
1485
|
+
# @return [String]
|
1486
|
+
#
|
1487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PolicySizeLimitExceededException AWS API Documentation
|
1488
|
+
#
|
1489
|
+
class PolicySizeLimitExceededException < Struct.new(
|
1490
|
+
:message)
|
1491
|
+
SENSITIVE = []
|
1492
|
+
include Aws::Structure
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
# @!attribute [rw] name
|
1496
|
+
# The name of the app monitor that you want to apply this
|
1497
|
+
# resource-based policy to. To find the names of your app monitors,
|
1498
|
+
# you can use the [ListAppMonitors][1] operation.
|
1499
|
+
#
|
1500
|
+
#
|
1501
|
+
#
|
1502
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_ListAppMonitors.html
|
1503
|
+
# @return [String]
|
1504
|
+
#
|
1505
|
+
# @!attribute [rw] policy_document
|
1506
|
+
# The JSON to use as the resource policy. The document can be up to 4
|
1507
|
+
# KB in size. For more information about the contents and syntax for
|
1508
|
+
# this policy, see [Using resource-based policies with CloudWatch
|
1509
|
+
# RUM][1].
|
1510
|
+
#
|
1511
|
+
#
|
1512
|
+
#
|
1513
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
|
1514
|
+
# @return [String]
|
1515
|
+
#
|
1516
|
+
# @!attribute [rw] policy_revision_id
|
1517
|
+
# A string value that you can use to conditionally update your policy.
|
1518
|
+
# You can provide the revision ID of your existing policy to make
|
1519
|
+
# mutating requests against that policy.
|
1520
|
+
#
|
1521
|
+
# When you assign a policy revision ID, then later requests about that
|
1522
|
+
# policy will be rejected with an `InvalidPolicyRevisionIdException`
|
1523
|
+
# error if they don't provide the correct current revision ID.
|
1524
|
+
# @return [String]
|
1525
|
+
#
|
1526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutResourcePolicyRequest AWS API Documentation
|
1527
|
+
#
|
1528
|
+
class PutResourcePolicyRequest < Struct.new(
|
1529
|
+
:name,
|
1530
|
+
:policy_document,
|
1531
|
+
:policy_revision_id)
|
1532
|
+
SENSITIVE = []
|
1533
|
+
include Aws::Structure
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
# @!attribute [rw] policy_document
|
1537
|
+
# The JSON policy document that you specified.
|
1538
|
+
# @return [String]
|
1539
|
+
#
|
1540
|
+
# @!attribute [rw] policy_revision_id
|
1541
|
+
# The policy revision ID information that you specified.
|
1542
|
+
# @return [String]
|
1543
|
+
#
|
1544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutResourcePolicyResponse AWS API Documentation
|
1545
|
+
#
|
1546
|
+
class PutResourcePolicyResponse < Struct.new(
|
1547
|
+
:policy_document,
|
1548
|
+
:policy_revision_id)
|
1549
|
+
SENSITIVE = []
|
1550
|
+
include Aws::Structure
|
1551
|
+
end
|
1552
|
+
|
1553
|
+
# @!attribute [rw] alias
|
1554
|
+
# If the app monitor uses a resource-based policy that requires
|
1555
|
+
# `PutRumEvents` requests to specify a certain alias, specify that
|
1556
|
+
# alias here. This alias will be compared to the `rum:alias` context
|
1557
|
+
# key in the resource-based policy. For more information, see [Using
|
1558
|
+
# resource-based policies with CloudWatch RUM][1].
|
1559
|
+
#
|
1560
|
+
#
|
1561
|
+
#
|
1562
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
|
1563
|
+
# @return [String]
|
1564
|
+
#
|
1314
1565
|
# @!attribute [rw] app_monitor_details
|
1315
1566
|
# A structure that contains information about the app monitor that
|
1316
1567
|
# collected this telemetry information.
|
@@ -1336,6 +1587,7 @@ module Aws::CloudWatchRUM
|
|
1336
1587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutRumEventsRequest AWS API Documentation
|
1337
1588
|
#
|
1338
1589
|
class PutRumEventsRequest < Struct.new(
|
1590
|
+
:alias,
|
1339
1591
|
:app_monitor_details,
|
1340
1592
|
:batch_id,
|
1341
1593
|
:id,
|
@@ -1641,11 +1893,22 @@ module Aws::CloudWatchRUM
|
|
1641
1893
|
# Amazon CloudWatch Logs charges.
|
1642
1894
|
# @return [Boolean]
|
1643
1895
|
#
|
1896
|
+
# @!attribute [rw] deobfuscation_configuration
|
1897
|
+
# A structure that contains the configuration for how an app monitor
|
1898
|
+
# can deobfuscate stack traces.
|
1899
|
+
# @return [Types::DeobfuscationConfiguration]
|
1900
|
+
#
|
1644
1901
|
# @!attribute [rw] domain
|
1645
1902
|
# The top-level internet domain name for which your application has
|
1646
1903
|
# administrative authority.
|
1647
1904
|
# @return [String]
|
1648
1905
|
#
|
1906
|
+
# @!attribute [rw] domain_list
|
1907
|
+
# List the domain names for which your application has administrative
|
1908
|
+
# authority. The `UpdateAppMonitor` allows either the domain or the
|
1909
|
+
# domain list.
|
1910
|
+
# @return [Array<String>]
|
1911
|
+
#
|
1649
1912
|
# @!attribute [rw] name
|
1650
1913
|
# The name of the app monitor to update.
|
1651
1914
|
# @return [String]
|
@@ -1656,7 +1919,9 @@ module Aws::CloudWatchRUM
|
|
1656
1919
|
:app_monitor_configuration,
|
1657
1920
|
:custom_events,
|
1658
1921
|
:cw_log_enabled,
|
1922
|
+
:deobfuscation_configuration,
|
1659
1923
|
:domain,
|
1924
|
+
:domain_list,
|
1660
1925
|
:name)
|
1661
1926
|
SENSITIVE = []
|
1662
1927
|
include Aws::Structure
|
data/sig/client.rbs
CHANGED
@@ -150,7 +150,14 @@ module Aws
|
|
150
150
|
status: ("ENABLED" | "DISABLED")?
|
151
151
|
},
|
152
152
|
?cw_log_enabled: bool,
|
153
|
-
|
153
|
+
?deobfuscation_configuration: {
|
154
|
+
java_script_source_maps: {
|
155
|
+
s3_uri: ::String?,
|
156
|
+
status: ("ENABLED" | "DISABLED")
|
157
|
+
}?
|
158
|
+
},
|
159
|
+
?domain: ::String,
|
160
|
+
?domain_list: Array[::String],
|
154
161
|
name: ::String,
|
155
162
|
?tags: Hash[::String, ::String]
|
156
163
|
) -> _CreateAppMonitorResponseSuccess
|
@@ -165,6 +172,17 @@ module Aws
|
|
165
172
|
) -> _DeleteAppMonitorResponseSuccess
|
166
173
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppMonitorResponseSuccess
|
167
174
|
|
175
|
+
interface _DeleteResourcePolicyResponseSuccess
|
176
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
|
177
|
+
def policy_revision_id: () -> ::String
|
178
|
+
end
|
179
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#delete_resource_policy-instance_method
|
180
|
+
def delete_resource_policy: (
|
181
|
+
name: ::String,
|
182
|
+
?policy_revision_id: ::String
|
183
|
+
) -> _DeleteResourcePolicyResponseSuccess
|
184
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
185
|
+
|
168
186
|
interface _DeleteRumMetricsDestinationResponseSuccess
|
169
187
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRumMetricsDestinationResponse]
|
170
188
|
end
|
@@ -209,6 +227,17 @@ module Aws
|
|
209
227
|
) -> _GetAppMonitorDataResponseSuccess
|
210
228
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppMonitorDataResponseSuccess
|
211
229
|
|
230
|
+
interface _GetResourcePolicyResponseSuccess
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
|
232
|
+
def policy_document: () -> ::String
|
233
|
+
def policy_revision_id: () -> ::String
|
234
|
+
end
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#get_resource_policy-instance_method
|
236
|
+
def get_resource_policy: (
|
237
|
+
name: ::String
|
238
|
+
) -> _GetResourcePolicyResponseSuccess
|
239
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
240
|
+
|
212
241
|
interface _ListAppMonitorsResponseSuccess
|
213
242
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAppMonitorsResponse]
|
214
243
|
def app_monitor_summaries: () -> ::Array[Types::AppMonitorSummary]
|
@@ -245,11 +274,25 @@ module Aws
|
|
245
274
|
) -> _ListTagsForResourceResponseSuccess
|
246
275
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
247
276
|
|
277
|
+
interface _PutResourcePolicyResponseSuccess
|
278
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
279
|
+
def policy_document: () -> ::String
|
280
|
+
def policy_revision_id: () -> ::String
|
281
|
+
end
|
282
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#put_resource_policy-instance_method
|
283
|
+
def put_resource_policy: (
|
284
|
+
name: ::String,
|
285
|
+
policy_document: ::String,
|
286
|
+
?policy_revision_id: ::String
|
287
|
+
) -> _PutResourcePolicyResponseSuccess
|
288
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
289
|
+
|
248
290
|
interface _PutRumEventsResponseSuccess
|
249
291
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutRumEventsResponse]
|
250
292
|
end
|
251
293
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#put_rum_events-instance_method
|
252
294
|
def put_rum_events: (
|
295
|
+
?alias: ::String,
|
253
296
|
app_monitor_details: {
|
254
297
|
id: ::String?,
|
255
298
|
name: ::String?,
|
@@ -325,7 +368,14 @@ module Aws
|
|
325
368
|
status: ("ENABLED" | "DISABLED")?
|
326
369
|
},
|
327
370
|
?cw_log_enabled: bool,
|
371
|
+
?deobfuscation_configuration: {
|
372
|
+
java_script_source_maps: {
|
373
|
+
s3_uri: ::String?,
|
374
|
+
status: ("ENABLED" | "DISABLED")
|
375
|
+
}?
|
376
|
+
},
|
328
377
|
?domain: ::String,
|
378
|
+
?domain_list: Array[::String],
|
329
379
|
name: ::String
|
330
380
|
) -> _UpdateAppMonitorResponseSuccess
|
331
381
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAppMonitorResponseSuccess
|
data/sig/errors.rbs
CHANGED
@@ -23,6 +23,18 @@ module Aws
|
|
23
23
|
def message: () -> ::String
|
24
24
|
def retry_after_seconds: () -> ::String
|
25
25
|
end
|
26
|
+
class InvalidPolicyRevisionIdException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class MalformedPolicyDocumentException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class PolicyNotFoundException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
class PolicySizeLimitExceededException < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
26
38
|
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
27
39
|
def message: () -> ::String
|
28
40
|
def resource_name: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -18,7 +18,9 @@ module Aws::CloudWatchRUM
|
|
18
18
|
attr_accessor created: ::String
|
19
19
|
attr_accessor custom_events: Types::CustomEvents
|
20
20
|
attr_accessor data_storage: Types::DataStorage
|
21
|
+
attr_accessor deobfuscation_configuration: Types::DeobfuscationConfiguration
|
21
22
|
attr_accessor domain: ::String
|
23
|
+
attr_accessor domain_list: ::Array[::String]
|
22
24
|
attr_accessor id: ::String
|
23
25
|
attr_accessor last_modified: ::String
|
24
26
|
attr_accessor name: ::String
|
@@ -124,7 +126,9 @@ module Aws::CloudWatchRUM
|
|
124
126
|
attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
|
125
127
|
attr_accessor custom_events: Types::CustomEvents
|
126
128
|
attr_accessor cw_log_enabled: bool
|
129
|
+
attr_accessor deobfuscation_configuration: Types::DeobfuscationConfiguration
|
127
130
|
attr_accessor domain: ::String
|
131
|
+
attr_accessor domain_list: ::Array[::String]
|
128
132
|
attr_accessor name: ::String
|
129
133
|
attr_accessor tags: ::Hash[::String, ::String]
|
130
134
|
SENSITIVE: []
|
@@ -159,6 +163,17 @@ module Aws::CloudWatchRUM
|
|
159
163
|
class DeleteAppMonitorResponse < Aws::EmptyStructure
|
160
164
|
end
|
161
165
|
|
166
|
+
class DeleteResourcePolicyRequest
|
167
|
+
attr_accessor name: ::String
|
168
|
+
attr_accessor policy_revision_id: ::String
|
169
|
+
SENSITIVE: []
|
170
|
+
end
|
171
|
+
|
172
|
+
class DeleteResourcePolicyResponse
|
173
|
+
attr_accessor policy_revision_id: ::String
|
174
|
+
SENSITIVE: []
|
175
|
+
end
|
176
|
+
|
162
177
|
class DeleteRumMetricsDestinationRequest
|
163
178
|
attr_accessor app_monitor_name: ::String
|
164
179
|
attr_accessor destination: ("CloudWatch" | "Evidently")
|
@@ -169,6 +184,11 @@ module Aws::CloudWatchRUM
|
|
169
184
|
class DeleteRumMetricsDestinationResponse < Aws::EmptyStructure
|
170
185
|
end
|
171
186
|
|
187
|
+
class DeobfuscationConfiguration
|
188
|
+
attr_accessor java_script_source_maps: Types::JavaScriptSourceMaps
|
189
|
+
SENSITIVE: []
|
190
|
+
end
|
191
|
+
|
172
192
|
class GetAppMonitorDataRequest
|
173
193
|
attr_accessor filters: ::Array[Types::QueryFilter]
|
174
194
|
attr_accessor max_results: ::Integer
|
@@ -194,12 +214,34 @@ module Aws::CloudWatchRUM
|
|
194
214
|
SENSITIVE: []
|
195
215
|
end
|
196
216
|
|
217
|
+
class GetResourcePolicyRequest
|
218
|
+
attr_accessor name: ::String
|
219
|
+
SENSITIVE: []
|
220
|
+
end
|
221
|
+
|
222
|
+
class GetResourcePolicyResponse
|
223
|
+
attr_accessor policy_document: ::String
|
224
|
+
attr_accessor policy_revision_id: ::String
|
225
|
+
SENSITIVE: []
|
226
|
+
end
|
227
|
+
|
197
228
|
class InternalServerException
|
198
229
|
attr_accessor message: ::String
|
199
230
|
attr_accessor retry_after_seconds: ::Integer
|
200
231
|
SENSITIVE: []
|
201
232
|
end
|
202
233
|
|
234
|
+
class InvalidPolicyRevisionIdException
|
235
|
+
attr_accessor message: ::String
|
236
|
+
SENSITIVE: []
|
237
|
+
end
|
238
|
+
|
239
|
+
class JavaScriptSourceMaps
|
240
|
+
attr_accessor s3_uri: ::String
|
241
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
242
|
+
SENSITIVE: []
|
243
|
+
end
|
244
|
+
|
203
245
|
class ListAppMonitorsRequest
|
204
246
|
attr_accessor max_results: ::Integer
|
205
247
|
attr_accessor next_token: ::String
|
@@ -236,6 +278,11 @@ module Aws::CloudWatchRUM
|
|
236
278
|
SENSITIVE: []
|
237
279
|
end
|
238
280
|
|
281
|
+
class MalformedPolicyDocumentException
|
282
|
+
attr_accessor message: ::String
|
283
|
+
SENSITIVE: []
|
284
|
+
end
|
285
|
+
|
239
286
|
class MetricDefinition
|
240
287
|
attr_accessor dimension_keys: ::Hash[::String, ::String]
|
241
288
|
attr_accessor event_pattern: ::String
|
@@ -264,7 +311,31 @@ module Aws::CloudWatchRUM
|
|
264
311
|
SENSITIVE: []
|
265
312
|
end
|
266
313
|
|
314
|
+
class PolicyNotFoundException
|
315
|
+
attr_accessor message: ::String
|
316
|
+
SENSITIVE: []
|
317
|
+
end
|
318
|
+
|
319
|
+
class PolicySizeLimitExceededException
|
320
|
+
attr_accessor message: ::String
|
321
|
+
SENSITIVE: []
|
322
|
+
end
|
323
|
+
|
324
|
+
class PutResourcePolicyRequest
|
325
|
+
attr_accessor name: ::String
|
326
|
+
attr_accessor policy_document: ::String
|
327
|
+
attr_accessor policy_revision_id: ::String
|
328
|
+
SENSITIVE: []
|
329
|
+
end
|
330
|
+
|
331
|
+
class PutResourcePolicyResponse
|
332
|
+
attr_accessor policy_document: ::String
|
333
|
+
attr_accessor policy_revision_id: ::String
|
334
|
+
SENSITIVE: []
|
335
|
+
end
|
336
|
+
|
267
337
|
class PutRumEventsRequest
|
338
|
+
attr_accessor alias: ::String
|
268
339
|
attr_accessor app_monitor_details: Types::AppMonitorDetails
|
269
340
|
attr_accessor batch_id: ::String
|
270
341
|
attr_accessor id: ::String
|
@@ -350,7 +421,9 @@ module Aws::CloudWatchRUM
|
|
350
421
|
attr_accessor app_monitor_configuration: Types::AppMonitorConfiguration
|
351
422
|
attr_accessor custom_events: Types::CustomEvents
|
352
423
|
attr_accessor cw_log_enabled: bool
|
424
|
+
attr_accessor deobfuscation_configuration: Types::DeobfuscationConfiguration
|
353
425
|
attr_accessor domain: ::String
|
426
|
+
attr_accessor domain_list: ::Array[::String]
|
354
427
|
attr_accessor name: ::String
|
355
428
|
SENSITIVE: []
|
356
429
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudwatchrum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.39.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: 2025-
|
11
|
+
date: 2025-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for CloudWatch RUM. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|