aws-sdk-applicationsignals 1.27.0 → 1.28.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.
@@ -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.27.0'
57
+ GEM_VERSION = '1.28.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -141,6 +141,7 @@ module Aws
141
141
  key_attributes: Hash[::String, ::String]?,
142
142
  operation_name: ::String?,
143
143
  metric_type: ("LATENCY" | "AVAILABILITY")?,
144
+ metric_name: ::String?,
144
145
  statistic: ::String?,
145
146
  period_seconds: ::Integer?,
146
147
  metric_data_queries: Array[
@@ -295,6 +296,13 @@ module Aws
295
296
  ) -> _CreateServiceLevelObjectiveResponseSuccess
296
297
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceLevelObjectiveResponseSuccess
297
298
 
299
+ interface _DeleteGroupingConfigurationResponseSuccess
300
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGroupingConfigurationOutput]
301
+ end
302
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#delete_grouping_configuration-instance_method
303
+ def delete_grouping_configuration: () -> _DeleteGroupingConfigurationResponseSuccess
304
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGroupingConfigurationResponseSuccess
305
+
298
306
  interface _DeleteServiceLevelObjectiveResponseSuccess
299
307
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteServiceLevelObjectiveOutput]
300
308
  end
@@ -329,6 +337,60 @@ module Aws
329
337
  ) -> _GetServiceLevelObjectiveResponseSuccess
330
338
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceLevelObjectiveResponseSuccess
331
339
 
340
+ interface _ListAuditFindingsResponseSuccess
341
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAuditFindingsOutput]
342
+ def audit_findings: () -> ::Array[Types::AuditFinding]
343
+ def next_token: () -> ::String
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_audit_findings-instance_method
346
+ def list_audit_findings: (
347
+ start_time: ::Time,
348
+ end_time: ::Time,
349
+ ?auditors: Array[::String],
350
+ audit_targets: Array[
351
+ {
352
+ type: ::String,
353
+ data: {
354
+ service: {
355
+ type: ::String?,
356
+ name: ::String?,
357
+ environment: ::String?,
358
+ aws_account_id: ::String?
359
+ }?,
360
+ slo: {
361
+ slo_name: ::String?,
362
+ slo_arn: ::String?
363
+ }?,
364
+ service_operation: {
365
+ service: {
366
+ type: ::String?,
367
+ name: ::String?,
368
+ environment: ::String?,
369
+ aws_account_id: ::String?
370
+ }?,
371
+ operation: ::String?,
372
+ metric_type: ::String?
373
+ }?
374
+ }
375
+ },
376
+ ],
377
+ ?next_token: ::String,
378
+ ?max_results: ::Integer
379
+ ) -> _ListAuditFindingsResponseSuccess
380
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAuditFindingsResponseSuccess
381
+
382
+ interface _ListGroupingAttributeDefinitionsResponseSuccess
383
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupingAttributeDefinitionsOutput]
384
+ def grouping_attribute_definitions: () -> ::Array[Types::GroupingAttributeDefinition]
385
+ def updated_at: () -> ::Time
386
+ def next_token: () -> ::String
387
+ end
388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_grouping_attribute_definitions-instance_method
389
+ def list_grouping_attribute_definitions: (
390
+ ?next_token: ::String
391
+ ) -> _ListGroupingAttributeDefinitionsResponseSuccess
392
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupingAttributeDefinitionsResponseSuccess
393
+
332
394
  interface _ListServiceDependenciesResponseSuccess
333
395
  include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceDependenciesOutput]
334
396
  def start_time: () -> ::Time
@@ -391,9 +453,9 @@ module Aws
391
453
  },
392
454
  ?max_results: ::Integer,
393
455
  ?next_token: ::String,
394
- ?metric_source_types: Array[("ServiceOperation" | "CloudWatchMetric" | "ServiceDependency")],
395
456
  ?include_linked_accounts: bool,
396
- ?slo_owner_aws_account_id: ::String
457
+ ?slo_owner_aws_account_id: ::String,
458
+ ?metric_source_types: Array[("ServiceOperation" | "CloudWatchMetric" | "ServiceDependency")]
397
459
  ) -> _ListServiceLevelObjectivesResponseSuccess
398
460
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceLevelObjectivesResponseSuccess
399
461
 
@@ -414,6 +476,30 @@ module Aws
414
476
  ) -> _ListServiceOperationsResponseSuccess
415
477
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceOperationsResponseSuccess
416
478
 
479
+ interface _ListServiceStatesResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceStatesOutput]
481
+ def start_time: () -> ::Time
482
+ def end_time: () -> ::Time
483
+ def service_states: () -> ::Array[Types::ServiceState]
484
+ def next_token: () -> ::String
485
+ end
486
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_service_states-instance_method
487
+ def list_service_states: (
488
+ start_time: ::Time,
489
+ end_time: ::Time,
490
+ ?max_results: ::Integer,
491
+ ?next_token: ::String,
492
+ ?include_linked_accounts: bool,
493
+ ?aws_account_id: ::String,
494
+ ?attribute_filters: Array[
495
+ {
496
+ attribute_filter_name: ::String,
497
+ attribute_filter_values: Array[::String]
498
+ },
499
+ ]
500
+ ) -> _ListServiceStatesResponseSuccess
501
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceStatesResponseSuccess
502
+
417
503
  interface _ListServicesResponseSuccess
418
504
  include ::Seahorse::Client::_ResponseSuccess[Types::ListServicesOutput]
419
505
  def start_time: () -> ::Time
@@ -442,6 +528,22 @@ module Aws
442
528
  ) -> _ListTagsForResourceResponseSuccess
443
529
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
444
530
 
531
+ interface _PutGroupingConfigurationResponseSuccess
532
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutGroupingConfigurationOutput]
533
+ def grouping_configuration: () -> Types::GroupingConfiguration
534
+ end
535
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#put_grouping_configuration-instance_method
536
+ def put_grouping_configuration: (
537
+ grouping_attribute_definitions: Array[
538
+ {
539
+ grouping_name: ::String,
540
+ grouping_source_keys: Array[::String]?,
541
+ default_grouping_value: ::String?
542
+ },
543
+ ]
544
+ ) -> _PutGroupingConfigurationResponseSuccess
545
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutGroupingConfigurationResponseSuccess
546
+
445
547
  interface _StartDiscoveryResponseSuccess
446
548
  include ::Seahorse::Client::_ResponseSuccess[Types::StartDiscoveryOutput]
447
549
  end
@@ -488,6 +590,7 @@ module Aws
488
590
  key_attributes: Hash[::String, ::String]?,
489
591
  operation_name: ::String?,
490
592
  metric_type: ("LATENCY" | "AVAILABILITY")?,
593
+ metric_name: ::String?,
491
594
  statistic: ::String?,
492
595
  period_seconds: ::Integer?,
493
596
  metric_data_queries: Array[
data/sig/types.rbs CHANGED
@@ -13,6 +13,52 @@ module Aws::ApplicationSignals
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class AttributeFilter
17
+ attr_accessor attribute_filter_name: ::String
18
+ attr_accessor attribute_filter_values: ::Array[::String]
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class AuditFinding
23
+ attr_accessor key_attributes: ::Hash[::String, ::String]
24
+ attr_accessor auditor_results: ::Array[Types::AuditorResult]
25
+ attr_accessor operation: ::String
26
+ attr_accessor metric_graph: Types::MetricGraph
27
+ attr_accessor dependency_graph: Types::DependencyGraph
28
+ attr_accessor type: ::String
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class AuditTarget
33
+ attr_accessor type: ::String
34
+ attr_accessor data: Types::AuditTargetEntity
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class AuditTargetEntity
39
+ attr_accessor service: Types::ServiceEntity
40
+ attr_accessor slo: Types::ServiceLevelObjectiveEntity
41
+ attr_accessor service_operation: Types::ServiceOperationEntity
42
+ attr_accessor unknown: untyped
43
+ SENSITIVE: []
44
+
45
+ class Service < AuditTargetEntity
46
+ end
47
+ class Slo < AuditTargetEntity
48
+ end
49
+ class ServiceOperation < AuditTargetEntity
50
+ end
51
+ class Unknown < AuditTargetEntity
52
+ end
53
+ end
54
+
55
+ class AuditorResult
56
+ attr_accessor auditor: ::String
57
+ attr_accessor description: ::String
58
+ attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "NONE")
59
+ SENSITIVE: []
60
+ end
61
+
16
62
  class BatchGetServiceLevelObjectiveBudgetReportInput
17
63
  attr_accessor timestamp: ::Time
18
64
  attr_accessor slo_ids: ::Array[::String]
@@ -58,6 +104,18 @@ module Aws::ApplicationSignals
58
104
  SENSITIVE: []
59
105
  end
60
106
 
107
+ class ChangeEvent
108
+ attr_accessor timestamp: ::Time
109
+ attr_accessor account_id: ::String
110
+ attr_accessor region: ::String
111
+ attr_accessor entity: ::Hash[::String, ::String]
112
+ attr_accessor change_event_type: ("DEPLOYMENT")
113
+ attr_accessor event_id: ::String
114
+ attr_accessor user_name: ::String
115
+ attr_accessor event_name: ::String
116
+ SENSITIVE: []
117
+ end
118
+
61
119
  class ConflictException
62
120
  attr_accessor message: ::String
63
121
  SENSITIVE: []
@@ -79,6 +137,9 @@ module Aws::ApplicationSignals
79
137
  SENSITIVE: []
80
138
  end
81
139
 
140
+ class DeleteGroupingConfigurationOutput < Aws::EmptyStructure
141
+ end
142
+
82
143
  class DeleteServiceLevelObjectiveInput
83
144
  attr_accessor id: ::String
84
145
  SENSITIVE: []
@@ -93,12 +154,26 @@ module Aws::ApplicationSignals
93
154
  SENSITIVE: []
94
155
  end
95
156
 
157
+ class DependencyGraph
158
+ attr_accessor nodes: ::Array[Types::Node]
159
+ attr_accessor edges: ::Array[Types::Edge]
160
+ SENSITIVE: []
161
+ end
162
+
96
163
  class Dimension
97
164
  attr_accessor name: ::String
98
165
  attr_accessor value: ::String
99
166
  SENSITIVE: []
100
167
  end
101
168
 
169
+ class Edge
170
+ attr_accessor source_node_id: ::String
171
+ attr_accessor destination_node_id: ::String
172
+ attr_accessor duration: ::Float
173
+ attr_accessor connection_type: ("INDIRECT" | "DIRECT")
174
+ SENSITIVE: []
175
+ end
176
+
102
177
  class ExclusionWindow
103
178
  attr_accessor window: Types::Window
104
179
  attr_accessor start_time: ::Time
@@ -139,6 +214,19 @@ module Aws::ApplicationSignals
139
214
  SENSITIVE: []
140
215
  end
141
216
 
217
+ class GroupingAttributeDefinition
218
+ attr_accessor grouping_name: ::String
219
+ attr_accessor grouping_source_keys: ::Array[::String]
220
+ attr_accessor default_grouping_value: ::String
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class GroupingConfiguration
225
+ attr_accessor grouping_attribute_definitions: ::Array[Types::GroupingAttributeDefinition]
226
+ attr_accessor updated_at: ::Time
227
+ SENSITIVE: []
228
+ end
229
+
142
230
  class Interval
143
231
  attr_accessor rolling_interval: Types::RollingInterval
144
232
  attr_accessor calendar_interval: Types::CalendarInterval
@@ -153,6 +241,34 @@ module Aws::ApplicationSignals
153
241
  end
154
242
  end
155
243
 
244
+ class ListAuditFindingsInput
245
+ attr_accessor start_time: ::Time
246
+ attr_accessor end_time: ::Time
247
+ attr_accessor auditors: ::Array[::String]
248
+ attr_accessor audit_targets: ::Array[Types::AuditTarget]
249
+ attr_accessor next_token: ::String
250
+ attr_accessor max_results: ::Integer
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class ListAuditFindingsOutput
255
+ attr_accessor audit_findings: ::Array[Types::AuditFinding]
256
+ attr_accessor next_token: ::String
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class ListGroupingAttributeDefinitionsInput
261
+ attr_accessor next_token: ::String
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class ListGroupingAttributeDefinitionsOutput
266
+ attr_accessor grouping_attribute_definitions: ::Array[Types::GroupingAttributeDefinition]
267
+ attr_accessor updated_at: ::Time
268
+ attr_accessor next_token: ::String
269
+ SENSITIVE: []
270
+ end
271
+
156
272
  class ListServiceDependenciesInput
157
273
  attr_accessor start_time: ::Time
158
274
  attr_accessor end_time: ::Time
@@ -206,9 +322,9 @@ module Aws::ApplicationSignals
206
322
  attr_accessor dependency_config: Types::DependencyConfig
207
323
  attr_accessor max_results: ::Integer
208
324
  attr_accessor next_token: ::String
209
- attr_accessor metric_source_types: ::Array[("ServiceOperation" | "CloudWatchMetric" | "ServiceDependency")]
210
325
  attr_accessor include_linked_accounts: bool
211
326
  attr_accessor slo_owner_aws_account_id: ::String
327
+ attr_accessor metric_source_types: ::Array[("ServiceOperation" | "CloudWatchMetric" | "ServiceDependency")]
212
328
  SENSITIVE: []
213
329
  end
214
330
 
@@ -235,6 +351,25 @@ module Aws::ApplicationSignals
235
351
  SENSITIVE: []
236
352
  end
237
353
 
354
+ class ListServiceStatesInput
355
+ attr_accessor start_time: ::Time
356
+ attr_accessor end_time: ::Time
357
+ attr_accessor max_results: ::Integer
358
+ attr_accessor next_token: ::String
359
+ attr_accessor include_linked_accounts: bool
360
+ attr_accessor aws_account_id: ::String
361
+ attr_accessor attribute_filters: ::Array[Types::AttributeFilter]
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class ListServiceStatesOutput
366
+ attr_accessor start_time: ::Time
367
+ attr_accessor end_time: ::Time
368
+ attr_accessor service_states: ::Array[Types::ServiceState]
369
+ attr_accessor next_token: ::String
370
+ SENSITIVE: []
371
+ end
372
+
238
373
  class ListServicesInput
239
374
  attr_accessor start_time: ::Time
240
375
  attr_accessor end_time: ::Time
@@ -281,6 +416,13 @@ module Aws::ApplicationSignals
281
416
  SENSITIVE: []
282
417
  end
283
418
 
419
+ class MetricGraph
420
+ attr_accessor metric_data_queries: ::Array[Types::MetricDataQuery]
421
+ attr_accessor start_time: ::Time
422
+ attr_accessor end_time: ::Time
423
+ SENSITIVE: []
424
+ end
425
+
284
426
  class MetricReference
285
427
  attr_accessor namespace: ::String
286
428
  attr_accessor metric_type: ::String
@@ -312,6 +454,27 @@ module Aws::ApplicationSignals
312
454
  end
313
455
  end
314
456
 
457
+ class Node
458
+ attr_accessor key_attributes: ::Hash[::String, ::String]
459
+ attr_accessor name: ::String
460
+ attr_accessor node_id: ::String
461
+ attr_accessor operation: ::String
462
+ attr_accessor type: ::String
463
+ attr_accessor duration: ::Float
464
+ attr_accessor status: ::String
465
+ SENSITIVE: []
466
+ end
467
+
468
+ class PutGroupingConfigurationInput
469
+ attr_accessor grouping_attribute_definitions: ::Array[Types::GroupingAttributeDefinition]
470
+ SENSITIVE: []
471
+ end
472
+
473
+ class PutGroupingConfigurationOutput
474
+ attr_accessor grouping_configuration: Types::GroupingConfiguration
475
+ SENSITIVE: []
476
+ end
477
+
315
478
  class RecurrenceRule
316
479
  attr_accessor expression: ::String
317
480
  SENSITIVE: []
@@ -367,6 +530,7 @@ module Aws::ApplicationSignals
367
530
  class Service
368
531
  attr_accessor key_attributes: ::Hash[::String, ::String]
369
532
  attr_accessor attribute_maps: ::Array[::Hash[::String, ::String]]
533
+ attr_accessor service_groups: ::Array[Types::ServiceGroup]
370
534
  attr_accessor metric_references: ::Array[Types::MetricReference]
371
535
  attr_accessor log_group_references: ::Array[::Hash[::String, ::String]]
372
536
  SENSITIVE: []
@@ -388,6 +552,22 @@ module Aws::ApplicationSignals
388
552
  SENSITIVE: []
389
553
  end
390
554
 
555
+ class ServiceEntity
556
+ attr_accessor type: ::String
557
+ attr_accessor name: ::String
558
+ attr_accessor environment: ::String
559
+ attr_accessor aws_account_id: ::String
560
+ SENSITIVE: []
561
+ end
562
+
563
+ class ServiceGroup
564
+ attr_accessor group_name: ::String
565
+ attr_accessor group_value: ::String
566
+ attr_accessor group_source: ::String
567
+ attr_accessor group_identifier: ::String
568
+ SENSITIVE: []
569
+ end
570
+
391
571
  class ServiceLevelIndicator
392
572
  attr_accessor sli_metric: Types::ServiceLevelIndicatorMetric
393
573
  attr_accessor metric_threshold: ::Float
@@ -415,6 +595,7 @@ module Aws::ApplicationSignals
415
595
  attr_accessor key_attributes: ::Hash[::String, ::String]
416
596
  attr_accessor operation_name: ::String
417
597
  attr_accessor metric_type: ("LATENCY" | "AVAILABILITY")
598
+ attr_accessor metric_name: ::String
418
599
  attr_accessor statistic: ::String
419
600
  attr_accessor period_seconds: ::Integer
420
601
  attr_accessor metric_data_queries: ::Array[Types::MetricDataQuery]
@@ -461,6 +642,12 @@ module Aws::ApplicationSignals
461
642
  SENSITIVE: []
462
643
  end
463
644
 
645
+ class ServiceLevelObjectiveEntity
646
+ attr_accessor slo_name: ::String
647
+ attr_accessor slo_arn: ::String
648
+ SENSITIVE: []
649
+ end
650
+
464
651
  class ServiceLevelObjectiveSummary
465
652
  attr_accessor arn: ::String
466
653
  attr_accessor name: ::String
@@ -479,15 +666,30 @@ module Aws::ApplicationSignals
479
666
  SENSITIVE: []
480
667
  end
481
668
 
669
+ class ServiceOperationEntity
670
+ attr_accessor service: Types::ServiceEntity
671
+ attr_accessor operation: ::String
672
+ attr_accessor metric_type: ::String
673
+ SENSITIVE: []
674
+ end
675
+
482
676
  class ServiceQuotaExceededException
483
677
  attr_accessor message: ::String
484
678
  SENSITIVE: []
485
679
  end
486
680
 
681
+ class ServiceState
682
+ attr_accessor attribute_filters: ::Array[Types::AttributeFilter]
683
+ attr_accessor service: ::Hash[::String, ::String]
684
+ attr_accessor latest_change_events: ::Array[Types::ChangeEvent]
685
+ SENSITIVE: []
686
+ end
687
+
487
688
  class ServiceSummary
488
689
  attr_accessor key_attributes: ::Hash[::String, ::String]
489
690
  attr_accessor attribute_maps: ::Array[::Hash[::String, ::String]]
490
691
  attr_accessor metric_references: ::Array[Types::MetricReference]
692
+ attr_accessor service_groups: ::Array[Types::ServiceGroup]
491
693
  SENSITIVE: []
492
694
  end
493
695
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationsignals
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services