aws-sdk-cloudwatchrum 1.37.0 → 1.38.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8a0afb1a99c96f38c0d09995fd3164f6983524bdf7817c090f136df6bfdbf59
4
- data.tar.gz: 7acb8e3e96bd438fb0f0fb8b813239a1f57deebe594e58debc872554d4c82c00
3
+ metadata.gz: e69946cedc27284ad4524b0efe67b25662c89dcbe57619094337f0223a17856e
4
+ data.tar.gz: 5843c2222aadb7691b93d29b6ca52ade3eed28599d3add5f5100c38d368d2600
5
5
  SHA512:
6
- metadata.gz: a08cfc4884ec8ec3ae32357a972bcea9002c0fd721a84781849bccb91aa3a2b28b0c633a7f1e661da6bd45f69e8ecfac60337c259a1b86d381c36406f61c7df5
7
- data.tar.gz: e0b512576d099d3eeb22d1a933eb5b9f0246db51ecaf9452577684493cfb63b8fb2f987684a6e0696589dfdff2934ca8b6dfb86ae5b1d0fe937614f14ac572b7
6
+ metadata.gz: 90e29222e22290187df819d67a6d39b15c5479c646a1186e3d7489af60160e66b15c88287e076b81df48993364bf85da5cc8a6df292d3c12bce994e304e81801
7
+ data.tar.gz: f465842f30b9ace0d4722a4ecd7f260d008347f1ab4645486513db4e1ea25211b398376f973f9681afeb5236825d87def60bd831304c744782f861a7d65cff2d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2025-03-03)
5
+ ------------------
6
+
7
+ * Feature - Add support for PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy to support resource based policies for AWS CloudWatch RUM
8
+
4
9
  1.37.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.38.0
@@ -888,6 +888,43 @@ module Aws::CloudWatchRUM
888
888
  req.send_request(options)
889
889
  end
890
890
 
891
+ # Removes the association of a resource-based policy from an app
892
+ # monitor.
893
+ #
894
+ # @option params [required, String] :name
895
+ # The app monitor that you want to remove the resource policy from.
896
+ #
897
+ # @option params [String] :policy_revision_id
898
+ # Specifies a specific policy revision to delete. Provide a
899
+ # `PolicyRevisionId` to ensure an atomic delete operation. If the
900
+ # revision ID that you provide doesn't match the latest policy revision
901
+ # ID, the request will be rejected with an
902
+ # `InvalidPolicyRevisionIdException` error.
903
+ #
904
+ # @return [Types::DeleteResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
905
+ #
906
+ # * {Types::DeleteResourcePolicyResponse#policy_revision_id #policy_revision_id} => String
907
+ #
908
+ # @example Request syntax with placeholder values
909
+ #
910
+ # resp = client.delete_resource_policy({
911
+ # name: "AppMonitorName", # required
912
+ # policy_revision_id: "PolicyRevisionId",
913
+ # })
914
+ #
915
+ # @example Response structure
916
+ #
917
+ # resp.policy_revision_id #=> String
918
+ #
919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeleteResourcePolicy AWS API Documentation
920
+ #
921
+ # @overload delete_resource_policy(params = {})
922
+ # @param [Hash] params ({})
923
+ def delete_resource_policy(params = {}, options = {})
924
+ req = build_request(:delete_resource_policy, params)
925
+ req.send_request(options)
926
+ end
927
+
891
928
  # Deletes a destination for CloudWatch RUM extended metrics, so that the
892
929
  # specified app monitor stops sending extended metrics to that
893
930
  # destination.
@@ -1039,6 +1076,38 @@ module Aws::CloudWatchRUM
1039
1076
  req.send_request(options)
1040
1077
  end
1041
1078
 
1079
+ # Use this operation to retrieve information about a resource-based
1080
+ # policy that is attached to an app monitor.
1081
+ #
1082
+ # @option params [required, String] :name
1083
+ # The name of the app monitor that is associated with the resource-based
1084
+ # policy that you want to view.
1085
+ #
1086
+ # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1087
+ #
1088
+ # * {Types::GetResourcePolicyResponse#policy_document #policy_document} => String
1089
+ # * {Types::GetResourcePolicyResponse#policy_revision_id #policy_revision_id} => String
1090
+ #
1091
+ # @example Request syntax with placeholder values
1092
+ #
1093
+ # resp = client.get_resource_policy({
1094
+ # name: "AppMonitorName", # required
1095
+ # })
1096
+ #
1097
+ # @example Response structure
1098
+ #
1099
+ # resp.policy_document #=> String
1100
+ # resp.policy_revision_id #=> String
1101
+ #
1102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetResourcePolicy AWS API Documentation
1103
+ #
1104
+ # @overload get_resource_policy(params = {})
1105
+ # @param [Hash] params ({})
1106
+ def get_resource_policy(params = {}, options = {})
1107
+ req = build_request(:get_resource_policy, params)
1108
+ req.send_request(options)
1109
+ end
1110
+
1042
1111
  # Returns a list of the Amazon CloudWatch RUM app monitors in the
1043
1112
  # account.
1044
1113
  #
@@ -1170,6 +1239,70 @@ module Aws::CloudWatchRUM
1170
1239
  req.send_request(options)
1171
1240
  end
1172
1241
 
1242
+ # Use this operation to assign a resource-based policy to a CloudWatch
1243
+ # RUM app monitor to control access to it. Each app monitor can have one
1244
+ # resource-based policy. The maximum size of the policy is 4 KB. To
1245
+ # learn more about using resource policies with RUM, see [Using
1246
+ # resource-based policies with CloudWatch RUM][1].
1247
+ #
1248
+ #
1249
+ #
1250
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
1251
+ #
1252
+ # @option params [required, String] :name
1253
+ # The name of the app monitor that you want to apply this resource-based
1254
+ # policy to. To find the names of your app monitors, you can use the
1255
+ # [ListAppMonitors][1] operation.
1256
+ #
1257
+ #
1258
+ #
1259
+ # [1]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_ListAppMonitors.html
1260
+ #
1261
+ # @option params [required, String] :policy_document
1262
+ # The JSON to use as the resource policy. The document can be up to 4 KB
1263
+ # in size. For more information about the contents and syntax for this
1264
+ # policy, see [Using resource-based policies with CloudWatch RUM][1].
1265
+ #
1266
+ #
1267
+ #
1268
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
1269
+ #
1270
+ # @option params [String] :policy_revision_id
1271
+ # A string value that you can use to conditionally update your policy.
1272
+ # You can provide the revision ID of your existing policy to make
1273
+ # mutating requests against that policy.
1274
+ #
1275
+ # When you assign a policy revision ID, then later requests about that
1276
+ # policy will be rejected with an `InvalidPolicyRevisionIdException`
1277
+ # error if they don't provide the correct current revision ID.
1278
+ #
1279
+ # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1280
+ #
1281
+ # * {Types::PutResourcePolicyResponse#policy_document #policy_document} => String
1282
+ # * {Types::PutResourcePolicyResponse#policy_revision_id #policy_revision_id} => String
1283
+ #
1284
+ # @example Request syntax with placeholder values
1285
+ #
1286
+ # resp = client.put_resource_policy({
1287
+ # name: "AppMonitorName", # required
1288
+ # policy_document: "String", # required
1289
+ # policy_revision_id: "PolicyRevisionId",
1290
+ # })
1291
+ #
1292
+ # @example Response structure
1293
+ #
1294
+ # resp.policy_document #=> String
1295
+ # resp.policy_revision_id #=> String
1296
+ #
1297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutResourcePolicy AWS API Documentation
1298
+ #
1299
+ # @overload put_resource_policy(params = {})
1300
+ # @param [Hash] params ({})
1301
+ def put_resource_policy(params = {}, options = {})
1302
+ req = build_request(:put_resource_policy, params)
1303
+ req.send_request(options)
1304
+ end
1305
+
1173
1306
  # Sends telemetry events about your application performance and user
1174
1307
  # behavior to CloudWatch RUM. The code snippet that RUM generates for
1175
1308
  # you to add to your application includes `PutRumEvents` operations to
@@ -1178,6 +1311,17 @@ module Aws::CloudWatchRUM
1178
1311
  # Each `PutRumEvents` operation can send a batch of events from one user
1179
1312
  # session.
1180
1313
  #
1314
+ # @option params [String] :alias
1315
+ # If the app monitor uses a resource-based policy that requires
1316
+ # `PutRumEvents` requests to specify a certain alias, specify that alias
1317
+ # here. This alias will be compared to the `rum:alias` context key in
1318
+ # the resource-based policy. For more information, see [Using
1319
+ # resource-based policies with CloudWatch RUM][1].
1320
+ #
1321
+ #
1322
+ #
1323
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
1324
+ #
1181
1325
  # @option params [required, Types::AppMonitorDetails] :app_monitor_details
1182
1326
  # A structure that contains information about the app monitor that
1183
1327
  # collected this telemetry information.
@@ -1200,6 +1344,7 @@ module Aws::CloudWatchRUM
1200
1344
  # @example Request syntax with placeholder values
1201
1345
  #
1202
1346
  # resp = client.put_rum_events({
1347
+ # alias: "Alias",
1203
1348
  # app_monitor_details: { # required
1204
1349
  # id: "String",
1205
1350
  # name: "String",
@@ -1551,7 +1696,7 @@ module Aws::CloudWatchRUM
1551
1696
  tracer: tracer
1552
1697
  )
1553
1698
  context[:gem_name] = 'aws-sdk-cloudwatchrum'
1554
- context[:gem_version] = '1.37.0'
1699
+ context[:gem_version] = '1.38.0'
1555
1700
  Seahorse::Client::Request.new(handlers, context)
1556
1701
  end
1557
1702
 
@@ -15,6 +15,7 @@ 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')
@@ -44,6 +45,8 @@ module Aws::CloudWatchRUM
44
45
  DataStorage = Shapes::StructureShape.new(name: 'DataStorage')
45
46
  DeleteAppMonitorRequest = Shapes::StructureShape.new(name: 'DeleteAppMonitorRequest')
46
47
  DeleteAppMonitorResponse = Shapes::StructureShape.new(name: 'DeleteAppMonitorResponse')
48
+ DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
49
+ DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
47
50
  DeleteRumMetricsDestinationRequest = Shapes::StructureShape.new(name: 'DeleteRumMetricsDestinationRequest')
48
51
  DeleteRumMetricsDestinationResponse = Shapes::StructureShape.new(name: 'DeleteRumMetricsDestinationResponse')
49
52
  DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
@@ -58,11 +61,14 @@ module Aws::CloudWatchRUM
58
61
  GetAppMonitorDataResponse = Shapes::StructureShape.new(name: 'GetAppMonitorDataResponse')
59
62
  GetAppMonitorRequest = Shapes::StructureShape.new(name: 'GetAppMonitorRequest')
60
63
  GetAppMonitorResponse = Shapes::StructureShape.new(name: 'GetAppMonitorResponse')
64
+ GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
65
+ GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
61
66
  ISOTimestampString = Shapes::StringShape.new(name: 'ISOTimestampString')
62
67
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
63
68
  IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
64
69
  Integer = Shapes::IntegerShape.new(name: 'Integer')
65
70
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
71
+ InvalidPolicyRevisionIdException = Shapes::StructureShape.new(name: 'InvalidPolicyRevisionIdException')
66
72
  JsonValue = Shapes::StringShape.new(name: 'JsonValue')
67
73
  ListAppMonitorsRequest = Shapes::StructureShape.new(name: 'ListAppMonitorsRequest')
68
74
  ListAppMonitorsResponse = Shapes::StructureShape.new(name: 'ListAppMonitorsResponse')
@@ -70,6 +76,7 @@ module Aws::CloudWatchRUM
70
76
  ListRumMetricsDestinationsResponse = Shapes::StructureShape.new(name: 'ListRumMetricsDestinationsResponse')
71
77
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
72
78
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
79
+ MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
73
80
  MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
74
81
  MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
75
82
  MetricDefinition = Shapes::StructureShape.new(name: 'MetricDefinition')
@@ -84,6 +91,11 @@ module Aws::CloudWatchRUM
84
91
  MetricName = Shapes::StringShape.new(name: 'MetricName')
85
92
  Namespace = Shapes::StringShape.new(name: 'Namespace')
86
93
  Pages = Shapes::ListShape.new(name: 'Pages')
94
+ PolicyNotFoundException = Shapes::StructureShape.new(name: 'PolicyNotFoundException')
95
+ PolicyRevisionId = Shapes::StringShape.new(name: 'PolicyRevisionId')
96
+ PolicySizeLimitExceededException = Shapes::StructureShape.new(name: 'PolicySizeLimitExceededException')
97
+ PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
98
+ PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
87
99
  PutRumEventsRequest = Shapes::StructureShape.new(name: 'PutRumEventsRequest')
88
100
  PutRumEventsRequestBatchIdString = Shapes::StringShape.new(name: 'PutRumEventsRequestBatchIdString')
89
101
  PutRumEventsRequestIdString = Shapes::StringShape.new(name: 'PutRumEventsRequestIdString')
@@ -246,6 +258,13 @@ module Aws::CloudWatchRUM
246
258
 
247
259
  DeleteAppMonitorResponse.struct_class = Types::DeleteAppMonitorResponse
248
260
 
261
+ DeleteResourcePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
262
+ DeleteResourcePolicyRequest.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location: "querystring", location_name: "policyRevisionId"))
263
+ DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
264
+
265
+ DeleteResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
266
+ DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
267
+
249
268
  DeleteRumMetricsDestinationRequest.add_member(:app_monitor_name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "AppMonitorName"))
250
269
  DeleteRumMetricsDestinationRequest.add_member(:destination, Shapes::ShapeRef.new(shape: MetricDestination, required: true, location: "querystring", location_name: "destination"))
251
270
  DeleteRumMetricsDestinationRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location: "querystring", location_name: "destinationArn"))
@@ -277,10 +296,20 @@ module Aws::CloudWatchRUM
277
296
  GetAppMonitorResponse.add_member(:app_monitor, Shapes::ShapeRef.new(shape: AppMonitor, location_name: "AppMonitor"))
278
297
  GetAppMonitorResponse.struct_class = Types::GetAppMonitorResponse
279
298
 
299
+ GetResourcePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
300
+ GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
301
+
302
+ GetResourcePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: String, location_name: "PolicyDocument"))
303
+ GetResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
304
+ GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
305
+
280
306
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
281
307
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
282
308
  InternalServerException.struct_class = Types::InternalServerException
283
309
 
310
+ InvalidPolicyRevisionIdException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
311
+ InvalidPolicyRevisionIdException.struct_class = Types::InvalidPolicyRevisionIdException
312
+
284
313
  ListAppMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location: "querystring", location_name: "maxResults"))
285
314
  ListAppMonitorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
286
315
  ListAppMonitorsRequest.struct_class = Types::ListAppMonitorsRequest
@@ -305,6 +334,9 @@ module Aws::CloudWatchRUM
305
334
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
306
335
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
307
336
 
337
+ MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
338
+ MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
339
+
308
340
  MetricDefinition.add_member(:dimension_keys, Shapes::ShapeRef.new(shape: DimensionKeysMap, location_name: "DimensionKeys"))
309
341
  MetricDefinition.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
310
342
  MetricDefinition.add_member(:metric_definition_id, Shapes::ShapeRef.new(shape: MetricDefinitionId, required: true, location_name: "MetricDefinitionId"))
@@ -337,6 +369,22 @@ module Aws::CloudWatchRUM
337
369
 
338
370
  Pages.member = Shapes::ShapeRef.new(shape: Url)
339
371
 
372
+ PolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
373
+ PolicyNotFoundException.struct_class = Types::PolicyNotFoundException
374
+
375
+ PolicySizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
376
+ PolicySizeLimitExceededException.struct_class = Types::PolicySizeLimitExceededException
377
+
378
+ PutResourcePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AppMonitorName, required: true, location: "uri", location_name: "Name"))
379
+ PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PolicyDocument"))
380
+ PutResourcePolicyRequest.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
381
+ PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
382
+
383
+ PutResourcePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: String, location_name: "PolicyDocument"))
384
+ PutResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
385
+ PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
386
+
387
+ PutRumEventsRequest.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
340
388
  PutRumEventsRequest.add_member(:app_monitor_details, Shapes::ShapeRef.new(shape: AppMonitorDetails, required: true, location_name: "AppMonitorDetails"))
341
389
  PutRumEventsRequest.add_member(:batch_id, Shapes::ShapeRef.new(shape: PutRumEventsRequestBatchIdString, required: true, location_name: "BatchId"))
342
390
  PutRumEventsRequest.add_member(:id, Shapes::ShapeRef.new(shape: PutRumEventsRequestIdString, required: true, location: "uri", location_name: "Id"))
@@ -441,9 +489,11 @@ module Aws::CloudWatchRUM
441
489
 
442
490
  api.metadata = {
443
491
  "apiVersion" => "2018-05-10",
492
+ "auth" => ["aws.auth#sigv4"],
444
493
  "endpointPrefix" => "rum",
445
494
  "jsonVersion" => "1.1",
446
495
  "protocol" => "rest-json",
496
+ "protocols" => ["rest-json"],
447
497
  "serviceFullName" => "CloudWatch RUM",
448
498
  "serviceId" => "RUM",
449
499
  "signatureVersion" => "v4",
@@ -527,6 +577,22 @@ module Aws::CloudWatchRUM
527
577
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
528
578
  end)
529
579
 
580
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
581
+ o.name = "DeleteResourcePolicy"
582
+ o.http_method = "DELETE"
583
+ o.http_request_uri = "/appmonitor/{Name}/policy"
584
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
585
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
586
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyRevisionIdException)
587
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
588
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
589
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
590
+ o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
591
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
592
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
593
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
594
+ end)
595
+
530
596
  api.add_operation(:delete_rum_metrics_destination, Seahorse::Model::Operation.new.tap do |o|
531
597
  o.name = "DeleteRumMetricsDestination"
532
598
  o.http_method = "DELETE"
@@ -573,6 +639,21 @@ module Aws::CloudWatchRUM
573
639
  )
574
640
  end)
575
641
 
642
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
643
+ o.name = "GetResourcePolicy"
644
+ o.http_method = "GET"
645
+ o.http_request_uri = "/appmonitor/{Name}/policy"
646
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
647
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
648
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
649
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
650
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
651
+ o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
652
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
653
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
654
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
655
+ end)
656
+
576
657
  api.add_operation(:list_app_monitors, Seahorse::Model::Operation.new.tap do |o|
577
658
  o.name = "ListAppMonitors"
578
659
  o.http_method = "POST"
@@ -620,6 +701,23 @@ module Aws::CloudWatchRUM
620
701
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
621
702
  end)
622
703
 
704
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
705
+ o.name = "PutResourcePolicy"
706
+ o.http_method = "PUT"
707
+ o.http_request_uri = "/appmonitor/{Name}/policy"
708
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
709
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
710
+ o.errors << Shapes::ShapeRef.new(shape: PolicySizeLimitExceededException)
711
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyRevisionIdException)
712
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
713
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
714
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
716
+ o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
718
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
719
+ end)
720
+
623
721
  api.add_operation(:put_rum_events, Seahorse::Model::Operation.new.tap do |o|
624
722
  o.name = "PutRumEvents"
625
723
  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
@@ -708,6 +708,39 @@ module Aws::CloudWatchRUM
708
708
  #
709
709
  class DeleteAppMonitorResponse < Aws::EmptyStructure; end
710
710
 
711
+ # @!attribute [rw] name
712
+ # The app monitor that you want to remove the resource policy from.
713
+ # @return [String]
714
+ #
715
+ # @!attribute [rw] policy_revision_id
716
+ # Specifies a specific policy revision to delete. Provide a
717
+ # `PolicyRevisionId` to ensure an atomic delete operation. If the
718
+ # revision ID that you provide doesn't match the latest policy
719
+ # revision ID, the request will be rejected with an
720
+ # `InvalidPolicyRevisionIdException` error.
721
+ # @return [String]
722
+ #
723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeleteResourcePolicyRequest AWS API Documentation
724
+ #
725
+ class DeleteResourcePolicyRequest < Struct.new(
726
+ :name,
727
+ :policy_revision_id)
728
+ SENSITIVE = []
729
+ include Aws::Structure
730
+ end
731
+
732
+ # @!attribute [rw] policy_revision_id
733
+ # The revision ID of the policy that was removed, if it had one.
734
+ # @return [String]
735
+ #
736
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeleteResourcePolicyResponse AWS API Documentation
737
+ #
738
+ class DeleteResourcePolicyResponse < Struct.new(
739
+ :policy_revision_id)
740
+ SENSITIVE = []
741
+ include Aws::Structure
742
+ end
743
+
711
744
  # @!attribute [rw] app_monitor_name
712
745
  # The name of the app monitor that is sending metrics to the
713
746
  # destination that you want to delete.
@@ -819,6 +852,37 @@ module Aws::CloudWatchRUM
819
852
  include Aws::Structure
820
853
  end
821
854
 
855
+ # @!attribute [rw] name
856
+ # The name of the app monitor that is associated with the
857
+ # resource-based policy that you want to view.
858
+ # @return [String]
859
+ #
860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetResourcePolicyRequest AWS API Documentation
861
+ #
862
+ class GetResourcePolicyRequest < Struct.new(
863
+ :name)
864
+ SENSITIVE = []
865
+ include Aws::Structure
866
+ end
867
+
868
+ # @!attribute [rw] policy_document
869
+ # The JSON policy document that you requested.
870
+ # @return [String]
871
+ #
872
+ # @!attribute [rw] policy_revision_id
873
+ # The revision ID information for this version of the policy document
874
+ # that you requested.
875
+ # @return [String]
876
+ #
877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetResourcePolicyResponse AWS API Documentation
878
+ #
879
+ class GetResourcePolicyResponse < Struct.new(
880
+ :policy_document,
881
+ :policy_revision_id)
882
+ SENSITIVE = []
883
+ include Aws::Structure
884
+ end
885
+
822
886
  # Internal service exception.
823
887
  #
824
888
  # @!attribute [rw] message
@@ -837,6 +901,20 @@ module Aws::CloudWatchRUM
837
901
  include Aws::Structure
838
902
  end
839
903
 
904
+ # The policy revision ID that you provided doeesn't match the latest
905
+ # policy revision ID.
906
+ #
907
+ # @!attribute [rw] message
908
+ # @return [String]
909
+ #
910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/InvalidPolicyRevisionIdException AWS API Documentation
911
+ #
912
+ class InvalidPolicyRevisionIdException < Struct.new(
913
+ :message)
914
+ SENSITIVE = []
915
+ include Aws::Structure
916
+ end
917
+
840
918
  # @!attribute [rw] max_results
841
919
  # The maximum number of results to return in one operation. The
842
920
  # default is 50. The maximum that you can specify is 100.
@@ -952,6 +1030,19 @@ module Aws::CloudWatchRUM
952
1030
  include Aws::Structure
953
1031
  end
954
1032
 
1033
+ # The policy document that you specified is not formatted correctly.
1034
+ #
1035
+ # @!attribute [rw] message
1036
+ # @return [String]
1037
+ #
1038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/MalformedPolicyDocumentException AWS API Documentation
1039
+ #
1040
+ class MalformedPolicyDocumentException < Struct.new(
1041
+ :message)
1042
+ SENSITIVE = []
1043
+ include Aws::Structure
1044
+ end
1045
+
955
1046
  # A structure that displays the definition of one extended metric that
956
1047
  # RUM sends to CloudWatch or CloudWatch Evidently. For more information,
957
1048
  # see [ Additional metrics that you can send to CloudWatch and
@@ -1311,6 +1402,102 @@ module Aws::CloudWatchRUM
1311
1402
  include Aws::Structure
1312
1403
  end
1313
1404
 
1405
+ # The resource-based policy doesn't exist on this app monitor.
1406
+ #
1407
+ # @!attribute [rw] message
1408
+ # @return [String]
1409
+ #
1410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PolicyNotFoundException AWS API Documentation
1411
+ #
1412
+ class PolicyNotFoundException < Struct.new(
1413
+ :message)
1414
+ SENSITIVE = []
1415
+ include Aws::Structure
1416
+ end
1417
+
1418
+ # The policy document is too large. The limit is 4 KB.
1419
+ #
1420
+ # @!attribute [rw] message
1421
+ # @return [String]
1422
+ #
1423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PolicySizeLimitExceededException AWS API Documentation
1424
+ #
1425
+ class PolicySizeLimitExceededException < Struct.new(
1426
+ :message)
1427
+ SENSITIVE = []
1428
+ include Aws::Structure
1429
+ end
1430
+
1431
+ # @!attribute [rw] name
1432
+ # The name of the app monitor that you want to apply this
1433
+ # resource-based policy to. To find the names of your app monitors,
1434
+ # you can use the [ListAppMonitors][1] operation.
1435
+ #
1436
+ #
1437
+ #
1438
+ # [1]: https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_ListAppMonitors.html
1439
+ # @return [String]
1440
+ #
1441
+ # @!attribute [rw] policy_document
1442
+ # The JSON to use as the resource policy. The document can be up to 4
1443
+ # KB in size. For more information about the contents and syntax for
1444
+ # this policy, see [Using resource-based policies with CloudWatch
1445
+ # RUM][1].
1446
+ #
1447
+ #
1448
+ #
1449
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
1450
+ # @return [String]
1451
+ #
1452
+ # @!attribute [rw] policy_revision_id
1453
+ # A string value that you can use to conditionally update your policy.
1454
+ # You can provide the revision ID of your existing policy to make
1455
+ # mutating requests against that policy.
1456
+ #
1457
+ # When you assign a policy revision ID, then later requests about that
1458
+ # policy will be rejected with an `InvalidPolicyRevisionIdException`
1459
+ # error if they don't provide the correct current revision ID.
1460
+ # @return [String]
1461
+ #
1462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutResourcePolicyRequest AWS API Documentation
1463
+ #
1464
+ class PutResourcePolicyRequest < Struct.new(
1465
+ :name,
1466
+ :policy_document,
1467
+ :policy_revision_id)
1468
+ SENSITIVE = []
1469
+ include Aws::Structure
1470
+ end
1471
+
1472
+ # @!attribute [rw] policy_document
1473
+ # The JSON policy document that you specified.
1474
+ # @return [String]
1475
+ #
1476
+ # @!attribute [rw] policy_revision_id
1477
+ # The policy revision ID information that you specified.
1478
+ # @return [String]
1479
+ #
1480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutResourcePolicyResponse AWS API Documentation
1481
+ #
1482
+ class PutResourcePolicyResponse < Struct.new(
1483
+ :policy_document,
1484
+ :policy_revision_id)
1485
+ SENSITIVE = []
1486
+ include Aws::Structure
1487
+ end
1488
+
1489
+ # @!attribute [rw] alias
1490
+ # If the app monitor uses a resource-based policy that requires
1491
+ # `PutRumEvents` requests to specify a certain alias, specify that
1492
+ # alias here. This alias will be compared to the `rum:alias` context
1493
+ # key in the resource-based policy. For more information, see [Using
1494
+ # resource-based policies with CloudWatch RUM][1].
1495
+ #
1496
+ #
1497
+ #
1498
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html
1499
+ # @return [String]
1500
+ #
1314
1501
  # @!attribute [rw] app_monitor_details
1315
1502
  # A structure that contains information about the app monitor that
1316
1503
  # collected this telemetry information.
@@ -1336,6 +1523,7 @@ module Aws::CloudWatchRUM
1336
1523
  # @see http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutRumEventsRequest AWS API Documentation
1337
1524
  #
1338
1525
  class PutRumEventsRequest < Struct.new(
1526
+ :alias,
1339
1527
  :app_monitor_details,
1340
1528
  :batch_id,
1341
1529
  :id,
@@ -54,7 +54,7 @@ module Aws::CloudWatchRUM
54
54
  autoload :EndpointProvider, 'aws-sdk-cloudwatchrum/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchrum/endpoints'
56
56
 
57
- GEM_VERSION = '1.37.0'
57
+ GEM_VERSION = '1.38.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -165,6 +165,17 @@ module Aws
165
165
  ) -> _DeleteAppMonitorResponseSuccess
166
166
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppMonitorResponseSuccess
167
167
 
168
+ interface _DeleteResourcePolicyResponseSuccess
169
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
170
+ def policy_revision_id: () -> ::String
171
+ end
172
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#delete_resource_policy-instance_method
173
+ def delete_resource_policy: (
174
+ name: ::String,
175
+ ?policy_revision_id: ::String
176
+ ) -> _DeleteResourcePolicyResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
178
+
168
179
  interface _DeleteRumMetricsDestinationResponseSuccess
169
180
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRumMetricsDestinationResponse]
170
181
  end
@@ -209,6 +220,17 @@ module Aws
209
220
  ) -> _GetAppMonitorDataResponseSuccess
210
221
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppMonitorDataResponseSuccess
211
222
 
223
+ interface _GetResourcePolicyResponseSuccess
224
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
225
+ def policy_document: () -> ::String
226
+ def policy_revision_id: () -> ::String
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#get_resource_policy-instance_method
229
+ def get_resource_policy: (
230
+ name: ::String
231
+ ) -> _GetResourcePolicyResponseSuccess
232
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
233
+
212
234
  interface _ListAppMonitorsResponseSuccess
213
235
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAppMonitorsResponse]
214
236
  def app_monitor_summaries: () -> ::Array[Types::AppMonitorSummary]
@@ -245,11 +267,25 @@ module Aws
245
267
  ) -> _ListTagsForResourceResponseSuccess
246
268
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
247
269
 
270
+ interface _PutResourcePolicyResponseSuccess
271
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
272
+ def policy_document: () -> ::String
273
+ def policy_revision_id: () -> ::String
274
+ end
275
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#put_resource_policy-instance_method
276
+ def put_resource_policy: (
277
+ name: ::String,
278
+ policy_document: ::String,
279
+ ?policy_revision_id: ::String
280
+ ) -> _PutResourcePolicyResponseSuccess
281
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
282
+
248
283
  interface _PutRumEventsResponseSuccess
249
284
  include ::Seahorse::Client::_ResponseSuccess[Types::PutRumEventsResponse]
250
285
  end
251
286
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchRUM/Client.html#put_rum_events-instance_method
252
287
  def put_rum_events: (
288
+ ?alias: ::String,
253
289
  app_monitor_details: {
254
290
  id: ::String?,
255
291
  name: ::String?,
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
@@ -159,6 +159,17 @@ module Aws::CloudWatchRUM
159
159
  class DeleteAppMonitorResponse < Aws::EmptyStructure
160
160
  end
161
161
 
162
+ class DeleteResourcePolicyRequest
163
+ attr_accessor name: ::String
164
+ attr_accessor policy_revision_id: ::String
165
+ SENSITIVE: []
166
+ end
167
+
168
+ class DeleteResourcePolicyResponse
169
+ attr_accessor policy_revision_id: ::String
170
+ SENSITIVE: []
171
+ end
172
+
162
173
  class DeleteRumMetricsDestinationRequest
163
174
  attr_accessor app_monitor_name: ::String
164
175
  attr_accessor destination: ("CloudWatch" | "Evidently")
@@ -194,12 +205,28 @@ module Aws::CloudWatchRUM
194
205
  SENSITIVE: []
195
206
  end
196
207
 
208
+ class GetResourcePolicyRequest
209
+ attr_accessor name: ::String
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class GetResourcePolicyResponse
214
+ attr_accessor policy_document: ::String
215
+ attr_accessor policy_revision_id: ::String
216
+ SENSITIVE: []
217
+ end
218
+
197
219
  class InternalServerException
198
220
  attr_accessor message: ::String
199
221
  attr_accessor retry_after_seconds: ::Integer
200
222
  SENSITIVE: []
201
223
  end
202
224
 
225
+ class InvalidPolicyRevisionIdException
226
+ attr_accessor message: ::String
227
+ SENSITIVE: []
228
+ end
229
+
203
230
  class ListAppMonitorsRequest
204
231
  attr_accessor max_results: ::Integer
205
232
  attr_accessor next_token: ::String
@@ -236,6 +263,11 @@ module Aws::CloudWatchRUM
236
263
  SENSITIVE: []
237
264
  end
238
265
 
266
+ class MalformedPolicyDocumentException
267
+ attr_accessor message: ::String
268
+ SENSITIVE: []
269
+ end
270
+
239
271
  class MetricDefinition
240
272
  attr_accessor dimension_keys: ::Hash[::String, ::String]
241
273
  attr_accessor event_pattern: ::String
@@ -264,7 +296,31 @@ module Aws::CloudWatchRUM
264
296
  SENSITIVE: []
265
297
  end
266
298
 
299
+ class PolicyNotFoundException
300
+ attr_accessor message: ::String
301
+ SENSITIVE: []
302
+ end
303
+
304
+ class PolicySizeLimitExceededException
305
+ attr_accessor message: ::String
306
+ SENSITIVE: []
307
+ end
308
+
309
+ class PutResourcePolicyRequest
310
+ attr_accessor name: ::String
311
+ attr_accessor policy_document: ::String
312
+ attr_accessor policy_revision_id: ::String
313
+ SENSITIVE: []
314
+ end
315
+
316
+ class PutResourcePolicyResponse
317
+ attr_accessor policy_document: ::String
318
+ attr_accessor policy_revision_id: ::String
319
+ SENSITIVE: []
320
+ end
321
+
267
322
  class PutRumEventsRequest
323
+ attr_accessor alias: ::String
268
324
  attr_accessor app_monitor_details: Types::AppMonitorDetails
269
325
  attr_accessor batch_id: ::String
270
326
  attr_accessor id: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchrum
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.37.0
4
+ version: 1.38.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-02-18 00:00:00.000000000 Z
11
+ date: 2025-03-03 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.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.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: