aws-sdk-applicationsignals 1.12.0 → 1.13.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: 29733e28d2b169e35edf78ce52615cba06b54831f390346f9e3db9562afd42d6
4
- data.tar.gz: 9805421d7de6245f91d8a4a0e52cca4c3ebc8a0e4ed5eff9df3c7003eae170b0
3
+ metadata.gz: 6180ed619103793a7ca32c2397f78b9fb19136fea9bfdc9c64ab2f1ad9557d8d
4
+ data.tar.gz: 663110d37a967526a7d2a56420ff0426f6c53ea65338504b3ce280360be4dff1
5
5
  SHA512:
6
- metadata.gz: 4012a8b640b19231c247ee5b1229dcaa0068c8f606e639c21bc7f30c3508fe01314cba59baaecfae93cd3312e5db71694c60b115fd9e12ff833651f3acf678db
7
- data.tar.gz: b08391ac3fe3a557b75cbc2f7d7edf7aba3f079a5d44b056beab9e1fe091ba69abfec12fab60551c90557c980072aee17cef6b04325343246562b2f833ecb4c7
6
+ metadata.gz: f0fc227b6ce4b07e571abb29256bcd198d035dcbf02c20dd20c60911c0737b85a36f728a0d493ddabcc757b2bd9d7f64ebd81422c841d88d1a4470624582bafd
7
+ data.tar.gz: a8741f7200c31c0e007e7a9105014f117b5b795d2b29d5635155e01ab8c0c4a380bdd76ea994a867a6cc5db37c59baf97249dffb7205d7a0516e3a766f9e4849
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2024-11-13)
5
+ ------------------
6
+
7
+ * Feature - Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements.
8
+
4
9
  1.12.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.13.0
@@ -715,6 +715,11 @@ module Aws::ApplicationSignals
715
715
  # use them to scope user permissions by granting a user permission to
716
716
  # access or change only resources with certain tag values.
717
717
  #
718
+ # @option params [Array<Types::BurnRateConfiguration>] :burn_rate_configurations
719
+ # Use this array to create *burn rates* for this SLO. Each burn rate is
720
+ # a metric that indicates how fast the service is consuming the error
721
+ # budget, relative to the attainment goal of the SLO.
722
+ #
718
723
  # @return [Types::CreateServiceLevelObjectiveOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
719
724
  #
720
725
  # * {Types::CreateServiceLevelObjectiveOutput#slo #slo} => Types::ServiceLevelObjective
@@ -871,6 +876,11 @@ module Aws::ApplicationSignals
871
876
  # value: "TagValue", # required
872
877
  # },
873
878
  # ],
879
+ # burn_rate_configurations: [
880
+ # {
881
+ # look_back_window_minutes: 1, # required
882
+ # },
883
+ # ],
874
884
  # })
875
885
  #
876
886
  # @example Response structure
@@ -960,6 +970,8 @@ module Aws::ApplicationSignals
960
970
  # resp.slo.goal.interval.calendar_interval.duration #=> Integer
961
971
  # resp.slo.goal.attainment_goal #=> Float
962
972
  # resp.slo.goal.warning_threshold #=> Float
973
+ # resp.slo.burn_rate_configurations #=> Array
974
+ # resp.slo.burn_rate_configurations[0].look_back_window_minutes #=> Integer
963
975
  #
964
976
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CreateServiceLevelObjective AWS API Documentation
965
977
  #
@@ -1189,6 +1201,8 @@ module Aws::ApplicationSignals
1189
1201
  # resp.slo.goal.interval.calendar_interval.duration #=> Integer
1190
1202
  # resp.slo.goal.attainment_goal #=> Float
1191
1203
  # resp.slo.goal.warning_threshold #=> Float
1204
+ # resp.slo.burn_rate_configurations #=> Array
1205
+ # resp.slo.burn_rate_configurations[0].look_back_window_minutes #=> Integer
1192
1206
  #
1193
1207
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetServiceLevelObjective AWS API Documentation
1194
1208
  #
@@ -1844,6 +1858,11 @@ module Aws::ApplicationSignals
1844
1858
  # the SLO. This includes the time period for evaluation and the
1845
1859
  # attainment threshold.
1846
1860
  #
1861
+ # @option params [Array<Types::BurnRateConfiguration>] :burn_rate_configurations
1862
+ # Use this array to create *burn rates* for this SLO. Each burn rate is
1863
+ # a metric that indicates how fast the service is consuming the error
1864
+ # budget, relative to the attainment goal of the SLO.
1865
+ #
1847
1866
  # @return [Types::UpdateServiceLevelObjectiveOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1848
1867
  #
1849
1868
  # * {Types::UpdateServiceLevelObjectiveOutput#slo #slo} => Types::ServiceLevelObjective
@@ -1994,6 +2013,11 @@ module Aws::ApplicationSignals
1994
2013
  # attainment_goal: 1.0,
1995
2014
  # warning_threshold: 1.0,
1996
2015
  # },
2016
+ # burn_rate_configurations: [
2017
+ # {
2018
+ # look_back_window_minutes: 1, # required
2019
+ # },
2020
+ # ],
1997
2021
  # })
1998
2022
  #
1999
2023
  # @example Response structure
@@ -2083,6 +2107,8 @@ module Aws::ApplicationSignals
2083
2107
  # resp.slo.goal.interval.calendar_interval.duration #=> Integer
2084
2108
  # resp.slo.goal.attainment_goal #=> Float
2085
2109
  # resp.slo.goal.warning_threshold #=> Float
2110
+ # resp.slo.burn_rate_configurations #=> Array
2111
+ # resp.slo.burn_rate_configurations[0].look_back_window_minutes #=> Integer
2086
2112
  #
2087
2113
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/UpdateServiceLevelObjective AWS API Documentation
2088
2114
  #
@@ -2111,7 +2137,7 @@ module Aws::ApplicationSignals
2111
2137
  tracer: tracer
2112
2138
  )
2113
2139
  context[:gem_name] = 'aws-sdk-applicationsignals'
2114
- context[:gem_version] = '1.12.0'
2140
+ context[:gem_version] = '1.13.0'
2115
2141
  Seahorse::Client::Request.new(handlers, context)
2116
2142
  end
2117
2143
 
@@ -26,6 +26,9 @@ module Aws::ApplicationSignals
26
26
  BatchGetServiceLevelObjectiveBudgetReportOutput = Shapes::StructureShape.new(name: 'BatchGetServiceLevelObjectiveBudgetReportOutput')
27
27
  BudgetRequestsRemaining = Shapes::IntegerShape.new(name: 'BudgetRequestsRemaining')
28
28
  BudgetSecondsRemaining = Shapes::IntegerShape.new(name: 'BudgetSecondsRemaining')
29
+ BurnRateConfiguration = Shapes::StructureShape.new(name: 'BurnRateConfiguration')
30
+ BurnRateConfigurations = Shapes::ListShape.new(name: 'BurnRateConfigurations')
31
+ BurnRateLookBackWindowMinutes = Shapes::IntegerShape.new(name: 'BurnRateLookBackWindowMinutes')
29
32
  CalendarInterval = Shapes::StructureShape.new(name: 'CalendarInterval')
30
33
  CalendarIntervalDuration = Shapes::IntegerShape.new(name: 'CalendarIntervalDuration')
31
34
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -171,6 +174,11 @@ module Aws::ApplicationSignals
171
174
  BatchGetServiceLevelObjectiveBudgetReportOutput.add_member(:errors, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveBudgetReportErrors, required: true, location_name: "Errors"))
172
175
  BatchGetServiceLevelObjectiveBudgetReportOutput.struct_class = Types::BatchGetServiceLevelObjectiveBudgetReportOutput
173
176
 
177
+ BurnRateConfiguration.add_member(:look_back_window_minutes, Shapes::ShapeRef.new(shape: BurnRateLookBackWindowMinutes, required: true, location_name: "LookBackWindowMinutes"))
178
+ BurnRateConfiguration.struct_class = Types::BurnRateConfiguration
179
+
180
+ BurnRateConfigurations.member = Shapes::ShapeRef.new(shape: BurnRateConfiguration)
181
+
174
182
  CalendarInterval.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
175
183
  CalendarInterval.add_member(:duration_unit, Shapes::ShapeRef.new(shape: DurationUnit, required: true, location_name: "DurationUnit"))
176
184
  CalendarInterval.add_member(:duration, Shapes::ShapeRef.new(shape: CalendarIntervalDuration, required: true, location_name: "Duration"))
@@ -185,6 +193,7 @@ module Aws::ApplicationSignals
185
193
  CreateServiceLevelObjectiveInput.add_member(:request_based_sli_config, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicatorConfig, location_name: "RequestBasedSliConfig"))
186
194
  CreateServiceLevelObjectiveInput.add_member(:goal, Shapes::ShapeRef.new(shape: Goal, location_name: "Goal"))
187
195
  CreateServiceLevelObjectiveInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
196
+ CreateServiceLevelObjectiveInput.add_member(:burn_rate_configurations, Shapes::ShapeRef.new(shape: BurnRateConfigurations, location_name: "BurnRateConfigurations"))
188
197
  CreateServiceLevelObjectiveInput.struct_class = Types::CreateServiceLevelObjectiveInput
189
198
 
190
199
  CreateServiceLevelObjectiveOutput.add_member(:slo, Shapes::ShapeRef.new(shape: ServiceLevelObjective, required: true, location_name: "Slo"))
@@ -426,6 +435,7 @@ module Aws::ApplicationSignals
426
435
  ServiceLevelObjective.add_member(:request_based_sli, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicator, location_name: "RequestBasedSli"))
427
436
  ServiceLevelObjective.add_member(:evaluation_type, Shapes::ShapeRef.new(shape: EvaluationType, location_name: "EvaluationType"))
428
437
  ServiceLevelObjective.add_member(:goal, Shapes::ShapeRef.new(shape: Goal, required: true, location_name: "Goal"))
438
+ ServiceLevelObjective.add_member(:burn_rate_configurations, Shapes::ShapeRef.new(shape: BurnRateConfigurations, location_name: "BurnRateConfigurations"))
429
439
  ServiceLevelObjective.struct_class = Types::ServiceLevelObjective
430
440
 
431
441
  ServiceLevelObjectiveBudgetReport.add_member(:arn, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveArn, required: true, location_name: "Arn"))
@@ -511,6 +521,7 @@ module Aws::ApplicationSignals
511
521
  UpdateServiceLevelObjectiveInput.add_member(:sli_config, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorConfig, location_name: "SliConfig"))
512
522
  UpdateServiceLevelObjectiveInput.add_member(:request_based_sli_config, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicatorConfig, location_name: "RequestBasedSliConfig"))
513
523
  UpdateServiceLevelObjectiveInput.add_member(:goal, Shapes::ShapeRef.new(shape: Goal, location_name: "Goal"))
524
+ UpdateServiceLevelObjectiveInput.add_member(:burn_rate_configurations, Shapes::ShapeRef.new(shape: BurnRateConfigurations, location_name: "BurnRateConfigurations"))
514
525
  UpdateServiceLevelObjectiveInput.struct_class = Types::UpdateServiceLevelObjectiveInput
515
526
 
516
527
  UpdateServiceLevelObjectiveOutput.add_member(:slo, Shapes::ShapeRef.new(shape: ServiceLevelObjective, required: true, location_name: "Slo"))
@@ -67,6 +67,36 @@ module Aws::ApplicationSignals
67
67
  include Aws::Structure
68
68
  end
69
69
 
70
+ # This object defines the length of the look-back window used to
71
+ # calculate one burn rate metric for this SLO. The burn rate measures
72
+ # how fast the service is consuming the error budget, relative to the
73
+ # attainment goal of the SLO. A burn rate of exactly 1 indicates that
74
+ # the SLO goal will be met exactly.
75
+ #
76
+ # For example, if you specify 60 as the number of minutes in the
77
+ # look-back window, the burn rate is calculated as the following:
78
+ #
79
+ # *burn rate = error rate over the look-back window / (1 - attainment
80
+ # goal percentage)*
81
+ #
82
+ # For more information about burn rates, see [Calculate burn rates][1].
83
+ #
84
+ #
85
+ #
86
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-ServiceLevelObjectives.html#CloudWatch-ServiceLevelObjectives-burn
87
+ #
88
+ # @!attribute [rw] look_back_window_minutes
89
+ # The number of minutes to use as the look-back window.
90
+ # @return [Integer]
91
+ #
92
+ # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BurnRateConfiguration AWS API Documentation
93
+ #
94
+ class BurnRateConfiguration < Struct.new(
95
+ :look_back_window_minutes)
96
+ SENSITIVE = []
97
+ include Aws::Structure
98
+ end
99
+
70
100
  # If the interval for this service level objective is a calendar
71
101
  # interval, this structure contains the interval specifications.
72
102
  #
@@ -157,6 +187,12 @@ module Aws::ApplicationSignals
157
187
  # values.
158
188
  # @return [Array<Types::Tag>]
159
189
  #
190
+ # @!attribute [rw] burn_rate_configurations
191
+ # Use this array to create *burn rates* for this SLO. Each burn rate
192
+ # is a metric that indicates how fast the service is consuming the
193
+ # error budget, relative to the attainment goal of the SLO.
194
+ # @return [Array<Types::BurnRateConfiguration>]
195
+ #
160
196
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CreateServiceLevelObjectiveInput AWS API Documentation
161
197
  #
162
198
  class CreateServiceLevelObjectiveInput < Struct.new(
@@ -165,7 +201,8 @@ module Aws::ApplicationSignals
165
201
  :sli_config,
166
202
  :request_based_sli_config,
167
203
  :goal,
168
- :tags)
204
+ :tags,
205
+ :burn_rate_configurations)
169
206
  SENSITIVE = []
170
207
  include Aws::Structure
171
208
  end
@@ -1905,6 +1942,13 @@ module Aws::ApplicationSignals
1905
1942
  # threshold.
1906
1943
  # @return [Types::Goal]
1907
1944
  #
1945
+ # @!attribute [rw] burn_rate_configurations
1946
+ # Each object in this array defines the length of the look-back window
1947
+ # used to calculate one burn rate metric for this SLO. The burn rate
1948
+ # measures how fast the service is consuming the error budget,
1949
+ # relative to the attainment goal of the SLO.
1950
+ # @return [Array<Types::BurnRateConfiguration>]
1951
+ #
1908
1952
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ServiceLevelObjective AWS API Documentation
1909
1953
  #
1910
1954
  class ServiceLevelObjective < Struct.new(
@@ -1916,7 +1960,8 @@ module Aws::ApplicationSignals
1916
1960
  :sli,
1917
1961
  :request_based_sli,
1918
1962
  :evaluation_type,
1919
- :goal)
1963
+ :goal,
1964
+ :burn_rate_configurations)
1920
1965
  SENSITIVE = []
1921
1966
  include Aws::Structure
1922
1967
  end
@@ -2401,6 +2446,12 @@ module Aws::ApplicationSignals
2401
2446
  # attainment threshold.
2402
2447
  # @return [Types::Goal]
2403
2448
  #
2449
+ # @!attribute [rw] burn_rate_configurations
2450
+ # Use this array to create *burn rates* for this SLO. Each burn rate
2451
+ # is a metric that indicates how fast the service is consuming the
2452
+ # error budget, relative to the attainment goal of the SLO.
2453
+ # @return [Array<Types::BurnRateConfiguration>]
2454
+ #
2404
2455
  # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/UpdateServiceLevelObjectiveInput AWS API Documentation
2405
2456
  #
2406
2457
  class UpdateServiceLevelObjectiveInput < Struct.new(
@@ -2408,7 +2459,8 @@ module Aws::ApplicationSignals
2408
2459
  :description,
2409
2460
  :sli_config,
2410
2461
  :request_based_sli_config,
2411
- :goal)
2462
+ :goal,
2463
+ :burn_rate_configurations)
2412
2464
  SENSITIVE = []
2413
2465
  include Aws::Structure
2414
2466
  end
@@ -54,7 +54,7 @@ module Aws::ApplicationSignals
54
54
  autoload :EndpointProvider, 'aws-sdk-applicationsignals/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-applicationsignals/endpoints'
56
56
 
57
- GEM_VERSION = '1.12.0'
57
+ GEM_VERSION = '1.13.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -238,6 +238,11 @@ module Aws
238
238
  key: ::String,
239
239
  value: ::String
240
240
  },
241
+ ],
242
+ ?burn_rate_configurations: Array[
243
+ {
244
+ look_back_window_minutes: ::Integer
245
+ },
241
246
  ]
242
247
  ) -> _CreateServiceLevelObjectiveResponseSuccess
243
248
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceLevelObjectiveResponseSuccess
@@ -544,7 +549,12 @@ module Aws
544
549
  }?,
545
550
  attainment_goal: ::Float?,
546
551
  warning_threshold: ::Float?
547
- }
552
+ },
553
+ ?burn_rate_configurations: Array[
554
+ {
555
+ look_back_window_minutes: ::Integer
556
+ },
557
+ ]
548
558
  ) -> _UpdateServiceLevelObjectiveResponseSuccess
549
559
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceLevelObjectiveResponseSuccess
550
560
  end
data/sig/types.rbs CHANGED
@@ -26,6 +26,11 @@ module Aws::ApplicationSignals
26
26
  SENSITIVE: []
27
27
  end
28
28
 
29
+ class BurnRateConfiguration
30
+ attr_accessor look_back_window_minutes: ::Integer
31
+ SENSITIVE: []
32
+ end
33
+
29
34
  class CalendarInterval
30
35
  attr_accessor start_time: ::Time
31
36
  attr_accessor duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH")
@@ -45,6 +50,7 @@ module Aws::ApplicationSignals
45
50
  attr_accessor request_based_sli_config: Types::RequestBasedServiceLevelIndicatorConfig
46
51
  attr_accessor goal: Types::Goal
47
52
  attr_accessor tags: ::Array[Types::Tag]
53
+ attr_accessor burn_rate_configurations: ::Array[Types::BurnRateConfiguration]
48
54
  SENSITIVE: []
49
55
  end
50
56
 
@@ -363,6 +369,7 @@ module Aws::ApplicationSignals
363
369
  attr_accessor request_based_sli: Types::RequestBasedServiceLevelIndicator
364
370
  attr_accessor evaluation_type: ("PeriodBased" | "RequestBased")
365
371
  attr_accessor goal: Types::Goal
372
+ attr_accessor burn_rate_configurations: ::Array[Types::BurnRateConfiguration]
366
373
  SENSITIVE: []
367
374
  end
368
375
 
@@ -458,6 +465,7 @@ module Aws::ApplicationSignals
458
465
  attr_accessor sli_config: Types::ServiceLevelIndicatorConfig
459
466
  attr_accessor request_based_sli_config: Types::RequestBasedServiceLevelIndicatorConfig
460
467
  attr_accessor goal: Types::Goal
468
+ attr_accessor burn_rate_configurations: ::Array[Types::BurnRateConfiguration]
461
469
  SENSITIVE: []
462
470
  end
463
471
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationsignals
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.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-18 00:00:00.000000000 Z
11
+ date: 2024-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core