aws-sdk-devopsguru 1.21.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-devopsguru/client.rb +213 -2
- data/lib/aws-sdk-devopsguru/client_api.rb +216 -0
- data/lib/aws-sdk-devopsguru/types.rb +543 -14
- data/lib/aws-sdk-devopsguru.rb +1 -1
- 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: 06a91fde9a29161660e71beff7559016b4341f4aab47dcc6412f36c4a27724bc
|
4
|
+
data.tar.gz: 20b1e53a56f4bdd69c11f4041bf5831ceea0e8170a8ebc2e8adfdc76027b64f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d6e42da1639127acf3926ab76a84091bc6a248559f9af82e1022d74b1edaf3b83498d291e58dc8598b57ee885ae2b080860e728b23fbf694c0700889b2f9fe8
|
7
|
+
data.tar.gz: 771ec4bf72d6e3f058a1368918cacac2a42f8326adf25d2c1c0ddf9e5332b9aecefc477d5a958c55888af79de8ad7ae412605db40937d980b7f3b5c312fba107
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.0 (2022-07-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added new APIs for log anomaly detection feature.
|
8
|
+
|
9
|
+
1.23.0 (2022-04-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds new APIs DeleteInsight to deletes the insight along with the associated anomalies, events and recommendations.
|
13
|
+
|
14
|
+
1.22.0 (2022-03-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Amazon DevOps Guru now integrates with Amazon CodeGuru Profiler. You can view CodeGuru Profiler recommendations for your AWS Lambda function in DevOps Guru. This feature is enabled by default for new customers as of 3/4/2022. Existing customers can enable this feature with UpdateEventSourcesConfig.
|
18
|
+
|
4
19
|
1.21.0 (2022-02-24)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -358,8 +358,15 @@ module Aws::DevOpsGuru
|
|
358
358
|
# If you use an Amazon SNS topic in another account, you must attach a
|
359
359
|
# policy to it that grants DevOps Guru permission to it notifications.
|
360
360
|
# DevOps Guru adds the required policy on your behalf to send
|
361
|
+
# notifications using Amazon SNS in your account. DevOps Guru only
|
362
|
+
# supports standard SNS topics. For more information, see [Permissions
|
363
|
+
# for cross account Amazon SNS topics][1].
|
364
|
+
#
|
365
|
+
# If you use an Amazon SNS topic in another account, you must attach a
|
366
|
+
# policy to it that grants DevOps Guru permission to it notifications.
|
367
|
+
# DevOps Guru adds the required policy on your behalf to send
|
361
368
|
# notifications using Amazon SNS in your account. For more information,
|
362
|
-
# see
|
369
|
+
# see Permissions for cross account Amazon SNS topics.
|
363
370
|
#
|
364
371
|
# If you use an Amazon SNS topic that is encrypted by an Amazon Web
|
365
372
|
# Services Key Management Service customer-managed key (CMK), then you
|
@@ -404,6 +411,29 @@ module Aws::DevOpsGuru
|
|
404
411
|
req.send_request(options)
|
405
412
|
end
|
406
413
|
|
414
|
+
# Deletes the insight along with the associated anomalies, events and
|
415
|
+
# recommendations.
|
416
|
+
#
|
417
|
+
# @option params [required, String] :id
|
418
|
+
# The ID of the insight.
|
419
|
+
#
|
420
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
421
|
+
#
|
422
|
+
# @example Request syntax with placeholder values
|
423
|
+
#
|
424
|
+
# resp = client.delete_insight({
|
425
|
+
# id: "InsightId", # required
|
426
|
+
# })
|
427
|
+
#
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsight AWS API Documentation
|
429
|
+
#
|
430
|
+
# @overload delete_insight(params = {})
|
431
|
+
# @param [Hash] params ({})
|
432
|
+
def delete_insight(params = {}, options = {})
|
433
|
+
req = build_request(:delete_insight, params)
|
434
|
+
req.send_request(options)
|
435
|
+
end
|
436
|
+
|
407
437
|
# Returns the number of open reactive insights, the number of open
|
408
438
|
# proactive insights, and the number of metrics analyzed in your Amazon
|
409
439
|
# Web Services account. Use these numbers to gauge the health of
|
@@ -555,6 +585,12 @@ module Aws::DevOpsGuru
|
|
555
585
|
# resp.proactive_anomaly.resource_collection.tags[0].tag_values #=> Array
|
556
586
|
# resp.proactive_anomaly.resource_collection.tags[0].tag_values[0] #=> String
|
557
587
|
# resp.proactive_anomaly.limit #=> Float
|
588
|
+
# resp.proactive_anomaly.source_metadata.source #=> String
|
589
|
+
# resp.proactive_anomaly.source_metadata.source_resource_name #=> String
|
590
|
+
# resp.proactive_anomaly.source_metadata.source_resource_type #=> String
|
591
|
+
# resp.proactive_anomaly.anomaly_resources #=> Array
|
592
|
+
# resp.proactive_anomaly.anomaly_resources[0].name #=> String
|
593
|
+
# resp.proactive_anomaly.anomaly_resources[0].type #=> String
|
558
594
|
# resp.reactive_anomaly.id #=> String
|
559
595
|
# resp.reactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
560
596
|
# resp.reactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
|
@@ -625,6 +661,29 @@ module Aws::DevOpsGuru
|
|
625
661
|
req.send_request(options)
|
626
662
|
end
|
627
663
|
|
664
|
+
# Returns the integration status of services that are integrated with
|
665
|
+
# DevOps Guru as Consumer via EventBridge. The one service that can be
|
666
|
+
# integrated with DevOps Guru is Amazon CodeGuru Profiler, which can
|
667
|
+
# produce proactive recommendations which can be stored and viewed in
|
668
|
+
# DevOps Guru.
|
669
|
+
#
|
670
|
+
# @return [Types::DescribeEventSourcesConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
671
|
+
#
|
672
|
+
# * {Types::DescribeEventSourcesConfigResponse#event_sources #event_sources} => Types::EventSourcesConfig
|
673
|
+
#
|
674
|
+
# @example Response structure
|
675
|
+
#
|
676
|
+
# resp.event_sources.amazon_code_guru_profiler.status #=> String, one of "ENABLED", "DISABLED"
|
677
|
+
#
|
678
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfig AWS API Documentation
|
679
|
+
#
|
680
|
+
# @overload describe_event_sources_config(params = {})
|
681
|
+
# @param [Hash] params ({})
|
682
|
+
def describe_event_sources_config(params = {}, options = {})
|
683
|
+
req = build_request(:describe_event_sources_config, params)
|
684
|
+
req.send_request(options)
|
685
|
+
end
|
686
|
+
|
628
687
|
# Returns the most recent feedback submitted in the current Amazon Web
|
629
688
|
# Services account and Region.
|
630
689
|
#
|
@@ -692,6 +751,7 @@ module Aws::DevOpsGuru
|
|
692
751
|
# resp.proactive_insight.resource_collection.tags[0].tag_values #=> Array
|
693
752
|
# resp.proactive_insight.resource_collection.tags[0].tag_values[0] #=> String
|
694
753
|
# resp.proactive_insight.ssm_ops_item_id #=> String
|
754
|
+
# resp.proactive_insight.description #=> String
|
695
755
|
# resp.reactive_insight.id #=> String
|
696
756
|
# resp.reactive_insight.name #=> String
|
697
757
|
# resp.reactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
@@ -705,6 +765,7 @@ module Aws::DevOpsGuru
|
|
705
765
|
# resp.reactive_insight.resource_collection.tags[0].tag_values #=> Array
|
706
766
|
# resp.reactive_insight.resource_collection.tags[0].tag_values[0] #=> String
|
707
767
|
# resp.reactive_insight.ssm_ops_item_id #=> String
|
768
|
+
# resp.reactive_insight.description #=> String
|
708
769
|
#
|
709
770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight AWS API Documentation
|
710
771
|
#
|
@@ -965,6 +1026,7 @@ module Aws::DevOpsGuru
|
|
965
1026
|
# @example Response structure
|
966
1027
|
#
|
967
1028
|
# resp.service_integration.ops_center.opt_in_status #=> String, one of "ENABLED", "DISABLED"
|
1029
|
+
# resp.service_integration.logs_anomaly_detection.opt_in_status #=> String, one of "ENABLED", "DISABLED"
|
968
1030
|
#
|
969
1031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeServiceIntegration AWS API Documentation
|
970
1032
|
#
|
@@ -1189,6 +1251,12 @@ module Aws::DevOpsGuru
|
|
1189
1251
|
# resp.proactive_anomalies[0].resource_collection.tags[0].tag_values #=> Array
|
1190
1252
|
# resp.proactive_anomalies[0].resource_collection.tags[0].tag_values[0] #=> String
|
1191
1253
|
# resp.proactive_anomalies[0].limit #=> Float
|
1254
|
+
# resp.proactive_anomalies[0].source_metadata.source #=> String
|
1255
|
+
# resp.proactive_anomalies[0].source_metadata.source_resource_name #=> String
|
1256
|
+
# resp.proactive_anomalies[0].source_metadata.source_resource_type #=> String
|
1257
|
+
# resp.proactive_anomalies[0].anomaly_resources #=> Array
|
1258
|
+
# resp.proactive_anomalies[0].anomaly_resources[0].name #=> String
|
1259
|
+
# resp.proactive_anomalies[0].anomaly_resources[0].type #=> String
|
1192
1260
|
# resp.reactive_anomalies #=> Array
|
1193
1261
|
# resp.reactive_anomalies[0].id #=> String
|
1194
1262
|
# resp.reactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
@@ -1261,6 +1329,64 @@ module Aws::DevOpsGuru
|
|
1261
1329
|
req.send_request(options)
|
1262
1330
|
end
|
1263
1331
|
|
1332
|
+
# Returns the list of log groups that contain log anomalies.
|
1333
|
+
#
|
1334
|
+
# @option params [required, String] :insight_id
|
1335
|
+
# The ID of the insight containing the log groups.
|
1336
|
+
#
|
1337
|
+
# @option params [Integer] :max_results
|
1338
|
+
# The maximum number of results to return with a single call. To
|
1339
|
+
# retrieve the remaining results, make another call with the returned
|
1340
|
+
# `nextToken` value.
|
1341
|
+
#
|
1342
|
+
# @option params [String] :next_token
|
1343
|
+
# The pagination token to use to retrieve the next page of results for
|
1344
|
+
# this operation. If this value is null, it retrieves the first page.
|
1345
|
+
#
|
1346
|
+
# @return [Types::ListAnomalousLogGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1347
|
+
#
|
1348
|
+
# * {Types::ListAnomalousLogGroupsResponse#insight_id #insight_id} => String
|
1349
|
+
# * {Types::ListAnomalousLogGroupsResponse#anomalous_log_groups #anomalous_log_groups} => Array<Types::AnomalousLogGroup>
|
1350
|
+
# * {Types::ListAnomalousLogGroupsResponse#next_token #next_token} => String
|
1351
|
+
#
|
1352
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1353
|
+
#
|
1354
|
+
# @example Request syntax with placeholder values
|
1355
|
+
#
|
1356
|
+
# resp = client.list_anomalous_log_groups({
|
1357
|
+
# insight_id: "InsightId", # required
|
1358
|
+
# max_results: 1,
|
1359
|
+
# next_token: "UuidNextToken",
|
1360
|
+
# })
|
1361
|
+
#
|
1362
|
+
# @example Response structure
|
1363
|
+
#
|
1364
|
+
# resp.insight_id #=> String
|
1365
|
+
# resp.anomalous_log_groups #=> Array
|
1366
|
+
# resp.anomalous_log_groups[0].log_group_name #=> String
|
1367
|
+
# resp.anomalous_log_groups[0].impact_start_time #=> Time
|
1368
|
+
# resp.anomalous_log_groups[0].impact_end_time #=> Time
|
1369
|
+
# resp.anomalous_log_groups[0].number_of_log_lines_scanned #=> Integer
|
1370
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases #=> Array
|
1371
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes #=> Array
|
1372
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_stream_name #=> String
|
1373
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_anomaly_type #=> String, one of "KEYWORD", "KEYWORD_TOKEN", "FORMAT", "HTTP_CODE", "BLOCK_FORMAT", "NUMERICAL_POINT", "NUMERICAL_NAN", "NEW_FIELD_NAME"
|
1374
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_anomaly_token #=> String
|
1375
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_event_id #=> String
|
1376
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].explanation #=> String
|
1377
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].number_of_log_lines_occurrences #=> Integer
|
1378
|
+
# resp.anomalous_log_groups[0].log_anomaly_showcases[0].log_anomaly_classes[0].log_event_timestamp #=> Time
|
1379
|
+
# resp.next_token #=> String
|
1380
|
+
#
|
1381
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomalousLogGroups AWS API Documentation
|
1382
|
+
#
|
1383
|
+
# @overload list_anomalous_log_groups(params = {})
|
1384
|
+
# @param [Hash] params ({})
|
1385
|
+
def list_anomalous_log_groups(params = {}, options = {})
|
1386
|
+
req = build_request(:list_anomalous_log_groups, params)
|
1387
|
+
req.send_request(options)
|
1388
|
+
end
|
1389
|
+
|
1264
1390
|
# Returns a list of the events emitted by the resources that are
|
1265
1391
|
# evaluated by DevOps Guru. You can use filters to specify which events
|
1266
1392
|
# are returned.
|
@@ -1446,6 +1572,57 @@ module Aws::DevOpsGuru
|
|
1446
1572
|
req.send_request(options)
|
1447
1573
|
end
|
1448
1574
|
|
1575
|
+
# Returns the list of all log groups that are being monitored and tagged
|
1576
|
+
# by DevOps Guru.
|
1577
|
+
#
|
1578
|
+
# @option params [required, Types::ListMonitoredResourcesFilters] :filters
|
1579
|
+
# Filters to determine which monitored resources you want to retrieve.
|
1580
|
+
# You can filter by resource type or resource permission status.
|
1581
|
+
#
|
1582
|
+
# @option params [Integer] :max_results
|
1583
|
+
# The maximum number of results to return with a single call. To
|
1584
|
+
# retrieve the remaining results, make another call with the returned
|
1585
|
+
# `nextToken` value.
|
1586
|
+
#
|
1587
|
+
# @option params [String] :next_token
|
1588
|
+
# The pagination token to use to retrieve the next page of results for
|
1589
|
+
# this operation. If this value is null, it retrieves the first page.
|
1590
|
+
#
|
1591
|
+
# @return [Types::ListMonitoredResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1592
|
+
#
|
1593
|
+
# * {Types::ListMonitoredResourcesResponse#monitored_resource_identifiers #monitored_resource_identifiers} => Array<Types::MonitoredResourceIdentifier>
|
1594
|
+
# * {Types::ListMonitoredResourcesResponse#next_token #next_token} => String
|
1595
|
+
#
|
1596
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1597
|
+
#
|
1598
|
+
# @example Request syntax with placeholder values
|
1599
|
+
#
|
1600
|
+
# resp = client.list_monitored_resources({
|
1601
|
+
# filters: { # required
|
1602
|
+
# resource_permission: "FULL_PERMISSION", # required, accepts FULL_PERMISSION, MISSING_PERMISSION
|
1603
|
+
# resource_type_filters: ["LOG_GROUPS"], # required, accepts LOG_GROUPS
|
1604
|
+
# },
|
1605
|
+
# max_results: 1,
|
1606
|
+
# next_token: "UuidNextToken",
|
1607
|
+
# })
|
1608
|
+
#
|
1609
|
+
# @example Response structure
|
1610
|
+
#
|
1611
|
+
# resp.monitored_resource_identifiers #=> Array
|
1612
|
+
# resp.monitored_resource_identifiers[0].monitored_resource_name #=> String
|
1613
|
+
# resp.monitored_resource_identifiers[0].type #=> String
|
1614
|
+
# resp.monitored_resource_identifiers[0].resource_permission #=> String, one of "FULL_PERMISSION", "MISSING_PERMISSION"
|
1615
|
+
# resp.next_token #=> String
|
1616
|
+
#
|
1617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResources AWS API Documentation
|
1618
|
+
#
|
1619
|
+
# @overload list_monitored_resources(params = {})
|
1620
|
+
# @param [Hash] params ({})
|
1621
|
+
def list_monitored_resources(params = {}, options = {})
|
1622
|
+
req = build_request(:list_monitored_resources, params)
|
1623
|
+
req.send_request(options)
|
1624
|
+
end
|
1625
|
+
|
1449
1626
|
# Returns a list of notification channels configured for DevOps Guru.
|
1450
1627
|
# Each notification channel is used to notify you when DevOps Guru
|
1451
1628
|
# generates an insight that contains information about how to improve
|
@@ -1644,6 +1821,7 @@ module Aws::DevOpsGuru
|
|
1644
1821
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].metric_name #=> String
|
1645
1822
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].namespace #=> String
|
1646
1823
|
# resp.recommendations[0].related_anomalies[0].anomaly_id #=> String
|
1824
|
+
# resp.recommendations[0].category #=> String
|
1647
1825
|
# resp.next_token #=> String
|
1648
1826
|
#
|
1649
1827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations AWS API Documentation
|
@@ -1985,6 +2163,36 @@ module Aws::DevOpsGuru
|
|
1985
2163
|
req.send_request(options)
|
1986
2164
|
end
|
1987
2165
|
|
2166
|
+
# Enables or disables integration with a service that can be integrated
|
2167
|
+
# with DevOps Guru. The one service that can be integrated with DevOps
|
2168
|
+
# Guru is Amazon CodeGuru Profiler, which can produce proactive
|
2169
|
+
# recommendations which can be stored and viewed in DevOps Guru.
|
2170
|
+
#
|
2171
|
+
# @option params [Types::EventSourcesConfig] :event_sources
|
2172
|
+
# Configuration information about the integration of DevOps Guru as the
|
2173
|
+
# Consumer via EventBridge with another AWS Service.
|
2174
|
+
#
|
2175
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2176
|
+
#
|
2177
|
+
# @example Request syntax with placeholder values
|
2178
|
+
#
|
2179
|
+
# resp = client.update_event_sources_config({
|
2180
|
+
# event_sources: {
|
2181
|
+
# amazon_code_guru_profiler: {
|
2182
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
2183
|
+
# },
|
2184
|
+
# },
|
2185
|
+
# })
|
2186
|
+
#
|
2187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfig AWS API Documentation
|
2188
|
+
#
|
2189
|
+
# @overload update_event_sources_config(params = {})
|
2190
|
+
# @param [Hash] params ({})
|
2191
|
+
def update_event_sources_config(params = {}, options = {})
|
2192
|
+
req = build_request(:update_event_sources_config, params)
|
2193
|
+
req.send_request(options)
|
2194
|
+
end
|
2195
|
+
|
1988
2196
|
# Updates the collection of resources that DevOps Guru analyzes. The two
|
1989
2197
|
# types of Amazon Web Services resource collections supported are Amazon
|
1990
2198
|
# Web Services CloudFormation stacks and Amazon Web Services resources
|
@@ -2049,6 +2257,9 @@ module Aws::DevOpsGuru
|
|
2049
2257
|
# ops_center: {
|
2050
2258
|
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
2051
2259
|
# },
|
2260
|
+
# logs_anomaly_detection: {
|
2261
|
+
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
2262
|
+
# },
|
2052
2263
|
# },
|
2053
2264
|
# })
|
2054
2265
|
#
|
@@ -2074,7 +2285,7 @@ module Aws::DevOpsGuru
|
|
2074
2285
|
params: params,
|
2075
2286
|
config: config)
|
2076
2287
|
context[:gem_name] = 'aws-sdk-devopsguru'
|
2077
|
-
context[:gem_version] = '1.
|
2288
|
+
context[:gem_version] = '1.24.0'
|
2078
2289
|
Seahorse::Client::Request.new(handlers, context)
|
2079
2290
|
end
|
2080
2291
|
|