aws-sdk-applicationsignals 1.27.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationsignals/client.rb +386 -17
- data/lib/aws-sdk-applicationsignals/client_api.rb +285 -1
- data/lib/aws-sdk-applicationsignals/types.rb +842 -21
- data/lib/aws-sdk-applicationsignals.rb +1 -1
- data/sig/client.rbs +105 -2
- data/sig/types.rbs +203 -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: 2b8e685627503894f0d02630d1e9c231a9fd7d8c817c842e193ca4fdd55b6256
|
4
|
+
data.tar.gz: 56609cd2953491787dc971584fad9e1edf472e81af802b3b4cea5994a8f91c86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2feb70ca06f45c386e8e2780265226e5ae06cf8b97c7648eb92aadcef62ef4526f6de7ca2eedac3b351c09d8392ef6e1e2be9ef24e566e8fd8b1ac57c5f19fc8
|
7
|
+
data.tar.gz: 346e19f59b353079d0a2b28afa35fa73a593f4fc260643b164cd9996438dd849c1a58ee3ba6ab143535fc732c160cd8250640b5458439828565b5565aa7bf5c0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2025-09-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon CloudWatch Application Signals is introducing the Application Map to give users a more comprehensive view of their service health. Users will now be able to group services, track their latest deployments, and view automated audit findings concerning service performance.
|
8
|
+
|
4
9
|
1.27.0 (2025-08-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -846,6 +846,7 @@ module Aws::ApplicationSignals
|
|
846
846
|
# },
|
847
847
|
# operation_name: "OperationName",
|
848
848
|
# metric_type: "LATENCY", # accepts LATENCY, AVAILABILITY
|
849
|
+
# metric_name: "MetricName",
|
849
850
|
# statistic: "ServiceLevelIndicatorStatistic",
|
850
851
|
# period_seconds: 1,
|
851
852
|
# metric_data_queries: [
|
@@ -1111,6 +1112,20 @@ module Aws::ApplicationSignals
|
|
1111
1112
|
req.send_request(options)
|
1112
1113
|
end
|
1113
1114
|
|
1115
|
+
# Deletes the grouping configuration for this account. This removes all
|
1116
|
+
# custom grouping attribute definitions that were previously configured.
|
1117
|
+
#
|
1118
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1119
|
+
#
|
1120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/DeleteGroupingConfiguration AWS API Documentation
|
1121
|
+
#
|
1122
|
+
# @overload delete_grouping_configuration(params = {})
|
1123
|
+
# @param [Hash] params ({})
|
1124
|
+
def delete_grouping_configuration(params = {}, options = {})
|
1125
|
+
req = build_request(:delete_grouping_configuration, params)
|
1126
|
+
req.send_request(options)
|
1127
|
+
end
|
1128
|
+
|
1114
1129
|
# Deletes the specified service level objective.
|
1115
1130
|
#
|
1116
1131
|
# @option params [required, String] :id
|
@@ -1197,6 +1212,11 @@ module Aws::ApplicationSignals
|
|
1197
1212
|
# resp.service.attribute_maps #=> Array
|
1198
1213
|
# resp.service.attribute_maps[0] #=> Hash
|
1199
1214
|
# resp.service.attribute_maps[0]["String"] #=> String
|
1215
|
+
# resp.service.service_groups #=> Array
|
1216
|
+
# resp.service.service_groups[0].group_name #=> String
|
1217
|
+
# resp.service.service_groups[0].group_value #=> String
|
1218
|
+
# resp.service.service_groups[0].group_source #=> String
|
1219
|
+
# resp.service.service_groups[0].group_identifier #=> String
|
1200
1220
|
# resp.service.metric_references #=> Array
|
1201
1221
|
# resp.service.metric_references[0].namespace #=> String
|
1202
1222
|
# resp.service.metric_references[0].metric_type #=> String
|
@@ -1350,6 +1370,209 @@ module Aws::ApplicationSignals
|
|
1350
1370
|
req.send_request(options)
|
1351
1371
|
end
|
1352
1372
|
|
1373
|
+
# Returns a list of audit findings that provide automated analysis of
|
1374
|
+
# service behavior and root cause analysis. These findings help identify
|
1375
|
+
# the most significant observations about your services, including
|
1376
|
+
# performance issues, anomalies, and potential problems. The findings
|
1377
|
+
# are generated using heuristic algorithms based on established
|
1378
|
+
# troubleshooting patterns.
|
1379
|
+
#
|
1380
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
1381
|
+
# The start of the time period to retrieve audit findings for. When used
|
1382
|
+
# in a raw HTTP Query API, it is formatted as epoch time in seconds. For
|
1383
|
+
# example, `1698778057`
|
1384
|
+
#
|
1385
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
1386
|
+
# The end of the time period to retrieve audit findings for. When used
|
1387
|
+
# in a raw HTTP Query API, it is formatted as epoch time in seconds. For
|
1388
|
+
# example, `1698778057`
|
1389
|
+
#
|
1390
|
+
# @option params [Array<String>] :auditors
|
1391
|
+
# A list of auditor names to filter the findings by. Only findings
|
1392
|
+
# generated by the specified auditors will be returned.
|
1393
|
+
#
|
1394
|
+
# The following auditors are available for configuration:
|
1395
|
+
#
|
1396
|
+
# * `slo` - SloAuditor: Identifies SLO violations and detects breached
|
1397
|
+
# thresholds during the Assessment phase.
|
1398
|
+
#
|
1399
|
+
# * `operation_metric` - OperationMetricAuditor: Detects anomalies in
|
1400
|
+
# service operation metrics from Application Signals RED metrics
|
1401
|
+
# during the Assessment phase
|
1402
|
+
#
|
1403
|
+
# * `service_quota` - ServiceQuotaAuditor: Monitors resource utilization
|
1404
|
+
# against service quotas during the Assessment phase
|
1405
|
+
#
|
1406
|
+
# * `trace` - TraceAuditor: Performs deep-dive analysis of distributed
|
1407
|
+
# traces, correlating traces with breached SLOs or abnormal RED
|
1408
|
+
# metrics during the Analysis phase
|
1409
|
+
#
|
1410
|
+
# * `dependency_metric` - CriticalPathAuditor: Analyzes service
|
1411
|
+
# dependency impacts and maps dependency relationships from
|
1412
|
+
# Application Signals RED metrics during the Analysis phase
|
1413
|
+
#
|
1414
|
+
# * `top_contributor` - TopContributorAuditor: Identifies
|
1415
|
+
# infrastructure-level contributors to issues by analyzing EMF logs of
|
1416
|
+
# Application Signals RED metrics during the Analysis phase
|
1417
|
+
#
|
1418
|
+
# * `log` - LogAuditor: Extracts insights from application logs,
|
1419
|
+
# categorizing error types and ranking severity by frequency during
|
1420
|
+
# the Analysis phase
|
1421
|
+
#
|
1422
|
+
# <note markdown="1"> `InitAuditor` and `Summarizer` auditors are not configurable as they
|
1423
|
+
# are automatically triggered during the audit process.
|
1424
|
+
#
|
1425
|
+
# </note>
|
1426
|
+
#
|
1427
|
+
# @option params [required, Array<Types::AuditTarget>] :audit_targets
|
1428
|
+
# A list of audit targets to filter the findings by. You can specify
|
1429
|
+
# services, SLOs, or service operations to limit the audit findings to
|
1430
|
+
# specific entities.
|
1431
|
+
#
|
1432
|
+
# @option params [String] :next_token
|
1433
|
+
# Include this value, if it was returned by the previous operation, to
|
1434
|
+
# get the next set of audit findings.
|
1435
|
+
#
|
1436
|
+
# @option params [Integer] :max_results
|
1437
|
+
# The maximum number of audit findings to return in one operation. If
|
1438
|
+
# you omit this parameter, the default of 10 is used.
|
1439
|
+
#
|
1440
|
+
# @return [Types::ListAuditFindingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1441
|
+
#
|
1442
|
+
# * {Types::ListAuditFindingsOutput#audit_findings #audit_findings} => Array<Types::AuditFinding>
|
1443
|
+
# * {Types::ListAuditFindingsOutput#next_token #next_token} => String
|
1444
|
+
#
|
1445
|
+
# @example Request syntax with placeholder values
|
1446
|
+
#
|
1447
|
+
# resp = client.list_audit_findings({
|
1448
|
+
# start_time: Time.now, # required
|
1449
|
+
# end_time: Time.now, # required
|
1450
|
+
# auditors: ["String"],
|
1451
|
+
# audit_targets: [ # required
|
1452
|
+
# {
|
1453
|
+
# type: "String", # required
|
1454
|
+
# data: { # required
|
1455
|
+
# service: {
|
1456
|
+
# type: "String",
|
1457
|
+
# name: "String",
|
1458
|
+
# environment: "String",
|
1459
|
+
# aws_account_id: "String",
|
1460
|
+
# },
|
1461
|
+
# slo: {
|
1462
|
+
# slo_name: "String",
|
1463
|
+
# slo_arn: "String",
|
1464
|
+
# },
|
1465
|
+
# service_operation: {
|
1466
|
+
# service: {
|
1467
|
+
# type: "String",
|
1468
|
+
# name: "String",
|
1469
|
+
# environment: "String",
|
1470
|
+
# aws_account_id: "String",
|
1471
|
+
# },
|
1472
|
+
# operation: "String",
|
1473
|
+
# metric_type: "String",
|
1474
|
+
# },
|
1475
|
+
# },
|
1476
|
+
# },
|
1477
|
+
# ],
|
1478
|
+
# next_token: "NextToken",
|
1479
|
+
# max_results: 1,
|
1480
|
+
# })
|
1481
|
+
#
|
1482
|
+
# @example Response structure
|
1483
|
+
#
|
1484
|
+
# resp.audit_findings #=> Array
|
1485
|
+
# resp.audit_findings[0].key_attributes #=> Hash
|
1486
|
+
# resp.audit_findings[0].key_attributes["KeyAttributeName"] #=> String
|
1487
|
+
# resp.audit_findings[0].auditor_results #=> Array
|
1488
|
+
# resp.audit_findings[0].auditor_results[0].auditor #=> String
|
1489
|
+
# resp.audit_findings[0].auditor_results[0].description #=> String
|
1490
|
+
# resp.audit_findings[0].auditor_results[0].severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "NONE"
|
1491
|
+
# resp.audit_findings[0].operation #=> String
|
1492
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries #=> Array
|
1493
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].id #=> String
|
1494
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].metric_stat.metric.namespace #=> String
|
1495
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].metric_stat.metric.metric_name #=> String
|
1496
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].metric_stat.metric.dimensions #=> Array
|
1497
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].metric_stat.metric.dimensions[0].name #=> String
|
1498
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].metric_stat.metric.dimensions[0].value #=> String
|
1499
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].metric_stat.period #=> Integer
|
1500
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].metric_stat.stat #=> String
|
1501
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
1502
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].expression #=> String
|
1503
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].label #=> String
|
1504
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].return_data #=> Boolean
|
1505
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].period #=> Integer
|
1506
|
+
# resp.audit_findings[0].metric_graph.metric_data_queries[0].account_id #=> String
|
1507
|
+
# resp.audit_findings[0].metric_graph.start_time #=> Time
|
1508
|
+
# resp.audit_findings[0].metric_graph.end_time #=> Time
|
1509
|
+
# resp.audit_findings[0].dependency_graph.nodes #=> Array
|
1510
|
+
# resp.audit_findings[0].dependency_graph.nodes[0].key_attributes #=> Hash
|
1511
|
+
# resp.audit_findings[0].dependency_graph.nodes[0].key_attributes["KeyAttributeName"] #=> String
|
1512
|
+
# resp.audit_findings[0].dependency_graph.nodes[0].name #=> String
|
1513
|
+
# resp.audit_findings[0].dependency_graph.nodes[0].node_id #=> String
|
1514
|
+
# resp.audit_findings[0].dependency_graph.nodes[0].operation #=> String
|
1515
|
+
# resp.audit_findings[0].dependency_graph.nodes[0].type #=> String
|
1516
|
+
# resp.audit_findings[0].dependency_graph.nodes[0].duration #=> Float
|
1517
|
+
# resp.audit_findings[0].dependency_graph.nodes[0].status #=> String
|
1518
|
+
# resp.audit_findings[0].dependency_graph.edges #=> Array
|
1519
|
+
# resp.audit_findings[0].dependency_graph.edges[0].source_node_id #=> String
|
1520
|
+
# resp.audit_findings[0].dependency_graph.edges[0].destination_node_id #=> String
|
1521
|
+
# resp.audit_findings[0].dependency_graph.edges[0].duration #=> Float
|
1522
|
+
# resp.audit_findings[0].dependency_graph.edges[0].connection_type #=> String, one of "INDIRECT", "DIRECT"
|
1523
|
+
# resp.audit_findings[0].type #=> String
|
1524
|
+
# resp.next_token #=> String
|
1525
|
+
#
|
1526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListAuditFindings AWS API Documentation
|
1527
|
+
#
|
1528
|
+
# @overload list_audit_findings(params = {})
|
1529
|
+
# @param [Hash] params ({})
|
1530
|
+
def list_audit_findings(params = {}, options = {})
|
1531
|
+
req = build_request(:list_audit_findings, params)
|
1532
|
+
req.send_request(options)
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
# Returns the current grouping configuration for this account, including
|
1536
|
+
# all custom grouping attribute definitions that have been configured.
|
1537
|
+
# These definitions determine how services are logically grouped based
|
1538
|
+
# on telemetry attributes, Amazon Web Services tags, or predefined
|
1539
|
+
# mappings.
|
1540
|
+
#
|
1541
|
+
# @option params [String] :next_token
|
1542
|
+
# Include this value, if it was returned by the previous operation, to
|
1543
|
+
# get the next set of grouping attribute definitions.
|
1544
|
+
#
|
1545
|
+
# @return [Types::ListGroupingAttributeDefinitionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1546
|
+
#
|
1547
|
+
# * {Types::ListGroupingAttributeDefinitionsOutput#grouping_attribute_definitions #grouping_attribute_definitions} => Array<Types::GroupingAttributeDefinition>
|
1548
|
+
# * {Types::ListGroupingAttributeDefinitionsOutput#updated_at #updated_at} => Time
|
1549
|
+
# * {Types::ListGroupingAttributeDefinitionsOutput#next_token #next_token} => String
|
1550
|
+
#
|
1551
|
+
# @example Request syntax with placeholder values
|
1552
|
+
#
|
1553
|
+
# resp = client.list_grouping_attribute_definitions({
|
1554
|
+
# next_token: "NextToken",
|
1555
|
+
# })
|
1556
|
+
#
|
1557
|
+
# @example Response structure
|
1558
|
+
#
|
1559
|
+
# resp.grouping_attribute_definitions #=> Array
|
1560
|
+
# resp.grouping_attribute_definitions[0].grouping_name #=> String
|
1561
|
+
# resp.grouping_attribute_definitions[0].grouping_source_keys #=> Array
|
1562
|
+
# resp.grouping_attribute_definitions[0].grouping_source_keys[0] #=> String
|
1563
|
+
# resp.grouping_attribute_definitions[0].default_grouping_value #=> String
|
1564
|
+
# resp.updated_at #=> Time
|
1565
|
+
# resp.next_token #=> String
|
1566
|
+
#
|
1567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListGroupingAttributeDefinitions AWS API Documentation
|
1568
|
+
#
|
1569
|
+
# @overload list_grouping_attribute_definitions(params = {})
|
1570
|
+
# @param [Hash] params ({})
|
1571
|
+
def list_grouping_attribute_definitions(params = {}, options = {})
|
1572
|
+
req = build_request(:list_grouping_attribute_definitions, params)
|
1573
|
+
req.send_request(options)
|
1574
|
+
end
|
1575
|
+
|
1353
1576
|
# Returns a list of service dependencies of the service that you
|
1354
1577
|
# specify. A dependency is an infrastructure component that an operation
|
1355
1578
|
# of this service connects with. Dependencies can include Amazon Web
|
@@ -1558,11 +1781,11 @@ module Aws::ApplicationSignals
|
|
1558
1781
|
#
|
1559
1782
|
# @option params [Integer] :max_results
|
1560
1783
|
# The maximum number of results to return in one operation. If you omit
|
1561
|
-
# this parameter, the default of 50 is used.
|
1784
|
+
# this parameter, the default of 50 is used.
|
1562
1785
|
#
|
1563
1786
|
# @option params [String] :next_token
|
1564
1787
|
# Include this value, if it was returned by the previous operation, to
|
1565
|
-
# get the next set of service level objectives.
|
1788
|
+
# get the next set of service level objectives.
|
1566
1789
|
#
|
1567
1790
|
# @return [Types::ListServiceLevelObjectiveExclusionWindowsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1568
1791
|
#
|
@@ -1638,6 +1861,19 @@ module Aws::ApplicationSignals
|
|
1638
1861
|
# Include this value, if it was returned by the previous operation, to
|
1639
1862
|
# get the next set of service level objectives.
|
1640
1863
|
#
|
1864
|
+
# @option params [Boolean] :include_linked_accounts
|
1865
|
+
# If you are using this operation in a monitoring account, specify
|
1866
|
+
# `true` to include SLO from source accounts in the returned data.
|
1867
|
+
#
|
1868
|
+
# When you are monitoring an account, you can use Amazon Web Services
|
1869
|
+
# account ID in `KeyAttribute` filter for service source account and
|
1870
|
+
# `SloOwnerawsaccountID` for SLO source account with
|
1871
|
+
# `IncludeLinkedAccounts` to filter the returned data to only a single
|
1872
|
+
# source account.
|
1873
|
+
#
|
1874
|
+
# @option params [String] :slo_owner_aws_account_id
|
1875
|
+
# SLO's Amazon Web Services account ID.
|
1876
|
+
#
|
1641
1877
|
# @option params [Array<String>] :metric_source_types
|
1642
1878
|
# Use this optional field to only include SLOs with the specified metric
|
1643
1879
|
# source types in the output. Supported types are:
|
@@ -1648,18 +1884,6 @@ module Aws::ApplicationSignals
|
|
1648
1884
|
#
|
1649
1885
|
# * CloudWatch metric
|
1650
1886
|
#
|
1651
|
-
# @option params [Boolean] :include_linked_accounts
|
1652
|
-
# If you are using this operation in a monitoring account, specify
|
1653
|
-
# `true` to include SLO from source accounts in the returned data.
|
1654
|
-
# </p> <p>When you are monitoring an account, you can use Amazon Web
|
1655
|
-
# Services account ID in <code>KeyAttribute</code> filter for service
|
1656
|
-
# source account and <code>SloOwnerawsaccountID</code> for SLO source
|
1657
|
-
# account with <code>IncludeLinkedAccounts</code> to filter the returned
|
1658
|
-
# data to only a single source account. </p>
|
1659
|
-
#
|
1660
|
-
# @option params [String] :slo_owner_aws_account_id
|
1661
|
-
# SLO's Amazon Web Services account ID.
|
1662
|
-
#
|
1663
1887
|
# @return [Types::ListServiceLevelObjectivesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1664
1888
|
#
|
1665
1889
|
# * {Types::ListServiceLevelObjectivesOutput#slo_summaries #slo_summaries} => Array<Types::ServiceLevelObjectiveSummary>
|
@@ -1682,9 +1906,9 @@ module Aws::ApplicationSignals
|
|
1682
1906
|
# },
|
1683
1907
|
# max_results: 1,
|
1684
1908
|
# next_token: "NextToken",
|
1685
|
-
# metric_source_types: ["ServiceOperation"], # accepts ServiceOperation, CloudWatchMetric, ServiceDependency
|
1686
1909
|
# include_linked_accounts: false,
|
1687
1910
|
# slo_owner_aws_account_id: "AwsAccountId",
|
1911
|
+
# metric_source_types: ["ServiceOperation"], # accepts ServiceOperation, CloudWatchMetric, ServiceDependency
|
1688
1912
|
# })
|
1689
1913
|
#
|
1690
1914
|
# @example Response structure
|
@@ -1808,6 +2032,100 @@ module Aws::ApplicationSignals
|
|
1808
2032
|
req.send_request(options)
|
1809
2033
|
end
|
1810
2034
|
|
2035
|
+
# Returns information about the last deployment and other change states
|
2036
|
+
# of services. This API provides visibility into recent changes that may
|
2037
|
+
# have affected service performance, helping with troubleshooting and
|
2038
|
+
# change correlation.
|
2039
|
+
#
|
2040
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
2041
|
+
# The start of the time period to retrieve service state information
|
2042
|
+
# for. When used in a raw HTTP Query API, it is formatted as epoch time
|
2043
|
+
# in seconds. For example, `1698778057`.
|
2044
|
+
#
|
2045
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
2046
|
+
# The end of the time period to retrieve service state information for.
|
2047
|
+
# When used in a raw HTTP Query API, it is formatted as epoch time in
|
2048
|
+
# seconds. For example, `1698778057`.
|
2049
|
+
#
|
2050
|
+
# @option params [Integer] :max_results
|
2051
|
+
# The maximum number of service states to return in one operation. If
|
2052
|
+
# you omit this parameter, the default of 20 is used.
|
2053
|
+
#
|
2054
|
+
# @option params [String] :next_token
|
2055
|
+
# Include this value, if it was returned by the previous operation, to
|
2056
|
+
# get the next set of service states.
|
2057
|
+
#
|
2058
|
+
# @option params [Boolean] :include_linked_accounts
|
2059
|
+
# If you are using this operation in a monitoring account, specify
|
2060
|
+
# `true` to include service states from source accounts in the returned
|
2061
|
+
# data.
|
2062
|
+
#
|
2063
|
+
# @option params [String] :aws_account_id
|
2064
|
+
# The Amazon Web Services account ID to filter service states by. Use
|
2065
|
+
# this to limit results to services from a specific account.
|
2066
|
+
#
|
2067
|
+
# @option params [Array<Types::AttributeFilter>] :attribute_filters
|
2068
|
+
# A list of attribute filters to narrow down the services. You can
|
2069
|
+
# filter by platform, environment, or other service attributes.
|
2070
|
+
#
|
2071
|
+
# @return [Types::ListServiceStatesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2072
|
+
#
|
2073
|
+
# * {Types::ListServiceStatesOutput#start_time #start_time} => Time
|
2074
|
+
# * {Types::ListServiceStatesOutput#end_time #end_time} => Time
|
2075
|
+
# * {Types::ListServiceStatesOutput#service_states #service_states} => Array<Types::ServiceState>
|
2076
|
+
# * {Types::ListServiceStatesOutput#next_token #next_token} => String
|
2077
|
+
#
|
2078
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2079
|
+
#
|
2080
|
+
# @example Request syntax with placeholder values
|
2081
|
+
#
|
2082
|
+
# resp = client.list_service_states({
|
2083
|
+
# start_time: Time.now, # required
|
2084
|
+
# end_time: Time.now, # required
|
2085
|
+
# max_results: 1,
|
2086
|
+
# next_token: "NextToken",
|
2087
|
+
# include_linked_accounts: false,
|
2088
|
+
# aws_account_id: "AwsAccountId",
|
2089
|
+
# attribute_filters: [
|
2090
|
+
# {
|
2091
|
+
# attribute_filter_name: "AttributeFilterName", # required
|
2092
|
+
# attribute_filter_values: ["AttributeFilterValue"], # required
|
2093
|
+
# },
|
2094
|
+
# ],
|
2095
|
+
# })
|
2096
|
+
#
|
2097
|
+
# @example Response structure
|
2098
|
+
#
|
2099
|
+
# resp.start_time #=> Time
|
2100
|
+
# resp.end_time #=> Time
|
2101
|
+
# resp.service_states #=> Array
|
2102
|
+
# resp.service_states[0].attribute_filters #=> Array
|
2103
|
+
# resp.service_states[0].attribute_filters[0].attribute_filter_name #=> String
|
2104
|
+
# resp.service_states[0].attribute_filters[0].attribute_filter_values #=> Array
|
2105
|
+
# resp.service_states[0].attribute_filters[0].attribute_filter_values[0] #=> String
|
2106
|
+
# resp.service_states[0].service #=> Hash
|
2107
|
+
# resp.service_states[0].service["KeyAttributeName"] #=> String
|
2108
|
+
# resp.service_states[0].latest_change_events #=> Array
|
2109
|
+
# resp.service_states[0].latest_change_events[0].timestamp #=> Time
|
2110
|
+
# resp.service_states[0].latest_change_events[0].account_id #=> String
|
2111
|
+
# resp.service_states[0].latest_change_events[0].region #=> String
|
2112
|
+
# resp.service_states[0].latest_change_events[0].entity #=> Hash
|
2113
|
+
# 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"
|
2115
|
+
# resp.service_states[0].latest_change_events[0].event_id #=> String
|
2116
|
+
# resp.service_states[0].latest_change_events[0].user_name #=> String
|
2117
|
+
# resp.service_states[0].latest_change_events[0].event_name #=> String
|
2118
|
+
# resp.next_token #=> String
|
2119
|
+
#
|
2120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServiceStates AWS API Documentation
|
2121
|
+
#
|
2122
|
+
# @overload list_service_states(params = {})
|
2123
|
+
# @param [Hash] params ({})
|
2124
|
+
def list_service_states(params = {}, options = {})
|
2125
|
+
req = build_request(:list_service_states, params)
|
2126
|
+
req.send_request(options)
|
2127
|
+
end
|
2128
|
+
|
1811
2129
|
# Returns a list of services that have been discovered by Application
|
1812
2130
|
# Signals. A service represents a minimum logical and transactional unit
|
1813
2131
|
# that completes a business function. Services are discovered through
|
@@ -1838,7 +2156,6 @@ module Aws::ApplicationSignals
|
|
1838
2156
|
# @option params [Boolean] :include_linked_accounts
|
1839
2157
|
# If you are using this operation in a monitoring account, specify
|
1840
2158
|
# `true` to include services from source accounts in the returned data.
|
1841
|
-
# </p>
|
1842
2159
|
#
|
1843
2160
|
# @option params [String] :aws_account_id
|
1844
2161
|
# Amazon Web Services Account ID.
|
@@ -1881,6 +2198,11 @@ module Aws::ApplicationSignals
|
|
1881
2198
|
# resp.service_summaries[0].metric_references[0].dimensions[0].value #=> String
|
1882
2199
|
# resp.service_summaries[0].metric_references[0].metric_name #=> String
|
1883
2200
|
# resp.service_summaries[0].metric_references[0].account_id #=> String
|
2201
|
+
# resp.service_summaries[0].service_groups #=> Array
|
2202
|
+
# resp.service_summaries[0].service_groups[0].group_name #=> String
|
2203
|
+
# resp.service_summaries[0].service_groups[0].group_value #=> String
|
2204
|
+
# resp.service_summaries[0].service_groups[0].group_source #=> String
|
2205
|
+
# resp.service_summaries[0].service_groups[0].group_identifier #=> String
|
1884
2206
|
# resp.next_token #=> String
|
1885
2207
|
#
|
1886
2208
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListServices AWS API Documentation
|
@@ -1934,6 +2256,52 @@ module Aws::ApplicationSignals
|
|
1934
2256
|
req.send_request(options)
|
1935
2257
|
end
|
1936
2258
|
|
2259
|
+
# Creates or updates the grouping configuration for this account. This
|
2260
|
+
# operation allows you to define custom grouping attributes that
|
2261
|
+
# determine how services are logically grouped based on telemetry
|
2262
|
+
# attributes, Amazon Web Services tags, or predefined mappings. These
|
2263
|
+
# grouping attributes can then be used to organize and filter services
|
2264
|
+
# in the Application Signals console and APIs.
|
2265
|
+
#
|
2266
|
+
# @option params [required, Array<Types::GroupingAttributeDefinition>] :grouping_attribute_definitions
|
2267
|
+
# An array of grouping attribute definitions that specify how services
|
2268
|
+
# should be grouped. Each definition includes a friendly name, source
|
2269
|
+
# keys to derive the grouping value from, and an optional default value.
|
2270
|
+
#
|
2271
|
+
# @return [Types::PutGroupingConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2272
|
+
#
|
2273
|
+
# * {Types::PutGroupingConfigurationOutput#grouping_configuration #grouping_configuration} => Types::GroupingConfiguration
|
2274
|
+
#
|
2275
|
+
# @example Request syntax with placeholder values
|
2276
|
+
#
|
2277
|
+
# resp = client.put_grouping_configuration({
|
2278
|
+
# grouping_attribute_definitions: [ # required
|
2279
|
+
# {
|
2280
|
+
# grouping_name: "GroupingString", # required
|
2281
|
+
# grouping_source_keys: ["GroupingString"],
|
2282
|
+
# default_grouping_value: "GroupingString",
|
2283
|
+
# },
|
2284
|
+
# ],
|
2285
|
+
# })
|
2286
|
+
#
|
2287
|
+
# @example Response structure
|
2288
|
+
#
|
2289
|
+
# resp.grouping_configuration.grouping_attribute_definitions #=> Array
|
2290
|
+
# resp.grouping_configuration.grouping_attribute_definitions[0].grouping_name #=> String
|
2291
|
+
# resp.grouping_configuration.grouping_attribute_definitions[0].grouping_source_keys #=> Array
|
2292
|
+
# resp.grouping_configuration.grouping_attribute_definitions[0].grouping_source_keys[0] #=> String
|
2293
|
+
# resp.grouping_configuration.grouping_attribute_definitions[0].default_grouping_value #=> String
|
2294
|
+
# resp.grouping_configuration.updated_at #=> Time
|
2295
|
+
#
|
2296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/PutGroupingConfiguration AWS API Documentation
|
2297
|
+
#
|
2298
|
+
# @overload put_grouping_configuration(params = {})
|
2299
|
+
# @param [Hash] params ({})
|
2300
|
+
def put_grouping_configuration(params = {}, options = {})
|
2301
|
+
req = build_request(:put_grouping_configuration, params)
|
2302
|
+
req.send_request(options)
|
2303
|
+
end
|
2304
|
+
|
1937
2305
|
# Enables this Amazon Web Services account to be able to use CloudWatch
|
1938
2306
|
# Application Signals by creating the
|
1939
2307
|
# *AWSServiceRoleForCloudWatchApplicationSignals* service-linked role.
|
@@ -2117,6 +2485,7 @@ module Aws::ApplicationSignals
|
|
2117
2485
|
# },
|
2118
2486
|
# operation_name: "OperationName",
|
2119
2487
|
# metric_type: "LATENCY", # accepts LATENCY, AVAILABILITY
|
2488
|
+
# metric_name: "MetricName",
|
2120
2489
|
# statistic: "ServiceLevelIndicatorStatistic",
|
2121
2490
|
# period_seconds: 1,
|
2122
2491
|
# metric_data_queries: [
|
@@ -2394,7 +2763,7 @@ module Aws::ApplicationSignals
|
|
2394
2763
|
tracer: tracer
|
2395
2764
|
)
|
2396
2765
|
context[:gem_name] = 'aws-sdk-applicationsignals'
|
2397
|
-
context[:gem_version] = '1.
|
2766
|
+
context[:gem_version] = '1.28.0'
|
2398
2767
|
Seahorse::Client::Request.new(handlers, context)
|
2399
2768
|
end
|
2400
2769
|
|