aws-sdk-applicationsignals 1.30.0 → 1.32.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 +142 -2
- data/lib/aws-sdk-applicationsignals/client_api.rb +52 -0
- data/lib/aws-sdk-applicationsignals/types.rb +212 -7
- data/lib/aws-sdk-applicationsignals.rb +1 -1
- data/sig/client.rbs +26 -1
- data/sig/types.rbs +32 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4da13738df9ea144645a308ef79a7d2acd96ec5e36cdcb028d4f8a3b07ca411
|
|
4
|
+
data.tar.gz: 93e5478f0791752254bf9d17871f635cdd06c8fa42036f672e0a2848bf03068a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 184ee8293b71fa39c30a46d09ea8b11ef647f95faad3f86f8bf45485be90153bc27b366aaa5cf7a33f57f409cc946ebcb62282dff2e0ae93cd54d55973dc704f
|
|
7
|
+
data.tar.gz: '0338a9e4a5397a3c34853396b2f397b598f3660197d8be7072bde055618bb1fcb72598ce15f1c7c40d9386c1c87cecb7879a946c20e057c5bed63010e9386f9c'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.32.0 (2025-11-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon CloudWatch Application Signals now supports un-instrumented services discovery, cross-account views, and change history, helping SRE and DevOps teams monitor and troubleshoot their large-scale distributed applications.
|
|
8
|
+
|
|
9
|
+
1.31.0 (2025-10-28)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Added support for CloudWatch Synthetics Canary resources in ListAuditFindings API. This enhancement allows customers to retrieve audit findings specifically for CloudWatch Synthetics canaries and enables service-canary correlation analysis.
|
|
13
|
+
|
|
4
14
|
1.30.0 (2025-10-24)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.32.0
|
|
@@ -1400,6 +1400,11 @@ module Aws::ApplicationSignals
|
|
|
1400
1400
|
# service operation metrics from Application Signals RED metrics
|
|
1401
1401
|
# during the Assessment phase
|
|
1402
1402
|
#
|
|
1403
|
+
# <note markdown="1"> Anomaly detection is not supported for sparse metrics (those missing
|
|
1404
|
+
# more than 80% of datapoints within the given time period).
|
|
1405
|
+
#
|
|
1406
|
+
# </note>
|
|
1407
|
+
#
|
|
1403
1408
|
# * `service_quota` - ServiceQuotaAuditor: Monitors resource utilization
|
|
1404
1409
|
# against service quotas during the Assessment phase
|
|
1405
1410
|
#
|
|
@@ -1429,6 +1434,10 @@ module Aws::ApplicationSignals
|
|
|
1429
1434
|
# services, SLOs, or service operations to limit the audit findings to
|
|
1430
1435
|
# specific entities.
|
|
1431
1436
|
#
|
|
1437
|
+
# @option params [String] :detail_level
|
|
1438
|
+
# The level of details of the audit findings. Supported values: `BRIEF`,
|
|
1439
|
+
# `DETAILED`.
|
|
1440
|
+
#
|
|
1432
1441
|
# @option params [String] :next_token
|
|
1433
1442
|
# Include this value, if it was returned by the previous operation, to
|
|
1434
1443
|
# get the next set of audit findings.
|
|
@@ -1439,6 +1448,8 @@ module Aws::ApplicationSignals
|
|
|
1439
1448
|
#
|
|
1440
1449
|
# @return [Types::ListAuditFindingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1441
1450
|
#
|
|
1451
|
+
# * {Types::ListAuditFindingsOutput#start_time #start_time} => Time
|
|
1452
|
+
# * {Types::ListAuditFindingsOutput#end_time #end_time} => Time
|
|
1442
1453
|
# * {Types::ListAuditFindingsOutput#audit_findings #audit_findings} => Array<Types::AuditFinding>
|
|
1443
1454
|
# * {Types::ListAuditFindingsOutput#next_token #next_token} => String
|
|
1444
1455
|
#
|
|
@@ -1472,21 +1483,29 @@ module Aws::ApplicationSignals
|
|
|
1472
1483
|
# operation: "String",
|
|
1473
1484
|
# metric_type: "String",
|
|
1474
1485
|
# },
|
|
1486
|
+
# canary: {
|
|
1487
|
+
# canary_name: "String", # required
|
|
1488
|
+
# },
|
|
1475
1489
|
# },
|
|
1476
1490
|
# },
|
|
1477
1491
|
# ],
|
|
1492
|
+
# detail_level: "BRIEF", # accepts BRIEF, DETAILED
|
|
1478
1493
|
# next_token: "NextToken",
|
|
1479
1494
|
# max_results: 1,
|
|
1480
1495
|
# })
|
|
1481
1496
|
#
|
|
1482
1497
|
# @example Response structure
|
|
1483
1498
|
#
|
|
1499
|
+
# resp.start_time #=> Time
|
|
1500
|
+
# resp.end_time #=> Time
|
|
1484
1501
|
# resp.audit_findings #=> Array
|
|
1485
1502
|
# resp.audit_findings[0].key_attributes #=> Hash
|
|
1486
1503
|
# resp.audit_findings[0].key_attributes["KeyAttributeName"] #=> String
|
|
1487
1504
|
# resp.audit_findings[0].auditor_results #=> Array
|
|
1488
1505
|
# resp.audit_findings[0].auditor_results[0].auditor #=> String
|
|
1489
1506
|
# resp.audit_findings[0].auditor_results[0].description #=> String
|
|
1507
|
+
# resp.audit_findings[0].auditor_results[0].data #=> Hash
|
|
1508
|
+
# resp.audit_findings[0].auditor_results[0].data["String"] #=> String
|
|
1490
1509
|
# resp.audit_findings[0].auditor_results[0].severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "NONE"
|
|
1491
1510
|
# resp.audit_findings[0].operation #=> String
|
|
1492
1511
|
# resp.audit_findings[0].metric_graph.metric_data_queries #=> Array
|
|
@@ -1532,6 +1551,111 @@ module Aws::ApplicationSignals
|
|
|
1532
1551
|
req.send_request(options)
|
|
1533
1552
|
end
|
|
1534
1553
|
|
|
1554
|
+
# Returns a list of change events for a specific entity, such as
|
|
1555
|
+
# deployments, configuration changes, or other state-changing
|
|
1556
|
+
# activities. This operation helps track the history of changes that may
|
|
1557
|
+
# have affected service performance.
|
|
1558
|
+
#
|
|
1559
|
+
# @option params [required, Hash<String,String>] :entity
|
|
1560
|
+
# The entity for which to retrieve change events. This specifies the
|
|
1561
|
+
# service, resource, or other entity whose event history you want to
|
|
1562
|
+
# examine.
|
|
1563
|
+
#
|
|
1564
|
+
# This is a string-to-string map. It can include the following fields.
|
|
1565
|
+
#
|
|
1566
|
+
# * `Type` designates the type of object this is.
|
|
1567
|
+
#
|
|
1568
|
+
# * `ResourceType` specifies the type of the resource. This field is
|
|
1569
|
+
# used only when the value of the `Type` field is `Resource` or
|
|
1570
|
+
# `AWS::Resource`.
|
|
1571
|
+
#
|
|
1572
|
+
# * `Name` specifies the name of the object. This is used only if the
|
|
1573
|
+
# value of the `Type` field is `Service`, `RemoteService`, or
|
|
1574
|
+
# `AWS::Service`.
|
|
1575
|
+
#
|
|
1576
|
+
# * `Identifier` identifies the resource objects of this resource. This
|
|
1577
|
+
# is used only if the value of the `Type` field is `Resource` or
|
|
1578
|
+
# `AWS::Resource`.
|
|
1579
|
+
#
|
|
1580
|
+
# * `Environment` specifies the location where this object is hosted, or
|
|
1581
|
+
# what it belongs to.
|
|
1582
|
+
#
|
|
1583
|
+
# * `AwsAccountId` specifies the account where this object is in.
|
|
1584
|
+
#
|
|
1585
|
+
# Below is an example of a service.
|
|
1586
|
+
#
|
|
1587
|
+
# `{ "Type": "Service", "Name": "visits-service", "Environment":
|
|
1588
|
+
# "petclinic-test" }`
|
|
1589
|
+
#
|
|
1590
|
+
# Below is an example of a resource.
|
|
1591
|
+
#
|
|
1592
|
+
# `{ "Type": "AWS::Resource", "ResourceType": "AWS::DynamoDB::Table",
|
|
1593
|
+
# "Identifier": "Customers" }`
|
|
1594
|
+
#
|
|
1595
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
|
1596
|
+
# The start of the time period to retrieve change events for. When used
|
|
1597
|
+
# in a raw HTTP Query API, it is formatted as epoch time in seconds. For
|
|
1598
|
+
# example: `1698778057`
|
|
1599
|
+
#
|
|
1600
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
|
1601
|
+
# The end of the time period to retrieve change events for. When used in
|
|
1602
|
+
# a raw HTTP Query API, it is formatted as epoch time in seconds. For
|
|
1603
|
+
# example: `1698778057`
|
|
1604
|
+
#
|
|
1605
|
+
# @option params [Integer] :max_results
|
|
1606
|
+
# The maximum number of change events to return in one operation. If you
|
|
1607
|
+
# omit this parameter, the default of 50 is used.
|
|
1608
|
+
#
|
|
1609
|
+
# @option params [String] :next_token
|
|
1610
|
+
# Include this value, if it was returned by the previous operation, to
|
|
1611
|
+
# get the next set of change events.
|
|
1612
|
+
#
|
|
1613
|
+
# @return [Types::ListEntityEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1614
|
+
#
|
|
1615
|
+
# * {Types::ListEntityEventsOutput#start_time #start_time} => Time
|
|
1616
|
+
# * {Types::ListEntityEventsOutput#end_time #end_time} => Time
|
|
1617
|
+
# * {Types::ListEntityEventsOutput#change_events #change_events} => Array<Types::ChangeEvent>
|
|
1618
|
+
# * {Types::ListEntityEventsOutput#next_token #next_token} => String
|
|
1619
|
+
#
|
|
1620
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1621
|
+
#
|
|
1622
|
+
# @example Request syntax with placeholder values
|
|
1623
|
+
#
|
|
1624
|
+
# resp = client.list_entity_events({
|
|
1625
|
+
# entity: { # required
|
|
1626
|
+
# "KeyAttributeName" => "KeyAttributeValue",
|
|
1627
|
+
# },
|
|
1628
|
+
# start_time: Time.now, # required
|
|
1629
|
+
# end_time: Time.now, # required
|
|
1630
|
+
# max_results: 1,
|
|
1631
|
+
# next_token: "NextToken",
|
|
1632
|
+
# })
|
|
1633
|
+
#
|
|
1634
|
+
# @example Response structure
|
|
1635
|
+
#
|
|
1636
|
+
# resp.start_time #=> Time
|
|
1637
|
+
# resp.end_time #=> Time
|
|
1638
|
+
# resp.change_events #=> Array
|
|
1639
|
+
# resp.change_events[0].timestamp #=> Time
|
|
1640
|
+
# resp.change_events[0].account_id #=> String
|
|
1641
|
+
# resp.change_events[0].region #=> String
|
|
1642
|
+
# resp.change_events[0].entity #=> Hash
|
|
1643
|
+
# resp.change_events[0].entity["KeyAttributeName"] #=> String
|
|
1644
|
+
# resp.change_events[0].change_event_type #=> String, one of "DEPLOYMENT", "CONFIGURATION"
|
|
1645
|
+
# resp.change_events[0].event_id #=> String
|
|
1646
|
+
# resp.change_events[0].user_name #=> String
|
|
1647
|
+
# resp.change_events[0].event_name #=> String
|
|
1648
|
+
# resp.next_token #=> String
|
|
1649
|
+
#
|
|
1650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListEntityEvents AWS API Documentation
|
|
1651
|
+
#
|
|
1652
|
+
# @overload list_entity_events(params = {})
|
|
1653
|
+
# @param [Hash] params ({})
|
|
1654
|
+
def list_entity_events(params = {}, options = {})
|
|
1655
|
+
req = build_request(:list_entity_events, params)
|
|
1656
|
+
req.send_request(options)
|
|
1657
|
+
end
|
|
1658
|
+
|
|
1535
1659
|
# Returns the current grouping configuration for this account, including
|
|
1536
1660
|
# all custom grouping attribute definitions that have been configured.
|
|
1537
1661
|
# These definitions determine how services are logically grouped based
|
|
@@ -1542,6 +1666,16 @@ module Aws::ApplicationSignals
|
|
|
1542
1666
|
# Include this value, if it was returned by the previous operation, to
|
|
1543
1667
|
# get the next set of grouping attribute definitions.
|
|
1544
1668
|
#
|
|
1669
|
+
# @option params [String] :aws_account_id
|
|
1670
|
+
# The Amazon Web Services account ID to retrieve grouping attribute
|
|
1671
|
+
# definitions for. Use this when accessing grouping configurations from
|
|
1672
|
+
# a different account in cross-account monitoring scenarios.
|
|
1673
|
+
#
|
|
1674
|
+
# @option params [Boolean] :include_linked_accounts
|
|
1675
|
+
# If you are using this operation in a monitoring account, specify
|
|
1676
|
+
# `true` to include grouping attributes from source accounts in the
|
|
1677
|
+
# returned data.
|
|
1678
|
+
#
|
|
1545
1679
|
# @return [Types::ListGroupingAttributeDefinitionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1546
1680
|
#
|
|
1547
1681
|
# * {Types::ListGroupingAttributeDefinitionsOutput#grouping_attribute_definitions #grouping_attribute_definitions} => Array<Types::GroupingAttributeDefinition>
|
|
@@ -1552,6 +1686,8 @@ module Aws::ApplicationSignals
|
|
|
1552
1686
|
#
|
|
1553
1687
|
# resp = client.list_grouping_attribute_definitions({
|
|
1554
1688
|
# next_token: "NextToken",
|
|
1689
|
+
# aws_account_id: "AwsAccountId",
|
|
1690
|
+
# include_linked_accounts: false,
|
|
1555
1691
|
# })
|
|
1556
1692
|
#
|
|
1557
1693
|
# @example Response structure
|
|
@@ -2111,7 +2247,7 @@ module Aws::ApplicationSignals
|
|
|
2111
2247
|
# resp.service_states[0].latest_change_events[0].region #=> String
|
|
2112
2248
|
# resp.service_states[0].latest_change_events[0].entity #=> Hash
|
|
2113
2249
|
# resp.service_states[0].latest_change_events[0].entity["KeyAttributeName"] #=> String
|
|
2114
|
-
# resp.service_states[0].latest_change_events[0].change_event_type #=> String, one of "DEPLOYMENT"
|
|
2250
|
+
# resp.service_states[0].latest_change_events[0].change_event_type #=> String, one of "DEPLOYMENT", "CONFIGURATION"
|
|
2115
2251
|
# resp.service_states[0].latest_change_events[0].event_id #=> String
|
|
2116
2252
|
# resp.service_states[0].latest_change_events[0].user_name #=> String
|
|
2117
2253
|
# resp.service_states[0].latest_change_events[0].event_name #=> String
|
|
@@ -2321,6 +2457,10 @@ module Aws::ApplicationSignals
|
|
|
2321
2457
|
#
|
|
2322
2458
|
# * `autoscaling:DescribeAutoScalingGroups`
|
|
2323
2459
|
#
|
|
2460
|
+
# A service-linked CloudTrail event channel is created to process
|
|
2461
|
+
# CloudTrail events and return change event information. This includes
|
|
2462
|
+
# last deployment time, userName, eventName, and other event metadata.
|
|
2463
|
+
#
|
|
2324
2464
|
# After completing this step, you still need to instrument your Java and
|
|
2325
2465
|
# Python applications to send data to Application Signals. For more
|
|
2326
2466
|
# information, see [ Enabling Application Signals][1].
|
|
@@ -2763,7 +2903,7 @@ module Aws::ApplicationSignals
|
|
|
2763
2903
|
tracer: tracer
|
|
2764
2904
|
)
|
|
2765
2905
|
context[:gem_name] = 'aws-sdk-applicationsignals'
|
|
2766
|
-
context[:gem_version] = '1.
|
|
2906
|
+
context[:gem_version] = '1.32.0'
|
|
2767
2907
|
Seahorse::Client::Request.new(handlers, context)
|
|
2768
2908
|
end
|
|
2769
2909
|
|
|
@@ -51,17 +51,21 @@ module Aws::ApplicationSignals
|
|
|
51
51
|
BurnRateLookBackWindowMinutes = Shapes::IntegerShape.new(name: 'BurnRateLookBackWindowMinutes')
|
|
52
52
|
CalendarInterval = Shapes::StructureShape.new(name: 'CalendarInterval')
|
|
53
53
|
CalendarIntervalDuration = Shapes::IntegerShape.new(name: 'CalendarIntervalDuration')
|
|
54
|
+
CanaryEntity = Shapes::StructureShape.new(name: 'CanaryEntity')
|
|
54
55
|
ChangeEvent = Shapes::StructureShape.new(name: 'ChangeEvent')
|
|
55
56
|
ChangeEventType = Shapes::StringShape.new(name: 'ChangeEventType')
|
|
57
|
+
ChangeEvents = Shapes::ListShape.new(name: 'ChangeEvents')
|
|
56
58
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
57
59
|
ConnectionType = Shapes::StringShape.new(name: 'ConnectionType')
|
|
58
60
|
CreateServiceLevelObjectiveInput = Shapes::StructureShape.new(name: 'CreateServiceLevelObjectiveInput')
|
|
59
61
|
CreateServiceLevelObjectiveOutput = Shapes::StructureShape.new(name: 'CreateServiceLevelObjectiveOutput')
|
|
62
|
+
DataMap = Shapes::MapShape.new(name: 'DataMap')
|
|
60
63
|
DeleteGroupingConfigurationOutput = Shapes::StructureShape.new(name: 'DeleteGroupingConfigurationOutput')
|
|
61
64
|
DeleteServiceLevelObjectiveInput = Shapes::StructureShape.new(name: 'DeleteServiceLevelObjectiveInput')
|
|
62
65
|
DeleteServiceLevelObjectiveOutput = Shapes::StructureShape.new(name: 'DeleteServiceLevelObjectiveOutput')
|
|
63
66
|
DependencyConfig = Shapes::StructureShape.new(name: 'DependencyConfig')
|
|
64
67
|
DependencyGraph = Shapes::StructureShape.new(name: 'DependencyGraph')
|
|
68
|
+
DetailLevel = Shapes::StringShape.new(name: 'DetailLevel')
|
|
65
69
|
Dimension = Shapes::StructureShape.new(name: 'Dimension')
|
|
66
70
|
DimensionName = Shapes::StringShape.new(name: 'DimensionName')
|
|
67
71
|
DimensionValue = Shapes::StringShape.new(name: 'DimensionValue')
|
|
@@ -100,6 +104,9 @@ module Aws::ApplicationSignals
|
|
|
100
104
|
ListAuditFindingMaxResults = Shapes::IntegerShape.new(name: 'ListAuditFindingMaxResults')
|
|
101
105
|
ListAuditFindingsInput = Shapes::StructureShape.new(name: 'ListAuditFindingsInput')
|
|
102
106
|
ListAuditFindingsOutput = Shapes::StructureShape.new(name: 'ListAuditFindingsOutput')
|
|
107
|
+
ListEntityEventsInput = Shapes::StructureShape.new(name: 'ListEntityEventsInput')
|
|
108
|
+
ListEntityEventsMaxResults = Shapes::IntegerShape.new(name: 'ListEntityEventsMaxResults')
|
|
109
|
+
ListEntityEventsOutput = Shapes::StructureShape.new(name: 'ListEntityEventsOutput')
|
|
103
110
|
ListGroupingAttributeDefinitionsInput = Shapes::StructureShape.new(name: 'ListGroupingAttributeDefinitionsInput')
|
|
104
111
|
ListGroupingAttributeDefinitionsOutput = Shapes::StructureShape.new(name: 'ListGroupingAttributeDefinitionsOutput')
|
|
105
112
|
ListServiceDependenciesInput = Shapes::StructureShape.new(name: 'ListServiceDependenciesInput')
|
|
@@ -264,10 +271,12 @@ module Aws::ApplicationSignals
|
|
|
264
271
|
AuditTargetEntity.add_member(:service, Shapes::ShapeRef.new(shape: ServiceEntity, location_name: "Service"))
|
|
265
272
|
AuditTargetEntity.add_member(:slo, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveEntity, location_name: "Slo"))
|
|
266
273
|
AuditTargetEntity.add_member(:service_operation, Shapes::ShapeRef.new(shape: ServiceOperationEntity, location_name: "ServiceOperation"))
|
|
274
|
+
AuditTargetEntity.add_member(:canary, Shapes::ShapeRef.new(shape: CanaryEntity, location_name: "Canary"))
|
|
267
275
|
AuditTargetEntity.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
268
276
|
AuditTargetEntity.add_member_subclass(:service, Types::AuditTargetEntity::Service)
|
|
269
277
|
AuditTargetEntity.add_member_subclass(:slo, Types::AuditTargetEntity::Slo)
|
|
270
278
|
AuditTargetEntity.add_member_subclass(:service_operation, Types::AuditTargetEntity::ServiceOperation)
|
|
279
|
+
AuditTargetEntity.add_member_subclass(:canary, Types::AuditTargetEntity::Canary)
|
|
271
280
|
AuditTargetEntity.add_member_subclass(:unknown, Types::AuditTargetEntity::Unknown)
|
|
272
281
|
AuditTargetEntity.struct_class = Types::AuditTargetEntity
|
|
273
282
|
|
|
@@ -275,6 +284,7 @@ module Aws::ApplicationSignals
|
|
|
275
284
|
|
|
276
285
|
AuditorResult.add_member(:auditor, Shapes::ShapeRef.new(shape: String, location_name: "Auditor"))
|
|
277
286
|
AuditorResult.add_member(:description, Shapes::ShapeRef.new(shape: AuditorResultDescriptionString, location_name: "Description"))
|
|
287
|
+
AuditorResult.add_member(:data, Shapes::ShapeRef.new(shape: DataMap, location_name: "Data"))
|
|
278
288
|
AuditorResult.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "Severity"))
|
|
279
289
|
AuditorResult.struct_class = Types::AuditorResult
|
|
280
290
|
|
|
@@ -317,6 +327,9 @@ module Aws::ApplicationSignals
|
|
|
317
327
|
CalendarInterval.add_member(:duration, Shapes::ShapeRef.new(shape: CalendarIntervalDuration, required: true, location_name: "Duration"))
|
|
318
328
|
CalendarInterval.struct_class = Types::CalendarInterval
|
|
319
329
|
|
|
330
|
+
CanaryEntity.add_member(:canary_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CanaryName"))
|
|
331
|
+
CanaryEntity.struct_class = Types::CanaryEntity
|
|
332
|
+
|
|
320
333
|
ChangeEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
|
321
334
|
ChangeEvent.add_member(:account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "AccountId"))
|
|
322
335
|
ChangeEvent.add_member(:region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Region"))
|
|
@@ -327,6 +340,8 @@ module Aws::ApplicationSignals
|
|
|
327
340
|
ChangeEvent.add_member(:event_name, Shapes::ShapeRef.new(shape: String, location_name: "EventName"))
|
|
328
341
|
ChangeEvent.struct_class = Types::ChangeEvent
|
|
329
342
|
|
|
343
|
+
ChangeEvents.member = Shapes::ShapeRef.new(shape: ChangeEvent)
|
|
344
|
+
|
|
330
345
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
331
346
|
ConflictException.struct_class = Types::ConflictException
|
|
332
347
|
|
|
@@ -342,6 +357,9 @@ module Aws::ApplicationSignals
|
|
|
342
357
|
CreateServiceLevelObjectiveOutput.add_member(:slo, Shapes::ShapeRef.new(shape: ServiceLevelObjective, required: true, location_name: "Slo"))
|
|
343
358
|
CreateServiceLevelObjectiveOutput.struct_class = Types::CreateServiceLevelObjectiveOutput
|
|
344
359
|
|
|
360
|
+
DataMap.key = Shapes::ShapeRef.new(shape: String)
|
|
361
|
+
DataMap.value = Shapes::ShapeRef.new(shape: String)
|
|
362
|
+
|
|
345
363
|
DeleteGroupingConfigurationOutput.struct_class = Types::DeleteGroupingConfigurationOutput
|
|
346
364
|
|
|
347
365
|
DeleteServiceLevelObjectiveInput.add_member(:id, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveId, required: true, location: "uri", location_name: "Id"))
|
|
@@ -428,15 +446,33 @@ module Aws::ApplicationSignals
|
|
|
428
446
|
ListAuditFindingsInput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "EndTime"))
|
|
429
447
|
ListAuditFindingsInput.add_member(:auditors, Shapes::ShapeRef.new(shape: Auditors, location_name: "Auditors"))
|
|
430
448
|
ListAuditFindingsInput.add_member(:audit_targets, Shapes::ShapeRef.new(shape: AuditTargets, required: true, location_name: "AuditTargets"))
|
|
449
|
+
ListAuditFindingsInput.add_member(:detail_level, Shapes::ShapeRef.new(shape: DetailLevel, location_name: "DetailLevel"))
|
|
431
450
|
ListAuditFindingsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
432
451
|
ListAuditFindingsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAuditFindingMaxResults, location_name: "MaxResults"))
|
|
433
452
|
ListAuditFindingsInput.struct_class = Types::ListAuditFindingsInput
|
|
434
453
|
|
|
454
|
+
ListAuditFindingsOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
|
455
|
+
ListAuditFindingsOutput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
|
435
456
|
ListAuditFindingsOutput.add_member(:audit_findings, Shapes::ShapeRef.new(shape: AuditFindings, required: true, location_name: "AuditFindings"))
|
|
436
457
|
ListAuditFindingsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
437
458
|
ListAuditFindingsOutput.struct_class = Types::ListAuditFindingsOutput
|
|
438
459
|
|
|
460
|
+
ListEntityEventsInput.add_member(:entity, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Entity"))
|
|
461
|
+
ListEntityEventsInput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
|
462
|
+
ListEntityEventsInput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
|
463
|
+
ListEntityEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEntityEventsMaxResults, location: "querystring", location_name: "MaxResults"))
|
|
464
|
+
ListEntityEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
465
|
+
ListEntityEventsInput.struct_class = Types::ListEntityEventsInput
|
|
466
|
+
|
|
467
|
+
ListEntityEventsOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
|
468
|
+
ListEntityEventsOutput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
|
469
|
+
ListEntityEventsOutput.add_member(:change_events, Shapes::ShapeRef.new(shape: ChangeEvents, required: true, location_name: "ChangeEvents"))
|
|
470
|
+
ListEntityEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
471
|
+
ListEntityEventsOutput.struct_class = Types::ListEntityEventsOutput
|
|
472
|
+
|
|
439
473
|
ListGroupingAttributeDefinitionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
474
|
+
ListGroupingAttributeDefinitionsInput.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location: "querystring", location_name: "AwsAccountId"))
|
|
475
|
+
ListGroupingAttributeDefinitionsInput.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "IncludeLinkedAccounts"))
|
|
440
476
|
ListGroupingAttributeDefinitionsInput.struct_class = Types::ListGroupingAttributeDefinitionsInput
|
|
441
477
|
|
|
442
478
|
ListGroupingAttributeDefinitionsOutput.add_member(:grouping_attribute_definitions, Shapes::ShapeRef.new(shape: GroupingAttributeDefinitions, required: true, location_name: "GroupingAttributeDefinitions"))
|
|
@@ -943,6 +979,22 @@ module Aws::ApplicationSignals
|
|
|
943
979
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
944
980
|
end)
|
|
945
981
|
|
|
982
|
+
api.add_operation(:list_entity_events, Seahorse::Model::Operation.new.tap do |o|
|
|
983
|
+
o.name = "ListEntityEvents"
|
|
984
|
+
o.http_method = "POST"
|
|
985
|
+
o.http_request_uri = "/events"
|
|
986
|
+
o.input = Shapes::ShapeRef.new(shape: ListEntityEventsInput)
|
|
987
|
+
o.output = Shapes::ShapeRef.new(shape: ListEntityEventsOutput)
|
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
989
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
990
|
+
o[:pager] = Aws::Pager.new(
|
|
991
|
+
limit_key: "max_results",
|
|
992
|
+
tokens: {
|
|
993
|
+
"next_token" => "next_token"
|
|
994
|
+
}
|
|
995
|
+
)
|
|
996
|
+
end)
|
|
997
|
+
|
|
946
998
|
api.add_operation(:list_grouping_attribute_definitions, Seahorse::Model::Operation.new.tap do |o|
|
|
947
999
|
o.name = "ListGroupingAttributeDefinitions"
|
|
948
1000
|
o.http_method = "POST"
|
|
@@ -99,11 +99,11 @@ module Aws::ApplicationSignals
|
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# A structure that specifies the target entity for audit analysis, such
|
|
102
|
-
# as a `service`, `SLO`, or `
|
|
102
|
+
# as a `service`, `SLO`, `service_operation`, or `canary`.
|
|
103
103
|
#
|
|
104
104
|
# @!attribute [rw] type
|
|
105
|
-
# The type of entity being audited, such as `
|
|
106
|
-
# `
|
|
105
|
+
# The type of entity being audited, such as `service`, `SLO`,
|
|
106
|
+
# `service_operation`, or `canary`.
|
|
107
107
|
# @return [String]
|
|
108
108
|
#
|
|
109
109
|
# @!attribute [rw] data
|
|
@@ -138,12 +138,18 @@ module Aws::ApplicationSignals
|
|
|
138
138
|
# specific service operation.
|
|
139
139
|
# @return [Types::ServiceOperationEntity]
|
|
140
140
|
#
|
|
141
|
+
# @!attribute [rw] canary
|
|
142
|
+
# Canary entity information when the audit target is a CloudWatch
|
|
143
|
+
# Synthetics canary.
|
|
144
|
+
# @return [Types::CanaryEntity]
|
|
145
|
+
#
|
|
141
146
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/AuditTargetEntity AWS API Documentation
|
|
142
147
|
#
|
|
143
148
|
class AuditTargetEntity < Struct.new(
|
|
144
149
|
:service,
|
|
145
150
|
:slo,
|
|
146
151
|
:service_operation,
|
|
152
|
+
:canary,
|
|
147
153
|
:unknown)
|
|
148
154
|
SENSITIVE = []
|
|
149
155
|
include Aws::Structure
|
|
@@ -152,12 +158,13 @@ module Aws::ApplicationSignals
|
|
|
152
158
|
class Service < AuditTargetEntity; end
|
|
153
159
|
class Slo < AuditTargetEntity; end
|
|
154
160
|
class ServiceOperation < AuditTargetEntity; end
|
|
161
|
+
class Canary < AuditTargetEntity; end
|
|
155
162
|
class Unknown < AuditTargetEntity; end
|
|
156
163
|
end
|
|
157
164
|
|
|
158
165
|
# A structure that contains the result of an automated audit analysis,
|
|
159
|
-
# including the auditor name, description of findings,
|
|
160
|
-
# level.
|
|
166
|
+
# including the auditor name, description of findings, additional data,
|
|
167
|
+
# and severity level.
|
|
161
168
|
#
|
|
162
169
|
# @!attribute [rw] auditor
|
|
163
170
|
# The name of the auditor algorithm that generated this result.
|
|
@@ -168,6 +175,11 @@ module Aws::ApplicationSignals
|
|
|
168
175
|
# observed and potential implications.
|
|
169
176
|
# @return [String]
|
|
170
177
|
#
|
|
178
|
+
# @!attribute [rw] data
|
|
179
|
+
# This is a string-to-string map. It contains additional data about
|
|
180
|
+
# the result of an automated audit analysis.
|
|
181
|
+
# @return [Hash<String,String>]
|
|
182
|
+
#
|
|
171
183
|
# @!attribute [rw] severity
|
|
172
184
|
# The severity level of this audit finding, indicating the importance
|
|
173
185
|
# and potential impact of the issue.
|
|
@@ -178,6 +190,7 @@ module Aws::ApplicationSignals
|
|
|
178
190
|
class AuditorResult < Struct.new(
|
|
179
191
|
:auditor,
|
|
180
192
|
:description,
|
|
193
|
+
:data,
|
|
181
194
|
:severity)
|
|
182
195
|
SENSITIVE = []
|
|
183
196
|
include Aws::Structure
|
|
@@ -359,6 +372,21 @@ module Aws::ApplicationSignals
|
|
|
359
372
|
include Aws::Structure
|
|
360
373
|
end
|
|
361
374
|
|
|
375
|
+
# A structure that contains identifying information for a CloudWatch
|
|
376
|
+
# Synthetics canary entity used in audit targeting.
|
|
377
|
+
#
|
|
378
|
+
# @!attribute [rw] canary_name
|
|
379
|
+
# The name of the CloudWatch Synthetics canary.
|
|
380
|
+
# @return [String]
|
|
381
|
+
#
|
|
382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CanaryEntity AWS API Documentation
|
|
383
|
+
#
|
|
384
|
+
class CanaryEntity < Struct.new(
|
|
385
|
+
:canary_name)
|
|
386
|
+
SENSITIVE = []
|
|
387
|
+
include Aws::Structure
|
|
388
|
+
end
|
|
389
|
+
|
|
362
390
|
# A structure that contains information about a change event that
|
|
363
391
|
# occurred for a service, such as a deployment or configuration change.
|
|
364
392
|
#
|
|
@@ -378,6 +406,37 @@ module Aws::ApplicationSignals
|
|
|
378
406
|
# @!attribute [rw] entity
|
|
379
407
|
# The entity (service or resource) that was affected by this change
|
|
380
408
|
# event, including its key attributes.
|
|
409
|
+
#
|
|
410
|
+
# This is a string-to-string map. It can include the following fields.
|
|
411
|
+
#
|
|
412
|
+
# * `Type` designates the type of object this is.
|
|
413
|
+
#
|
|
414
|
+
# * `ResourceType` specifies the type of the resource. This field is
|
|
415
|
+
# used only when the value of the `Type` field is `Resource` or
|
|
416
|
+
# `AWS::Resource`.
|
|
417
|
+
#
|
|
418
|
+
# * `Name` specifies the name of the object. This is used only if the
|
|
419
|
+
# value of the `Type` field is `Service`, `RemoteService`, or
|
|
420
|
+
# `AWS::Service`.
|
|
421
|
+
#
|
|
422
|
+
# * `Identifier` identifies the resource objects of this resource.
|
|
423
|
+
# This is used only if the value of the `Type` field is `Resource`
|
|
424
|
+
# or `AWS::Resource`.
|
|
425
|
+
#
|
|
426
|
+
# * `Environment` specifies the location where this object is hosted,
|
|
427
|
+
# or what it belongs to.
|
|
428
|
+
#
|
|
429
|
+
# * `AwsAccountId` specifies the account where this object is in.
|
|
430
|
+
#
|
|
431
|
+
# Below is an example of a service.
|
|
432
|
+
#
|
|
433
|
+
# `{ "Type": "Service", "Name": "visits-service", "Environment":
|
|
434
|
+
# "petclinic-test" }`
|
|
435
|
+
#
|
|
436
|
+
# Below is an example of a resource.
|
|
437
|
+
#
|
|
438
|
+
# `{ "Type": "AWS::Resource", "ResourceType": "AWS::DynamoDB::Table",
|
|
439
|
+
# "Identifier": "Customers" }`
|
|
381
440
|
# @return [Hash<String,String>]
|
|
382
441
|
#
|
|
383
442
|
# @!attribute [rw] change_event_type
|
|
@@ -385,7 +444,9 @@ module Aws::ApplicationSignals
|
|
|
385
444
|
# @return [String]
|
|
386
445
|
#
|
|
387
446
|
# @!attribute [rw] event_id
|
|
388
|
-
# A unique identifier for this change event.
|
|
447
|
+
# A unique identifier for this change event. For CloudTrail-based
|
|
448
|
+
# events, this is the CloudTrail event id. For other events, this will
|
|
449
|
+
# be `Unknown`.
|
|
389
450
|
# @return [String]
|
|
390
451
|
#
|
|
391
452
|
# @!attribute [rw] user_name
|
|
@@ -969,6 +1030,11 @@ module Aws::ApplicationSignals
|
|
|
969
1030
|
# service operation metrics from Application Signals RED metrics
|
|
970
1031
|
# during the Assessment phase
|
|
971
1032
|
#
|
|
1033
|
+
# <note markdown="1"> Anomaly detection is not supported for sparse metrics (those
|
|
1034
|
+
# missing more than 80% of datapoints within the given time period).
|
|
1035
|
+
#
|
|
1036
|
+
# </note>
|
|
1037
|
+
#
|
|
972
1038
|
# * `service_quota` - ServiceQuotaAuditor: Monitors resource
|
|
973
1039
|
# utilization against service quotas during the Assessment phase
|
|
974
1040
|
#
|
|
@@ -1000,6 +1066,11 @@ module Aws::ApplicationSignals
|
|
|
1000
1066
|
# specific entities.
|
|
1001
1067
|
# @return [Array<Types::AuditTarget>]
|
|
1002
1068
|
#
|
|
1069
|
+
# @!attribute [rw] detail_level
|
|
1070
|
+
# The level of details of the audit findings. Supported values:
|
|
1071
|
+
# `BRIEF`, `DETAILED`.
|
|
1072
|
+
# @return [String]
|
|
1073
|
+
#
|
|
1003
1074
|
# @!attribute [rw] next_token
|
|
1004
1075
|
# Include this value, if it was returned by the previous operation, to
|
|
1005
1076
|
# get the next set of audit findings.
|
|
@@ -1017,12 +1088,25 @@ module Aws::ApplicationSignals
|
|
|
1017
1088
|
:end_time,
|
|
1018
1089
|
:auditors,
|
|
1019
1090
|
:audit_targets,
|
|
1091
|
+
:detail_level,
|
|
1020
1092
|
:next_token,
|
|
1021
1093
|
:max_results)
|
|
1022
1094
|
SENSITIVE = []
|
|
1023
1095
|
include Aws::Structure
|
|
1024
1096
|
end
|
|
1025
1097
|
|
|
1098
|
+
# @!attribute [rw] start_time
|
|
1099
|
+
# The start of the time period that the returned audit findings apply
|
|
1100
|
+
# to. When used in a raw HTTP Query API, it is formatted as epoch time
|
|
1101
|
+
# in seconds. For example, `1698778057`
|
|
1102
|
+
# @return [Time]
|
|
1103
|
+
#
|
|
1104
|
+
# @!attribute [rw] end_time
|
|
1105
|
+
# The end of the time period that the returned audit findings apply
|
|
1106
|
+
# to. When used in a raw HTTP Query API, it is formatted as epoch time
|
|
1107
|
+
# in seconds. For example, `1698778057`
|
|
1108
|
+
# @return [Time]
|
|
1109
|
+
#
|
|
1026
1110
|
# @!attribute [rw] audit_findings
|
|
1027
1111
|
# An array of structures, where each structure contains information
|
|
1028
1112
|
# about one audit finding, including the auditor results, severity,
|
|
@@ -1037,21 +1121,142 @@ module Aws::ApplicationSignals
|
|
|
1037
1121
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListAuditFindingsOutput AWS API Documentation
|
|
1038
1122
|
#
|
|
1039
1123
|
class ListAuditFindingsOutput < Struct.new(
|
|
1124
|
+
:start_time,
|
|
1125
|
+
:end_time,
|
|
1040
1126
|
:audit_findings,
|
|
1041
1127
|
:next_token)
|
|
1042
1128
|
SENSITIVE = []
|
|
1043
1129
|
include Aws::Structure
|
|
1044
1130
|
end
|
|
1045
1131
|
|
|
1132
|
+
# @!attribute [rw] entity
|
|
1133
|
+
# The entity for which to retrieve change events. This specifies the
|
|
1134
|
+
# service, resource, or other entity whose event history you want to
|
|
1135
|
+
# examine.
|
|
1136
|
+
#
|
|
1137
|
+
# This is a string-to-string map. It can include the following fields.
|
|
1138
|
+
#
|
|
1139
|
+
# * `Type` designates the type of object this is.
|
|
1140
|
+
#
|
|
1141
|
+
# * `ResourceType` specifies the type of the resource. This field is
|
|
1142
|
+
# used only when the value of the `Type` field is `Resource` or
|
|
1143
|
+
# `AWS::Resource`.
|
|
1144
|
+
#
|
|
1145
|
+
# * `Name` specifies the name of the object. This is used only if the
|
|
1146
|
+
# value of the `Type` field is `Service`, `RemoteService`, or
|
|
1147
|
+
# `AWS::Service`.
|
|
1148
|
+
#
|
|
1149
|
+
# * `Identifier` identifies the resource objects of this resource.
|
|
1150
|
+
# This is used only if the value of the `Type` field is `Resource`
|
|
1151
|
+
# or `AWS::Resource`.
|
|
1152
|
+
#
|
|
1153
|
+
# * `Environment` specifies the location where this object is hosted,
|
|
1154
|
+
# or what it belongs to.
|
|
1155
|
+
#
|
|
1156
|
+
# * `AwsAccountId` specifies the account where this object is in.
|
|
1157
|
+
#
|
|
1158
|
+
# Below is an example of a service.
|
|
1159
|
+
#
|
|
1160
|
+
# `{ "Type": "Service", "Name": "visits-service", "Environment":
|
|
1161
|
+
# "petclinic-test" }`
|
|
1162
|
+
#
|
|
1163
|
+
# Below is an example of a resource.
|
|
1164
|
+
#
|
|
1165
|
+
# `{ "Type": "AWS::Resource", "ResourceType": "AWS::DynamoDB::Table",
|
|
1166
|
+
# "Identifier": "Customers" }`
|
|
1167
|
+
# @return [Hash<String,String>]
|
|
1168
|
+
#
|
|
1169
|
+
# @!attribute [rw] start_time
|
|
1170
|
+
# The start of the time period to retrieve change events for. When
|
|
1171
|
+
# used in a raw HTTP Query API, it is formatted as epoch time in
|
|
1172
|
+
# seconds. For example: `1698778057`
|
|
1173
|
+
# @return [Time]
|
|
1174
|
+
#
|
|
1175
|
+
# @!attribute [rw] end_time
|
|
1176
|
+
# The end of the time period to retrieve change events for. When used
|
|
1177
|
+
# in a raw HTTP Query API, it is formatted as epoch time in seconds.
|
|
1178
|
+
# For example: `1698778057`
|
|
1179
|
+
# @return [Time]
|
|
1180
|
+
#
|
|
1181
|
+
# @!attribute [rw] max_results
|
|
1182
|
+
# The maximum number of change events to return in one operation. If
|
|
1183
|
+
# you omit this parameter, the default of 50 is used.
|
|
1184
|
+
# @return [Integer]
|
|
1185
|
+
#
|
|
1186
|
+
# @!attribute [rw] next_token
|
|
1187
|
+
# Include this value, if it was returned by the previous operation, to
|
|
1188
|
+
# get the next set of change events.
|
|
1189
|
+
# @return [String]
|
|
1190
|
+
#
|
|
1191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListEntityEventsInput AWS API Documentation
|
|
1192
|
+
#
|
|
1193
|
+
class ListEntityEventsInput < Struct.new(
|
|
1194
|
+
:entity,
|
|
1195
|
+
:start_time,
|
|
1196
|
+
:end_time,
|
|
1197
|
+
:max_results,
|
|
1198
|
+
:next_token)
|
|
1199
|
+
SENSITIVE = []
|
|
1200
|
+
include Aws::Structure
|
|
1201
|
+
end
|
|
1202
|
+
|
|
1203
|
+
# @!attribute [rw] start_time
|
|
1204
|
+
# The start of the time period that the returned change events apply
|
|
1205
|
+
# to. When used in a raw HTTP Query API, it is formatted as epoch time
|
|
1206
|
+
# in seconds. For example: `1698778057`
|
|
1207
|
+
# @return [Time]
|
|
1208
|
+
#
|
|
1209
|
+
# @!attribute [rw] end_time
|
|
1210
|
+
# The end of the time period that the returned change events apply to.
|
|
1211
|
+
# When used in a raw HTTP Query API, it is formatted as epoch time in
|
|
1212
|
+
# seconds. For example: `1698778057`
|
|
1213
|
+
# @return [Time]
|
|
1214
|
+
#
|
|
1215
|
+
# @!attribute [rw] change_events
|
|
1216
|
+
# An array of structures, where each structure contains information
|
|
1217
|
+
# about one change event that occurred for the specified entity during
|
|
1218
|
+
# the requested time period.
|
|
1219
|
+
# @return [Array<Types::ChangeEvent>]
|
|
1220
|
+
#
|
|
1221
|
+
# @!attribute [rw] next_token
|
|
1222
|
+
# Include this value in your next use of this API to get the next set
|
|
1223
|
+
# of change events.
|
|
1224
|
+
# @return [String]
|
|
1225
|
+
#
|
|
1226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListEntityEventsOutput AWS API Documentation
|
|
1227
|
+
#
|
|
1228
|
+
class ListEntityEventsOutput < Struct.new(
|
|
1229
|
+
:start_time,
|
|
1230
|
+
:end_time,
|
|
1231
|
+
:change_events,
|
|
1232
|
+
:next_token)
|
|
1233
|
+
SENSITIVE = []
|
|
1234
|
+
include Aws::Structure
|
|
1235
|
+
end
|
|
1236
|
+
|
|
1046
1237
|
# @!attribute [rw] next_token
|
|
1047
1238
|
# Include this value, if it was returned by the previous operation, to
|
|
1048
1239
|
# get the next set of grouping attribute definitions.
|
|
1049
1240
|
# @return [String]
|
|
1050
1241
|
#
|
|
1242
|
+
# @!attribute [rw] aws_account_id
|
|
1243
|
+
# The Amazon Web Services account ID to retrieve grouping attribute
|
|
1244
|
+
# definitions for. Use this when accessing grouping configurations
|
|
1245
|
+
# from a different account in cross-account monitoring scenarios.
|
|
1246
|
+
# @return [String]
|
|
1247
|
+
#
|
|
1248
|
+
# @!attribute [rw] include_linked_accounts
|
|
1249
|
+
# If you are using this operation in a monitoring account, specify
|
|
1250
|
+
# `true` to include grouping attributes from source accounts in the
|
|
1251
|
+
# returned data.
|
|
1252
|
+
# @return [Boolean]
|
|
1253
|
+
#
|
|
1051
1254
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListGroupingAttributeDefinitionsInput AWS API Documentation
|
|
1052
1255
|
#
|
|
1053
1256
|
class ListGroupingAttributeDefinitionsInput < Struct.new(
|
|
1054
|
-
:next_token
|
|
1257
|
+
:next_token,
|
|
1258
|
+
:aws_account_id,
|
|
1259
|
+
:include_linked_accounts)
|
|
1055
1260
|
SENSITIVE = []
|
|
1056
1261
|
include Aws::Structure
|
|
1057
1262
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -339,6 +339,8 @@ module Aws
|
|
|
339
339
|
|
|
340
340
|
interface _ListAuditFindingsResponseSuccess
|
|
341
341
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAuditFindingsOutput]
|
|
342
|
+
def start_time: () -> ::Time
|
|
343
|
+
def end_time: () -> ::Time
|
|
342
344
|
def audit_findings: () -> ::Array[Types::AuditFinding]
|
|
343
345
|
def next_token: () -> ::String
|
|
344
346
|
end
|
|
@@ -370,15 +372,36 @@ module Aws
|
|
|
370
372
|
}?,
|
|
371
373
|
operation: ::String?,
|
|
372
374
|
metric_type: ::String?
|
|
375
|
+
}?,
|
|
376
|
+
canary: {
|
|
377
|
+
canary_name: ::String
|
|
373
378
|
}?
|
|
374
379
|
}
|
|
375
380
|
},
|
|
376
381
|
],
|
|
382
|
+
?detail_level: ("BRIEF" | "DETAILED"),
|
|
377
383
|
?next_token: ::String,
|
|
378
384
|
?max_results: ::Integer
|
|
379
385
|
) -> _ListAuditFindingsResponseSuccess
|
|
380
386
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAuditFindingsResponseSuccess
|
|
381
387
|
|
|
388
|
+
interface _ListEntityEventsResponseSuccess
|
|
389
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEntityEventsOutput]
|
|
390
|
+
def start_time: () -> ::Time
|
|
391
|
+
def end_time: () -> ::Time
|
|
392
|
+
def change_events: () -> ::Array[Types::ChangeEvent]
|
|
393
|
+
def next_token: () -> ::String
|
|
394
|
+
end
|
|
395
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_entity_events-instance_method
|
|
396
|
+
def list_entity_events: (
|
|
397
|
+
entity: Hash[::String, ::String],
|
|
398
|
+
start_time: ::Time,
|
|
399
|
+
end_time: ::Time,
|
|
400
|
+
?max_results: ::Integer,
|
|
401
|
+
?next_token: ::String
|
|
402
|
+
) -> _ListEntityEventsResponseSuccess
|
|
403
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEntityEventsResponseSuccess
|
|
404
|
+
|
|
382
405
|
interface _ListGroupingAttributeDefinitionsResponseSuccess
|
|
383
406
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupingAttributeDefinitionsOutput]
|
|
384
407
|
def grouping_attribute_definitions: () -> ::Array[Types::GroupingAttributeDefinition]
|
|
@@ -387,7 +410,9 @@ module Aws
|
|
|
387
410
|
end
|
|
388
411
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_grouping_attribute_definitions-instance_method
|
|
389
412
|
def list_grouping_attribute_definitions: (
|
|
390
|
-
?next_token: ::String
|
|
413
|
+
?next_token: ::String,
|
|
414
|
+
?aws_account_id: ::String,
|
|
415
|
+
?include_linked_accounts: bool
|
|
391
416
|
) -> _ListGroupingAttributeDefinitionsResponseSuccess
|
|
392
417
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupingAttributeDefinitionsResponseSuccess
|
|
393
418
|
|
data/sig/types.rbs
CHANGED
|
@@ -39,6 +39,7 @@ module Aws::ApplicationSignals
|
|
|
39
39
|
attr_accessor service: Types::ServiceEntity
|
|
40
40
|
attr_accessor slo: Types::ServiceLevelObjectiveEntity
|
|
41
41
|
attr_accessor service_operation: Types::ServiceOperationEntity
|
|
42
|
+
attr_accessor canary: Types::CanaryEntity
|
|
42
43
|
attr_accessor unknown: untyped
|
|
43
44
|
SENSITIVE: []
|
|
44
45
|
|
|
@@ -48,6 +49,8 @@ module Aws::ApplicationSignals
|
|
|
48
49
|
end
|
|
49
50
|
class ServiceOperation < AuditTargetEntity
|
|
50
51
|
end
|
|
52
|
+
class Canary < AuditTargetEntity
|
|
53
|
+
end
|
|
51
54
|
class Unknown < AuditTargetEntity
|
|
52
55
|
end
|
|
53
56
|
end
|
|
@@ -55,6 +58,7 @@ module Aws::ApplicationSignals
|
|
|
55
58
|
class AuditorResult
|
|
56
59
|
attr_accessor auditor: ::String
|
|
57
60
|
attr_accessor description: ::String
|
|
61
|
+
attr_accessor data: ::Hash[::String, ::String]
|
|
58
62
|
attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "NONE")
|
|
59
63
|
SENSITIVE: []
|
|
60
64
|
end
|
|
@@ -104,12 +108,17 @@ module Aws::ApplicationSignals
|
|
|
104
108
|
SENSITIVE: []
|
|
105
109
|
end
|
|
106
110
|
|
|
111
|
+
class CanaryEntity
|
|
112
|
+
attr_accessor canary_name: ::String
|
|
113
|
+
SENSITIVE: []
|
|
114
|
+
end
|
|
115
|
+
|
|
107
116
|
class ChangeEvent
|
|
108
117
|
attr_accessor timestamp: ::Time
|
|
109
118
|
attr_accessor account_id: ::String
|
|
110
119
|
attr_accessor region: ::String
|
|
111
120
|
attr_accessor entity: ::Hash[::String, ::String]
|
|
112
|
-
attr_accessor change_event_type: ("DEPLOYMENT")
|
|
121
|
+
attr_accessor change_event_type: ("DEPLOYMENT" | "CONFIGURATION")
|
|
113
122
|
attr_accessor event_id: ::String
|
|
114
123
|
attr_accessor user_name: ::String
|
|
115
124
|
attr_accessor event_name: ::String
|
|
@@ -246,19 +255,41 @@ module Aws::ApplicationSignals
|
|
|
246
255
|
attr_accessor end_time: ::Time
|
|
247
256
|
attr_accessor auditors: ::Array[::String]
|
|
248
257
|
attr_accessor audit_targets: ::Array[Types::AuditTarget]
|
|
258
|
+
attr_accessor detail_level: ("BRIEF" | "DETAILED")
|
|
249
259
|
attr_accessor next_token: ::String
|
|
250
260
|
attr_accessor max_results: ::Integer
|
|
251
261
|
SENSITIVE: []
|
|
252
262
|
end
|
|
253
263
|
|
|
254
264
|
class ListAuditFindingsOutput
|
|
265
|
+
attr_accessor start_time: ::Time
|
|
266
|
+
attr_accessor end_time: ::Time
|
|
255
267
|
attr_accessor audit_findings: ::Array[Types::AuditFinding]
|
|
256
268
|
attr_accessor next_token: ::String
|
|
257
269
|
SENSITIVE: []
|
|
258
270
|
end
|
|
259
271
|
|
|
272
|
+
class ListEntityEventsInput
|
|
273
|
+
attr_accessor entity: ::Hash[::String, ::String]
|
|
274
|
+
attr_accessor start_time: ::Time
|
|
275
|
+
attr_accessor end_time: ::Time
|
|
276
|
+
attr_accessor max_results: ::Integer
|
|
277
|
+
attr_accessor next_token: ::String
|
|
278
|
+
SENSITIVE: []
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
class ListEntityEventsOutput
|
|
282
|
+
attr_accessor start_time: ::Time
|
|
283
|
+
attr_accessor end_time: ::Time
|
|
284
|
+
attr_accessor change_events: ::Array[Types::ChangeEvent]
|
|
285
|
+
attr_accessor next_token: ::String
|
|
286
|
+
SENSITIVE: []
|
|
287
|
+
end
|
|
288
|
+
|
|
260
289
|
class ListGroupingAttributeDefinitionsInput
|
|
261
290
|
attr_accessor next_token: ::String
|
|
291
|
+
attr_accessor aws_account_id: ::String
|
|
292
|
+
attr_accessor include_linked_accounts: bool
|
|
262
293
|
SENSITIVE: []
|
|
263
294
|
end
|
|
264
295
|
|