aws-sdk-applicationsignals 1.5.0 → 1.7.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.
data/sig/client.rbs CHANGED
@@ -95,7 +95,7 @@ module Aws
95
95
  def create_service_level_objective: (
96
96
  name: ::String,
97
97
  ?description: ::String,
98
- sli_config: {
98
+ ?sli_config: {
99
99
  sli_metric_config: {
100
100
  key_attributes: Hash[::String, ::String]?,
101
101
  operation_name: ::String?,
@@ -131,15 +131,101 @@ module Aws
131
131
  metric_threshold: ::Float,
132
132
  comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")
133
133
  },
134
+ ?request_based_sli_config: {
135
+ request_based_sli_metric_config: {
136
+ key_attributes: Hash[::String, ::String]?,
137
+ operation_name: ::String?,
138
+ metric_type: ("LATENCY" | "AVAILABILITY")?,
139
+ total_request_count_metric: Array[
140
+ {
141
+ id: ::String,
142
+ metric_stat: {
143
+ metric: {
144
+ namespace: ::String?,
145
+ metric_name: ::String?,
146
+ dimensions: Array[
147
+ {
148
+ name: ::String,
149
+ value: ::String
150
+ },
151
+ ]?
152
+ },
153
+ period: ::Integer,
154
+ stat: ::String,
155
+ unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
156
+ }?,
157
+ expression: ::String?,
158
+ label: ::String?,
159
+ return_data: bool?,
160
+ period: ::Integer?,
161
+ account_id: ::String?
162
+ },
163
+ ]?,
164
+ monitored_request_count_metric: {
165
+ good_count_metric: Array[
166
+ {
167
+ id: ::String,
168
+ metric_stat: {
169
+ metric: {
170
+ namespace: ::String?,
171
+ metric_name: ::String?,
172
+ dimensions: Array[
173
+ {
174
+ name: ::String,
175
+ value: ::String
176
+ },
177
+ ]?
178
+ },
179
+ period: ::Integer,
180
+ stat: ::String,
181
+ unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
182
+ }?,
183
+ expression: ::String?,
184
+ label: ::String?,
185
+ return_data: bool?,
186
+ period: ::Integer?,
187
+ account_id: ::String?
188
+ },
189
+ ]?,
190
+ bad_count_metric: Array[
191
+ {
192
+ id: ::String,
193
+ metric_stat: {
194
+ metric: {
195
+ namespace: ::String?,
196
+ metric_name: ::String?,
197
+ dimensions: Array[
198
+ {
199
+ name: ::String,
200
+ value: ::String
201
+ },
202
+ ]?
203
+ },
204
+ period: ::Integer,
205
+ stat: ::String,
206
+ unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
207
+ }?,
208
+ expression: ::String?,
209
+ label: ::String?,
210
+ return_data: bool?,
211
+ period: ::Integer?,
212
+ account_id: ::String?
213
+ },
214
+ ]?
215
+ }?
216
+ },
217
+ metric_threshold: ::Float?,
218
+ comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")?
219
+ },
134
220
  ?goal: {
135
221
  interval: {
136
222
  rolling_interval: {
137
- duration_unit: ("DAY" | "MONTH"),
223
+ duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"),
138
224
  duration: ::Integer
139
225
  }?,
140
226
  calendar_interval: {
141
227
  start_time: ::Time,
142
- duration_unit: ("DAY" | "MONTH"),
228
+ duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"),
143
229
  duration: ::Integer
144
230
  }?
145
231
  }?,
@@ -357,15 +443,101 @@ module Aws
357
443
  metric_threshold: ::Float,
358
444
  comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")
359
445
  },
446
+ ?request_based_sli_config: {
447
+ request_based_sli_metric_config: {
448
+ key_attributes: Hash[::String, ::String]?,
449
+ operation_name: ::String?,
450
+ metric_type: ("LATENCY" | "AVAILABILITY")?,
451
+ total_request_count_metric: Array[
452
+ {
453
+ id: ::String,
454
+ metric_stat: {
455
+ metric: {
456
+ namespace: ::String?,
457
+ metric_name: ::String?,
458
+ dimensions: Array[
459
+ {
460
+ name: ::String,
461
+ value: ::String
462
+ },
463
+ ]?
464
+ },
465
+ period: ::Integer,
466
+ stat: ::String,
467
+ unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
468
+ }?,
469
+ expression: ::String?,
470
+ label: ::String?,
471
+ return_data: bool?,
472
+ period: ::Integer?,
473
+ account_id: ::String?
474
+ },
475
+ ]?,
476
+ monitored_request_count_metric: {
477
+ good_count_metric: Array[
478
+ {
479
+ id: ::String,
480
+ metric_stat: {
481
+ metric: {
482
+ namespace: ::String?,
483
+ metric_name: ::String?,
484
+ dimensions: Array[
485
+ {
486
+ name: ::String,
487
+ value: ::String
488
+ },
489
+ ]?
490
+ },
491
+ period: ::Integer,
492
+ stat: ::String,
493
+ unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
494
+ }?,
495
+ expression: ::String?,
496
+ label: ::String?,
497
+ return_data: bool?,
498
+ period: ::Integer?,
499
+ account_id: ::String?
500
+ },
501
+ ]?,
502
+ bad_count_metric: Array[
503
+ {
504
+ id: ::String,
505
+ metric_stat: {
506
+ metric: {
507
+ namespace: ::String?,
508
+ metric_name: ::String?,
509
+ dimensions: Array[
510
+ {
511
+ name: ::String,
512
+ value: ::String
513
+ },
514
+ ]?
515
+ },
516
+ period: ::Integer,
517
+ stat: ::String,
518
+ unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
519
+ }?,
520
+ expression: ::String?,
521
+ label: ::String?,
522
+ return_data: bool?,
523
+ period: ::Integer?,
524
+ account_id: ::String?
525
+ },
526
+ ]?
527
+ }?
528
+ },
529
+ metric_threshold: ::Float?,
530
+ comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")?
531
+ },
360
532
  ?goal: {
361
533
  interval: {
362
534
  rolling_interval: {
363
- duration_unit: ("DAY" | "MONTH"),
535
+ duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"),
364
536
  duration: ::Integer
365
537
  }?,
366
538
  calendar_interval: {
367
539
  start_time: ::Time,
368
- duration_unit: ("DAY" | "MONTH"),
540
+ duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"),
369
541
  duration: ::Integer
370
542
  }?
371
543
  }?,
data/sig/types.rbs CHANGED
@@ -28,7 +28,7 @@ module Aws::ApplicationSignals
28
28
 
29
29
  class CalendarInterval
30
30
  attr_accessor start_time: ::Time
31
- attr_accessor duration_unit: ("DAY" | "MONTH")
31
+ attr_accessor duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH")
32
32
  attr_accessor duration: ::Integer
33
33
  SENSITIVE: []
34
34
  end
@@ -42,6 +42,7 @@ module Aws::ApplicationSignals
42
42
  attr_accessor name: ::String
43
43
  attr_accessor description: ::String
44
44
  attr_accessor sli_config: Types::ServiceLevelIndicatorConfig
45
+ attr_accessor request_based_sli_config: Types::RequestBasedServiceLevelIndicatorConfig
45
46
  attr_accessor goal: Types::Goal
46
47
  attr_accessor tags: ::Array[Types::Tag]
47
48
  SENSITIVE: []
@@ -237,6 +238,52 @@ module Aws::ApplicationSignals
237
238
  SENSITIVE: []
238
239
  end
239
240
 
241
+ class MonitoredRequestCountMetricDataQueries
242
+ attr_accessor good_count_metric: ::Array[Types::MetricDataQuery]
243
+ attr_accessor bad_count_metric: ::Array[Types::MetricDataQuery]
244
+ attr_accessor unknown: untyped
245
+ SENSITIVE: []
246
+
247
+ class GoodCountMetric < MonitoredRequestCountMetricDataQueries
248
+ end
249
+ class BadCountMetric < MonitoredRequestCountMetricDataQueries
250
+ end
251
+ class Unknown < MonitoredRequestCountMetricDataQueries
252
+ end
253
+ end
254
+
255
+ class RequestBasedServiceLevelIndicator
256
+ attr_accessor request_based_sli_metric: Types::RequestBasedServiceLevelIndicatorMetric
257
+ attr_accessor metric_threshold: ::Float
258
+ attr_accessor comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")
259
+ SENSITIVE: []
260
+ end
261
+
262
+ class RequestBasedServiceLevelIndicatorConfig
263
+ attr_accessor request_based_sli_metric_config: Types::RequestBasedServiceLevelIndicatorMetricConfig
264
+ attr_accessor metric_threshold: ::Float
265
+ attr_accessor comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class RequestBasedServiceLevelIndicatorMetric
270
+ attr_accessor key_attributes: ::Hash[::String, ::String]
271
+ attr_accessor operation_name: ::String
272
+ attr_accessor metric_type: ("LATENCY" | "AVAILABILITY")
273
+ attr_accessor total_request_count_metric: ::Array[Types::MetricDataQuery]
274
+ attr_accessor monitored_request_count_metric: Types::MonitoredRequestCountMetricDataQueries
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class RequestBasedServiceLevelIndicatorMetricConfig
279
+ attr_accessor key_attributes: ::Hash[::String, ::String]
280
+ attr_accessor operation_name: ::String
281
+ attr_accessor metric_type: ("LATENCY" | "AVAILABILITY")
282
+ attr_accessor total_request_count_metric: ::Array[Types::MetricDataQuery]
283
+ attr_accessor monitored_request_count_metric: Types::MonitoredRequestCountMetricDataQueries
284
+ SENSITIVE: []
285
+ end
286
+
240
287
  class ResourceNotFoundException
241
288
  attr_accessor resource_type: ::String
242
289
  attr_accessor resource_id: ::String
@@ -245,7 +292,7 @@ module Aws::ApplicationSignals
245
292
  end
246
293
 
247
294
  class RollingInterval
248
- attr_accessor duration_unit: ("DAY" | "MONTH")
295
+ attr_accessor duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH")
249
296
  attr_accessor duration: ::Integer
250
297
  SENSITIVE: []
251
298
  end
@@ -313,6 +360,8 @@ module Aws::ApplicationSignals
313
360
  attr_accessor created_time: ::Time
314
361
  attr_accessor last_updated_time: ::Time
315
362
  attr_accessor sli: Types::ServiceLevelIndicator
363
+ attr_accessor request_based_sli: Types::RequestBasedServiceLevelIndicator
364
+ attr_accessor evaluation_type: ("PeriodBased" | "RequestBased")
316
365
  attr_accessor goal: Types::Goal
317
366
  SENSITIVE: []
318
367
  end
@@ -320,11 +369,15 @@ module Aws::ApplicationSignals
320
369
  class ServiceLevelObjectiveBudgetReport
321
370
  attr_accessor arn: ::String
322
371
  attr_accessor name: ::String
372
+ attr_accessor evaluation_type: ("PeriodBased" | "RequestBased")
323
373
  attr_accessor budget_status: ("OK" | "WARNING" | "BREACHED" | "INSUFFICIENT_DATA")
324
374
  attr_accessor attainment: ::Float
325
375
  attr_accessor total_budget_seconds: ::Integer
326
376
  attr_accessor budget_seconds_remaining: ::Integer
377
+ attr_accessor total_budget_requests: ::Integer
378
+ attr_accessor budget_requests_remaining: ::Integer
327
379
  attr_accessor sli: Types::ServiceLevelIndicator
380
+ attr_accessor request_based_sli: Types::RequestBasedServiceLevelIndicator
328
381
  attr_accessor goal: Types::Goal
329
382
  SENSITIVE: []
330
383
  end
@@ -403,6 +456,7 @@ module Aws::ApplicationSignals
403
456
  attr_accessor id: ::String
404
457
  attr_accessor description: ::String
405
458
  attr_accessor sli_config: Types::ServiceLevelIndicatorConfig
459
+ attr_accessor request_based_sli_config: Types::RequestBasedServiceLevelIndicatorConfig
406
460
  attr_accessor goal: Types::Goal
407
461
  SENSITIVE: []
408
462
  end
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.5.0
4
+ version: 1.7.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-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core