aws-sdk-cloudwatch 1.114.0 → 1.115.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: bff7886f736f9b462af7667f099a54387a263484009c2bdde8780bc9614c9868
4
- data.tar.gz: 0c76a7b0ad89c7fdfc8fa606aa6dbdf3cd5b89e4451d5e28777aa2a63fd1791a
3
+ metadata.gz: 500e7f3f57c702e60ef0be03d057aed1c0a22bd3a1e0dc47e8038816a2961525
4
+ data.tar.gz: f70bc0177f028392106ed780303e7c3d728a5327e1f907ef6f7daed5434dbf8e
5
5
  SHA512:
6
- metadata.gz: 40e46872304e32d82816f02d65b9d1a2719b26a981a87493efb36e651fcf5d8530478d78d2701eab5b4b5ffd36bf512697829f4ae02128fdd5c8bf91dfe95b58
7
- data.tar.gz: 68c0420ad427f9377cf5ad1b86fcf4d9101e50f5ea290c486d5c28a4d68153b5127601cd825d049cbc68f0bed4436081bde87f3387fd8fdc02a5bfbd7d90073d
6
+ metadata.gz: efa1d40d27d9787c4479a1138bd6df8cb6f7c4ff5ad2cf89544913c2e596c2e6e9fae137a494a4615cc3fc1db1d846d6e7a88659265a2608cc96da7a816f982d
7
+ data.tar.gz: 5c1ac3b22d098e025b77dbdb33931955b1b3507eb82bfdc36eccd7f4f30baf5417de68a888e51b9bae3776d6ca40ff6611efcd7f0b08874a999b1e73cf947c16
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.115.0 (2025-05-21)
5
+ ------------------
6
+
7
+ * Feature - Adds support for setting up Contributor Insight rules on logs transformed via Logs Transformation feature.
8
+
4
9
  1.114.0 (2025-05-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
1
+ 1.115.0
@@ -475,8 +475,9 @@ module Aws::CloudWatch
475
475
  # composite alarms with one operation, but you can't delete two
476
476
  # composite alarms with one operation.
477
477
  #
478
- # If you specify an incorrect alarm name or make any other error in the
479
- # operation, no alarms are deleted. To confirm that alarms were deleted
478
+ # If you specify any incorrect alarm names, the alarms you specify with
479
+ # correct names are still deleted. Other syntax errors might result in
480
+ # no alarms being deleted. To confirm that alarms were deleted
480
481
  # successfully, you can use the [DescribeAlarms][1] operation after
481
482
  # using `DeleteAlarms`.
482
483
  #
@@ -1289,6 +1290,7 @@ module Aws::CloudWatch
1289
1290
  # resp.insight_rules[0].schema #=> String
1290
1291
  # resp.insight_rules[0].definition #=> String
1291
1292
  # resp.insight_rules[0].managed_rule #=> Boolean
1293
+ # resp.insight_rules[0].apply_on_transformed_logs #=> Boolean
1292
1294
  #
1293
1295
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeInsightRules AWS API Documentation
1294
1296
  #
@@ -1701,14 +1703,14 @@ module Aws::CloudWatch
1701
1703
  # 1-hour clock interval. For example, 12:32:34 is rounded down to
1702
1704
  # 12:00:00.
1703
1705
  #
1704
- # If you set `Period` to 5, 10, or 30, the start time of your request is
1705
- # rounded down to the nearest time that corresponds to even 5-, 10-, or
1706
- # 30-second divisions of a minute. For example, if you make a query at
1707
- # (HH:mm:ss) 01:05:23 for the previous 10-second period, the start time
1708
- # of your request is rounded down and you receive data from 01:05:10 to
1709
- # 01:05:20. If you make a query at 15:07:17 for the previous 5 minutes
1710
- # of data, using a period of 5 seconds, you receive data timestamped
1711
- # between 15:02:15 and 15:07:15.
1706
+ # If you set `Period` to 5, 10, 20, or 30, the start time of your
1707
+ # request is rounded down to the nearest time that corresponds to even
1708
+ # 5-, 10-, 20-, or 30-second divisions of a minute. For example, if you
1709
+ # make a query at (HH:mm:ss) 01:05:23 for the previous 10-second period,
1710
+ # the start time of your request is rounded down and you receive data
1711
+ # from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the
1712
+ # previous 5 minutes of data, using a period of 5 seconds, you receive
1713
+ # data timestamped between 15:02:15 and 15:07:15.
1712
1714
  #
1713
1715
  # For better performance, specify `StartTime` and `EndTime` values that
1714
1716
  # align with the value of the metric's `Period` and sync up with the
@@ -1932,14 +1934,14 @@ module Aws::CloudWatch
1932
1934
  # 1-hour clock interval. For example, 12:32:34 is rounded down to
1933
1935
  # 12:00:00.
1934
1936
  #
1935
- # If you set `Period` to 5, 10, or 30, the start time of your request is
1936
- # rounded down to the nearest time that corresponds to even 5-, 10-, or
1937
- # 30-second divisions of a minute. For example, if you make a query at
1938
- # (HH:mm:ss) 01:05:23 for the previous 10-second period, the start time
1939
- # of your request is rounded down and you receive data from 01:05:10 to
1940
- # 01:05:20. If you make a query at 15:07:17 for the previous 5 minutes
1941
- # of data, using a period of 5 seconds, you receive data timestamped
1942
- # between 15:02:15 and 15:07:15.
1937
+ # If you set `Period` to 5, 10, 20, or 30, the start time of your
1938
+ # request is rounded down to the nearest time that corresponds to even
1939
+ # 5-, 10-, 20-, or 30-second divisions of a minute. For example, if you
1940
+ # make a query at (HH:mm:ss) 01:05:23 for the previous 10-second period,
1941
+ # the start time of your request is rounded down and you receive data
1942
+ # from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the
1943
+ # previous 5 minutes of data, using a period of 5 seconds, you receive
1944
+ # data timestamped between 15:02:15 and 15:07:15.
1943
1945
  #
1944
1946
  # @option params [required, Time,DateTime,Date,Integer,String] :end_time
1945
1947
  # The time stamp that determines the last data point to return.
@@ -1953,7 +1955,7 @@ module Aws::CloudWatch
1953
1955
  # with regular resolution, a period can be as short as one minute (60
1954
1956
  # seconds) and must be a multiple of 60. For high-resolution metrics
1955
1957
  # that are collected at intervals of less than one minute, the period
1956
- # can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution
1958
+ # can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution
1957
1959
  # metrics are those metrics stored by a `PutMetricData` call that
1958
1960
  # includes a `StorageResolution` of 1 second.
1959
1961
  #
@@ -2371,8 +2373,10 @@ module Aws::CloudWatch
2371
2373
  # that match exactly will be returned.
2372
2374
  #
2373
2375
  # @option params [Array<Types::DimensionFilter>] :dimensions
2374
- # The dimensions to filter against. Only the dimensions that match
2375
- # exactly will be returned.
2376
+ # The dimensions to filter against. Only the dimension with names that
2377
+ # match exactly will be returned. If you specify one dimension name and
2378
+ # a metric has that dimension and also other dimensions, it will be
2379
+ # returned.
2376
2380
  #
2377
2381
  # @option params [String] :next_token
2378
2382
  # The token returned by a previous call to indicate that there is more
@@ -2745,7 +2749,7 @@ module Aws::CloudWatch
2745
2749
  #
2746
2750
  # **Start a Amazon Q Developer operational investigation**
2747
2751
  #
2748
- # `arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id
2752
+ # `arn:aws:aiops:region:account-id:investigation-group:investigation-group-id
2749
2753
  # `
2750
2754
  #
2751
2755
  # @option params [String] :alarm_description
@@ -3045,6 +3049,28 @@ module Aws::CloudWatch
3045
3049
  #
3046
3050
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
3047
3051
  #
3052
+ # @option params [Boolean] :apply_on_transformed_logs
3053
+ # Specify `true` to have this rule evalute log events after they have
3054
+ # been transformed by [Log transformation][1]. If you specify `true`,
3055
+ # then the log events in log groups that have transformers will be
3056
+ # evaluated by Contributor Insights after being transformed. Log groups
3057
+ # that don't have transformers will still have their original log
3058
+ # events evaluated by Contributor Insights.
3059
+ #
3060
+ # The default is `false`
3061
+ #
3062
+ # <note markdown="1"> If a log group has a transformer, and transformation fails for some
3063
+ # log events, those log events won't be evaluated by Contributor
3064
+ # Insights. For information about investigating log transformation
3065
+ # failures, see [Transformation metrics and errors][2].
3066
+ #
3067
+ # </note>
3068
+ #
3069
+ #
3070
+ #
3071
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html
3072
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Transformation-Errors-Metrics.html
3073
+ #
3048
3074
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3049
3075
  #
3050
3076
  # @example Request syntax with placeholder values
@@ -3059,6 +3085,7 @@ module Aws::CloudWatch
3059
3085
  # value: "TagValue", # required
3060
3086
  # },
3061
3087
  # ],
3088
+ # apply_on_transformed_logs: false,
3062
3089
  # })
3063
3090
  #
3064
3091
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutInsightRule AWS API Documentation
@@ -3313,7 +3340,7 @@ module Aws::CloudWatch
3313
3340
  #
3314
3341
  # **Start a Amazon Q Developer operational investigation**
3315
3342
  #
3316
- # `arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id
3343
+ # `arn:aws:aiops:region:account-id:investigation-group:investigation-group-id
3317
3344
  # `
3318
3345
  #
3319
3346
  # @option params [Array<String>] :insufficient_data_actions
@@ -3432,27 +3459,29 @@ module Aws::CloudWatch
3432
3459
  #
3433
3460
  # @option params [Integer] :period
3434
3461
  # The length, in seconds, used each time the metric specified in
3435
- # `MetricName` is evaluated. Valid values are 10, 30, and any multiple
3436
- # of 60.
3462
+ # `MetricName` is evaluated. Valid values are 10, 20, 30, and any
3463
+ # multiple of 60.
3437
3464
  #
3438
3465
  # `Period` is required for alarms based on static thresholds. If you are
3439
3466
  # creating an alarm based on a metric math expression, you specify the
3440
3467
  # period for each metric within the objects in the `Metrics` array.
3441
3468
  #
3442
- # Be sure to specify 10 or 30 only for metrics that are stored by a
3469
+ # Be sure to specify 10, 20, or 30 only for metrics that are stored by a
3443
3470
  # `PutMetricData` call with a `StorageResolution` of 1. If you specify a
3444
- # period of 10 or 30 for a metric that does not have sub-minute
3471
+ # period of 10, 20, or 30 for a metric that does not have sub-minute
3445
3472
  # resolution, the alarm still attempts to gather data at the period rate
3446
3473
  # that you specify. In this case, it does not receive data for the
3447
3474
  # attempts that do not correspond to a one-minute data resolution, and
3448
3475
  # the alarm might often lapse into INSUFFICENT\_DATA status. Specifying
3449
- # 10 or 30 also sets this alarm as a high-resolution alarm, which has a
3450
- # higher charge than other alarms. For more information about pricing,
3451
- # see [Amazon CloudWatch Pricing][1].
3476
+ # 10, 20, or 30 also sets this alarm as a high-resolution alarm, which
3477
+ # has a higher charge than other alarms. For more information about
3478
+ # pricing, see [Amazon CloudWatch Pricing][1].
3452
3479
  #
3453
- # An alarm's total current evaluation period can be no longer than one
3454
- # day, so `Period` multiplied by `EvaluationPeriods` cannot be more than
3455
- # 86,400 seconds.
3480
+ # An alarm's total current evaluation period can be no longer than
3481
+ # seven days, so `Period` multiplied by `EvaluationPeriods` can't be
3482
+ # more than 604,800 seconds. For alarms with a period of less than one
3483
+ # hour (3,600 seconds), the total evaluation period can't be longer
3484
+ # than one day (86,400 seconds).
3456
3485
  #
3457
3486
  #
3458
3487
  #
@@ -3489,10 +3518,6 @@ module Aws::CloudWatch
3489
3518
  # specifies that number. If you are setting an "M out of N" alarm,
3490
3519
  # this value is the N.
3491
3520
  #
3492
- # An alarm's total current evaluation period can be no longer than one
3493
- # day, so this number multiplied by `Period` cannot be more than 86,400
3494
- # seconds.
3495
- #
3496
3521
  # @option params [Integer] :datapoints_to_alarm
3497
3522
  # The number of data points that must be breaching to trigger the alarm.
3498
3523
  # This is used only if you are setting an "M out of N" alarm. In that
@@ -3809,7 +3834,7 @@ module Aws::CloudWatch
3809
3834
  #
3810
3835
  #
3811
3836
  #
3812
- # [1]: https://docs.aws.amazon.com/adding-your-own-related-telemetry.html
3837
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html
3813
3838
  #
3814
3839
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3815
3840
  #
@@ -4313,7 +4338,7 @@ module Aws::CloudWatch
4313
4338
  tracer: tracer
4314
4339
  )
4315
4340
  context[:gem_name] = 'aws-sdk-cloudwatch'
4316
- context[:gem_version] = '1.114.0'
4341
+ context[:gem_version] = '1.115.0'
4317
4342
  Seahorse::Client::Request.new(handlers, context)
4318
4343
  end
4319
4344
 
@@ -45,6 +45,7 @@ module Aws::CloudWatch
45
45
  CompositeAlarm = Shapes::StructureShape.new(name: 'CompositeAlarm')
46
46
  CompositeAlarms = Shapes::ListShape.new(name: 'CompositeAlarms')
47
47
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException', error: {"code" => "ConcurrentModificationException", "httpStatusCode" => 429, "senderFault" => true})
48
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
48
49
  Counts = Shapes::ListShape.new(name: 'Counts')
49
50
  DashboardArn = Shapes::StringShape.new(name: 'DashboardArn')
50
51
  DashboardBody = Shapes::StringShape.new(name: 'DashboardBody')
@@ -154,6 +155,7 @@ module Aws::CloudWatch
154
155
  InsightRuleMetricName = Shapes::StringShape.new(name: 'InsightRuleMetricName')
155
156
  InsightRuleName = Shapes::StringShape.new(name: 'InsightRuleName')
156
157
  InsightRuleNames = Shapes::ListShape.new(name: 'InsightRuleNames')
158
+ InsightRuleOnTransformedLogs = Shapes::BooleanShape.new(name: 'InsightRuleOnTransformedLogs')
157
159
  InsightRuleOrderBy = Shapes::StringShape.new(name: 'InsightRuleOrderBy')
158
160
  InsightRuleSchema = Shapes::StringShape.new(name: 'InsightRuleSchema')
159
161
  InsightRuleState = Shapes::StringShape.new(name: 'InsightRuleState')
@@ -355,6 +357,9 @@ module Aws::CloudWatch
355
357
 
356
358
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
357
359
 
360
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
361
+ ConflictException.struct_class = Types::ConflictException
362
+
358
363
  Counts.member = Shapes::ShapeRef.new(shape: DatapointValue)
359
364
 
360
365
  DashboardEntries.member = Shapes::ShapeRef.new(shape: DashboardEntry)
@@ -619,6 +624,7 @@ module Aws::CloudWatch
619
624
  InsightRule.add_member(:schema, Shapes::ShapeRef.new(shape: InsightRuleSchema, required: true, location_name: "Schema"))
620
625
  InsightRule.add_member(:definition, Shapes::ShapeRef.new(shape: InsightRuleDefinition, required: true, location_name: "Definition"))
621
626
  InsightRule.add_member(:managed_rule, Shapes::ShapeRef.new(shape: InsightRuleIsManaged, location_name: "ManagedRule"))
627
+ InsightRule.add_member(:apply_on_transformed_logs, Shapes::ShapeRef.new(shape: InsightRuleOnTransformedLogs, location_name: "ApplyOnTransformedLogs"))
622
628
  InsightRule.struct_class = Types::InsightRule
623
629
 
624
630
  InsightRuleContributor.add_member(:keys, Shapes::ShapeRef.new(shape: InsightRuleContributorKeys, required: true, location_name: "Keys"))
@@ -916,6 +922,7 @@ module Aws::CloudWatch
916
922
  PutInsightRuleInput.add_member(:rule_state, Shapes::ShapeRef.new(shape: InsightRuleState, location_name: "RuleState"))
917
923
  PutInsightRuleInput.add_member(:rule_definition, Shapes::ShapeRef.new(shape: InsightRuleDefinition, required: true, location_name: "RuleDefinition"))
918
924
  PutInsightRuleInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
925
+ PutInsightRuleInput.add_member(:apply_on_transformed_logs, Shapes::ShapeRef.new(shape: InsightRuleOnTransformedLogs, location_name: "ApplyOnTransformedLogs"))
919
926
  PutInsightRuleInput.struct_class = Types::PutInsightRuleInput
920
927
 
921
928
  PutInsightRuleOutput.struct_class = Types::PutInsightRuleOutput
@@ -1089,6 +1096,7 @@ module Aws::CloudWatch
1089
1096
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1090
1097
  o.errors << Shapes::ShapeRef.new(shape: DashboardNotFoundError)
1091
1098
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
1099
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1092
1100
  end)
1093
1101
 
1094
1102
  api.add_operation(:delete_insight_rules, Seahorse::Model::Operation.new.tap do |o|
@@ -1396,6 +1404,7 @@ module Aws::CloudWatch
1396
1404
  o.output = Shapes::ShapeRef.new(shape: PutDashboardOutput)
1397
1405
  o.errors << Shapes::ShapeRef.new(shape: DashboardInvalidInputError)
1398
1406
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
1407
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1399
1408
  end)
1400
1409
 
1401
1410
  api.add_operation(:put_insight_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -1498,6 +1507,7 @@ module Aws::CloudWatch
1498
1507
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1499
1508
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1500
1509
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
1510
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1501
1511
  end)
1502
1512
 
1503
1513
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1510,6 +1520,7 @@ module Aws::CloudWatch
1510
1520
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1511
1521
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1512
1522
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceFault)
1523
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1513
1524
  end)
1514
1525
  end
1515
1526
 
@@ -28,6 +28,7 @@ module Aws::CloudWatch
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {ConcurrentModificationException}
31
+ # * {ConflictException}
31
32
  # * {DashboardInvalidInputError}
32
33
  # * This error class is not used. `InvalidParameterInput` is used during parsing instead.
33
34
  # * {DashboardNotFoundError}
@@ -66,6 +67,21 @@ module Aws::CloudWatch
66
67
  end
67
68
  end
68
69
 
70
+ class ConflictException < ServiceError
71
+
72
+ # @param [Seahorse::Client::RequestContext] context
73
+ # @param [String] message
74
+ # @param [Aws::CloudWatch::Types::ConflictException] data
75
+ def initialize(context, message, data = Aws::EmptyStructure.new)
76
+ super(context, message, data)
77
+ end
78
+
79
+ # @return [String]
80
+ def message
81
+ @message || @data[:message]
82
+ end
83
+ end
84
+
69
85
  # @deprecated This error class is not used during parsing.
70
86
  # Please use `InvalidParameterInput` instead.
71
87
  class DashboardInvalidInputError < ServiceError
@@ -244,14 +244,14 @@ module Aws::CloudWatch
244
244
  # 1-hour clock interval. For example, 12:32:34 is rounded down to
245
245
  # 12:00:00.
246
246
  #
247
- # If you set `Period` to 5, 10, or 30, the start time of your request is
248
- # rounded down to the nearest time that corresponds to even 5-, 10-, or
249
- # 30-second divisions of a minute. For example, if you make a query at
250
- # (HH:mm:ss) 01:05:23 for the previous 10-second period, the start time
251
- # of your request is rounded down and you receive data from 01:05:10 to
252
- # 01:05:20. If you make a query at 15:07:17 for the previous 5 minutes
253
- # of data, using a period of 5 seconds, you receive data timestamped
254
- # between 15:02:15 and 15:07:15.
247
+ # If you set `Period` to 5, 10, 20, or 30, the start time of your
248
+ # request is rounded down to the nearest time that corresponds to even
249
+ # 5-, 10-, 20-, or 30-second divisions of a minute. For example, if you
250
+ # make a query at (HH:mm:ss) 01:05:23 for the previous 10-second period,
251
+ # the start time of your request is rounded down and you receive data
252
+ # from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the
253
+ # previous 5 minutes of data, using a period of 5 seconds, you receive
254
+ # data timestamped between 15:02:15 and 15:07:15.
255
255
  # @option options [required, Time,DateTime,Date,Integer,String] :end_time
256
256
  # The time stamp that determines the last data point to return.
257
257
  #
@@ -263,7 +263,7 @@ module Aws::CloudWatch
263
263
  # with regular resolution, a period can be as short as one minute (60
264
264
  # seconds) and must be a multiple of 60. For high-resolution metrics
265
265
  # that are collected at intervals of less than one minute, the period
266
- # can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution
266
+ # can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution
267
267
  # metrics are those metrics stored by a `PutMetricData` call that
268
268
  # includes a `StorageResolution` of 1 second.
269
269
  #
@@ -492,7 +492,7 @@ module Aws::CloudWatch
492
492
  #
493
493
  # **Start a Amazon Q Developer operational investigation**
494
494
  #
495
- # `arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id
495
+ # `arn:aws:aiops:region:account-id:investigation-group:investigation-group-id
496
496
  # `
497
497
  # @option options [Array<String>] :insufficient_data_actions
498
498
  # The actions to execute when this alarm transitions to the
@@ -593,27 +593,29 @@ module Aws::CloudWatch
593
593
  # The dimensions for the metric specified in `MetricName`.
594
594
  # @option options [Integer] :period
595
595
  # The length, in seconds, used each time the metric specified in
596
- # `MetricName` is evaluated. Valid values are 10, 30, and any multiple
597
- # of 60.
596
+ # `MetricName` is evaluated. Valid values are 10, 20, 30, and any
597
+ # multiple of 60.
598
598
  #
599
599
  # `Period` is required for alarms based on static thresholds. If you are
600
600
  # creating an alarm based on a metric math expression, you specify the
601
601
  # period for each metric within the objects in the `Metrics` array.
602
602
  #
603
- # Be sure to specify 10 or 30 only for metrics that are stored by a
603
+ # Be sure to specify 10, 20, or 30 only for metrics that are stored by a
604
604
  # `PutMetricData` call with a `StorageResolution` of 1. If you specify a
605
- # period of 10 or 30 for a metric that does not have sub-minute
605
+ # period of 10, 20, or 30 for a metric that does not have sub-minute
606
606
  # resolution, the alarm still attempts to gather data at the period rate
607
607
  # that you specify. In this case, it does not receive data for the
608
608
  # attempts that do not correspond to a one-minute data resolution, and
609
609
  # the alarm might often lapse into INSUFFICENT\_DATA status. Specifying
610
- # 10 or 30 also sets this alarm as a high-resolution alarm, which has a
611
- # higher charge than other alarms. For more information about pricing,
612
- # see [Amazon CloudWatch Pricing][1].
610
+ # 10, 20, or 30 also sets this alarm as a high-resolution alarm, which
611
+ # has a higher charge than other alarms. For more information about
612
+ # pricing, see [Amazon CloudWatch Pricing][1].
613
613
  #
614
- # An alarm's total current evaluation period can be no longer than one
615
- # day, so `Period` multiplied by `EvaluationPeriods` cannot be more than
616
- # 86,400 seconds.
614
+ # An alarm's total current evaluation period can be no longer than
615
+ # seven days, so `Period` multiplied by `EvaluationPeriods` can't be
616
+ # more than 604,800 seconds. For alarms with a period of less than one
617
+ # hour (3,600 seconds), the total evaluation period can't be longer
618
+ # than one day (86,400 seconds).
617
619
  #
618
620
  #
619
621
  #
@@ -647,10 +649,6 @@ module Aws::CloudWatch
647
649
  # consecutive data points be breaching to trigger the alarm, this value
648
650
  # specifies that number. If you are setting an "M out of N" alarm,
649
651
  # this value is the N.
650
- #
651
- # An alarm's total current evaluation period can be no longer than one
652
- # day, so this number multiplied by `Period` cannot be more than 86,400
653
- # seconds.
654
652
  # @option options [Integer] :datapoints_to_alarm
655
653
  # The number of data points that must be breaching to trigger the alarm.
656
654
  # This is used only if you are setting an "M out of N" alarm. In that
@@ -893,7 +891,7 @@ module Aws::CloudWatch
893
891
  #
894
892
  #
895
893
  #
896
- # [1]: https://docs.aws.amazon.com/adding-your-own-related-telemetry.html
894
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html
897
895
  # @return [EmptyStructure]
898
896
  def put_data(options = {})
899
897
  options = Aws::Util.deep_merge(options,
@@ -285,8 +285,10 @@ module Aws::CloudWatch
285
285
  # The name of the metric to filter against. Only the metrics with names
286
286
  # that match exactly will be returned.
287
287
  # @option options [Array<Types::DimensionFilter>] :dimensions
288
- # The dimensions to filter against. Only the dimensions that match
289
- # exactly will be returned.
288
+ # The dimensions to filter against. Only the dimension with names that
289
+ # match exactly will be returned. If you specify one dimension name and
290
+ # a metric has that dimension and also other dimensions, it will be
291
+ # returned.
290
292
  # @option options [String] :recently_active
291
293
  # To filter the results to show only metrics that have had data points
292
294
  # published in the past three hours, specify this parameter with a value
@@ -289,6 +289,19 @@ module Aws::CloudWatch
289
289
  #
290
290
  class ConcurrentModificationException < Aws::EmptyStructure; end
291
291
 
292
+ # This operation attempted to create a resource that already exists.
293
+ #
294
+ # @!attribute [rw] message
295
+ # @return [String]
296
+ #
297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ConflictException AWS API Documentation
298
+ #
299
+ class ConflictException < Struct.new(
300
+ :message)
301
+ SENSITIVE = []
302
+ include Aws::Structure
303
+ end
304
+
292
305
  # Represents a specific dashboard.
293
306
  #
294
307
  # @!attribute [rw] dashboard_name
@@ -1331,14 +1344,14 @@ module Aws::CloudWatch
1331
1344
  # 1-hour clock interval. For example, 12:32:34 is rounded down to
1332
1345
  # 12:00:00.
1333
1346
  #
1334
- # If you set `Period` to 5, 10, or 30, the start time of your request
1335
- # is rounded down to the nearest time that corresponds to even 5-,
1336
- # 10-, or 30-second divisions of a minute. For example, if you make a
1337
- # query at (HH:mm:ss) 01:05:23 for the previous 10-second period, the
1338
- # start time of your request is rounded down and you receive data from
1339
- # 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the
1340
- # previous 5 minutes of data, using a period of 5 seconds, you receive
1341
- # data timestamped between 15:02:15 and 15:07:15.
1347
+ # If you set `Period` to 5, 10, 20, or 30, the start time of your
1348
+ # request is rounded down to the nearest time that corresponds to even
1349
+ # 5-, 10-, 20-, or 30-second divisions of a minute. For example, if
1350
+ # you make a query at (HH:mm:ss) 01:05:23 for the previous 10-second
1351
+ # period, the start time of your request is rounded down and you
1352
+ # receive data from 01:05:10 to 01:05:20. If you make a query at
1353
+ # 15:07:17 for the previous 5 minutes of data, using a period of 5
1354
+ # seconds, you receive data timestamped between 15:02:15 and 15:07:15.
1342
1355
  #
1343
1356
  # For better performance, specify `StartTime` and `EndTime` values
1344
1357
  # that align with the value of the metric's `Period` and sync up with
@@ -1482,14 +1495,14 @@ module Aws::CloudWatch
1482
1495
  # 1-hour clock interval. For example, 12:32:34 is rounded down to
1483
1496
  # 12:00:00.
1484
1497
  #
1485
- # If you set `Period` to 5, 10, or 30, the start time of your request
1486
- # is rounded down to the nearest time that corresponds to even 5-,
1487
- # 10-, or 30-second divisions of a minute. For example, if you make a
1488
- # query at (HH:mm:ss) 01:05:23 for the previous 10-second period, the
1489
- # start time of your request is rounded down and you receive data from
1490
- # 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the
1491
- # previous 5 minutes of data, using a period of 5 seconds, you receive
1492
- # data timestamped between 15:02:15 and 15:07:15.
1498
+ # If you set `Period` to 5, 10, 20, or 30, the start time of your
1499
+ # request is rounded down to the nearest time that corresponds to even
1500
+ # 5-, 10-, 20-, or 30-second divisions of a minute. For example, if
1501
+ # you make a query at (HH:mm:ss) 01:05:23 for the previous 10-second
1502
+ # period, the start time of your request is rounded down and you
1503
+ # receive data from 01:05:10 to 01:05:20. If you make a query at
1504
+ # 15:07:17 for the previous 5 minutes of data, using a period of 5
1505
+ # seconds, you receive data timestamped between 15:02:15 and 15:07:15.
1493
1506
  # @return [Time]
1494
1507
  #
1495
1508
  # @!attribute [rw] end_time
@@ -1505,8 +1518,8 @@ module Aws::CloudWatch
1505
1518
  # metrics with regular resolution, a period can be as short as one
1506
1519
  # minute (60 seconds) and must be a multiple of 60. For
1507
1520
  # high-resolution metrics that are collected at intervals of less than
1508
- # one minute, the period can be 1, 5, 10, 30, 60, or any multiple of
1509
- # 60. High-resolution metrics are those metrics stored by a
1521
+ # one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple
1522
+ # of 60. High-resolution metrics are those metrics stored by a
1510
1523
  # `PutMetricData` call that includes a `StorageResolution` of 1
1511
1524
  # second.
1512
1525
  #
@@ -1798,6 +1811,17 @@ module Aws::CloudWatch
1798
1811
  # An optional built-in rule that Amazon Web Services manages.
1799
1812
  # @return [Boolean]
1800
1813
  #
1814
+ # @!attribute [rw] apply_on_transformed_logs
1815
+ # Displays whether the rule is evaluated on the transformed versions
1816
+ # of logs, for log groups that have [Log transformation][1] enabled.
1817
+ # If this is `false`, log events are evaluated before they are
1818
+ # transformed.
1819
+ #
1820
+ #
1821
+ #
1822
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html
1823
+ # @return [Boolean]
1824
+ #
1801
1825
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/InsightRule AWS API Documentation
1802
1826
  #
1803
1827
  class InsightRule < Struct.new(
@@ -1805,7 +1829,8 @@ module Aws::CloudWatch
1805
1829
  :state,
1806
1830
  :schema,
1807
1831
  :definition,
1808
- :managed_rule)
1832
+ :managed_rule,
1833
+ :apply_on_transformed_logs)
1809
1834
  SENSITIVE = []
1810
1835
  include Aws::Structure
1811
1836
  end
@@ -2208,8 +2233,10 @@ module Aws::CloudWatch
2208
2233
  # @return [String]
2209
2234
  #
2210
2235
  # @!attribute [rw] dimensions
2211
- # The dimensions to filter against. Only the dimensions that match
2212
- # exactly will be returned.
2236
+ # The dimensions to filter against. Only the dimension with names that
2237
+ # match exactly will be returned. If you specify one dimension name
2238
+ # and a metric has that dimension and also other dimensions, it will
2239
+ # be returned.
2213
2240
  # @return [Array<Types::DimensionFilter>]
2214
2241
  #
2215
2242
  # @!attribute [rw] next_token
@@ -2783,8 +2810,8 @@ module Aws::CloudWatch
2783
2810
  # metrics with regular resolution, a period can be as short as one
2784
2811
  # minute (60 seconds) and must be a multiple of 60. For
2785
2812
  # high-resolution metrics that are collected at intervals of less than
2786
- # one minute, the period can be 1, 5, 10, 30, 60, or any multiple of
2787
- # 60. High-resolution metrics are those metrics stored by a
2813
+ # one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple
2814
+ # of 60. High-resolution metrics are those metrics stored by a
2788
2815
  # `PutMetricData` operation that includes a `StorageResolution of 1
2789
2816
  # second`.
2790
2817
  # @return [Integer]
@@ -3000,8 +3027,8 @@ module Aws::CloudWatch
3000
3027
  # metrics with regular resolution, a period can be as short as one
3001
3028
  # minute (60 seconds) and must be a multiple of 60. For
3002
3029
  # high-resolution metrics that are collected at intervals of less than
3003
- # one minute, the period can be 1, 5, 10, 30, 60, or any multiple of
3004
- # 60. High-resolution metrics are those metrics stored by a
3030
+ # one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple
3031
+ # of 60. High-resolution metrics are those metrics stored by a
3005
3032
  # `PutMetricData` call that includes a `StorageResolution` of 1
3006
3033
  # second.
3007
3034
  #
@@ -3380,7 +3407,7 @@ module Aws::CloudWatch
3380
3407
  #
3381
3408
  # **Start a Amazon Q Developer operational investigation**
3382
3409
  #
3383
- # `arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id
3410
+ # `arn:aws:aiops:region:account-id:investigation-group:investigation-group-id
3384
3411
  # `
3385
3412
  # @return [Array<String>]
3386
3413
  #
@@ -3653,13 +3680,37 @@ module Aws::CloudWatch
3653
3680
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
3654
3681
  # @return [Array<Types::Tag>]
3655
3682
  #
3683
+ # @!attribute [rw] apply_on_transformed_logs
3684
+ # Specify `true` to have this rule evalute log events after they have
3685
+ # been transformed by [Log transformation][1]. If you specify `true`,
3686
+ # then the log events in log groups that have transformers will be
3687
+ # evaluated by Contributor Insights after being transformed. Log
3688
+ # groups that don't have transformers will still have their original
3689
+ # log events evaluated by Contributor Insights.
3690
+ #
3691
+ # The default is `false`
3692
+ #
3693
+ # <note markdown="1"> If a log group has a transformer, and transformation fails for some
3694
+ # log events, those log events won't be evaluated by Contributor
3695
+ # Insights. For information about investigating log transformation
3696
+ # failures, see [Transformation metrics and errors][2].
3697
+ #
3698
+ # </note>
3699
+ #
3700
+ #
3701
+ #
3702
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html
3703
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Transformation-Errors-Metrics.html
3704
+ # @return [Boolean]
3705
+ #
3656
3706
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutInsightRuleInput AWS API Documentation
3657
3707
  #
3658
3708
  class PutInsightRuleInput < Struct.new(
3659
3709
  :rule_name,
3660
3710
  :rule_state,
3661
3711
  :rule_definition,
3662
- :tags)
3712
+ :tags,
3713
+ :apply_on_transformed_logs)
3663
3714
  SENSITIVE = []
3664
3715
  include Aws::Structure
3665
3716
  end
@@ -3825,7 +3876,7 @@ module Aws::CloudWatch
3825
3876
  #
3826
3877
  # **Start a Amazon Q Developer operational investigation**
3827
3878
  #
3828
- # `arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id
3879
+ # `arn:aws:aiops:region:account-id:investigation-group:investigation-group-id
3829
3880
  # `
3830
3881
  # @return [Array<String>]
3831
3882
  #
@@ -3952,28 +4003,31 @@ module Aws::CloudWatch
3952
4003
  #
3953
4004
  # @!attribute [rw] period
3954
4005
  # The length, in seconds, used each time the metric specified in
3955
- # `MetricName` is evaluated. Valid values are 10, 30, and any multiple
3956
- # of 60.
4006
+ # `MetricName` is evaluated. Valid values are 10, 20, 30, and any
4007
+ # multiple of 60.
3957
4008
  #
3958
4009
  # `Period` is required for alarms based on static thresholds. If you
3959
4010
  # are creating an alarm based on a metric math expression, you specify
3960
4011
  # the period for each metric within the objects in the `Metrics`
3961
4012
  # array.
3962
4013
  #
3963
- # Be sure to specify 10 or 30 only for metrics that are stored by a
3964
- # `PutMetricData` call with a `StorageResolution` of 1. If you specify
3965
- # a period of 10 or 30 for a metric that does not have sub-minute
3966
- # resolution, the alarm still attempts to gather data at the period
3967
- # rate that you specify. In this case, it does not receive data for
3968
- # the attempts that do not correspond to a one-minute data resolution,
3969
- # and the alarm might often lapse into INSUFFICENT\_DATA status.
3970
- # Specifying 10 or 30 also sets this alarm as a high-resolution alarm,
3971
- # which has a higher charge than other alarms. For more information
3972
- # about pricing, see [Amazon CloudWatch Pricing][1].
4014
+ # Be sure to specify 10, 20, or 30 only for metrics that are stored by
4015
+ # a `PutMetricData` call with a `StorageResolution` of 1. If you
4016
+ # specify a period of 10, 20, or 30 for a metric that does not have
4017
+ # sub-minute resolution, the alarm still attempts to gather data at
4018
+ # the period rate that you specify. In this case, it does not receive
4019
+ # data for the attempts that do not correspond to a one-minute data
4020
+ # resolution, and the alarm might often lapse into INSUFFICENT\_DATA
4021
+ # status. Specifying 10, 20, or 30 also sets this alarm as a
4022
+ # high-resolution alarm, which has a higher charge than other alarms.
4023
+ # For more information about pricing, see [Amazon CloudWatch
4024
+ # Pricing][1].
3973
4025
  #
3974
4026
  # An alarm's total current evaluation period can be no longer than
3975
- # one day, so `Period` multiplied by `EvaluationPeriods` cannot be
3976
- # more than 86,400 seconds.
4027
+ # seven days, so `Period` multiplied by `EvaluationPeriods` can't be
4028
+ # more than 604,800 seconds. For alarms with a period of less than one
4029
+ # hour (3,600 seconds), the total evaluation period can't be longer
4030
+ # than one day (86,400 seconds).
3977
4031
  #
3978
4032
  #
3979
4033
  #
@@ -4012,10 +4066,6 @@ module Aws::CloudWatch
4012
4066
  # of consecutive data points be breaching to trigger the alarm, this
4013
4067
  # value specifies that number. If you are setting an "M out of N"
4014
4068
  # alarm, this value is the N.
4015
- #
4016
- # An alarm's total current evaluation period can be no longer than
4017
- # one day, so this number multiplied by `Period` cannot be more than
4018
- # 86,400 seconds.
4019
4069
  # @return [Integer]
4020
4070
  #
4021
4071
  # @!attribute [rw] datapoints_to_alarm
@@ -4241,7 +4291,7 @@ module Aws::CloudWatch
4241
4291
  #
4242
4292
  #
4243
4293
  #
4244
- # [1]: https://docs.aws.amazon.com/adding-your-own-related-telemetry.html
4294
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html
4245
4295
  # @return [Boolean]
4246
4296
  #
4247
4297
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricDataInput AWS API Documentation
@@ -58,7 +58,7 @@ module Aws::CloudWatch
58
58
  autoload :CompositeAlarm, 'aws-sdk-cloudwatch/composite_alarm'
59
59
  autoload :Metric, 'aws-sdk-cloudwatch/metric'
60
60
 
61
- GEM_VERSION = '1.114.0'
61
+ GEM_VERSION = '1.115.0'
62
62
 
63
63
  end
64
64
 
data/sig/client.rbs CHANGED
@@ -607,7 +607,8 @@ module Aws
607
607
  key: ::String,
608
608
  value: ::String
609
609
  },
610
- ]
610
+ ],
611
+ ?apply_on_transformed_logs: bool
611
612
  ) -> _PutInsightRuleResponseSuccess
612
613
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutInsightRuleResponseSuccess
613
614
 
data/sig/errors.rbs CHANGED
@@ -13,6 +13,9 @@ module Aws
13
13
 
14
14
  class ConcurrentModificationException < ::Aws::Errors::ServiceError
15
15
  end
16
+ class ConflictException < ::Aws::Errors::ServiceError
17
+ def message: () -> ::String
18
+ end
16
19
  class DashboardInvalidInputError < ::Aws::Errors::ServiceError
17
20
  def message: () -> ::String
18
21
  def dashboard_validation_messages: () -> ::String
data/sig/types.rbs CHANGED
@@ -63,6 +63,11 @@ module Aws::CloudWatch
63
63
  class ConcurrentModificationException < Aws::EmptyStructure
64
64
  end
65
65
 
66
+ class ConflictException
67
+ attr_accessor message: ::String
68
+ SENSITIVE: []
69
+ end
70
+
66
71
  class DashboardEntry
67
72
  attr_accessor dashboard_name: ::String
68
73
  attr_accessor dashboard_arn: ::String
@@ -388,6 +393,7 @@ module Aws::CloudWatch
388
393
  attr_accessor schema: ::String
389
394
  attr_accessor definition: ::String
390
395
  attr_accessor managed_rule: bool
396
+ attr_accessor apply_on_transformed_logs: bool
391
397
  SENSITIVE: []
392
398
  end
393
399
 
@@ -725,6 +731,7 @@ module Aws::CloudWatch
725
731
  attr_accessor rule_state: ::String
726
732
  attr_accessor rule_definition: ::String
727
733
  attr_accessor tags: ::Array[Types::Tag]
734
+ attr_accessor apply_on_transformed_logs: bool
728
735
  SENSITIVE: []
729
736
  end
730
737
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.114.0
4
+ version: 1.115.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services