aws-sdk-applicationsignals 1.16.0 → 1.18.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 +152 -1
- data/lib/aws-sdk-applicationsignals/client_api.rb +91 -0
- data/lib/aws-sdk-applicationsignals/types.rb +213 -4
- data/lib/aws-sdk-applicationsignals.rb +1 -1
- data/sig/client.rbs +56 -2
- data/sig/types.rbs +57 -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: 5a6d790c099c460ea40c1b76b81e13a0e0f32b87566b5b67aa76fc543d2845d3
|
4
|
+
data.tar.gz: 4709f767ca3f2b5179fd12566461154c64e2c27bfe33cebb4da45364ad887f65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fa3b65ce2693611ee7b03a666d1acb7d196153b11617f249ca9a8490e17d140d365b116b91e06cc8c0ba20b2861a17342ce45be87753a28f4ce54402fdd157b
|
7
|
+
data.tar.gz: dbd54795a1c4d3f595be0b54cc3a786ecac4c71efb41d881d0d6fafd726737e45dae33de9942364a8f5229119375b7253cf72cd72f4f7084f440e20ff81ac2f8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2025-03-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for adding, removing, and listing SLO time exclusion windows with the BatchUpdateExclusionWindows and ListServiceLevelObjectiveExclusionWindows APIs.
|
8
|
+
|
9
|
+
1.17.0 (2025-02-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.16.0 (2025-02-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -617,6 +617,75 @@ module Aws::ApplicationSignals
|
|
617
617
|
req.send_request(options)
|
618
618
|
end
|
619
619
|
|
620
|
+
# Add or remove time window exclusions for one or more Service Level
|
621
|
+
# Objectives (SLOs).
|
622
|
+
#
|
623
|
+
# @option params [required, Array<String>] :slo_ids
|
624
|
+
# The list of SLO IDs to add or remove exclusion windows from.
|
625
|
+
#
|
626
|
+
# @option params [Array<Types::ExclusionWindow>] :add_exclusion_windows
|
627
|
+
# A list of exclusion windows to add to the specified SLOs. You can add
|
628
|
+
# up to 10 exclusion windows per SLO.
|
629
|
+
#
|
630
|
+
# @option params [Array<Types::ExclusionWindow>] :remove_exclusion_windows
|
631
|
+
# A list of exclusion windows to remove from the specified SLOs. The
|
632
|
+
# window configuration must match an existing exclusion window.
|
633
|
+
#
|
634
|
+
# @return [Types::BatchUpdateExclusionWindowsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
635
|
+
#
|
636
|
+
# * {Types::BatchUpdateExclusionWindowsOutput#slo_ids #slo_ids} => Array<String>
|
637
|
+
# * {Types::BatchUpdateExclusionWindowsOutput#errors #errors} => Array<Types::BatchUpdateExclusionWindowsError>
|
638
|
+
#
|
639
|
+
# @example Request syntax with placeholder values
|
640
|
+
#
|
641
|
+
# resp = client.batch_update_exclusion_windows({
|
642
|
+
# slo_ids: ["String"], # required
|
643
|
+
# add_exclusion_windows: [
|
644
|
+
# {
|
645
|
+
# window: { # required
|
646
|
+
# duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH
|
647
|
+
# duration: 1, # required
|
648
|
+
# },
|
649
|
+
# start_time: Time.now,
|
650
|
+
# recurrence_rule: {
|
651
|
+
# expression: "Expression", # required
|
652
|
+
# },
|
653
|
+
# reason: "ExclusionReason",
|
654
|
+
# },
|
655
|
+
# ],
|
656
|
+
# remove_exclusion_windows: [
|
657
|
+
# {
|
658
|
+
# window: { # required
|
659
|
+
# duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH
|
660
|
+
# duration: 1, # required
|
661
|
+
# },
|
662
|
+
# start_time: Time.now,
|
663
|
+
# recurrence_rule: {
|
664
|
+
# expression: "Expression", # required
|
665
|
+
# },
|
666
|
+
# reason: "ExclusionReason",
|
667
|
+
# },
|
668
|
+
# ],
|
669
|
+
# })
|
670
|
+
#
|
671
|
+
# @example Response structure
|
672
|
+
#
|
673
|
+
# resp.slo_ids #=> Array
|
674
|
+
# resp.slo_ids[0] #=> String
|
675
|
+
# resp.errors #=> Array
|
676
|
+
# resp.errors[0].slo_id #=> String
|
677
|
+
# resp.errors[0].error_code #=> String
|
678
|
+
# resp.errors[0].error_message #=> String
|
679
|
+
#
|
680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchUpdateExclusionWindows AWS API Documentation
|
681
|
+
#
|
682
|
+
# @overload batch_update_exclusion_windows(params = {})
|
683
|
+
# @param [Hash] params ({})
|
684
|
+
def batch_update_exclusion_windows(params = {}, options = {})
|
685
|
+
req = build_request(:batch_update_exclusion_windows, params)
|
686
|
+
req.send_request(options)
|
687
|
+
end
|
688
|
+
|
620
689
|
# Creates a service level objective (SLO), which can help you ensure
|
621
690
|
# that your critical business operations are meeting customer
|
622
691
|
# expectations. Use SLOs to set and track specific target levels for the
|
@@ -636,6 +705,12 @@ module Aws::ApplicationSignals
|
|
636
705
|
# availability. You can also set SLOs against any CloudWatch metric or
|
637
706
|
# math expression that produces a time series.
|
638
707
|
#
|
708
|
+
# <note markdown="1"> You can't create an SLO for a service operation that was discovered
|
709
|
+
# by Application Signals until after that operation has reported
|
710
|
+
# standard metrics to Application Signals.
|
711
|
+
#
|
712
|
+
# </note>
|
713
|
+
#
|
639
714
|
# When you create an SLO, you specify whether it is a *period-based SLO*
|
640
715
|
# or a *request-based SLO*. Each type of SLO has a different way of
|
641
716
|
# evaluating your application's performance against its attainment
|
@@ -1098,6 +1173,7 @@ module Aws::ApplicationSignals
|
|
1098
1173
|
# resp.service.metric_references[0].dimensions[0].name #=> String
|
1099
1174
|
# resp.service.metric_references[0].dimensions[0].value #=> String
|
1100
1175
|
# resp.service.metric_references[0].metric_name #=> String
|
1176
|
+
# resp.service.metric_references[0].account_id #=> String
|
1101
1177
|
# resp.service.log_group_references #=> Array
|
1102
1178
|
# resp.service.log_group_references[0] #=> Hash
|
1103
1179
|
# resp.service.log_group_references[0]["KeyAttributeName"] #=> String
|
@@ -1325,6 +1401,7 @@ module Aws::ApplicationSignals
|
|
1325
1401
|
# resp.service_dependencies[0].metric_references[0].dimensions[0].name #=> String
|
1326
1402
|
# resp.service_dependencies[0].metric_references[0].dimensions[0].value #=> String
|
1327
1403
|
# resp.service_dependencies[0].metric_references[0].metric_name #=> String
|
1404
|
+
# resp.service_dependencies[0].metric_references[0].account_id #=> String
|
1328
1405
|
# resp.next_token #=> String
|
1329
1406
|
#
|
1330
1407
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceDependencies AWS API Documentation
|
@@ -1424,6 +1501,7 @@ module Aws::ApplicationSignals
|
|
1424
1501
|
# resp.service_dependents[0].metric_references[0].dimensions[0].name #=> String
|
1425
1502
|
# resp.service_dependents[0].metric_references[0].dimensions[0].value #=> String
|
1426
1503
|
# resp.service_dependents[0].metric_references[0].metric_name #=> String
|
1504
|
+
# resp.service_dependents[0].metric_references[0].account_id #=> String
|
1427
1505
|
# resp.next_token #=> String
|
1428
1506
|
#
|
1429
1507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceDependents AWS API Documentation
|
@@ -1435,6 +1513,53 @@ module Aws::ApplicationSignals
|
|
1435
1513
|
req.send_request(options)
|
1436
1514
|
end
|
1437
1515
|
|
1516
|
+
# Retrieves all exclusion windows configured for a specific SLO.
|
1517
|
+
#
|
1518
|
+
# @option params [required, String] :id
|
1519
|
+
# The ID of the SLO to list exclusion windows for.
|
1520
|
+
#
|
1521
|
+
# @option params [Integer] :max_results
|
1522
|
+
# The maximum number of results to return in one operation. If you omit
|
1523
|
+
# this parameter, the default of 50 is used. </p>
|
1524
|
+
#
|
1525
|
+
# @option params [String] :next_token
|
1526
|
+
# Include this value, if it was returned by the previous operation, to
|
1527
|
+
# get the next set of service level objectives. </p>
|
1528
|
+
#
|
1529
|
+
# @return [Types::ListServiceLevelObjectiveExclusionWindowsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1530
|
+
#
|
1531
|
+
# * {Types::ListServiceLevelObjectiveExclusionWindowsOutput#exclusion_windows #exclusion_windows} => Array<Types::ExclusionWindow>
|
1532
|
+
# * {Types::ListServiceLevelObjectiveExclusionWindowsOutput#next_token #next_token} => String
|
1533
|
+
#
|
1534
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1535
|
+
#
|
1536
|
+
# @example Request syntax with placeholder values
|
1537
|
+
#
|
1538
|
+
# resp = client.list_service_level_objective_exclusion_windows({
|
1539
|
+
# id: "ServiceLevelObjectiveId", # required
|
1540
|
+
# max_results: 1,
|
1541
|
+
# next_token: "NextToken",
|
1542
|
+
# })
|
1543
|
+
#
|
1544
|
+
# @example Response structure
|
1545
|
+
#
|
1546
|
+
# resp.exclusion_windows #=> Array
|
1547
|
+
# resp.exclusion_windows[0].window.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH"
|
1548
|
+
# resp.exclusion_windows[0].window.duration #=> Integer
|
1549
|
+
# resp.exclusion_windows[0].start_time #=> Time
|
1550
|
+
# resp.exclusion_windows[0].recurrence_rule.expression #=> String
|
1551
|
+
# resp.exclusion_windows[0].reason #=> String
|
1552
|
+
# resp.next_token #=> String
|
1553
|
+
#
|
1554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectiveExclusionWindows AWS API Documentation
|
1555
|
+
#
|
1556
|
+
# @overload list_service_level_objective_exclusion_windows(params = {})
|
1557
|
+
# @param [Hash] params ({})
|
1558
|
+
def list_service_level_objective_exclusion_windows(params = {}, options = {})
|
1559
|
+
req = build_request(:list_service_level_objective_exclusion_windows, params)
|
1560
|
+
req.send_request(options)
|
1561
|
+
end
|
1562
|
+
|
1438
1563
|
# Returns a list of SLOs created in this account.
|
1439
1564
|
#
|
1440
1565
|
# @option params [Hash<String,String>] :key_attributes
|
@@ -1471,6 +1596,18 @@ module Aws::ApplicationSignals
|
|
1471
1596
|
# Include this value, if it was returned by the previous operation, to
|
1472
1597
|
# get the next set of service level objectives.
|
1473
1598
|
#
|
1599
|
+
# @option params [Boolean] :include_linked_accounts
|
1600
|
+
# If you are using this operation in a monitoring account, specify
|
1601
|
+
# `true` to include SLO from source accounts in the returned data.
|
1602
|
+
# </p> <p>When you are monitoring an account, you can use Amazon Web
|
1603
|
+
# Services account ID in <code>KeyAttribute</code> filter for service
|
1604
|
+
# source account and <code>SloOwnerawsaccountID</code> for SLO source
|
1605
|
+
# account with <code>IncludeLinkedAccounts</code> to filter the returned
|
1606
|
+
# data to only a single source account. </p>
|
1607
|
+
#
|
1608
|
+
# @option params [String] :slo_owner_aws_account_id
|
1609
|
+
# SLO's Amazon Web Services account ID.
|
1610
|
+
#
|
1474
1611
|
# @return [Types::ListServiceLevelObjectivesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1475
1612
|
#
|
1476
1613
|
# * {Types::ListServiceLevelObjectivesOutput#slo_summaries #slo_summaries} => Array<Types::ServiceLevelObjectiveSummary>
|
@@ -1487,6 +1624,8 @@ module Aws::ApplicationSignals
|
|
1487
1624
|
# operation_name: "OperationName",
|
1488
1625
|
# max_results: 1,
|
1489
1626
|
# next_token: "NextToken",
|
1627
|
+
# include_linked_accounts: false,
|
1628
|
+
# slo_owner_aws_account_id: "AwsAccountId",
|
1490
1629
|
# })
|
1491
1630
|
#
|
1492
1631
|
# @example Response structure
|
@@ -1593,6 +1732,7 @@ module Aws::ApplicationSignals
|
|
1593
1732
|
# resp.service_operations[0].metric_references[0].dimensions[0].name #=> String
|
1594
1733
|
# resp.service_operations[0].metric_references[0].dimensions[0].value #=> String
|
1595
1734
|
# resp.service_operations[0].metric_references[0].metric_name #=> String
|
1735
|
+
# resp.service_operations[0].metric_references[0].account_id #=> String
|
1596
1736
|
# resp.next_token #=> String
|
1597
1737
|
#
|
1598
1738
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceOperations AWS API Documentation
|
@@ -1631,6 +1771,14 @@ module Aws::ApplicationSignals
|
|
1631
1771
|
# Include this value, if it was returned by the previous operation, to
|
1632
1772
|
# get the next set of services.
|
1633
1773
|
#
|
1774
|
+
# @option params [Boolean] :include_linked_accounts
|
1775
|
+
# If you are using this operation in a monitoring account, specify
|
1776
|
+
# `true` to include services from source accounts in the returned data.
|
1777
|
+
# </p>
|
1778
|
+
#
|
1779
|
+
# @option params [String] :aws_account_id
|
1780
|
+
# Amazon Web Services Account ID.
|
1781
|
+
#
|
1634
1782
|
# @return [Types::ListServicesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1635
1783
|
#
|
1636
1784
|
# * {Types::ListServicesOutput#start_time #start_time} => Time
|
@@ -1647,6 +1795,8 @@ module Aws::ApplicationSignals
|
|
1647
1795
|
# end_time: Time.now, # required
|
1648
1796
|
# max_results: 1,
|
1649
1797
|
# next_token: "NextToken",
|
1798
|
+
# include_linked_accounts: false,
|
1799
|
+
# aws_account_id: "AwsAccountId",
|
1650
1800
|
# })
|
1651
1801
|
#
|
1652
1802
|
# @example Response structure
|
@@ -1666,6 +1816,7 @@ module Aws::ApplicationSignals
|
|
1666
1816
|
# resp.service_summaries[0].metric_references[0].dimensions[0].name #=> String
|
1667
1817
|
# resp.service_summaries[0].metric_references[0].dimensions[0].value #=> String
|
1668
1818
|
# resp.service_summaries[0].metric_references[0].metric_name #=> String
|
1819
|
+
# resp.service_summaries[0].metric_references[0].account_id #=> String
|
1669
1820
|
# resp.next_token #=> String
|
1670
1821
|
#
|
1671
1822
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServices AWS API Documentation
|
@@ -2160,7 +2311,7 @@ module Aws::ApplicationSignals
|
|
2160
2311
|
tracer: tracer
|
2161
2312
|
)
|
2162
2313
|
context[:gem_name] = 'aws-sdk-applicationsignals'
|
2163
|
-
context[:gem_version] = '1.
|
2314
|
+
context[:gem_version] = '1.18.0'
|
2164
2315
|
Seahorse::Client::Request.new(handlers, context)
|
2165
2316
|
end
|
2166
2317
|
|
@@ -22,8 +22,14 @@ 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
|
+
BatchUpdateExclusionWindowsError = Shapes::StructureShape.new(name: 'BatchUpdateExclusionWindowsError')
|
29
|
+
BatchUpdateExclusionWindowsErrors = Shapes::ListShape.new(name: 'BatchUpdateExclusionWindowsErrors')
|
30
|
+
BatchUpdateExclusionWindowsInput = Shapes::StructureShape.new(name: 'BatchUpdateExclusionWindowsInput')
|
31
|
+
BatchUpdateExclusionWindowsOutput = Shapes::StructureShape.new(name: 'BatchUpdateExclusionWindowsOutput')
|
32
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
27
33
|
BudgetRequestsRemaining = Shapes::IntegerShape.new(name: 'BudgetRequestsRemaining')
|
28
34
|
BudgetSecondsRemaining = Shapes::IntegerShape.new(name: 'BudgetSecondsRemaining')
|
29
35
|
BurnRateConfiguration = Shapes::StructureShape.new(name: 'BurnRateConfiguration')
|
@@ -42,6 +48,13 @@ module Aws::ApplicationSignals
|
|
42
48
|
Dimensions = Shapes::ListShape.new(name: 'Dimensions')
|
43
49
|
DurationUnit = Shapes::StringShape.new(name: 'DurationUnit')
|
44
50
|
EvaluationType = Shapes::StringShape.new(name: 'EvaluationType')
|
51
|
+
ExclusionDuration = Shapes::IntegerShape.new(name: 'ExclusionDuration')
|
52
|
+
ExclusionReason = Shapes::StringShape.new(name: 'ExclusionReason')
|
53
|
+
ExclusionWindow = Shapes::StructureShape.new(name: 'ExclusionWindow')
|
54
|
+
ExclusionWindowErrorCode = Shapes::StringShape.new(name: 'ExclusionWindowErrorCode')
|
55
|
+
ExclusionWindowErrorMessage = Shapes::StringShape.new(name: 'ExclusionWindowErrorMessage')
|
56
|
+
ExclusionWindows = Shapes::ListShape.new(name: 'ExclusionWindows')
|
57
|
+
Expression = Shapes::StringShape.new(name: 'Expression')
|
45
58
|
FaultDescription = Shapes::StringShape.new(name: 'FaultDescription')
|
46
59
|
GetServiceInput = Shapes::StructureShape.new(name: 'GetServiceInput')
|
47
60
|
GetServiceLevelObjectiveInput = Shapes::StructureShape.new(name: 'GetServiceLevelObjectiveInput')
|
@@ -57,6 +70,9 @@ module Aws::ApplicationSignals
|
|
57
70
|
ListServiceDependentsInput = Shapes::StructureShape.new(name: 'ListServiceDependentsInput')
|
58
71
|
ListServiceDependentsMaxResults = Shapes::IntegerShape.new(name: 'ListServiceDependentsMaxResults')
|
59
72
|
ListServiceDependentsOutput = Shapes::StructureShape.new(name: 'ListServiceDependentsOutput')
|
73
|
+
ListServiceLevelObjectiveExclusionWindowsInput = Shapes::StructureShape.new(name: 'ListServiceLevelObjectiveExclusionWindowsInput')
|
74
|
+
ListServiceLevelObjectiveExclusionWindowsMaxResults = Shapes::IntegerShape.new(name: 'ListServiceLevelObjectiveExclusionWindowsMaxResults')
|
75
|
+
ListServiceLevelObjectiveExclusionWindowsOutput = Shapes::StructureShape.new(name: 'ListServiceLevelObjectiveExclusionWindowsOutput')
|
60
76
|
ListServiceLevelObjectivesInput = Shapes::StructureShape.new(name: 'ListServiceLevelObjectivesInput')
|
61
77
|
ListServiceLevelObjectivesMaxResults = Shapes::IntegerShape.new(name: 'ListServiceLevelObjectivesMaxResults')
|
62
78
|
ListServiceLevelObjectivesOutput = Shapes::StructureShape.new(name: 'ListServiceLevelObjectivesOutput')
|
@@ -85,6 +101,7 @@ module Aws::ApplicationSignals
|
|
85
101
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
86
102
|
OperationName = Shapes::StringShape.new(name: 'OperationName')
|
87
103
|
Period = Shapes::IntegerShape.new(name: 'Period')
|
104
|
+
RecurrenceRule = Shapes::StructureShape.new(name: 'RecurrenceRule')
|
88
105
|
RequestBasedServiceLevelIndicator = Shapes::StructureShape.new(name: 'RequestBasedServiceLevelIndicator')
|
89
106
|
RequestBasedServiceLevelIndicatorConfig = Shapes::StructureShape.new(name: 'RequestBasedServiceLevelIndicatorConfig')
|
90
107
|
RequestBasedServiceLevelIndicatorMetric = Shapes::StructureShape.new(name: 'RequestBasedServiceLevelIndicatorMetric')
|
@@ -153,6 +170,7 @@ module Aws::ApplicationSignals
|
|
153
170
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
154
171
|
ValidationExceptionMessage = Shapes::StringShape.new(name: 'ValidationExceptionMessage')
|
155
172
|
WarningThreshold = Shapes::FloatShape.new(name: 'WarningThreshold')
|
173
|
+
Window = Shapes::StructureShape.new(name: 'Window')
|
156
174
|
|
157
175
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ServiceErrorMessage, location_name: "Message"))
|
158
176
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
@@ -174,6 +192,22 @@ module Aws::ApplicationSignals
|
|
174
192
|
BatchGetServiceLevelObjectiveBudgetReportOutput.add_member(:errors, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveBudgetReportErrors, required: true, location_name: "Errors"))
|
175
193
|
BatchGetServiceLevelObjectiveBudgetReportOutput.struct_class = Types::BatchGetServiceLevelObjectiveBudgetReportOutput
|
176
194
|
|
195
|
+
BatchUpdateExclusionWindowsError.add_member(:slo_id, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveId, required: true, location_name: "SloId"))
|
196
|
+
BatchUpdateExclusionWindowsError.add_member(:error_code, Shapes::ShapeRef.new(shape: ExclusionWindowErrorCode, required: true, location_name: "ErrorCode"))
|
197
|
+
BatchUpdateExclusionWindowsError.add_member(:error_message, Shapes::ShapeRef.new(shape: ExclusionWindowErrorMessage, required: true, location_name: "ErrorMessage"))
|
198
|
+
BatchUpdateExclusionWindowsError.struct_class = Types::BatchUpdateExclusionWindowsError
|
199
|
+
|
200
|
+
BatchUpdateExclusionWindowsErrors.member = Shapes::ShapeRef.new(shape: BatchUpdateExclusionWindowsError)
|
201
|
+
|
202
|
+
BatchUpdateExclusionWindowsInput.add_member(:slo_ids, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveIds, required: true, location_name: "SloIds"))
|
203
|
+
BatchUpdateExclusionWindowsInput.add_member(:add_exclusion_windows, Shapes::ShapeRef.new(shape: ExclusionWindows, location_name: "AddExclusionWindows"))
|
204
|
+
BatchUpdateExclusionWindowsInput.add_member(:remove_exclusion_windows, Shapes::ShapeRef.new(shape: ExclusionWindows, location_name: "RemoveExclusionWindows"))
|
205
|
+
BatchUpdateExclusionWindowsInput.struct_class = Types::BatchUpdateExclusionWindowsInput
|
206
|
+
|
207
|
+
BatchUpdateExclusionWindowsOutput.add_member(:slo_ids, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveIds, required: true, location_name: "SloIds"))
|
208
|
+
BatchUpdateExclusionWindowsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchUpdateExclusionWindowsErrors, required: true, location_name: "Errors"))
|
209
|
+
BatchUpdateExclusionWindowsOutput.struct_class = Types::BatchUpdateExclusionWindowsOutput
|
210
|
+
|
177
211
|
BurnRateConfiguration.add_member(:look_back_window_minutes, Shapes::ShapeRef.new(shape: BurnRateLookBackWindowMinutes, required: true, location_name: "LookBackWindowMinutes"))
|
178
212
|
BurnRateConfiguration.struct_class = Types::BurnRateConfiguration
|
179
213
|
|
@@ -210,6 +244,14 @@ module Aws::ApplicationSignals
|
|
210
244
|
|
211
245
|
Dimensions.member = Shapes::ShapeRef.new(shape: Dimension)
|
212
246
|
|
247
|
+
ExclusionWindow.add_member(:window, Shapes::ShapeRef.new(shape: Window, required: true, location_name: "Window"))
|
248
|
+
ExclusionWindow.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
249
|
+
ExclusionWindow.add_member(:recurrence_rule, Shapes::ShapeRef.new(shape: RecurrenceRule, location_name: "RecurrenceRule"))
|
250
|
+
ExclusionWindow.add_member(:reason, Shapes::ShapeRef.new(shape: ExclusionReason, location_name: "Reason"))
|
251
|
+
ExclusionWindow.struct_class = Types::ExclusionWindow
|
252
|
+
|
253
|
+
ExclusionWindows.member = Shapes::ShapeRef.new(shape: ExclusionWindow)
|
254
|
+
|
213
255
|
GetServiceInput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "StartTime"))
|
214
256
|
GetServiceInput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "EndTime"))
|
215
257
|
GetServiceInput.add_member(:key_attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "KeyAttributes"))
|
@@ -266,10 +308,21 @@ module Aws::ApplicationSignals
|
|
266
308
|
ListServiceDependentsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
267
309
|
ListServiceDependentsOutput.struct_class = Types::ListServiceDependentsOutput
|
268
310
|
|
311
|
+
ListServiceLevelObjectiveExclusionWindowsInput.add_member(:id, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveId, required: true, location: "uri", location_name: "Id"))
|
312
|
+
ListServiceLevelObjectiveExclusionWindowsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListServiceLevelObjectiveExclusionWindowsMaxResults, location: "querystring", location_name: "MaxResults"))
|
313
|
+
ListServiceLevelObjectiveExclusionWindowsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
314
|
+
ListServiceLevelObjectiveExclusionWindowsInput.struct_class = Types::ListServiceLevelObjectiveExclusionWindowsInput
|
315
|
+
|
316
|
+
ListServiceLevelObjectiveExclusionWindowsOutput.add_member(:exclusion_windows, Shapes::ShapeRef.new(shape: ExclusionWindows, required: true, location_name: "ExclusionWindows"))
|
317
|
+
ListServiceLevelObjectiveExclusionWindowsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
318
|
+
ListServiceLevelObjectiveExclusionWindowsOutput.struct_class = Types::ListServiceLevelObjectiveExclusionWindowsOutput
|
319
|
+
|
269
320
|
ListServiceLevelObjectivesInput.add_member(:key_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "KeyAttributes"))
|
270
321
|
ListServiceLevelObjectivesInput.add_member(:operation_name, Shapes::ShapeRef.new(shape: OperationName, location: "querystring", location_name: "OperationName"))
|
271
322
|
ListServiceLevelObjectivesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListServiceLevelObjectivesMaxResults, location: "querystring", location_name: "MaxResults"))
|
272
323
|
ListServiceLevelObjectivesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
324
|
+
ListServiceLevelObjectivesInput.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "IncludeLinkedAccounts"))
|
325
|
+
ListServiceLevelObjectivesInput.add_member(:slo_owner_aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location: "querystring", location_name: "SloOwnerAwsAccountId"))
|
273
326
|
ListServiceLevelObjectivesInput.struct_class = Types::ListServiceLevelObjectivesInput
|
274
327
|
|
275
328
|
ListServiceLevelObjectivesOutput.add_member(:slo_summaries, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveSummaries, location_name: "SloSummaries"))
|
@@ -293,6 +346,8 @@ module Aws::ApplicationSignals
|
|
293
346
|
ListServicesInput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "EndTime"))
|
294
347
|
ListServicesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListServicesMaxResults, location: "querystring", location_name: "MaxResults"))
|
295
348
|
ListServicesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
349
|
+
ListServicesInput.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "IncludeLinkedAccounts"))
|
350
|
+
ListServicesInput.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location: "querystring", location_name: "AwsAccountId"))
|
296
351
|
ListServicesInput.struct_class = Types::ListServicesInput
|
297
352
|
|
298
353
|
ListServicesOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
@@ -329,6 +384,7 @@ module Aws::ApplicationSignals
|
|
329
384
|
MetricReference.add_member(:metric_type, Shapes::ShapeRef.new(shape: MetricType, required: true, location_name: "MetricType"))
|
330
385
|
MetricReference.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "Dimensions"))
|
331
386
|
MetricReference.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
387
|
+
MetricReference.add_member(:account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "AccountId"))
|
332
388
|
MetricReference.struct_class = Types::MetricReference
|
333
389
|
|
334
390
|
MetricReferences.member = Shapes::ShapeRef.new(shape: MetricReference)
|
@@ -347,6 +403,9 @@ module Aws::ApplicationSignals
|
|
347
403
|
MonitoredRequestCountMetricDataQueries.add_member_subclass(:unknown, Types::MonitoredRequestCountMetricDataQueries::Unknown)
|
348
404
|
MonitoredRequestCountMetricDataQueries.struct_class = Types::MonitoredRequestCountMetricDataQueries
|
349
405
|
|
406
|
+
RecurrenceRule.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Expression"))
|
407
|
+
RecurrenceRule.struct_class = Types::RecurrenceRule
|
408
|
+
|
350
409
|
RequestBasedServiceLevelIndicator.add_member(:request_based_sli_metric, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicatorMetric, required: true, location_name: "RequestBasedSliMetric"))
|
351
410
|
RequestBasedServiceLevelIndicator.add_member(:metric_threshold, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorMetricThreshold, location_name: "MetricThreshold"))
|
352
411
|
RequestBasedServiceLevelIndicator.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorComparisonOperator, location_name: "ComparisonOperator"))
|
@@ -530,6 +589,10 @@ module Aws::ApplicationSignals
|
|
530
589
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ValidationExceptionMessage, location_name: "message"))
|
531
590
|
ValidationException.struct_class = Types::ValidationException
|
532
591
|
|
592
|
+
Window.add_member(:duration_unit, Shapes::ShapeRef.new(shape: DurationUnit, required: true, location_name: "DurationUnit"))
|
593
|
+
Window.add_member(:duration, Shapes::ShapeRef.new(shape: ExclusionDuration, required: true, location_name: "Duration"))
|
594
|
+
Window.struct_class = Types::Window
|
595
|
+
|
533
596
|
|
534
597
|
# @api private
|
535
598
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -559,6 +622,17 @@ module Aws::ApplicationSignals
|
|
559
622
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
560
623
|
end)
|
561
624
|
|
625
|
+
api.add_operation(:batch_update_exclusion_windows, Seahorse::Model::Operation.new.tap do |o|
|
626
|
+
o.name = "BatchUpdateExclusionWindows"
|
627
|
+
o.http_method = "PATCH"
|
628
|
+
o.http_request_uri = "/exclusion-windows"
|
629
|
+
o.input = Shapes::ShapeRef.new(shape: BatchUpdateExclusionWindowsInput)
|
630
|
+
o.output = Shapes::ShapeRef.new(shape: BatchUpdateExclusionWindowsOutput)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
634
|
+
end)
|
635
|
+
|
562
636
|
api.add_operation(:create_service_level_objective, Seahorse::Model::Operation.new.tap do |o|
|
563
637
|
o.name = "CreateServiceLevelObjective"
|
564
638
|
o.http_method = "POST"
|
@@ -636,6 +710,23 @@ module Aws::ApplicationSignals
|
|
636
710
|
)
|
637
711
|
end)
|
638
712
|
|
713
|
+
api.add_operation(:list_service_level_objective_exclusion_windows, Seahorse::Model::Operation.new.tap do |o|
|
714
|
+
o.name = "ListServiceLevelObjectiveExclusionWindows"
|
715
|
+
o.http_method = "GET"
|
716
|
+
o.http_request_uri = "/slo/{Id}/exclusion-windows"
|
717
|
+
o.input = Shapes::ShapeRef.new(shape: ListServiceLevelObjectiveExclusionWindowsInput)
|
718
|
+
o.output = Shapes::ShapeRef.new(shape: ListServiceLevelObjectiveExclusionWindowsOutput)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
722
|
+
o[:pager] = Aws::Pager.new(
|
723
|
+
limit_key: "max_results",
|
724
|
+
tokens: {
|
725
|
+
"next_token" => "next_token"
|
726
|
+
}
|
727
|
+
)
|
728
|
+
end)
|
729
|
+
|
639
730
|
api.add_operation(:list_service_level_objectives, Seahorse::Model::Operation.new.tap do |o|
|
640
731
|
o.name = "ListServiceLevelObjectives"
|
641
732
|
o.http_method = "POST"
|
@@ -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
|
@@ -76,7 +142,7 @@ module Aws::ApplicationSignals
|
|
76
142
|
# For example, if you specify 60 as the number of minutes in the
|
77
143
|
# look-back window, the burn rate is calculated as the following:
|
78
144
|
#
|
79
|
-
# *burn rate = error rate over the look-back window / (
|
145
|
+
# *burn rate = error rate over the look-back window / (100% - attainment
|
80
146
|
# goal percentage)*
|
81
147
|
#
|
82
148
|
# For more information about burn rates, see [Calculate burn rates][1].
|
@@ -268,6 +334,39 @@ module Aws::ApplicationSignals
|
|
268
334
|
include Aws::Structure
|
269
335
|
end
|
270
336
|
|
337
|
+
# The core SLO time window exclusion object that includes Window,
|
338
|
+
# StartTime, RecurrenceRule, and Reason.
|
339
|
+
#
|
340
|
+
# @!attribute [rw] window
|
341
|
+
# The SLO time window exclusion .
|
342
|
+
# @return [Types::Window]
|
343
|
+
#
|
344
|
+
# @!attribute [rw] start_time
|
345
|
+
# The start of the SLO time window exclusion. Defaults to current time
|
346
|
+
# if not specified.
|
347
|
+
# @return [Time]
|
348
|
+
#
|
349
|
+
# @!attribute [rw] recurrence_rule
|
350
|
+
# The recurrence rule for the SLO time window exclusion. Supports both
|
351
|
+
# cron and rate expressions.
|
352
|
+
# @return [Types::RecurrenceRule]
|
353
|
+
#
|
354
|
+
# @!attribute [rw] reason
|
355
|
+
# A description explaining why this time period should be excluded
|
356
|
+
# from SLO calculations.
|
357
|
+
# @return [String]
|
358
|
+
#
|
359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ExclusionWindow AWS API Documentation
|
360
|
+
#
|
361
|
+
class ExclusionWindow < Struct.new(
|
362
|
+
:window,
|
363
|
+
:start_time,
|
364
|
+
:recurrence_rule,
|
365
|
+
:reason)
|
366
|
+
SENSITIVE = []
|
367
|
+
include Aws::Structure
|
368
|
+
end
|
369
|
+
|
271
370
|
# @!attribute [rw] start_time
|
272
371
|
# The start of the time period to retrieve information about. When
|
273
372
|
# used in a raw HTTP Query API, it is formatted as be epoch time in
|
@@ -680,6 +779,48 @@ module Aws::ApplicationSignals
|
|
680
779
|
include Aws::Structure
|
681
780
|
end
|
682
781
|
|
782
|
+
# @!attribute [rw] id
|
783
|
+
# The ID of the SLO to list exclusion windows for.
|
784
|
+
# @return [String]
|
785
|
+
#
|
786
|
+
# @!attribute [rw] max_results
|
787
|
+
# The maximum number of results to return in one operation. If you
|
788
|
+
# omit this parameter, the default of 50 is used. </p>
|
789
|
+
# @return [Integer]
|
790
|
+
#
|
791
|
+
# @!attribute [rw] next_token
|
792
|
+
# Include this value, if it was returned by the previous operation, to
|
793
|
+
# get the next set of service level objectives. </p>
|
794
|
+
# @return [String]
|
795
|
+
#
|
796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectiveExclusionWindowsInput AWS API Documentation
|
797
|
+
#
|
798
|
+
class ListServiceLevelObjectiveExclusionWindowsInput < Struct.new(
|
799
|
+
:id,
|
800
|
+
:max_results,
|
801
|
+
:next_token)
|
802
|
+
SENSITIVE = []
|
803
|
+
include Aws::Structure
|
804
|
+
end
|
805
|
+
|
806
|
+
# @!attribute [rw] exclusion_windows
|
807
|
+
# A list of exclusion windows configured for the SLO.
|
808
|
+
# @return [Array<Types::ExclusionWindow>]
|
809
|
+
#
|
810
|
+
# @!attribute [rw] next_token
|
811
|
+
# Include this value, if it was returned by the previous operation, to
|
812
|
+
# get the next set of service level objectives. </p>
|
813
|
+
# @return [String]
|
814
|
+
#
|
815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectiveExclusionWindowsOutput AWS API Documentation
|
816
|
+
#
|
817
|
+
class ListServiceLevelObjectiveExclusionWindowsOutput < Struct.new(
|
818
|
+
:exclusion_windows,
|
819
|
+
:next_token)
|
820
|
+
SENSITIVE = []
|
821
|
+
include Aws::Structure
|
822
|
+
end
|
823
|
+
|
683
824
|
# @!attribute [rw] key_attributes
|
684
825
|
# You can use this optional field to specify which services you want
|
685
826
|
# to retrieve SLO information for.
|
@@ -718,13 +859,29 @@ module Aws::ApplicationSignals
|
|
718
859
|
# get the next set of service level objectives.
|
719
860
|
# @return [String]
|
720
861
|
#
|
862
|
+
# @!attribute [rw] include_linked_accounts
|
863
|
+
# If you are using this operation in a monitoring account, specify
|
864
|
+
# `true` to include SLO from source accounts in the returned data.
|
865
|
+
# </p> <p>When you are monitoring an account, you can use Amazon Web
|
866
|
+
# Services account ID in <code>KeyAttribute</code> filter for service
|
867
|
+
# source account and <code>SloOwnerawsaccountID</code> for SLO source
|
868
|
+
# account with <code>IncludeLinkedAccounts</code> to filter the
|
869
|
+
# returned data to only a single source account. </p>
|
870
|
+
# @return [Boolean]
|
871
|
+
#
|
872
|
+
# @!attribute [rw] slo_owner_aws_account_id
|
873
|
+
# SLO's Amazon Web Services account ID.
|
874
|
+
# @return [String]
|
875
|
+
#
|
721
876
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceLevelObjectivesInput AWS API Documentation
|
722
877
|
#
|
723
878
|
class ListServiceLevelObjectivesInput < Struct.new(
|
724
879
|
:key_attributes,
|
725
880
|
:operation_name,
|
726
881
|
:max_results,
|
727
|
-
:next_token
|
882
|
+
:next_token,
|
883
|
+
:include_linked_accounts,
|
884
|
+
:slo_owner_aws_account_id)
|
728
885
|
SENSITIVE = []
|
729
886
|
include Aws::Structure
|
730
887
|
end
|
@@ -878,13 +1035,25 @@ module Aws::ApplicationSignals
|
|
878
1035
|
# get the next set of services.
|
879
1036
|
# @return [String]
|
880
1037
|
#
|
1038
|
+
# @!attribute [rw] include_linked_accounts
|
1039
|
+
# If you are using this operation in a monitoring account, specify
|
1040
|
+
# `true` to include services from source accounts in the returned
|
1041
|
+
# data. </p>
|
1042
|
+
# @return [Boolean]
|
1043
|
+
#
|
1044
|
+
# @!attribute [rw] aws_account_id
|
1045
|
+
# Amazon Web Services Account ID.
|
1046
|
+
# @return [String]
|
1047
|
+
#
|
881
1048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServicesInput AWS API Documentation
|
882
1049
|
#
|
883
1050
|
class ListServicesInput < Struct.new(
|
884
1051
|
:start_time,
|
885
1052
|
:end_time,
|
886
1053
|
:max_results,
|
887
|
-
:next_token
|
1054
|
+
:next_token,
|
1055
|
+
:include_linked_accounts,
|
1056
|
+
:aws_account_id)
|
888
1057
|
SENSITIVE = []
|
889
1058
|
include Aws::Structure
|
890
1059
|
end
|
@@ -1164,13 +1333,18 @@ module Aws::ApplicationSignals
|
|
1164
1333
|
# The name of the metric.
|
1165
1334
|
# @return [String]
|
1166
1335
|
#
|
1336
|
+
# @!attribute [rw] account_id
|
1337
|
+
# Amazon Web Services account ID.
|
1338
|
+
# @return [String]
|
1339
|
+
#
|
1167
1340
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/MetricReference AWS API Documentation
|
1168
1341
|
#
|
1169
1342
|
class MetricReference < Struct.new(
|
1170
1343
|
:namespace,
|
1171
1344
|
:metric_type,
|
1172
1345
|
:dimensions,
|
1173
|
-
:metric_name
|
1346
|
+
:metric_name,
|
1347
|
+
:account_id)
|
1174
1348
|
SENSITIVE = []
|
1175
1349
|
include Aws::Structure
|
1176
1350
|
end
|
@@ -1261,6 +1435,21 @@ module Aws::ApplicationSignals
|
|
1261
1435
|
class Unknown < MonitoredRequestCountMetricDataQueries; end
|
1262
1436
|
end
|
1263
1437
|
|
1438
|
+
# The recurrence rule for the SLO time window exclusion .
|
1439
|
+
#
|
1440
|
+
# @!attribute [rw] expression
|
1441
|
+
# A cron or rate expression that specifies the schedule for the
|
1442
|
+
# exclusion window.
|
1443
|
+
# @return [String]
|
1444
|
+
#
|
1445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/RecurrenceRule AWS API Documentation
|
1446
|
+
#
|
1447
|
+
class RecurrenceRule < Struct.new(
|
1448
|
+
:expression)
|
1449
|
+
SENSITIVE = []
|
1450
|
+
include Aws::Structure
|
1451
|
+
end
|
1452
|
+
|
1264
1453
|
# This structure contains information about the performance metric that
|
1265
1454
|
# a request-based SLO monitors.
|
1266
1455
|
#
|
@@ -2491,6 +2680,26 @@ module Aws::ApplicationSignals
|
|
2491
2680
|
include Aws::Structure
|
2492
2681
|
end
|
2493
2682
|
|
2683
|
+
# The object that defines the time length of an exclusion window.
|
2684
|
+
#
|
2685
|
+
# @!attribute [rw] duration_unit
|
2686
|
+
# The unit of time for the exclusion window duration. Valid values:
|
2687
|
+
# MINUTE, HOUR, DAY, MONTH.
|
2688
|
+
# @return [String]
|
2689
|
+
#
|
2690
|
+
# @!attribute [rw] duration
|
2691
|
+
# The number of time units for the exclusion window length.
|
2692
|
+
# @return [Integer]
|
2693
|
+
#
|
2694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/Window AWS API Documentation
|
2695
|
+
#
|
2696
|
+
class Window < Struct.new(
|
2697
|
+
:duration_unit,
|
2698
|
+
:duration)
|
2699
|
+
SENSITIVE = []
|
2700
|
+
include Aws::Structure
|
2701
|
+
end
|
2702
|
+
|
2494
2703
|
end
|
2495
2704
|
end
|
2496
2705
|
|
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
|
@@ -317,6 +354,19 @@ module Aws
|
|
317
354
|
) -> _ListServiceDependentsResponseSuccess
|
318
355
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceDependentsResponseSuccess
|
319
356
|
|
357
|
+
interface _ListServiceLevelObjectiveExclusionWindowsResponseSuccess
|
358
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceLevelObjectiveExclusionWindowsOutput]
|
359
|
+
def exclusion_windows: () -> ::Array[Types::ExclusionWindow]
|
360
|
+
def next_token: () -> ::String
|
361
|
+
end
|
362
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_service_level_objective_exclusion_windows-instance_method
|
363
|
+
def list_service_level_objective_exclusion_windows: (
|
364
|
+
id: ::String,
|
365
|
+
?max_results: ::Integer,
|
366
|
+
?next_token: ::String
|
367
|
+
) -> _ListServiceLevelObjectiveExclusionWindowsResponseSuccess
|
368
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceLevelObjectiveExclusionWindowsResponseSuccess
|
369
|
+
|
320
370
|
interface _ListServiceLevelObjectivesResponseSuccess
|
321
371
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceLevelObjectivesOutput]
|
322
372
|
def slo_summaries: () -> ::Array[Types::ServiceLevelObjectiveSummary]
|
@@ -327,7 +377,9 @@ module Aws
|
|
327
377
|
?key_attributes: Hash[::String, ::String],
|
328
378
|
?operation_name: ::String,
|
329
379
|
?max_results: ::Integer,
|
330
|
-
?next_token: ::String
|
380
|
+
?next_token: ::String,
|
381
|
+
?include_linked_accounts: bool,
|
382
|
+
?slo_owner_aws_account_id: ::String
|
331
383
|
) -> _ListServiceLevelObjectivesResponseSuccess
|
332
384
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceLevelObjectivesResponseSuccess
|
333
385
|
|
@@ -360,7 +412,9 @@ module Aws
|
|
360
412
|
start_time: ::Time,
|
361
413
|
end_time: ::Time,
|
362
414
|
?max_results: ::Integer,
|
363
|
-
?next_token: ::String
|
415
|
+
?next_token: ::String,
|
416
|
+
?include_linked_accounts: bool,
|
417
|
+
?aws_account_id: ::String
|
364
418
|
) -> _ListServicesResponseSuccess
|
365
419
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServicesResponseSuccess
|
366
420
|
|
data/sig/types.rbs
CHANGED
@@ -26,6 +26,26 @@ module Aws::ApplicationSignals
|
|
26
26
|
SENSITIVE: []
|
27
27
|
end
|
28
28
|
|
29
|
+
class BatchUpdateExclusionWindowsError
|
30
|
+
attr_accessor slo_id: ::String
|
31
|
+
attr_accessor error_code: ::String
|
32
|
+
attr_accessor error_message: ::String
|
33
|
+
SENSITIVE: []
|
34
|
+
end
|
35
|
+
|
36
|
+
class BatchUpdateExclusionWindowsInput
|
37
|
+
attr_accessor slo_ids: ::Array[::String]
|
38
|
+
attr_accessor add_exclusion_windows: ::Array[Types::ExclusionWindow]
|
39
|
+
attr_accessor remove_exclusion_windows: ::Array[Types::ExclusionWindow]
|
40
|
+
SENSITIVE: []
|
41
|
+
end
|
42
|
+
|
43
|
+
class BatchUpdateExclusionWindowsOutput
|
44
|
+
attr_accessor slo_ids: ::Array[::String]
|
45
|
+
attr_accessor errors: ::Array[Types::BatchUpdateExclusionWindowsError]
|
46
|
+
SENSITIVE: []
|
47
|
+
end
|
48
|
+
|
29
49
|
class BurnRateConfiguration
|
30
50
|
attr_accessor look_back_window_minutes: ::Integer
|
31
51
|
SENSITIVE: []
|
@@ -73,6 +93,14 @@ module Aws::ApplicationSignals
|
|
73
93
|
SENSITIVE: []
|
74
94
|
end
|
75
95
|
|
96
|
+
class ExclusionWindow
|
97
|
+
attr_accessor window: Types::Window
|
98
|
+
attr_accessor start_time: ::Time
|
99
|
+
attr_accessor recurrence_rule: Types::RecurrenceRule
|
100
|
+
attr_accessor reason: ::String
|
101
|
+
SENSITIVE: []
|
102
|
+
end
|
103
|
+
|
76
104
|
class GetServiceInput
|
77
105
|
attr_accessor start_time: ::Time
|
78
106
|
attr_accessor end_time: ::Time
|
@@ -153,11 +181,26 @@ module Aws::ApplicationSignals
|
|
153
181
|
SENSITIVE: []
|
154
182
|
end
|
155
183
|
|
184
|
+
class ListServiceLevelObjectiveExclusionWindowsInput
|
185
|
+
attr_accessor id: ::String
|
186
|
+
attr_accessor max_results: ::Integer
|
187
|
+
attr_accessor next_token: ::String
|
188
|
+
SENSITIVE: []
|
189
|
+
end
|
190
|
+
|
191
|
+
class ListServiceLevelObjectiveExclusionWindowsOutput
|
192
|
+
attr_accessor exclusion_windows: ::Array[Types::ExclusionWindow]
|
193
|
+
attr_accessor next_token: ::String
|
194
|
+
SENSITIVE: []
|
195
|
+
end
|
196
|
+
|
156
197
|
class ListServiceLevelObjectivesInput
|
157
198
|
attr_accessor key_attributes: ::Hash[::String, ::String]
|
158
199
|
attr_accessor operation_name: ::String
|
159
200
|
attr_accessor max_results: ::Integer
|
160
201
|
attr_accessor next_token: ::String
|
202
|
+
attr_accessor include_linked_accounts: bool
|
203
|
+
attr_accessor slo_owner_aws_account_id: ::String
|
161
204
|
SENSITIVE: []
|
162
205
|
end
|
163
206
|
|
@@ -189,6 +232,8 @@ module Aws::ApplicationSignals
|
|
189
232
|
attr_accessor end_time: ::Time
|
190
233
|
attr_accessor max_results: ::Integer
|
191
234
|
attr_accessor next_token: ::String
|
235
|
+
attr_accessor include_linked_accounts: bool
|
236
|
+
attr_accessor aws_account_id: ::String
|
192
237
|
SENSITIVE: []
|
193
238
|
end
|
194
239
|
|
@@ -233,6 +278,7 @@ module Aws::ApplicationSignals
|
|
233
278
|
attr_accessor metric_type: ::String
|
234
279
|
attr_accessor dimensions: ::Array[Types::Dimension]
|
235
280
|
attr_accessor metric_name: ::String
|
281
|
+
attr_accessor account_id: ::String
|
236
282
|
SENSITIVE: []
|
237
283
|
end
|
238
284
|
|
@@ -258,6 +304,11 @@ module Aws::ApplicationSignals
|
|
258
304
|
end
|
259
305
|
end
|
260
306
|
|
307
|
+
class RecurrenceRule
|
308
|
+
attr_accessor expression: ::String
|
309
|
+
SENSITIVE: []
|
310
|
+
end
|
311
|
+
|
261
312
|
class RequestBasedServiceLevelIndicator
|
262
313
|
attr_accessor request_based_sli_metric: Types::RequestBasedServiceLevelIndicatorMetric
|
263
314
|
attr_accessor metric_threshold: ::Float
|
@@ -478,5 +529,11 @@ module Aws::ApplicationSignals
|
|
478
529
|
attr_accessor message: ::String
|
479
530
|
SENSITIVE: []
|
480
531
|
end
|
532
|
+
|
533
|
+
class Window
|
534
|
+
attr_accessor duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH")
|
535
|
+
attr_accessor duration: ::Integer
|
536
|
+
SENSITIVE: []
|
537
|
+
end
|
481
538
|
end
|
482
539
|
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.
|
4
|
+
version: 1.18.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-
|
11
|
+
date: 2025-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|