aws-sdk-cloudwatchlogs 1.98.0 → 1.99.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2055027a80f8b7c2dcea07c868732d25b9839f7fadef46c0edd697f68edbb535
4
- data.tar.gz: fe52b56d0e16698b832270ac258daafa61e9957d70567dfa9c495fef13f048dc
3
+ metadata.gz: c08771b4c0840b1d6388bfac45f8cbd6b7526413c6b893a0b23de53407343207
4
+ data.tar.gz: e072ea2264569abf14968e8afe67e8f70ad27c0b90a6ee762c4440685221674e
5
5
  SHA512:
6
- metadata.gz: bb07389a518b9673de4bc4e5b593410ed08a07b713ce5b1bfa075ecb30cc63e205fd6207c1a21bed7248ead54f5c183f2b683e4c2c7b083b78e03afd98995578
7
- data.tar.gz: 6bc9398ace4bcb8d8820e75c00e6862e539c0ab69bc64d0cb51ef35b0d965041369b0cd00aed43ad0accfd76d7f3042ba6837c55ad6f5fb5a5148173130098e1
6
+ metadata.gz: e4dd858ee4cceaf2250db0352161c2488cd5934a0bbe340aca6b5e08680f2bf7e157a25aed84835fa4a013dbc802c48041ebfef73bb57de307d5c79c8e561053
7
+ data.tar.gz: 1801e29cc88d3e6971e88f0c8a00e31a39ac0e35f2303dd76fcabcd50d82ab42ffa260857ff69303aaf209c1c4b6d1635abbe2b63d5347e7788128c76373467a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.99.0 (2024-10-29)
5
+ ------------------
6
+
7
+ * Feature - Added support for new optional baseline parameter in the UpdateAnomaly API. For UpdateAnomaly requests with baseline set to True, The anomaly behavior is then treated as baseline behavior. However, more severe occurrences of this behavior will still be reported as anomalies.
8
+
4
9
  1.98.0 (2024-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.99.0
@@ -5477,6 +5477,15 @@ module Aws::CloudWatchLogs
5477
5477
  # If you are temporarily suppressing an anomaly or pattern, use this
5478
5478
  # structure to specify how long the suppression is to last.
5479
5479
  #
5480
+ # @option params [Boolean] :baseline
5481
+ # Set this to `true` to prevent CloudWatch Logs from displaying this
5482
+ # behavior as an anomaly in the future. The behavior is then treated as
5483
+ # baseline behavior. However, if similar but more severe occurrences of
5484
+ # this behavior occur in the future, those will still be reported as
5485
+ # anomalies.
5486
+ #
5487
+ # The default is `false`
5488
+ #
5480
5489
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5481
5490
  #
5482
5491
  # @example Request syntax with placeholder values
@@ -5490,6 +5499,7 @@ module Aws::CloudWatchLogs
5490
5499
  # value: 1,
5491
5500
  # suppression_unit: "SECONDS", # accepts SECONDS, MINUTES, HOURS
5492
5501
  # },
5502
+ # baseline: false,
5493
5503
  # })
5494
5504
  #
5495
5505
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateAnomaly AWS API Documentation
@@ -5617,7 +5627,7 @@ module Aws::CloudWatchLogs
5617
5627
  tracer: tracer
5618
5628
  )
5619
5629
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
5620
- context[:gem_version] = '1.98.0'
5630
+ context[:gem_version] = '1.99.0'
5621
5631
  Seahorse::Client::Request.new(handlers, context)
5622
5632
  end
5623
5633
 
@@ -35,6 +35,7 @@ module Aws::CloudWatchLogs
35
35
  AnomalyVisibilityTime = Shapes::IntegerShape.new(name: 'AnomalyVisibilityTime')
36
36
  Arn = Shapes::StringShape.new(name: 'Arn')
37
37
  AssociateKmsKeyRequest = Shapes::StructureShape.new(name: 'AssociateKmsKeyRequest')
38
+ Baseline = Shapes::BooleanShape.new(name: 'Baseline')
38
39
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
39
40
  CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
40
41
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
@@ -1379,6 +1380,7 @@ module Aws::CloudWatchLogs
1379
1380
  UpdateAnomalyRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, required: true, location_name: "anomalyDetectorArn"))
1380
1381
  UpdateAnomalyRequest.add_member(:suppression_type, Shapes::ShapeRef.new(shape: SuppressionType, location_name: "suppressionType"))
1381
1382
  UpdateAnomalyRequest.add_member(:suppression_period, Shapes::ShapeRef.new(shape: SuppressionPeriod, location_name: "suppressionPeriod"))
1383
+ UpdateAnomalyRequest.add_member(:baseline, Shapes::ShapeRef.new(shape: Baseline, location_name: "baseline"))
1382
1384
  UpdateAnomalyRequest.struct_class = Types::UpdateAnomalyRequest
1383
1385
 
1384
1386
  UpdateDeliveryConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeliveryId, required: true, location_name: "id"))
@@ -5379,6 +5379,16 @@ module Aws::CloudWatchLogs
5379
5379
  # structure to specify how long the suppression is to last.
5380
5380
  # @return [Types::SuppressionPeriod]
5381
5381
  #
5382
+ # @!attribute [rw] baseline
5383
+ # Set this to `true` to prevent CloudWatch Logs from displaying this
5384
+ # behavior as an anomaly in the future. The behavior is then treated
5385
+ # as baseline behavior. However, if similar but more severe
5386
+ # occurrences of this behavior occur in the future, those will still
5387
+ # be reported as anomalies.
5388
+ #
5389
+ # The default is `false`
5390
+ # @return [Boolean]
5391
+ #
5382
5392
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateAnomalyRequest AWS API Documentation
5383
5393
  #
5384
5394
  class UpdateAnomalyRequest < Struct.new(
@@ -5386,7 +5396,8 @@ module Aws::CloudWatchLogs
5386
5396
  :pattern_id,
5387
5397
  :anomaly_detector_arn,
5388
5398
  :suppression_type,
5389
- :suppression_period)
5399
+ :suppression_period,
5400
+ :baseline)
5390
5401
  SENSITIVE = []
5391
5402
  include Aws::Structure
5392
5403
  end
@@ -55,7 +55,7 @@ module Aws::CloudWatchLogs
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams'
57
57
 
58
- GEM_VERSION = '1.98.0'
58
+ GEM_VERSION = '1.99.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -912,7 +912,8 @@ module Aws
912
912
  ?suppression_period: {
913
913
  value: ::Integer?,
914
914
  suppression_unit: ("SECONDS" | "MINUTES" | "HOURS")?
915
- }
915
+ },
916
+ ?baseline: bool
916
917
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
917
918
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
918
919
 
data/sig/types.rbs CHANGED
@@ -1236,6 +1236,7 @@ module Aws::CloudWatchLogs
1236
1236
  attr_accessor anomaly_detector_arn: ::String
1237
1237
  attr_accessor suppression_type: ("LIMITED" | "INFINITE")
1238
1238
  attr_accessor suppression_period: Types::SuppressionPeriod
1239
+ attr_accessor baseline: bool
1239
1240
  SENSITIVE: []
1240
1241
  end
1241
1242
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.98.0
4
+ version: 1.99.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: 2024-10-25 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core