aws-sdk-applicationsignals 1.17.0 → 1.19.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationsignals/client.rb +194 -1
- data/lib/aws-sdk-applicationsignals/client_api.rb +103 -0
- data/lib/aws-sdk-applicationsignals/types.rb +303 -6
- data/lib/aws-sdk-applicationsignals.rb +1 -1
- data/sig/client.rbs +73 -2
- data/sig/types.rbs +68 -0
- metadata +2 -2
@@ -67,6 +67,72 @@ module Aws::ApplicationSignals
|
|
67
67
|
include Aws::Structure
|
68
68
|
end
|
69
69
|
|
70
|
+
# An array of structures, where each structure includes an error
|
71
|
+
# indicating that one of the requests in the array was not valid.
|
72
|
+
#
|
73
|
+
# @!attribute [rw] slo_id
|
74
|
+
# The SLO ID in the error.
|
75
|
+
# @return [String]
|
76
|
+
#
|
77
|
+
# @!attribute [rw] error_code
|
78
|
+
# The error code.
|
79
|
+
# @return [String]
|
80
|
+
#
|
81
|
+
# @!attribute [rw] error_message
|
82
|
+
# The error message.
|
83
|
+
# @return [String]
|
84
|
+
#
|
85
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchUpdateExclusionWindowsError AWS API Documentation
|
86
|
+
#
|
87
|
+
class BatchUpdateExclusionWindowsError < Struct.new(
|
88
|
+
:slo_id,
|
89
|
+
:error_code,
|
90
|
+
:error_message)
|
91
|
+
SENSITIVE = []
|
92
|
+
include Aws::Structure
|
93
|
+
end
|
94
|
+
|
95
|
+
# @!attribute [rw] slo_ids
|
96
|
+
# The list of SLO IDs to add or remove exclusion windows from.
|
97
|
+
# @return [Array<String>]
|
98
|
+
#
|
99
|
+
# @!attribute [rw] add_exclusion_windows
|
100
|
+
# A list of exclusion windows to add to the specified SLOs. You can
|
101
|
+
# add up to 10 exclusion windows per SLO.
|
102
|
+
# @return [Array<Types::ExclusionWindow>]
|
103
|
+
#
|
104
|
+
# @!attribute [rw] remove_exclusion_windows
|
105
|
+
# A list of exclusion windows to remove from the specified SLOs. The
|
106
|
+
# window configuration must match an existing exclusion window.
|
107
|
+
# @return [Array<Types::ExclusionWindow>]
|
108
|
+
#
|
109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchUpdateExclusionWindowsInput AWS API Documentation
|
110
|
+
#
|
111
|
+
class BatchUpdateExclusionWindowsInput < Struct.new(
|
112
|
+
:slo_ids,
|
113
|
+
:add_exclusion_windows,
|
114
|
+
:remove_exclusion_windows)
|
115
|
+
SENSITIVE = []
|
116
|
+
include Aws::Structure
|
117
|
+
end
|
118
|
+
|
119
|
+
# @!attribute [rw] slo_ids
|
120
|
+
# The list of SLO IDs that were successfully processed.
|
121
|
+
# @return [Array<String>]
|
122
|
+
#
|
123
|
+
# @!attribute [rw] errors
|
124
|
+
# A list of errors that occurred while processing the request.
|
125
|
+
# @return [Array<Types::BatchUpdateExclusionWindowsError>]
|
126
|
+
#
|
127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchUpdateExclusionWindowsOutput AWS API Documentation
|
128
|
+
#
|
129
|
+
class BatchUpdateExclusionWindowsOutput < Struct.new(
|
130
|
+
:slo_ids,
|
131
|
+
:errors)
|
132
|
+
SENSITIVE = []
|
133
|
+
include Aws::Structure
|
134
|
+
end
|
135
|
+
|
70
136
|
# This object defines the length of the look-back window used to
|
71
137
|
# calculate one burn rate metric for this SLO. The burn rate measures
|
72
138
|
# how fast the service is consuming the error budget, relative to the
|
@@ -236,6 +302,50 @@ module Aws::ApplicationSignals
|
|
236
302
|
#
|
237
303
|
class DeleteServiceLevelObjectiveOutput < Aws::EmptyStructure; end
|
238
304
|
|
305
|
+
# Identifies the dependency using the `DependencyKeyAttributes` and
|
306
|
+
# `DependencyOperationName`.
|
307
|
+
#
|
308
|
+
# When creating a service dependency SLO, you must specify the
|
309
|
+
# `KeyAttributes` of the service, and the `DependencyConfig` for the
|
310
|
+
# dependency. You can specify the `OperationName` of the service, from
|
311
|
+
# which it calls the dependency. Alternatively, you can exclude
|
312
|
+
# `OperationName` and the SLO will monitor all of the service's
|
313
|
+
# operations that call the dependency.
|
314
|
+
#
|
315
|
+
# @!attribute [rw] dependency_key_attributes
|
316
|
+
# This is a string-to-string map. It can include the following fields.
|
317
|
+
#
|
318
|
+
# * `Type` designates the type of object this is.
|
319
|
+
#
|
320
|
+
# * `ResourceType` specifies the type of the resource. This field is
|
321
|
+
# used only when the value of the `Type` field is `Resource` or
|
322
|
+
# `AWS::Resource`.
|
323
|
+
#
|
324
|
+
# * `Name` specifies the name of the object. This is used only if the
|
325
|
+
# value of the `Type` field is `Service`, `RemoteService`, or
|
326
|
+
# `AWS::Service`.
|
327
|
+
#
|
328
|
+
# * `Identifier` identifies the resource objects of this resource.
|
329
|
+
# This is used only if the value of the `Type` field is `Resource`
|
330
|
+
# or `AWS::Resource`.
|
331
|
+
#
|
332
|
+
# * `Environment` specifies the location where this object is hosted,
|
333
|
+
# or what it belongs to.
|
334
|
+
# @return [Hash<String,String>]
|
335
|
+
#
|
336
|
+
# @!attribute [rw] dependency_operation_name
|
337
|
+
# The name of the called operation in the dependency.
|
338
|
+
# @return [String]
|
339
|
+
#
|
340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/DependencyConfig AWS API Documentation
|
341
|
+
#
|
342
|
+
class DependencyConfig < Struct.new(
|
343
|
+
:dependency_key_attributes,
|
344
|
+
:dependency_operation_name)
|
345
|
+
SENSITIVE = []
|
346
|
+
include Aws::Structure
|
347
|
+
end
|
348
|
+
|
239
349
|
# A dimension is a name/value pair that is part of the identity of a
|
240
350
|
# metric. Because dimensions are part of the unique identifier for a
|
241
351
|
# metric, whenever you add a unique name/value pair to one of your
|
@@ -268,6 +378,39 @@ module Aws::ApplicationSignals
|
|
268
378
|
include Aws::Structure
|
269
379
|
end
|
270
380
|
|
381
|
+
# The core SLO time window exclusion object that includes Window,
|
382
|
+
# StartTime, RecurrenceRule, and Reason.
|
383
|
+
#
|
384
|
+
# @!attribute [rw] window
|
385
|
+
# The SLO time window exclusion .
|
386
|
+
# @return [Types::Window]
|
387
|
+
#
|
388
|
+
# @!attribute [rw] start_time
|
389
|
+
# The start of the SLO time window exclusion. Defaults to current time
|
390
|
+
# if not specified.
|
391
|
+
# @return [Time]
|
392
|
+
#
|
393
|
+
# @!attribute [rw] recurrence_rule
|
394
|
+
# The recurrence rule for the SLO time window exclusion. Supports both
|
395
|
+
# cron and rate expressions.
|
396
|
+
# @return [Types::RecurrenceRule]
|
397
|
+
#
|
398
|
+
# @!attribute [rw] reason
|
399
|
+
# A description explaining why this time period should be excluded
|
400
|
+
# from SLO calculations.
|
401
|
+
# @return [String]
|
402
|
+
#
|
403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ExclusionWindow AWS API Documentation
|
404
|
+
#
|
405
|
+
class ExclusionWindow < Struct.new(
|
406
|
+
:window,
|
407
|
+
:start_time,
|
408
|
+
:recurrence_rule,
|
409
|
+
:reason)
|
410
|
+
SENSITIVE = []
|
411
|
+
include Aws::Structure
|
412
|
+
end
|
413
|
+
|
271
414
|
# @!attribute [rw] start_time
|
272
415
|
# The start of the time period to retrieve information about. When
|
273
416
|
# used in a raw HTTP Query API, it is formatted as be epoch time in
|
@@ -680,6 +823,48 @@ module Aws::ApplicationSignals
|
|
680
823
|
include Aws::Structure
|
681
824
|
end
|
682
825
|
|
826
|
+
# @!attribute [rw] id
|
827
|
+
# The ID of the SLO to list exclusion windows for.
|
828
|
+
# @return [String]
|
829
|
+
#
|
830
|
+
# @!attribute [rw] max_results
|
831
|
+
# The maximum number of results to return in one operation. If you
|
832
|
+
# omit this parameter, the default of 50 is used. </p>
|
833
|
+
# @return [Integer]
|
834
|
+
#
|
835
|
+
# @!attribute [rw] next_token
|
836
|
+
# Include this value, if it was returned by the previous operation, to
|
837
|
+
# get the next set of service level objectives. </p>
|
838
|
+
# @return [String]
|
839
|
+
#
|
840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectiveExclusionWindowsInput AWS API Documentation
|
841
|
+
#
|
842
|
+
class ListServiceLevelObjectiveExclusionWindowsInput < Struct.new(
|
843
|
+
:id,
|
844
|
+
:max_results,
|
845
|
+
:next_token)
|
846
|
+
SENSITIVE = []
|
847
|
+
include Aws::Structure
|
848
|
+
end
|
849
|
+
|
850
|
+
# @!attribute [rw] exclusion_windows
|
851
|
+
# A list of exclusion windows configured for the SLO.
|
852
|
+
# @return [Array<Types::ExclusionWindow>]
|
853
|
+
#
|
854
|
+
# @!attribute [rw] next_token
|
855
|
+
# Include this value, if it was returned by the previous operation, to
|
856
|
+
# get the next set of service level objectives. </p>
|
857
|
+
# @return [String]
|
858
|
+
#
|
859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectiveExclusionWindowsOutput AWS API Documentation
|
860
|
+
#
|
861
|
+
class ListServiceLevelObjectiveExclusionWindowsOutput < Struct.new(
|
862
|
+
:exclusion_windows,
|
863
|
+
:next_token)
|
864
|
+
SENSITIVE = []
|
865
|
+
include Aws::Structure
|
866
|
+
end
|
867
|
+
|
683
868
|
# @!attribute [rw] key_attributes
|
684
869
|
# You can use this optional field to specify which services you want
|
685
870
|
# to retrieve SLO information for.
|
@@ -708,6 +893,11 @@ module Aws::ApplicationSignals
|
|
708
893
|
# The name of the operation that this SLO is associated with.
|
709
894
|
# @return [String]
|
710
895
|
#
|
896
|
+
# @!attribute [rw] dependency_config
|
897
|
+
# Identifies the dependency using the `DependencyKeyAttributes` and
|
898
|
+
# `DependencyOperationName`.
|
899
|
+
# @return [Types::DependencyConfig]
|
900
|
+
#
|
711
901
|
# @!attribute [rw] max_results
|
712
902
|
# The maximum number of results to return in one operation. If you
|
713
903
|
# omit this parameter, the default of 50 is used.
|
@@ -718,6 +908,17 @@ module Aws::ApplicationSignals
|
|
718
908
|
# get the next set of service level objectives.
|
719
909
|
# @return [String]
|
720
910
|
#
|
911
|
+
# @!attribute [rw] metric_source_types
|
912
|
+
# Use this optional field to only include SLOs with the specified
|
913
|
+
# metric source types in the output. Supported types are:
|
914
|
+
#
|
915
|
+
# * Service operation
|
916
|
+
#
|
917
|
+
# * Service dependency
|
918
|
+
#
|
919
|
+
# * CloudWatch metric
|
920
|
+
# @return [Array<String>]
|
921
|
+
#
|
721
922
|
# @!attribute [rw] include_linked_accounts
|
722
923
|
# If you are using this operation in a monitoring account, specify
|
723
924
|
# `true` to include SLO from source accounts in the returned data.
|
@@ -737,8 +938,10 @@ module Aws::ApplicationSignals
|
|
737
938
|
class ListServiceLevelObjectivesInput < Struct.new(
|
738
939
|
:key_attributes,
|
739
940
|
:operation_name,
|
941
|
+
:dependency_config,
|
740
942
|
:max_results,
|
741
943
|
:next_token,
|
944
|
+
:metric_source_types,
|
742
945
|
:include_linked_accounts,
|
743
946
|
:slo_owner_aws_account_id)
|
744
947
|
SENSITIVE = []
|
@@ -1294,6 +1497,21 @@ module Aws::ApplicationSignals
|
|
1294
1497
|
class Unknown < MonitoredRequestCountMetricDataQueries; end
|
1295
1498
|
end
|
1296
1499
|
|
1500
|
+
# The recurrence rule for the SLO time window exclusion .
|
1501
|
+
#
|
1502
|
+
# @!attribute [rw] expression
|
1503
|
+
# A cron or rate expression that specifies the schedule for the
|
1504
|
+
# exclusion window.
|
1505
|
+
# @return [String]
|
1506
|
+
#
|
1507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/RecurrenceRule AWS API Documentation
|
1508
|
+
#
|
1509
|
+
class RecurrenceRule < Struct.new(
|
1510
|
+
:expression)
|
1511
|
+
SENSITIVE = []
|
1512
|
+
include Aws::Structure
|
1513
|
+
end
|
1514
|
+
|
1297
1515
|
# This structure contains information about the performance metric that
|
1298
1516
|
# a request-based SLO monitors.
|
1299
1517
|
#
|
@@ -1404,6 +1622,11 @@ module Aws::ApplicationSignals
|
|
1404
1622
|
# tracks.
|
1405
1623
|
# @return [Types::MonitoredRequestCountMetricDataQueries]
|
1406
1624
|
#
|
1625
|
+
# @!attribute [rw] dependency_config
|
1626
|
+
# Identifies the dependency using the `DependencyKeyAttributes` and
|
1627
|
+
# `DependencyOperationName`.
|
1628
|
+
# @return [Types::DependencyConfig]
|
1629
|
+
#
|
1407
1630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/RequestBasedServiceLevelIndicatorMetric AWS API Documentation
|
1408
1631
|
#
|
1409
1632
|
class RequestBasedServiceLevelIndicatorMetric < Struct.new(
|
@@ -1411,7 +1634,8 @@ module Aws::ApplicationSignals
|
|
1411
1634
|
:operation_name,
|
1412
1635
|
:metric_type,
|
1413
1636
|
:total_request_count_metric,
|
1414
|
-
:monitored_request_count_metric
|
1637
|
+
:monitored_request_count_metric,
|
1638
|
+
:dependency_config)
|
1415
1639
|
SENSITIVE = []
|
1416
1640
|
include Aws::Structure
|
1417
1641
|
end
|
@@ -1472,6 +1696,11 @@ module Aws::ApplicationSignals
|
|
1472
1696
|
# successful requests that this SLO tracks.
|
1473
1697
|
# @return [Types::MonitoredRequestCountMetricDataQueries]
|
1474
1698
|
#
|
1699
|
+
# @!attribute [rw] dependency_config
|
1700
|
+
# Identifies the dependency using the `DependencyKeyAttributes` and
|
1701
|
+
# `DependencyOperationName`.
|
1702
|
+
# @return [Types::DependencyConfig]
|
1703
|
+
#
|
1475
1704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/RequestBasedServiceLevelIndicatorMetricConfig AWS API Documentation
|
1476
1705
|
#
|
1477
1706
|
class RequestBasedServiceLevelIndicatorMetricConfig < Struct.new(
|
@@ -1479,7 +1708,8 @@ module Aws::ApplicationSignals
|
|
1479
1708
|
:operation_name,
|
1480
1709
|
:metric_type,
|
1481
1710
|
:total_request_count_metric,
|
1482
|
-
:monitored_request_count_metric
|
1711
|
+
:monitored_request_count_metric,
|
1712
|
+
:dependency_config)
|
1483
1713
|
SENSITIVE = []
|
1484
1714
|
include Aws::Structure
|
1485
1715
|
end
|
@@ -1835,13 +2065,19 @@ module Aws::ApplicationSignals
|
|
1835
2065
|
# information about that metric or expression.
|
1836
2066
|
# @return [Array<Types::MetricDataQuery>]
|
1837
2067
|
#
|
2068
|
+
# @!attribute [rw] dependency_config
|
2069
|
+
# Identifies the dependency using the `DependencyKeyAttributes` and
|
2070
|
+
# `DependencyOperationName`.
|
2071
|
+
# @return [Types::DependencyConfig]
|
2072
|
+
#
|
1838
2073
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ServiceLevelIndicatorMetric AWS API Documentation
|
1839
2074
|
#
|
1840
2075
|
class ServiceLevelIndicatorMetric < Struct.new(
|
1841
2076
|
:key_attributes,
|
1842
2077
|
:operation_name,
|
1843
2078
|
:metric_type,
|
1844
|
-
:metric_data_queries
|
2079
|
+
:metric_data_queries,
|
2080
|
+
:dependency_config)
|
1845
2081
|
SENSITIVE = []
|
1846
2082
|
include Aws::Structure
|
1847
2083
|
end
|
@@ -1909,6 +2145,11 @@ module Aws::ApplicationSignals
|
|
1909
2145
|
# that metric or expression.
|
1910
2146
|
# @return [Array<Types::MetricDataQuery>]
|
1911
2147
|
#
|
2148
|
+
# @!attribute [rw] dependency_config
|
2149
|
+
# Identifies the dependency using the `DependencyKeyAttributes` and
|
2150
|
+
# `DependencyOperationName`.
|
2151
|
+
# @return [Types::DependencyConfig]
|
2152
|
+
#
|
1912
2153
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ServiceLevelIndicatorMetricConfig AWS API Documentation
|
1913
2154
|
#
|
1914
2155
|
class ServiceLevelIndicatorMetricConfig < Struct.new(
|
@@ -1917,7 +2158,8 @@ module Aws::ApplicationSignals
|
|
1917
2158
|
:metric_type,
|
1918
2159
|
:statistic,
|
1919
2160
|
:period_seconds,
|
1920
|
-
:metric_data_queries
|
2161
|
+
:metric_data_queries,
|
2162
|
+
:dependency_config)
|
1921
2163
|
SENSITIVE = []
|
1922
2164
|
include Aws::Structure
|
1923
2165
|
end
|
@@ -1982,6 +2224,17 @@ module Aws::ApplicationSignals
|
|
1982
2224
|
# relative to the attainment goal of the SLO.
|
1983
2225
|
# @return [Array<Types::BurnRateConfiguration>]
|
1984
2226
|
#
|
2227
|
+
# @!attribute [rw] metric_source_type
|
2228
|
+
# Displays the SLI metric source type for this SLO. Supported types
|
2229
|
+
# are:
|
2230
|
+
#
|
2231
|
+
# * Service operation
|
2232
|
+
#
|
2233
|
+
# * Service dependency
|
2234
|
+
#
|
2235
|
+
# * CloudWatch metric
|
2236
|
+
# @return [String]
|
2237
|
+
#
|
1985
2238
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ServiceLevelObjective AWS API Documentation
|
1986
2239
|
#
|
1987
2240
|
class ServiceLevelObjective < Struct.new(
|
@@ -1994,7 +2247,8 @@ module Aws::ApplicationSignals
|
|
1994
2247
|
:request_based_sli,
|
1995
2248
|
:evaluation_type,
|
1996
2249
|
:goal,
|
1997
|
-
:burn_rate_configurations
|
2250
|
+
:burn_rate_configurations,
|
2251
|
+
:metric_source_type)
|
1998
2252
|
SENSITIVE = []
|
1999
2253
|
include Aws::Structure
|
2000
2254
|
end
|
@@ -2192,12 +2446,32 @@ module Aws::ApplicationSignals
|
|
2192
2446
|
# this field displays the name of that operation.
|
2193
2447
|
# @return [String]
|
2194
2448
|
#
|
2449
|
+
# @!attribute [rw] dependency_config
|
2450
|
+
# Identifies the dependency using the `DependencyKeyAttributes` and
|
2451
|
+
# `DependencyOperationName`.
|
2452
|
+
# @return [Types::DependencyConfig]
|
2453
|
+
#
|
2195
2454
|
# @!attribute [rw] created_time
|
2196
2455
|
# The date and time that this service level objective was created. It
|
2197
2456
|
# is expressed as the number of milliseconds since Jan 1, 1970
|
2198
2457
|
# 00:00:00 UTC.
|
2199
2458
|
# @return [Time]
|
2200
2459
|
#
|
2460
|
+
# @!attribute [rw] evaluation_type
|
2461
|
+
# Displays whether this is a period-based SLO or a request-based SLO.
|
2462
|
+
# @return [String]
|
2463
|
+
#
|
2464
|
+
# @!attribute [rw] metric_source_type
|
2465
|
+
# Displays the SLI metric source type for this SLO. Supported types
|
2466
|
+
# are:
|
2467
|
+
#
|
2468
|
+
# * Service operation
|
2469
|
+
#
|
2470
|
+
# * Service dependency
|
2471
|
+
#
|
2472
|
+
# * CloudWatch metric
|
2473
|
+
# @return [String]
|
2474
|
+
#
|
2201
2475
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ServiceLevelObjectiveSummary AWS API Documentation
|
2202
2476
|
#
|
2203
2477
|
class ServiceLevelObjectiveSummary < Struct.new(
|
@@ -2205,7 +2479,10 @@ module Aws::ApplicationSignals
|
|
2205
2479
|
:name,
|
2206
2480
|
:key_attributes,
|
2207
2481
|
:operation_name,
|
2208
|
-
:
|
2482
|
+
:dependency_config,
|
2483
|
+
:created_time,
|
2484
|
+
:evaluation_type,
|
2485
|
+
:metric_source_type)
|
2209
2486
|
SENSITIVE = []
|
2210
2487
|
include Aws::Structure
|
2211
2488
|
end
|
@@ -2524,6 +2801,26 @@ module Aws::ApplicationSignals
|
|
2524
2801
|
include Aws::Structure
|
2525
2802
|
end
|
2526
2803
|
|
2804
|
+
# The object that defines the time length of an exclusion window.
|
2805
|
+
#
|
2806
|
+
# @!attribute [rw] duration_unit
|
2807
|
+
# The unit of time for the exclusion window duration. Valid values:
|
2808
|
+
# MINUTE, HOUR, DAY, MONTH.
|
2809
|
+
# @return [String]
|
2810
|
+
#
|
2811
|
+
# @!attribute [rw] duration
|
2812
|
+
# The number of time units for the exclusion window length.
|
2813
|
+
# @return [Integer]
|
2814
|
+
#
|
2815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/Window AWS API Documentation
|
2816
|
+
#
|
2817
|
+
class Window < Struct.new(
|
2818
|
+
:duration_unit,
|
2819
|
+
:duration)
|
2820
|
+
SENSITIVE = []
|
2821
|
+
include Aws::Structure
|
2822
|
+
end
|
2823
|
+
|
2527
2824
|
end
|
2528
2825
|
end
|
2529
2826
|
|
data/sig/client.rbs
CHANGED
@@ -90,6 +90,43 @@ module Aws
|
|
90
90
|
) -> _BatchGetServiceLevelObjectiveBudgetReportResponseSuccess
|
91
91
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetServiceLevelObjectiveBudgetReportResponseSuccess
|
92
92
|
|
93
|
+
interface _BatchUpdateExclusionWindowsResponseSuccess
|
94
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateExclusionWindowsOutput]
|
95
|
+
def slo_ids: () -> ::Array[::String]
|
96
|
+
def errors: () -> ::Array[Types::BatchUpdateExclusionWindowsError]
|
97
|
+
end
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#batch_update_exclusion_windows-instance_method
|
99
|
+
def batch_update_exclusion_windows: (
|
100
|
+
slo_ids: Array[::String],
|
101
|
+
?add_exclusion_windows: Array[
|
102
|
+
{
|
103
|
+
window: {
|
104
|
+
duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"),
|
105
|
+
duration: ::Integer
|
106
|
+
},
|
107
|
+
start_time: ::Time?,
|
108
|
+
recurrence_rule: {
|
109
|
+
expression: ::String
|
110
|
+
}?,
|
111
|
+
reason: ::String?
|
112
|
+
},
|
113
|
+
],
|
114
|
+
?remove_exclusion_windows: Array[
|
115
|
+
{
|
116
|
+
window: {
|
117
|
+
duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"),
|
118
|
+
duration: ::Integer
|
119
|
+
},
|
120
|
+
start_time: ::Time?,
|
121
|
+
recurrence_rule: {
|
122
|
+
expression: ::String
|
123
|
+
}?,
|
124
|
+
reason: ::String?
|
125
|
+
},
|
126
|
+
]
|
127
|
+
) -> _BatchUpdateExclusionWindowsResponseSuccess
|
128
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateExclusionWindowsResponseSuccess
|
129
|
+
|
93
130
|
interface _CreateServiceLevelObjectiveResponseSuccess
|
94
131
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateServiceLevelObjectiveOutput]
|
95
132
|
def slo: () -> Types::ServiceLevelObjective
|
@@ -129,7 +166,11 @@ module Aws
|
|
129
166
|
period: ::Integer?,
|
130
167
|
account_id: ::String?
|
131
168
|
},
|
132
|
-
]
|
169
|
+
]?,
|
170
|
+
dependency_config: {
|
171
|
+
dependency_key_attributes: Hash[::String, ::String],
|
172
|
+
dependency_operation_name: ::String
|
173
|
+
}?
|
133
174
|
},
|
134
175
|
metric_threshold: ::Float,
|
135
176
|
comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")
|
@@ -215,6 +256,10 @@ module Aws
|
|
215
256
|
account_id: ::String?
|
216
257
|
},
|
217
258
|
]?
|
259
|
+
}?,
|
260
|
+
dependency_config: {
|
261
|
+
dependency_key_attributes: Hash[::String, ::String],
|
262
|
+
dependency_operation_name: ::String
|
218
263
|
}?
|
219
264
|
},
|
220
265
|
metric_threshold: ::Float?,
|
@@ -317,6 +362,19 @@ module Aws
|
|
317
362
|
) -> _ListServiceDependentsResponseSuccess
|
318
363
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceDependentsResponseSuccess
|
319
364
|
|
365
|
+
interface _ListServiceLevelObjectiveExclusionWindowsResponseSuccess
|
366
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceLevelObjectiveExclusionWindowsOutput]
|
367
|
+
def exclusion_windows: () -> ::Array[Types::ExclusionWindow]
|
368
|
+
def next_token: () -> ::String
|
369
|
+
end
|
370
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_service_level_objective_exclusion_windows-instance_method
|
371
|
+
def list_service_level_objective_exclusion_windows: (
|
372
|
+
id: ::String,
|
373
|
+
?max_results: ::Integer,
|
374
|
+
?next_token: ::String
|
375
|
+
) -> _ListServiceLevelObjectiveExclusionWindowsResponseSuccess
|
376
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceLevelObjectiveExclusionWindowsResponseSuccess
|
377
|
+
|
320
378
|
interface _ListServiceLevelObjectivesResponseSuccess
|
321
379
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceLevelObjectivesOutput]
|
322
380
|
def slo_summaries: () -> ::Array[Types::ServiceLevelObjectiveSummary]
|
@@ -326,8 +384,13 @@ module Aws
|
|
326
384
|
def list_service_level_objectives: (
|
327
385
|
?key_attributes: Hash[::String, ::String],
|
328
386
|
?operation_name: ::String,
|
387
|
+
?dependency_config: {
|
388
|
+
dependency_key_attributes: Hash[::String, ::String],
|
389
|
+
dependency_operation_name: ::String
|
390
|
+
},
|
329
391
|
?max_results: ::Integer,
|
330
392
|
?next_token: ::String,
|
393
|
+
?metric_source_types: Array[("ServiceOperation" | "CloudWatchMetric" | "ServiceDependency")],
|
331
394
|
?include_linked_accounts: bool,
|
332
395
|
?slo_owner_aws_account_id: ::String
|
333
396
|
) -> _ListServiceLevelObjectivesResponseSuccess
|
@@ -450,7 +513,11 @@ module Aws
|
|
450
513
|
period: ::Integer?,
|
451
514
|
account_id: ::String?
|
452
515
|
},
|
453
|
-
]
|
516
|
+
]?,
|
517
|
+
dependency_config: {
|
518
|
+
dependency_key_attributes: Hash[::String, ::String],
|
519
|
+
dependency_operation_name: ::String
|
520
|
+
}?
|
454
521
|
},
|
455
522
|
metric_threshold: ::Float,
|
456
523
|
comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")
|
@@ -536,6 +603,10 @@ module Aws
|
|
536
603
|
account_id: ::String?
|
537
604
|
},
|
538
605
|
]?
|
606
|
+
}?,
|
607
|
+
dependency_config: {
|
608
|
+
dependency_key_attributes: Hash[::String, ::String],
|
609
|
+
dependency_operation_name: ::String
|
539
610
|
}?
|
540
611
|
},
|
541
612
|
metric_threshold: ::Float?,
|