aws-sdk-applicationsignals 1.11.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationsignals/client.rb +27 -1
- data/lib/aws-sdk-applicationsignals/client_api.rb +11 -0
- data/lib/aws-sdk-applicationsignals/endpoint_parameters.rb +8 -3
- data/lib/aws-sdk-applicationsignals/endpoints.rb +2 -148
- data/lib/aws-sdk-applicationsignals/plugins/endpoints.rb +1 -36
- data/lib/aws-sdk-applicationsignals/types.rb +55 -3
- data/lib/aws-sdk-applicationsignals.rb +1 -1
- data/sig/client.rbs +11 -1
- data/sig/types.rbs +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6180ed619103793a7ca32c2397f78b9fb19136fea9bfdc9c64ab2f1ad9557d8d
|
4
|
+
data.tar.gz: 663110d37a967526a7d2a56420ff0426f6c53ea65338504b3ce280360be4dff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0fc227b6ce4b07e571abb29256bcd198d035dcbf02c20dd20c60911c0737b85a36f728a0d493ddabcc757b2bd9d7f64ebd81422c841d88d1a4470624582bafd
|
7
|
+
data.tar.gz: a8741f7200c31c0e007e7a9105014f117b5b795d2b29d5635155e01ab8c0c4a380bdd76ea994a867a6cc5db37c59baf97249dffb7205d7a0516e3a766f9e4849
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.12.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.11.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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.
|
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"))
|
@@ -44,11 +44,16 @@ module Aws::ApplicationSignals
|
|
44
44
|
def initialize(options = {})
|
45
45
|
self[:use_fips] = options[:use_fips]
|
46
46
|
self[:use_fips] = false if self[:use_fips].nil?
|
47
|
-
if self[:use_fips].nil?
|
48
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
49
|
-
end
|
50
47
|
self[:endpoint] = options[:endpoint]
|
51
48
|
self[:region] = options[:region]
|
52
49
|
end
|
50
|
+
|
51
|
+
def self.create(config, options={})
|
52
|
+
new({
|
53
|
+
use_fips: config.use_fips_endpoint,
|
54
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
55
|
+
region: config.region,
|
56
|
+
}.merge(options))
|
57
|
+
end
|
53
58
|
end
|
54
59
|
end
|
@@ -12,155 +12,9 @@ module Aws::ApplicationSignals
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
-
class BatchGetServiceLevelObjectiveBudgetReport
|
16
|
-
def self.build(context)
|
17
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
18
|
-
use_fips: context.config.use_fips_endpoint,
|
19
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
20
|
-
region: context.config.region,
|
21
|
-
)
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
class CreateServiceLevelObjective
|
26
|
-
def self.build(context)
|
27
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
28
|
-
use_fips: context.config.use_fips_endpoint,
|
29
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
30
|
-
region: context.config.region,
|
31
|
-
)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
class DeleteServiceLevelObjective
|
36
|
-
def self.build(context)
|
37
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
38
|
-
use_fips: context.config.use_fips_endpoint,
|
39
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
40
|
-
region: context.config.region,
|
41
|
-
)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
class GetService
|
46
|
-
def self.build(context)
|
47
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
48
|
-
use_fips: context.config.use_fips_endpoint,
|
49
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
50
|
-
region: context.config.region,
|
51
|
-
)
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
class GetServiceLevelObjective
|
56
|
-
def self.build(context)
|
57
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
58
|
-
use_fips: context.config.use_fips_endpoint,
|
59
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
60
|
-
region: context.config.region,
|
61
|
-
)
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
class ListServiceDependencies
|
66
|
-
def self.build(context)
|
67
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
68
|
-
use_fips: context.config.use_fips_endpoint,
|
69
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
70
|
-
region: context.config.region,
|
71
|
-
)
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
class ListServiceDependents
|
76
|
-
def self.build(context)
|
77
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
78
|
-
use_fips: context.config.use_fips_endpoint,
|
79
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
80
|
-
region: context.config.region,
|
81
|
-
)
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
class ListServiceLevelObjectives
|
86
|
-
def self.build(context)
|
87
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
88
|
-
use_fips: context.config.use_fips_endpoint,
|
89
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
90
|
-
region: context.config.region,
|
91
|
-
)
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
class ListServiceOperations
|
96
|
-
def self.build(context)
|
97
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
98
|
-
use_fips: context.config.use_fips_endpoint,
|
99
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
100
|
-
region: context.config.region,
|
101
|
-
)
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
class ListServices
|
106
|
-
def self.build(context)
|
107
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
108
|
-
use_fips: context.config.use_fips_endpoint,
|
109
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
110
|
-
region: context.config.region,
|
111
|
-
)
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
|
-
class ListTagsForResource
|
116
|
-
def self.build(context)
|
117
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
118
|
-
use_fips: context.config.use_fips_endpoint,
|
119
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
120
|
-
region: context.config.region,
|
121
|
-
)
|
122
|
-
end
|
123
|
-
end
|
124
15
|
|
125
|
-
|
126
|
-
|
127
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
128
|
-
use_fips: context.config.use_fips_endpoint,
|
129
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
130
|
-
region: context.config.region,
|
131
|
-
)
|
132
|
-
end
|
16
|
+
def self.parameters_for_operation(context)
|
17
|
+
Aws::ApplicationSignals::EndpointParameters.create(context.config)
|
133
18
|
end
|
134
|
-
|
135
|
-
class TagResource
|
136
|
-
def self.build(context)
|
137
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
138
|
-
use_fips: context.config.use_fips_endpoint,
|
139
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
140
|
-
region: context.config.region,
|
141
|
-
)
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
class UntagResource
|
146
|
-
def self.build(context)
|
147
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
148
|
-
use_fips: context.config.use_fips_endpoint,
|
149
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
150
|
-
region: context.config.region,
|
151
|
-
)
|
152
|
-
end
|
153
|
-
end
|
154
|
-
|
155
|
-
class UpdateServiceLevelObjective
|
156
|
-
def self.build(context)
|
157
|
-
Aws::ApplicationSignals::EndpointParameters.new(
|
158
|
-
use_fips: context.config.use_fips_endpoint,
|
159
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
160
|
-
region: context.config.region,
|
161
|
-
)
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
19
|
end
|
166
20
|
end
|
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::ApplicationSignals::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,41 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :batch_get_service_level_objective_budget_report
|
74
|
-
Aws::ApplicationSignals::Endpoints::BatchGetServiceLevelObjectiveBudgetReport.build(context)
|
75
|
-
when :create_service_level_objective
|
76
|
-
Aws::ApplicationSignals::Endpoints::CreateServiceLevelObjective.build(context)
|
77
|
-
when :delete_service_level_objective
|
78
|
-
Aws::ApplicationSignals::Endpoints::DeleteServiceLevelObjective.build(context)
|
79
|
-
when :get_service
|
80
|
-
Aws::ApplicationSignals::Endpoints::GetService.build(context)
|
81
|
-
when :get_service_level_objective
|
82
|
-
Aws::ApplicationSignals::Endpoints::GetServiceLevelObjective.build(context)
|
83
|
-
when :list_service_dependencies
|
84
|
-
Aws::ApplicationSignals::Endpoints::ListServiceDependencies.build(context)
|
85
|
-
when :list_service_dependents
|
86
|
-
Aws::ApplicationSignals::Endpoints::ListServiceDependents.build(context)
|
87
|
-
when :list_service_level_objectives
|
88
|
-
Aws::ApplicationSignals::Endpoints::ListServiceLevelObjectives.build(context)
|
89
|
-
when :list_service_operations
|
90
|
-
Aws::ApplicationSignals::Endpoints::ListServiceOperations.build(context)
|
91
|
-
when :list_services
|
92
|
-
Aws::ApplicationSignals::Endpoints::ListServices.build(context)
|
93
|
-
when :list_tags_for_resource
|
94
|
-
Aws::ApplicationSignals::Endpoints::ListTagsForResource.build(context)
|
95
|
-
when :start_discovery
|
96
|
-
Aws::ApplicationSignals::Endpoints::StartDiscovery.build(context)
|
97
|
-
when :tag_resource
|
98
|
-
Aws::ApplicationSignals::Endpoints::TagResource.build(context)
|
99
|
-
when :untag_resource
|
100
|
-
Aws::ApplicationSignals::Endpoints::UntagResource.build(context)
|
101
|
-
when :update_service_level_objective
|
102
|
-
Aws::ApplicationSignals::Endpoints::UpdateServiceLevelObjective.build(context)
|
103
|
-
end
|
104
|
-
end
|
105
70
|
end
|
106
71
|
|
107
72
|
def add_handlers(handlers, _config)
|
@@ -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
|
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.
|
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-
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.210.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|