aws-sdk-applicationsignals 1.16.0 → 1.17.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationsignals/client.rb +36 -1
- data/lib/aws-sdk-applicationsignals/client_api.rb +7 -0
- data/lib/aws-sdk-applicationsignals/types.rb +37 -4
- data/lib/aws-sdk-applicationsignals.rb +1 -1
- data/sig/client.rbs +6 -2
- data/sig/types.rbs +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d128c80a1f3838373ff167259ae6cdf675c72a68628ba2a944d4085effd47f14
|
4
|
+
data.tar.gz: bb5e8842a6cfff942581b1151083e12991f89a6aeda657503b6d7c08960a2de9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 190437bdaf6b1fb7f202f57169a89a46da9dfe750aa6008a47d2be748e3a3cf329bf135ef28cbec793e5165e3ae41781333fd1799499285a4b7a474d53d57d17
|
7
|
+
data.tar.gz: e251cf8dfa7524c8a1ed8a133641ebf96fb46583967d06d6e193567d4f74c0bd9b71c3649777f2d3dfcf3837d37338e8b5cdce8d15865be54646459b5a7bccdf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.17.0 (2025-02-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds API support for reading Service Level Objectives and Services from monitoring accounts, from SLO and Service-scoped operations, including ListServices and ListServiceLevelObjectives.
|
8
|
+
|
4
9
|
1.16.0 (2025-02-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -636,6 +636,12 @@ module Aws::ApplicationSignals
|
|
636
636
|
# availability. You can also set SLOs against any CloudWatch metric or
|
637
637
|
# math expression that produces a time series.
|
638
638
|
#
|
639
|
+
# <note markdown="1"> You can't create an SLO for a service operation that was discovered
|
640
|
+
# by Application Signals until after that operation has reported
|
641
|
+
# standard metrics to Application Signals.
|
642
|
+
#
|
643
|
+
# </note>
|
644
|
+
#
|
639
645
|
# When you create an SLO, you specify whether it is a *period-based SLO*
|
640
646
|
# or a *request-based SLO*. Each type of SLO has a different way of
|
641
647
|
# evaluating your application's performance against its attainment
|
@@ -1098,6 +1104,7 @@ module Aws::ApplicationSignals
|
|
1098
1104
|
# resp.service.metric_references[0].dimensions[0].name #=> String
|
1099
1105
|
# resp.service.metric_references[0].dimensions[0].value #=> String
|
1100
1106
|
# resp.service.metric_references[0].metric_name #=> String
|
1107
|
+
# resp.service.metric_references[0].account_id #=> String
|
1101
1108
|
# resp.service.log_group_references #=> Array
|
1102
1109
|
# resp.service.log_group_references[0] #=> Hash
|
1103
1110
|
# resp.service.log_group_references[0]["KeyAttributeName"] #=> String
|
@@ -1325,6 +1332,7 @@ module Aws::ApplicationSignals
|
|
1325
1332
|
# resp.service_dependencies[0].metric_references[0].dimensions[0].name #=> String
|
1326
1333
|
# resp.service_dependencies[0].metric_references[0].dimensions[0].value #=> String
|
1327
1334
|
# resp.service_dependencies[0].metric_references[0].metric_name #=> String
|
1335
|
+
# resp.service_dependencies[0].metric_references[0].account_id #=> String
|
1328
1336
|
# resp.next_token #=> String
|
1329
1337
|
#
|
1330
1338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceDependencies AWS API Documentation
|
@@ -1424,6 +1432,7 @@ module Aws::ApplicationSignals
|
|
1424
1432
|
# resp.service_dependents[0].metric_references[0].dimensions[0].name #=> String
|
1425
1433
|
# resp.service_dependents[0].metric_references[0].dimensions[0].value #=> String
|
1426
1434
|
# resp.service_dependents[0].metric_references[0].metric_name #=> String
|
1435
|
+
# resp.service_dependents[0].metric_references[0].account_id #=> String
|
1427
1436
|
# resp.next_token #=> String
|
1428
1437
|
#
|
1429
1438
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceDependents AWS API Documentation
|
@@ -1471,6 +1480,18 @@ module Aws::ApplicationSignals
|
|
1471
1480
|
# Include this value, if it was returned by the previous operation, to
|
1472
1481
|
# get the next set of service level objectives.
|
1473
1482
|
#
|
1483
|
+
# @option params [Boolean] :include_linked_accounts
|
1484
|
+
# If you are using this operation in a monitoring account, specify
|
1485
|
+
# `true` to include SLO from source accounts in the returned data.
|
1486
|
+
# </p> <p>When you are monitoring an account, you can use Amazon Web
|
1487
|
+
# Services account ID in <code>KeyAttribute</code> filter for service
|
1488
|
+
# source account and <code>SloOwnerawsaccountID</code> for SLO source
|
1489
|
+
# account with <code>IncludeLinkedAccounts</code> to filter the returned
|
1490
|
+
# data to only a single source account. </p>
|
1491
|
+
#
|
1492
|
+
# @option params [String] :slo_owner_aws_account_id
|
1493
|
+
# SLO's Amazon Web Services account ID.
|
1494
|
+
#
|
1474
1495
|
# @return [Types::ListServiceLevelObjectivesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1475
1496
|
#
|
1476
1497
|
# * {Types::ListServiceLevelObjectivesOutput#slo_summaries #slo_summaries} => Array<Types::ServiceLevelObjectiveSummary>
|
@@ -1487,6 +1508,8 @@ module Aws::ApplicationSignals
|
|
1487
1508
|
# operation_name: "OperationName",
|
1488
1509
|
# max_results: 1,
|
1489
1510
|
# next_token: "NextToken",
|
1511
|
+
# include_linked_accounts: false,
|
1512
|
+
# slo_owner_aws_account_id: "AwsAccountId",
|
1490
1513
|
# })
|
1491
1514
|
#
|
1492
1515
|
# @example Response structure
|
@@ -1593,6 +1616,7 @@ module Aws::ApplicationSignals
|
|
1593
1616
|
# resp.service_operations[0].metric_references[0].dimensions[0].name #=> String
|
1594
1617
|
# resp.service_operations[0].metric_references[0].dimensions[0].value #=> String
|
1595
1618
|
# resp.service_operations[0].metric_references[0].metric_name #=> String
|
1619
|
+
# resp.service_operations[0].metric_references[0].account_id #=> String
|
1596
1620
|
# resp.next_token #=> String
|
1597
1621
|
#
|
1598
1622
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceOperations AWS API Documentation
|
@@ -1631,6 +1655,14 @@ module Aws::ApplicationSignals
|
|
1631
1655
|
# Include this value, if it was returned by the previous operation, to
|
1632
1656
|
# get the next set of services.
|
1633
1657
|
#
|
1658
|
+
# @option params [Boolean] :include_linked_accounts
|
1659
|
+
# If you are using this operation in a monitoring account, specify
|
1660
|
+
# `true` to include services from source accounts in the returned data.
|
1661
|
+
# </p>
|
1662
|
+
#
|
1663
|
+
# @option params [String] :aws_account_id
|
1664
|
+
# Amazon Web Services Account ID.
|
1665
|
+
#
|
1634
1666
|
# @return [Types::ListServicesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1635
1667
|
#
|
1636
1668
|
# * {Types::ListServicesOutput#start_time #start_time} => Time
|
@@ -1647,6 +1679,8 @@ module Aws::ApplicationSignals
|
|
1647
1679
|
# end_time: Time.now, # required
|
1648
1680
|
# max_results: 1,
|
1649
1681
|
# next_token: "NextToken",
|
1682
|
+
# include_linked_accounts: false,
|
1683
|
+
# aws_account_id: "AwsAccountId",
|
1650
1684
|
# })
|
1651
1685
|
#
|
1652
1686
|
# @example Response structure
|
@@ -1666,6 +1700,7 @@ module Aws::ApplicationSignals
|
|
1666
1700
|
# resp.service_summaries[0].metric_references[0].dimensions[0].name #=> String
|
1667
1701
|
# resp.service_summaries[0].metric_references[0].dimensions[0].value #=> String
|
1668
1702
|
# resp.service_summaries[0].metric_references[0].metric_name #=> String
|
1703
|
+
# resp.service_summaries[0].metric_references[0].account_id #=> String
|
1669
1704
|
# resp.next_token #=> String
|
1670
1705
|
#
|
1671
1706
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServices AWS API Documentation
|
@@ -2160,7 +2195,7 @@ module Aws::ApplicationSignals
|
|
2160
2195
|
tracer: tracer
|
2161
2196
|
)
|
2162
2197
|
context[:gem_name] = 'aws-sdk-applicationsignals'
|
2163
|
-
context[:gem_version] = '1.
|
2198
|
+
context[:gem_version] = '1.17.0'
|
2164
2199
|
Seahorse::Client::Request.new(handlers, context)
|
2165
2200
|
end
|
2166
2201
|
|
@@ -22,8 +22,10 @@ module Aws::ApplicationSignals
|
|
22
22
|
AttributeMap = Shapes::MapShape.new(name: 'AttributeMap')
|
23
23
|
AttributeMaps = Shapes::ListShape.new(name: 'AttributeMaps')
|
24
24
|
Attributes = Shapes::MapShape.new(name: 'Attributes')
|
25
|
+
AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
|
25
26
|
BatchGetServiceLevelObjectiveBudgetReportInput = Shapes::StructureShape.new(name: 'BatchGetServiceLevelObjectiveBudgetReportInput')
|
26
27
|
BatchGetServiceLevelObjectiveBudgetReportOutput = Shapes::StructureShape.new(name: 'BatchGetServiceLevelObjectiveBudgetReportOutput')
|
28
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
27
29
|
BudgetRequestsRemaining = Shapes::IntegerShape.new(name: 'BudgetRequestsRemaining')
|
28
30
|
BudgetSecondsRemaining = Shapes::IntegerShape.new(name: 'BudgetSecondsRemaining')
|
29
31
|
BurnRateConfiguration = Shapes::StructureShape.new(name: 'BurnRateConfiguration')
|
@@ -270,6 +272,8 @@ module Aws::ApplicationSignals
|
|
270
272
|
ListServiceLevelObjectivesInput.add_member(:operation_name, Shapes::ShapeRef.new(shape: OperationName, location: "querystring", location_name: "OperationName"))
|
271
273
|
ListServiceLevelObjectivesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListServiceLevelObjectivesMaxResults, location: "querystring", location_name: "MaxResults"))
|
272
274
|
ListServiceLevelObjectivesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
275
|
+
ListServiceLevelObjectivesInput.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "IncludeLinkedAccounts"))
|
276
|
+
ListServiceLevelObjectivesInput.add_member(:slo_owner_aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location: "querystring", location_name: "SloOwnerAwsAccountId"))
|
273
277
|
ListServiceLevelObjectivesInput.struct_class = Types::ListServiceLevelObjectivesInput
|
274
278
|
|
275
279
|
ListServiceLevelObjectivesOutput.add_member(:slo_summaries, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveSummaries, location_name: "SloSummaries"))
|
@@ -293,6 +297,8 @@ module Aws::ApplicationSignals
|
|
293
297
|
ListServicesInput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "EndTime"))
|
294
298
|
ListServicesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListServicesMaxResults, location: "querystring", location_name: "MaxResults"))
|
295
299
|
ListServicesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
300
|
+
ListServicesInput.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "IncludeLinkedAccounts"))
|
301
|
+
ListServicesInput.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location: "querystring", location_name: "AwsAccountId"))
|
296
302
|
ListServicesInput.struct_class = Types::ListServicesInput
|
297
303
|
|
298
304
|
ListServicesOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
@@ -329,6 +335,7 @@ module Aws::ApplicationSignals
|
|
329
335
|
MetricReference.add_member(:metric_type, Shapes::ShapeRef.new(shape: MetricType, required: true, location_name: "MetricType"))
|
330
336
|
MetricReference.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "Dimensions"))
|
331
337
|
MetricReference.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
338
|
+
MetricReference.add_member(:account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "AccountId"))
|
332
339
|
MetricReference.struct_class = Types::MetricReference
|
333
340
|
|
334
341
|
MetricReferences.member = Shapes::ShapeRef.new(shape: MetricReference)
|
@@ -76,7 +76,7 @@ module Aws::ApplicationSignals
|
|
76
76
|
# For example, if you specify 60 as the number of minutes in the
|
77
77
|
# look-back window, the burn rate is calculated as the following:
|
78
78
|
#
|
79
|
-
# *burn rate = error rate over the look-back window / (
|
79
|
+
# *burn rate = error rate over the look-back window / (100% - attainment
|
80
80
|
# goal percentage)*
|
81
81
|
#
|
82
82
|
# For more information about burn rates, see [Calculate burn rates][1].
|
@@ -718,13 +718,29 @@ module Aws::ApplicationSignals
|
|
718
718
|
# get the next set of service level objectives.
|
719
719
|
# @return [String]
|
720
720
|
#
|
721
|
+
# @!attribute [rw] include_linked_accounts
|
722
|
+
# If you are using this operation in a monitoring account, specify
|
723
|
+
# `true` to include SLO from source accounts in the returned data.
|
724
|
+
# </p> <p>When you are monitoring an account, you can use Amazon Web
|
725
|
+
# Services account ID in <code>KeyAttribute</code> filter for service
|
726
|
+
# source account and <code>SloOwnerawsaccountID</code> for SLO source
|
727
|
+
# account with <code>IncludeLinkedAccounts</code> to filter the
|
728
|
+
# returned data to only a single source account. </p>
|
729
|
+
# @return [Boolean]
|
730
|
+
#
|
731
|
+
# @!attribute [rw] slo_owner_aws_account_id
|
732
|
+
# SLO's Amazon Web Services account ID.
|
733
|
+
# @return [String]
|
734
|
+
#
|
721
735
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectivesInput AWS API Documentation
|
722
736
|
#
|
723
737
|
class ListServiceLevelObjectivesInput < Struct.new(
|
724
738
|
:key_attributes,
|
725
739
|
:operation_name,
|
726
740
|
:max_results,
|
727
|
-
:next_token
|
741
|
+
:next_token,
|
742
|
+
:include_linked_accounts,
|
743
|
+
:slo_owner_aws_account_id)
|
728
744
|
SENSITIVE = []
|
729
745
|
include Aws::Structure
|
730
746
|
end
|
@@ -878,13 +894,25 @@ module Aws::ApplicationSignals
|
|
878
894
|
# get the next set of services.
|
879
895
|
# @return [String]
|
880
896
|
#
|
897
|
+
# @!attribute [rw] include_linked_accounts
|
898
|
+
# If you are using this operation in a monitoring account, specify
|
899
|
+
# `true` to include services from source accounts in the returned
|
900
|
+
# data. </p>
|
901
|
+
# @return [Boolean]
|
902
|
+
#
|
903
|
+
# @!attribute [rw] aws_account_id
|
904
|
+
# Amazon Web Services Account ID.
|
905
|
+
# @return [String]
|
906
|
+
#
|
881
907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServicesInput AWS API Documentation
|
882
908
|
#
|
883
909
|
class ListServicesInput < Struct.new(
|
884
910
|
:start_time,
|
885
911
|
:end_time,
|
886
912
|
:max_results,
|
887
|
-
:next_token
|
913
|
+
:next_token,
|
914
|
+
:include_linked_accounts,
|
915
|
+
:aws_account_id)
|
888
916
|
SENSITIVE = []
|
889
917
|
include Aws::Structure
|
890
918
|
end
|
@@ -1164,13 +1192,18 @@ module Aws::ApplicationSignals
|
|
1164
1192
|
# The name of the metric.
|
1165
1193
|
# @return [String]
|
1166
1194
|
#
|
1195
|
+
# @!attribute [rw] account_id
|
1196
|
+
# Amazon Web Services account ID.
|
1197
|
+
# @return [String]
|
1198
|
+
#
|
1167
1199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/MetricReference AWS API Documentation
|
1168
1200
|
#
|
1169
1201
|
class MetricReference < Struct.new(
|
1170
1202
|
:namespace,
|
1171
1203
|
:metric_type,
|
1172
1204
|
:dimensions,
|
1173
|
-
:metric_name
|
1205
|
+
:metric_name,
|
1206
|
+
:account_id)
|
1174
1207
|
SENSITIVE = []
|
1175
1208
|
include Aws::Structure
|
1176
1209
|
end
|
data/sig/client.rbs
CHANGED
@@ -327,7 +327,9 @@ module Aws
|
|
327
327
|
?key_attributes: Hash[::String, ::String],
|
328
328
|
?operation_name: ::String,
|
329
329
|
?max_results: ::Integer,
|
330
|
-
?next_token: ::String
|
330
|
+
?next_token: ::String,
|
331
|
+
?include_linked_accounts: bool,
|
332
|
+
?slo_owner_aws_account_id: ::String
|
331
333
|
) -> _ListServiceLevelObjectivesResponseSuccess
|
332
334
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceLevelObjectivesResponseSuccess
|
333
335
|
|
@@ -360,7 +362,9 @@ module Aws
|
|
360
362
|
start_time: ::Time,
|
361
363
|
end_time: ::Time,
|
362
364
|
?max_results: ::Integer,
|
363
|
-
?next_token: ::String
|
365
|
+
?next_token: ::String,
|
366
|
+
?include_linked_accounts: bool,
|
367
|
+
?aws_account_id: ::String
|
364
368
|
) -> _ListServicesResponseSuccess
|
365
369
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServicesResponseSuccess
|
366
370
|
|
data/sig/types.rbs
CHANGED
@@ -158,6 +158,8 @@ module Aws::ApplicationSignals
|
|
158
158
|
attr_accessor operation_name: ::String
|
159
159
|
attr_accessor max_results: ::Integer
|
160
160
|
attr_accessor next_token: ::String
|
161
|
+
attr_accessor include_linked_accounts: bool
|
162
|
+
attr_accessor slo_owner_aws_account_id: ::String
|
161
163
|
SENSITIVE: []
|
162
164
|
end
|
163
165
|
|
@@ -189,6 +191,8 @@ module Aws::ApplicationSignals
|
|
189
191
|
attr_accessor end_time: ::Time
|
190
192
|
attr_accessor max_results: ::Integer
|
191
193
|
attr_accessor next_token: ::String
|
194
|
+
attr_accessor include_linked_accounts: bool
|
195
|
+
attr_accessor aws_account_id: ::String
|
192
196
|
SENSITIVE: []
|
193
197
|
end
|
194
198
|
|
@@ -233,6 +237,7 @@ module Aws::ApplicationSignals
|
|
233
237
|
attr_accessor metric_type: ::String
|
234
238
|
attr_accessor dimensions: ::Array[Types::Dimension]
|
235
239
|
attr_accessor metric_name: ::String
|
240
|
+
attr_accessor account_id: ::String
|
236
241
|
SENSITIVE: []
|
237
242
|
end
|
238
243
|
|
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.17.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: 2025-02-
|
11
|
+
date: 2025-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|