aws-sdk-devopsguru 1.23.0 → 1.24.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-devopsguru/client.rb +114 -1
- data/lib/aws-sdk-devopsguru/client_api.rb +132 -0
- data/lib/aws-sdk-devopsguru/types.rb +332 -5
- 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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -1026,6 +1026,7 @@ module Aws::DevOpsGuru
|
|
1026
1026
|
# @example Response structure
|
1027
1027
|
#
|
1028
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"
|
1029
1030
|
#
|
1030
1031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeServiceIntegration AWS API Documentation
|
1031
1032
|
#
|
@@ -1328,6 +1329,64 @@ module Aws::DevOpsGuru
|
|
1328
1329
|
req.send_request(options)
|
1329
1330
|
end
|
1330
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
|
+
|
1331
1390
|
# Returns a list of the events emitted by the resources that are
|
1332
1391
|
# evaluated by DevOps Guru. You can use filters to specify which events
|
1333
1392
|
# are returned.
|
@@ -1513,6 +1572,57 @@ module Aws::DevOpsGuru
|
|
1513
1572
|
req.send_request(options)
|
1514
1573
|
end
|
1515
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
|
+
|
1516
1626
|
# Returns a list of notification channels configured for DevOps Guru.
|
1517
1627
|
# Each notification channel is used to notify you when DevOps Guru
|
1518
1628
|
# generates an insight that contains information about how to improve
|
@@ -2147,6 +2257,9 @@ module Aws::DevOpsGuru
|
|
2147
2257
|
# ops_center: {
|
2148
2258
|
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
2149
2259
|
# },
|
2260
|
+
# logs_anomaly_detection: {
|
2261
|
+
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
2262
|
+
# },
|
2150
2263
|
# },
|
2151
2264
|
# })
|
2152
2265
|
#
|
@@ -2172,7 +2285,7 @@ module Aws::DevOpsGuru
|
|
2172
2285
|
params: params,
|
2173
2286
|
config: config)
|
2174
2287
|
context[:gem_name] = 'aws-sdk-devopsguru'
|
2175
|
-
context[:gem_version] = '1.
|
2288
|
+
context[:gem_version] = '1.24.0'
|
2176
2289
|
Seahorse::Client::Request.new(handlers, context)
|
2177
2290
|
end
|
2178
2291
|
|
@@ -21,6 +21,8 @@ module Aws::DevOpsGuru
|
|
21
21
|
AddNotificationChannelRequest = Shapes::StructureShape.new(name: 'AddNotificationChannelRequest')
|
22
22
|
AddNotificationChannelResponse = Shapes::StructureShape.new(name: 'AddNotificationChannelResponse')
|
23
23
|
AmazonCodeGuruProfilerIntegration = Shapes::StructureShape.new(name: 'AmazonCodeGuruProfilerIntegration')
|
24
|
+
AnomalousLogGroup = Shapes::StructureShape.new(name: 'AnomalousLogGroup')
|
25
|
+
AnomalousLogGroups = Shapes::ListShape.new(name: 'AnomalousLogGroups')
|
24
26
|
AnomalyDescription = Shapes::StringShape.new(name: 'AnomalyDescription')
|
25
27
|
AnomalyId = Shapes::StringShape.new(name: 'AnomalyId')
|
26
28
|
AnomalyLimit = Shapes::FloatShape.new(name: 'AnomalyLimit')
|
@@ -111,6 +113,7 @@ module Aws::DevOpsGuru
|
|
111
113
|
EventSourcesConfig = Shapes::StructureShape.new(name: 'EventSourcesConfig')
|
112
114
|
EventTimeRange = Shapes::StructureShape.new(name: 'EventTimeRange')
|
113
115
|
Events = Shapes::ListShape.new(name: 'Events')
|
116
|
+
Explanation = Shapes::StringShape.new(name: 'Explanation')
|
114
117
|
GetCostEstimationRequest = Shapes::StructureShape.new(name: 'GetCostEstimationRequest')
|
115
118
|
GetCostEstimationResponse = Shapes::StructureShape.new(name: 'GetCostEstimationResponse')
|
116
119
|
GetResourceCollectionRequest = Shapes::StructureShape.new(name: 'GetResourceCollectionRequest')
|
@@ -131,6 +134,9 @@ module Aws::DevOpsGuru
|
|
131
134
|
ListAnomaliesForInsightMaxResults = Shapes::IntegerShape.new(name: 'ListAnomaliesForInsightMaxResults')
|
132
135
|
ListAnomaliesForInsightRequest = Shapes::StructureShape.new(name: 'ListAnomaliesForInsightRequest')
|
133
136
|
ListAnomaliesForInsightResponse = Shapes::StructureShape.new(name: 'ListAnomaliesForInsightResponse')
|
137
|
+
ListAnomalousLogGroupsMaxResults = Shapes::IntegerShape.new(name: 'ListAnomalousLogGroupsMaxResults')
|
138
|
+
ListAnomalousLogGroupsRequest = Shapes::StructureShape.new(name: 'ListAnomalousLogGroupsRequest')
|
139
|
+
ListAnomalousLogGroupsResponse = Shapes::StructureShape.new(name: 'ListAnomalousLogGroupsResponse')
|
134
140
|
ListEventsFilters = Shapes::StructureShape.new(name: 'ListEventsFilters')
|
135
141
|
ListEventsMaxResults = Shapes::IntegerShape.new(name: 'ListEventsMaxResults')
|
136
142
|
ListEventsRequest = Shapes::StructureShape.new(name: 'ListEventsRequest')
|
@@ -144,6 +150,10 @@ module Aws::DevOpsGuru
|
|
144
150
|
ListInsightsRequest = Shapes::StructureShape.new(name: 'ListInsightsRequest')
|
145
151
|
ListInsightsResponse = Shapes::StructureShape.new(name: 'ListInsightsResponse')
|
146
152
|
ListInsightsStatusFilter = Shapes::StructureShape.new(name: 'ListInsightsStatusFilter')
|
153
|
+
ListMonitoredResourcesFilters = Shapes::StructureShape.new(name: 'ListMonitoredResourcesFilters')
|
154
|
+
ListMonitoredResourcesMaxResults = Shapes::IntegerShape.new(name: 'ListMonitoredResourcesMaxResults')
|
155
|
+
ListMonitoredResourcesRequest = Shapes::StructureShape.new(name: 'ListMonitoredResourcesRequest')
|
156
|
+
ListMonitoredResourcesResponse = Shapes::StructureShape.new(name: 'ListMonitoredResourcesResponse')
|
147
157
|
ListNotificationChannelsRequest = Shapes::StructureShape.new(name: 'ListNotificationChannelsRequest')
|
148
158
|
ListNotificationChannelsResponse = Shapes::StructureShape.new(name: 'ListNotificationChannelsResponse')
|
149
159
|
ListOrganizationInsightsRequest = Shapes::StructureShape.new(name: 'ListOrganizationInsightsRequest')
|
@@ -151,8 +161,22 @@ module Aws::DevOpsGuru
|
|
151
161
|
ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest')
|
152
162
|
ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
|
153
163
|
Locale = Shapes::StringShape.new(name: 'Locale')
|
164
|
+
LogAnomalyClass = Shapes::StructureShape.new(name: 'LogAnomalyClass')
|
165
|
+
LogAnomalyClasses = Shapes::ListShape.new(name: 'LogAnomalyClasses')
|
166
|
+
LogAnomalyShowcase = Shapes::StructureShape.new(name: 'LogAnomalyShowcase')
|
167
|
+
LogAnomalyShowcases = Shapes::ListShape.new(name: 'LogAnomalyShowcases')
|
168
|
+
LogAnomalyToken = Shapes::StringShape.new(name: 'LogAnomalyToken')
|
169
|
+
LogAnomalyType = Shapes::StringShape.new(name: 'LogAnomalyType')
|
170
|
+
LogEventId = Shapes::StringShape.new(name: 'LogEventId')
|
171
|
+
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
172
|
+
LogStreamName = Shapes::StringShape.new(name: 'LogStreamName')
|
173
|
+
LogsAnomalyDetectionIntegration = Shapes::StructureShape.new(name: 'LogsAnomalyDetectionIntegration')
|
174
|
+
LogsAnomalyDetectionIntegrationConfig = Shapes::StructureShape.new(name: 'LogsAnomalyDetectionIntegrationConfig')
|
154
175
|
MeanTimeToRecoverInMilliseconds = Shapes::IntegerShape.new(name: 'MeanTimeToRecoverInMilliseconds')
|
155
176
|
MetricValue = Shapes::FloatShape.new(name: 'MetricValue')
|
177
|
+
MonitoredResourceIdentifier = Shapes::StructureShape.new(name: 'MonitoredResourceIdentifier')
|
178
|
+
MonitoredResourceIdentifiers = Shapes::ListShape.new(name: 'MonitoredResourceIdentifiers')
|
179
|
+
MonitoredResourceName = Shapes::StringShape.new(name: 'MonitoredResourceName')
|
156
180
|
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
157
181
|
NotificationChannelConfig = Shapes::StructureShape.new(name: 'NotificationChannelConfig')
|
158
182
|
NotificationChannelId = Shapes::StringShape.new(name: 'NotificationChannelId')
|
@@ -161,6 +185,8 @@ module Aws::DevOpsGuru
|
|
161
185
|
NumOpenReactiveInsights = Shapes::IntegerShape.new(name: 'NumOpenReactiveInsights')
|
162
186
|
NumProactiveInsights = Shapes::IntegerShape.new(name: 'NumProactiveInsights')
|
163
187
|
NumReactiveInsights = Shapes::IntegerShape.new(name: 'NumReactiveInsights')
|
188
|
+
NumberOfLogLinesOccurrences = Shapes::IntegerShape.new(name: 'NumberOfLogLinesOccurrences')
|
189
|
+
NumberOfLogLinesScanned = Shapes::IntegerShape.new(name: 'NumberOfLogLinesScanned')
|
164
190
|
OpsCenterIntegration = Shapes::StructureShape.new(name: 'OpsCenterIntegration')
|
165
191
|
OpsCenterIntegrationConfig = Shapes::StructureShape.new(name: 'OpsCenterIntegrationConfig')
|
166
192
|
OptInStatus = Shapes::StringShape.new(name: 'OptInStatus')
|
@@ -248,7 +274,10 @@ module Aws::DevOpsGuru
|
|
248
274
|
ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
|
249
275
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
250
276
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
277
|
+
ResourcePermission = Shapes::StringShape.new(name: 'ResourcePermission')
|
251
278
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
279
|
+
ResourceTypeFilter = Shapes::StringShape.new(name: 'ResourceTypeFilter')
|
280
|
+
ResourceTypeFilters = Shapes::ListShape.new(name: 'ResourceTypeFilters')
|
252
281
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
253
282
|
SearchInsightsAccountIdList = Shapes::ListShape.new(name: 'SearchInsightsAccountIdList')
|
254
283
|
SearchInsightsFilters = Shapes::StructureShape.new(name: 'SearchInsightsFilters')
|
@@ -335,6 +364,15 @@ module Aws::DevOpsGuru
|
|
335
364
|
AmazonCodeGuruProfilerIntegration.add_member(:status, Shapes::ShapeRef.new(shape: EventSourceOptInStatus, location_name: "Status"))
|
336
365
|
AmazonCodeGuruProfilerIntegration.struct_class = Types::AmazonCodeGuruProfilerIntegration
|
337
366
|
|
367
|
+
AnomalousLogGroup.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "LogGroupName"))
|
368
|
+
AnomalousLogGroup.add_member(:impact_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ImpactStartTime"))
|
369
|
+
AnomalousLogGroup.add_member(:impact_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ImpactEndTime"))
|
370
|
+
AnomalousLogGroup.add_member(:number_of_log_lines_scanned, Shapes::ShapeRef.new(shape: NumberOfLogLinesScanned, location_name: "NumberOfLogLinesScanned"))
|
371
|
+
AnomalousLogGroup.add_member(:log_anomaly_showcases, Shapes::ShapeRef.new(shape: LogAnomalyShowcases, location_name: "LogAnomalyShowcases"))
|
372
|
+
AnomalousLogGroup.struct_class = Types::AnomalousLogGroup
|
373
|
+
|
374
|
+
AnomalousLogGroups.member = Shapes::ShapeRef.new(shape: AnomalousLogGroup)
|
375
|
+
|
338
376
|
AnomalyReportedTimeRange.add_member(:open_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "OpenTime"))
|
339
377
|
AnomalyReportedTimeRange.add_member(:close_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CloseTime"))
|
340
378
|
AnomalyReportedTimeRange.struct_class = Types::AnomalyReportedTimeRange
|
@@ -595,6 +633,16 @@ module Aws::DevOpsGuru
|
|
595
633
|
ListAnomaliesForInsightResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
596
634
|
ListAnomaliesForInsightResponse.struct_class = Types::ListAnomaliesForInsightResponse
|
597
635
|
|
636
|
+
ListAnomalousLogGroupsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
|
637
|
+
ListAnomalousLogGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAnomalousLogGroupsMaxResults, location_name: "MaxResults"))
|
638
|
+
ListAnomalousLogGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
639
|
+
ListAnomalousLogGroupsRequest.struct_class = Types::ListAnomalousLogGroupsRequest
|
640
|
+
|
641
|
+
ListAnomalousLogGroupsResponse.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
|
642
|
+
ListAnomalousLogGroupsResponse.add_member(:anomalous_log_groups, Shapes::ShapeRef.new(shape: AnomalousLogGroups, required: true, location_name: "AnomalousLogGroups"))
|
643
|
+
ListAnomalousLogGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
644
|
+
ListAnomalousLogGroupsResponse.struct_class = Types::ListAnomalousLogGroupsResponse
|
645
|
+
|
598
646
|
ListEventsFilters.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
|
599
647
|
ListEventsFilters.add_member(:event_time_range, Shapes::ShapeRef.new(shape: EventTimeRange, location_name: "EventTimeRange"))
|
600
648
|
ListEventsFilters.add_member(:event_class, Shapes::ShapeRef.new(shape: EventClass, location_name: "EventClass"))
|
@@ -643,6 +691,19 @@ module Aws::DevOpsGuru
|
|
643
691
|
ListInsightsStatusFilter.add_member(:any, Shapes::ShapeRef.new(shape: ListInsightsAnyStatusFilter, location_name: "Any"))
|
644
692
|
ListInsightsStatusFilter.struct_class = Types::ListInsightsStatusFilter
|
645
693
|
|
694
|
+
ListMonitoredResourcesFilters.add_member(:resource_permission, Shapes::ShapeRef.new(shape: ResourcePermission, required: true, location_name: "ResourcePermission"))
|
695
|
+
ListMonitoredResourcesFilters.add_member(:resource_type_filters, Shapes::ShapeRef.new(shape: ResourceTypeFilters, required: true, location_name: "ResourceTypeFilters"))
|
696
|
+
ListMonitoredResourcesFilters.struct_class = Types::ListMonitoredResourcesFilters
|
697
|
+
|
698
|
+
ListMonitoredResourcesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListMonitoredResourcesFilters, required: true, location_name: "Filters"))
|
699
|
+
ListMonitoredResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMonitoredResourcesMaxResults, location_name: "MaxResults"))
|
700
|
+
ListMonitoredResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
701
|
+
ListMonitoredResourcesRequest.struct_class = Types::ListMonitoredResourcesRequest
|
702
|
+
|
703
|
+
ListMonitoredResourcesResponse.add_member(:monitored_resource_identifiers, Shapes::ShapeRef.new(shape: MonitoredResourceIdentifiers, required: true, location_name: "MonitoredResourceIdentifiers"))
|
704
|
+
ListMonitoredResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
705
|
+
ListMonitoredResourcesResponse.struct_class = Types::ListMonitoredResourcesResponse
|
706
|
+
|
646
707
|
ListNotificationChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
647
708
|
ListNotificationChannelsRequest.struct_class = Types::ListNotificationChannelsRequest
|
648
709
|
|
@@ -672,6 +733,35 @@ module Aws::DevOpsGuru
|
|
672
733
|
ListRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
673
734
|
ListRecommendationsResponse.struct_class = Types::ListRecommendationsResponse
|
674
735
|
|
736
|
+
LogAnomalyClass.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "LogStreamName"))
|
737
|
+
LogAnomalyClass.add_member(:log_anomaly_type, Shapes::ShapeRef.new(shape: LogAnomalyType, location_name: "LogAnomalyType"))
|
738
|
+
LogAnomalyClass.add_member(:log_anomaly_token, Shapes::ShapeRef.new(shape: LogAnomalyToken, location_name: "LogAnomalyToken"))
|
739
|
+
LogAnomalyClass.add_member(:log_event_id, Shapes::ShapeRef.new(shape: LogEventId, location_name: "LogEventId"))
|
740
|
+
LogAnomalyClass.add_member(:explanation, Shapes::ShapeRef.new(shape: Explanation, location_name: "Explanation"))
|
741
|
+
LogAnomalyClass.add_member(:number_of_log_lines_occurrences, Shapes::ShapeRef.new(shape: NumberOfLogLinesOccurrences, location_name: "NumberOfLogLinesOccurrences"))
|
742
|
+
LogAnomalyClass.add_member(:log_event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LogEventTimestamp"))
|
743
|
+
LogAnomalyClass.struct_class = Types::LogAnomalyClass
|
744
|
+
|
745
|
+
LogAnomalyClasses.member = Shapes::ShapeRef.new(shape: LogAnomalyClass)
|
746
|
+
|
747
|
+
LogAnomalyShowcase.add_member(:log_anomaly_classes, Shapes::ShapeRef.new(shape: LogAnomalyClasses, location_name: "LogAnomalyClasses"))
|
748
|
+
LogAnomalyShowcase.struct_class = Types::LogAnomalyShowcase
|
749
|
+
|
750
|
+
LogAnomalyShowcases.member = Shapes::ShapeRef.new(shape: LogAnomalyShowcase)
|
751
|
+
|
752
|
+
LogsAnomalyDetectionIntegration.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: OptInStatus, location_name: "OptInStatus"))
|
753
|
+
LogsAnomalyDetectionIntegration.struct_class = Types::LogsAnomalyDetectionIntegration
|
754
|
+
|
755
|
+
LogsAnomalyDetectionIntegrationConfig.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: OptInStatus, location_name: "OptInStatus"))
|
756
|
+
LogsAnomalyDetectionIntegrationConfig.struct_class = Types::LogsAnomalyDetectionIntegrationConfig
|
757
|
+
|
758
|
+
MonitoredResourceIdentifier.add_member(:monitored_resource_name, Shapes::ShapeRef.new(shape: MonitoredResourceName, location_name: "MonitoredResourceName"))
|
759
|
+
MonitoredResourceIdentifier.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
|
760
|
+
MonitoredResourceIdentifier.add_member(:resource_permission, Shapes::ShapeRef.new(shape: ResourcePermission, location_name: "ResourcePermission"))
|
761
|
+
MonitoredResourceIdentifier.struct_class = Types::MonitoredResourceIdentifier
|
762
|
+
|
763
|
+
MonitoredResourceIdentifiers.member = Shapes::ShapeRef.new(shape: MonitoredResourceIdentifier)
|
764
|
+
|
675
765
|
NotificationChannel.add_member(:id, Shapes::ShapeRef.new(shape: NotificationChannelId, location_name: "Id"))
|
676
766
|
NotificationChannel.add_member(:config, Shapes::ShapeRef.new(shape: NotificationChannelConfig, location_name: "Config"))
|
677
767
|
NotificationChannel.struct_class = Types::NotificationChannel
|
@@ -945,6 +1035,8 @@ module Aws::DevOpsGuru
|
|
945
1035
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ResourceType"))
|
946
1036
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
947
1037
|
|
1038
|
+
ResourceTypeFilters.member = Shapes::ShapeRef.new(shape: ResourceTypeFilter)
|
1039
|
+
|
948
1040
|
SearchInsightsAccountIdList.member = Shapes::ShapeRef.new(shape: AwsAccountId)
|
949
1041
|
|
950
1042
|
SearchInsightsFilters.add_member(:severities, Shapes::ShapeRef.new(shape: InsightSeverities, location_name: "Severities"))
|
@@ -998,6 +1090,7 @@ module Aws::DevOpsGuru
|
|
998
1090
|
ServiceInsightHealth.struct_class = Types::ServiceInsightHealth
|
999
1091
|
|
1000
1092
|
ServiceIntegrationConfig.add_member(:ops_center, Shapes::ShapeRef.new(shape: OpsCenterIntegration, location_name: "OpsCenter"))
|
1093
|
+
ServiceIntegrationConfig.add_member(:logs_anomaly_detection, Shapes::ShapeRef.new(shape: LogsAnomalyDetectionIntegration, location_name: "LogsAnomalyDetection"))
|
1001
1094
|
ServiceIntegrationConfig.struct_class = Types::ServiceIntegrationConfig
|
1002
1095
|
|
1003
1096
|
ServiceNames.member = Shapes::ShapeRef.new(shape: ServiceName)
|
@@ -1087,6 +1180,7 @@ module Aws::DevOpsGuru
|
|
1087
1180
|
UpdateResourceCollectionResponse.struct_class = Types::UpdateResourceCollectionResponse
|
1088
1181
|
|
1089
1182
|
UpdateServiceIntegrationConfig.add_member(:ops_center, Shapes::ShapeRef.new(shape: OpsCenterIntegrationConfig, location_name: "OpsCenter"))
|
1183
|
+
UpdateServiceIntegrationConfig.add_member(:logs_anomaly_detection, Shapes::ShapeRef.new(shape: LogsAnomalyDetectionIntegrationConfig, location_name: "LogsAnomalyDetection"))
|
1090
1184
|
UpdateServiceIntegrationConfig.struct_class = Types::UpdateServiceIntegrationConfig
|
1091
1185
|
|
1092
1186
|
UpdateServiceIntegrationRequest.add_member(:service_integration, Shapes::ShapeRef.new(shape: UpdateServiceIntegrationConfig, required: true, location_name: "ServiceIntegration"))
|
@@ -1303,6 +1397,7 @@ module Aws::DevOpsGuru
|
|
1303
1397
|
o.output = Shapes::ShapeRef.new(shape: DescribeServiceIntegrationResponse)
|
1304
1398
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1305
1399
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1400
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1306
1401
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1307
1402
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1308
1403
|
end)
|
@@ -1362,6 +1457,25 @@ module Aws::DevOpsGuru
|
|
1362
1457
|
)
|
1363
1458
|
end)
|
1364
1459
|
|
1460
|
+
api.add_operation(:list_anomalous_log_groups, Seahorse::Model::Operation.new.tap do |o|
|
1461
|
+
o.name = "ListAnomalousLogGroups"
|
1462
|
+
o.http_method = "POST"
|
1463
|
+
o.http_request_uri = "/list-log-anomalies"
|
1464
|
+
o.input = Shapes::ShapeRef.new(shape: ListAnomalousLogGroupsRequest)
|
1465
|
+
o.output = Shapes::ShapeRef.new(shape: ListAnomalousLogGroupsResponse)
|
1466
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1467
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1468
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1469
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1470
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1471
|
+
o[:pager] = Aws::Pager.new(
|
1472
|
+
limit_key: "max_results",
|
1473
|
+
tokens: {
|
1474
|
+
"next_token" => "next_token"
|
1475
|
+
}
|
1476
|
+
)
|
1477
|
+
end)
|
1478
|
+
|
1365
1479
|
api.add_operation(:list_events, Seahorse::Model::Operation.new.tap do |o|
|
1366
1480
|
o.name = "ListEvents"
|
1367
1481
|
o.http_method = "POST"
|
@@ -1399,6 +1513,24 @@ module Aws::DevOpsGuru
|
|
1399
1513
|
)
|
1400
1514
|
end)
|
1401
1515
|
|
1516
|
+
api.add_operation(:list_monitored_resources, Seahorse::Model::Operation.new.tap do |o|
|
1517
|
+
o.name = "ListMonitoredResources"
|
1518
|
+
o.http_method = "POST"
|
1519
|
+
o.http_request_uri = "/monitoredResources"
|
1520
|
+
o.input = Shapes::ShapeRef.new(shape: ListMonitoredResourcesRequest)
|
1521
|
+
o.output = Shapes::ShapeRef.new(shape: ListMonitoredResourcesResponse)
|
1522
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1523
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1524
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1525
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1526
|
+
o[:pager] = Aws::Pager.new(
|
1527
|
+
limit_key: "max_results",
|
1528
|
+
tokens: {
|
1529
|
+
"next_token" => "next_token"
|
1530
|
+
}
|
1531
|
+
)
|
1532
|
+
end)
|
1533
|
+
|
1402
1534
|
api.add_operation(:list_notification_channels, Seahorse::Model::Operation.new.tap do |o|
|
1403
1535
|
o.name = "ListNotificationChannels"
|
1404
1536
|
o.http_method = "POST"
|
@@ -138,6 +138,43 @@ module Aws::DevOpsGuru
|
|
138
138
|
include Aws::Structure
|
139
139
|
end
|
140
140
|
|
141
|
+
# An Amazon CloudWatch log group that contains log anomalies and is used
|
142
|
+
# to generate an insight.
|
143
|
+
#
|
144
|
+
# @!attribute [rw] log_group_name
|
145
|
+
# The name of the CloudWatch log group.
|
146
|
+
# @return [String]
|
147
|
+
#
|
148
|
+
# @!attribute [rw] impact_start_time
|
149
|
+
# The time the anomalous log events began. The impact start time
|
150
|
+
# indicates the time of the first log anomaly event that occurs.
|
151
|
+
# @return [Time]
|
152
|
+
#
|
153
|
+
# @!attribute [rw] impact_end_time
|
154
|
+
# The time the anomalous log events stopped.
|
155
|
+
# @return [Time]
|
156
|
+
#
|
157
|
+
# @!attribute [rw] number_of_log_lines_scanned
|
158
|
+
# The number of log lines that were scanned for anomalous log events.
|
159
|
+
# @return [Integer]
|
160
|
+
#
|
161
|
+
# @!attribute [rw] log_anomaly_showcases
|
162
|
+
# The log anomalies in the log group. Each log anomaly displayed
|
163
|
+
# represents a cluster of similar anomalous log events.
|
164
|
+
# @return [Array<Types::LogAnomalyShowcase>]
|
165
|
+
#
|
166
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalousLogGroup AWS API Documentation
|
167
|
+
#
|
168
|
+
class AnomalousLogGroup < Struct.new(
|
169
|
+
:log_group_name,
|
170
|
+
:impact_start_time,
|
171
|
+
:impact_end_time,
|
172
|
+
:number_of_log_lines_scanned,
|
173
|
+
:log_anomaly_showcases)
|
174
|
+
SENSITIVE = []
|
175
|
+
include Aws::Structure
|
176
|
+
end
|
177
|
+
|
141
178
|
# A time range that specifies when DevOps Guru opens and then closes an
|
142
179
|
# anomaly. This is different from `AnomalyTimeRange`, which specifies
|
143
180
|
# the time range when DevOps Guru actually observes the anomalous
|
@@ -435,7 +472,7 @@ module Aws::DevOpsGuru
|
|
435
472
|
include Aws::Structure
|
436
473
|
end
|
437
474
|
|
438
|
-
# The dimension of
|
475
|
+
# The dimension of an Amazon CloudWatch metric that is used when DevOps
|
439
476
|
# Guru analyzes the resources in your account for operational problems
|
440
477
|
# and anomalous behavior. A dimension is a name/value pair that is part
|
441
478
|
# of the identity of a metric. A metric can have up to 10 dimensions.
|
@@ -1655,6 +1692,64 @@ module Aws::DevOpsGuru
|
|
1655
1692
|
include Aws::Structure
|
1656
1693
|
end
|
1657
1694
|
|
1695
|
+
# @note When making an API call, you may pass ListAnomalousLogGroupsRequest
|
1696
|
+
# data as a hash:
|
1697
|
+
#
|
1698
|
+
# {
|
1699
|
+
# insight_id: "InsightId", # required
|
1700
|
+
# max_results: 1,
|
1701
|
+
# next_token: "UuidNextToken",
|
1702
|
+
# }
|
1703
|
+
#
|
1704
|
+
# @!attribute [rw] insight_id
|
1705
|
+
# The ID of the insight containing the log groups.
|
1706
|
+
# @return [String]
|
1707
|
+
#
|
1708
|
+
# @!attribute [rw] max_results
|
1709
|
+
# The maximum number of results to return with a single call. To
|
1710
|
+
# retrieve the remaining results, make another call with the returned
|
1711
|
+
# `nextToken` value.
|
1712
|
+
# @return [Integer]
|
1713
|
+
#
|
1714
|
+
# @!attribute [rw] next_token
|
1715
|
+
# The pagination token to use to retrieve the next page of results for
|
1716
|
+
# this operation. If this value is null, it retrieves the first page.
|
1717
|
+
# @return [String]
|
1718
|
+
#
|
1719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomalousLogGroupsRequest AWS API Documentation
|
1720
|
+
#
|
1721
|
+
class ListAnomalousLogGroupsRequest < Struct.new(
|
1722
|
+
:insight_id,
|
1723
|
+
:max_results,
|
1724
|
+
:next_token)
|
1725
|
+
SENSITIVE = []
|
1726
|
+
include Aws::Structure
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
# @!attribute [rw] insight_id
|
1730
|
+
# The ID of the insight containing the log groups.
|
1731
|
+
# @return [String]
|
1732
|
+
#
|
1733
|
+
# @!attribute [rw] anomalous_log_groups
|
1734
|
+
# The list of Amazon CloudWatch log groups that are related to an
|
1735
|
+
# insight.
|
1736
|
+
# @return [Array<Types::AnomalousLogGroup>]
|
1737
|
+
#
|
1738
|
+
# @!attribute [rw] next_token
|
1739
|
+
# The pagination token to use to retrieve the next page of results for
|
1740
|
+
# this operation. If there are no more pages, this value is null.
|
1741
|
+
# @return [String]
|
1742
|
+
#
|
1743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomalousLogGroupsResponse AWS API Documentation
|
1744
|
+
#
|
1745
|
+
class ListAnomalousLogGroupsResponse < Struct.new(
|
1746
|
+
:insight_id,
|
1747
|
+
:anomalous_log_groups,
|
1748
|
+
:next_token)
|
1749
|
+
SENSITIVE = []
|
1750
|
+
include Aws::Structure
|
1751
|
+
end
|
1752
|
+
|
1658
1753
|
# Filters you can use to specify which events are returned when
|
1659
1754
|
# `ListEvents` is called.
|
1660
1755
|
#
|
@@ -2019,6 +2114,92 @@ module Aws::DevOpsGuru
|
|
2019
2114
|
include Aws::Structure
|
2020
2115
|
end
|
2021
2116
|
|
2117
|
+
# Filters to determine which monitored resources you want to retrieve.
|
2118
|
+
# You can filter by resource type or resource permission status.
|
2119
|
+
#
|
2120
|
+
# @note When making an API call, you may pass ListMonitoredResourcesFilters
|
2121
|
+
# data as a hash:
|
2122
|
+
#
|
2123
|
+
# {
|
2124
|
+
# resource_permission: "FULL_PERMISSION", # required, accepts FULL_PERMISSION, MISSING_PERMISSION
|
2125
|
+
# resource_type_filters: ["LOG_GROUPS"], # required, accepts LOG_GROUPS
|
2126
|
+
# }
|
2127
|
+
#
|
2128
|
+
# @!attribute [rw] resource_permission
|
2129
|
+
# The permission status of a resource.
|
2130
|
+
# @return [String]
|
2131
|
+
#
|
2132
|
+
# @!attribute [rw] resource_type_filters
|
2133
|
+
# The type of resource that you wish to retrieve, such as log groups.
|
2134
|
+
# @return [Array<String>]
|
2135
|
+
#
|
2136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesFilters AWS API Documentation
|
2137
|
+
#
|
2138
|
+
class ListMonitoredResourcesFilters < Struct.new(
|
2139
|
+
:resource_permission,
|
2140
|
+
:resource_type_filters)
|
2141
|
+
SENSITIVE = []
|
2142
|
+
include Aws::Structure
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
# @note When making an API call, you may pass ListMonitoredResourcesRequest
|
2146
|
+
# data as a hash:
|
2147
|
+
#
|
2148
|
+
# {
|
2149
|
+
# filters: { # required
|
2150
|
+
# resource_permission: "FULL_PERMISSION", # required, accepts FULL_PERMISSION, MISSING_PERMISSION
|
2151
|
+
# resource_type_filters: ["LOG_GROUPS"], # required, accepts LOG_GROUPS
|
2152
|
+
# },
|
2153
|
+
# max_results: 1,
|
2154
|
+
# next_token: "UuidNextToken",
|
2155
|
+
# }
|
2156
|
+
#
|
2157
|
+
# @!attribute [rw] filters
|
2158
|
+
# Filters to determine which monitored resources you want to retrieve.
|
2159
|
+
# You can filter by resource type or resource permission status.
|
2160
|
+
# @return [Types::ListMonitoredResourcesFilters]
|
2161
|
+
#
|
2162
|
+
# @!attribute [rw] max_results
|
2163
|
+
# The maximum number of results to return with a single call. To
|
2164
|
+
# retrieve the remaining results, make another call with the returned
|
2165
|
+
# `nextToken` value.
|
2166
|
+
# @return [Integer]
|
2167
|
+
#
|
2168
|
+
# @!attribute [rw] next_token
|
2169
|
+
# The pagination token to use to retrieve the next page of results for
|
2170
|
+
# this operation. If this value is null, it retrieves the first page.
|
2171
|
+
# @return [String]
|
2172
|
+
#
|
2173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesRequest AWS API Documentation
|
2174
|
+
#
|
2175
|
+
class ListMonitoredResourcesRequest < Struct.new(
|
2176
|
+
:filters,
|
2177
|
+
:max_results,
|
2178
|
+
:next_token)
|
2179
|
+
SENSITIVE = []
|
2180
|
+
include Aws::Structure
|
2181
|
+
end
|
2182
|
+
|
2183
|
+
# @!attribute [rw] monitored_resource_identifiers
|
2184
|
+
# Information about the resource that is being monitored, including
|
2185
|
+
# the name of the resource, the type of resource, and whether or not
|
2186
|
+
# permission is given to DevOps Guru to access that resource.
|
2187
|
+
# @return [Array<Types::MonitoredResourceIdentifier>]
|
2188
|
+
#
|
2189
|
+
# @!attribute [rw] next_token
|
2190
|
+
# The pagination token to use to retrieve the next page of results for
|
2191
|
+
# this operation. If there are no more pages, this value is null.
|
2192
|
+
# @return [String]
|
2193
|
+
#
|
2194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesResponse AWS API Documentation
|
2195
|
+
#
|
2196
|
+
class ListMonitoredResourcesResponse < Struct.new(
|
2197
|
+
:monitored_resource_identifiers,
|
2198
|
+
:next_token)
|
2199
|
+
SENSITIVE = []
|
2200
|
+
include Aws::Structure
|
2201
|
+
end
|
2202
|
+
|
2022
2203
|
# @note When making an API call, you may pass ListNotificationChannelsRequest
|
2023
2204
|
# data as a hash:
|
2024
2205
|
#
|
@@ -2202,6 +2383,134 @@ module Aws::DevOpsGuru
|
|
2202
2383
|
include Aws::Structure
|
2203
2384
|
end
|
2204
2385
|
|
2386
|
+
# Information about an anomalous log event found within a log group.
|
2387
|
+
#
|
2388
|
+
# @!attribute [rw] log_stream_name
|
2389
|
+
# The name of the Amazon CloudWatch log stream that the anomalous log
|
2390
|
+
# event belongs to. A log stream is a sequence of log events that
|
2391
|
+
# share the same source.
|
2392
|
+
# @return [String]
|
2393
|
+
#
|
2394
|
+
# @!attribute [rw] log_anomaly_type
|
2395
|
+
# The type of log anomaly that has been detected.
|
2396
|
+
# @return [String]
|
2397
|
+
#
|
2398
|
+
# @!attribute [rw] log_anomaly_token
|
2399
|
+
# The token where the anomaly was detected. This may refer to an
|
2400
|
+
# exception or another location, or it may be blank for log anomalies
|
2401
|
+
# such as format anomalies.
|
2402
|
+
# @return [String]
|
2403
|
+
#
|
2404
|
+
# @!attribute [rw] log_event_id
|
2405
|
+
# The ID of the log event.
|
2406
|
+
# @return [String]
|
2407
|
+
#
|
2408
|
+
# @!attribute [rw] explanation
|
2409
|
+
# The explanation for why the log event is considered an anomaly.
|
2410
|
+
# @return [String]
|
2411
|
+
#
|
2412
|
+
# @!attribute [rw] number_of_log_lines_occurrences
|
2413
|
+
# The number of log lines where this anomalous log event occurs.
|
2414
|
+
# @return [Integer]
|
2415
|
+
#
|
2416
|
+
# @!attribute [rw] log_event_timestamp
|
2417
|
+
# The time of the first occurrence of the anomalous log event.
|
2418
|
+
# @return [Time]
|
2419
|
+
#
|
2420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogAnomalyClass AWS API Documentation
|
2421
|
+
#
|
2422
|
+
class LogAnomalyClass < Struct.new(
|
2423
|
+
:log_stream_name,
|
2424
|
+
:log_anomaly_type,
|
2425
|
+
:log_anomaly_token,
|
2426
|
+
:log_event_id,
|
2427
|
+
:explanation,
|
2428
|
+
:number_of_log_lines_occurrences,
|
2429
|
+
:log_event_timestamp)
|
2430
|
+
SENSITIVE = []
|
2431
|
+
include Aws::Structure
|
2432
|
+
end
|
2433
|
+
|
2434
|
+
# A cluster of similar anomalous log events found within a log group.
|
2435
|
+
#
|
2436
|
+
# @!attribute [rw] log_anomaly_classes
|
2437
|
+
# A list of anomalous log events that may be related.
|
2438
|
+
# @return [Array<Types::LogAnomalyClass>]
|
2439
|
+
#
|
2440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogAnomalyShowcase AWS API Documentation
|
2441
|
+
#
|
2442
|
+
class LogAnomalyShowcase < Struct.new(
|
2443
|
+
:log_anomaly_classes)
|
2444
|
+
SENSITIVE = []
|
2445
|
+
include Aws::Structure
|
2446
|
+
end
|
2447
|
+
|
2448
|
+
# Information about the integration of DevOps Guru with CloudWatch log
|
2449
|
+
# groups for log anomaly detection.
|
2450
|
+
#
|
2451
|
+
# @!attribute [rw] opt_in_status
|
2452
|
+
# Specifies if DevOps Guru is configured to perform log anomaly
|
2453
|
+
# detection on CloudWatch log groups.
|
2454
|
+
# @return [String]
|
2455
|
+
#
|
2456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogsAnomalyDetectionIntegration AWS API Documentation
|
2457
|
+
#
|
2458
|
+
class LogsAnomalyDetectionIntegration < Struct.new(
|
2459
|
+
:opt_in_status)
|
2460
|
+
SENSITIVE = []
|
2461
|
+
include Aws::Structure
|
2462
|
+
end
|
2463
|
+
|
2464
|
+
# Information about the integration of DevOps Guru with CloudWatch log
|
2465
|
+
# groups for log anomaly detection. You can use this to update the
|
2466
|
+
# configuration.
|
2467
|
+
#
|
2468
|
+
# @note When making an API call, you may pass LogsAnomalyDetectionIntegrationConfig
|
2469
|
+
# data as a hash:
|
2470
|
+
#
|
2471
|
+
# {
|
2472
|
+
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
2473
|
+
# }
|
2474
|
+
#
|
2475
|
+
# @!attribute [rw] opt_in_status
|
2476
|
+
# Specifies if DevOps Guru is configured to perform log anomaly
|
2477
|
+
# detection on CloudWatch log groups.
|
2478
|
+
# @return [String]
|
2479
|
+
#
|
2480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogsAnomalyDetectionIntegrationConfig AWS API Documentation
|
2481
|
+
#
|
2482
|
+
class LogsAnomalyDetectionIntegrationConfig < Struct.new(
|
2483
|
+
:opt_in_status)
|
2484
|
+
SENSITIVE = []
|
2485
|
+
include Aws::Structure
|
2486
|
+
end
|
2487
|
+
|
2488
|
+
# Information about the resource that is being monitored, including the
|
2489
|
+
# name of the resource, the type of resource, and whether or not
|
2490
|
+
# permission is given to DevOps Guru to access that resource.
|
2491
|
+
#
|
2492
|
+
# @!attribute [rw] monitored_resource_name
|
2493
|
+
# The name of the resource being monitored.
|
2494
|
+
# @return [String]
|
2495
|
+
#
|
2496
|
+
# @!attribute [rw] type
|
2497
|
+
# The type of resource being monitored.
|
2498
|
+
# @return [String]
|
2499
|
+
#
|
2500
|
+
# @!attribute [rw] resource_permission
|
2501
|
+
# The permission status of a resource.
|
2502
|
+
# @return [String]
|
2503
|
+
#
|
2504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/MonitoredResourceIdentifier AWS API Documentation
|
2505
|
+
#
|
2506
|
+
class MonitoredResourceIdentifier < Struct.new(
|
2507
|
+
:monitored_resource_name,
|
2508
|
+
:type,
|
2509
|
+
:resource_permission)
|
2510
|
+
SENSITIVE = []
|
2511
|
+
include Aws::Structure
|
2512
|
+
end
|
2513
|
+
|
2205
2514
|
# Information about a notification channel. A notification channel is
|
2206
2515
|
# used to notify you when DevOps Guru creates an insight. The one
|
2207
2516
|
# supported notification channel is Amazon Simple Notification Service
|
@@ -2318,7 +2627,7 @@ module Aws::DevOpsGuru
|
|
2318
2627
|
|
2319
2628
|
# Information about whether DevOps Guru is configured to create an
|
2320
2629
|
# OpsItem in Amazon Web Services Systems Manager OpsCenter for each
|
2321
|
-
# created insight.
|
2630
|
+
# created insight. You can use this to update the configuration.
|
2322
2631
|
#
|
2323
2632
|
# @note When making an API call, you may pass OpsCenterIntegrationConfig
|
2324
2633
|
# data as a hash:
|
@@ -4348,10 +4657,16 @@ module Aws::DevOpsGuru
|
|
4348
4657
|
# created insight.
|
4349
4658
|
# @return [Types::OpsCenterIntegration]
|
4350
4659
|
#
|
4660
|
+
# @!attribute [rw] logs_anomaly_detection
|
4661
|
+
# Information about whether DevOps Guru is configured to perform log
|
4662
|
+
# anomaly detection on Amazon CloudWatch log groups.
|
4663
|
+
# @return [Types::LogsAnomalyDetectionIntegration]
|
4664
|
+
#
|
4351
4665
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceIntegrationConfig AWS API Documentation
|
4352
4666
|
#
|
4353
4667
|
class ServiceIntegrationConfig < Struct.new(
|
4354
|
-
:ops_center
|
4668
|
+
:ops_center,
|
4669
|
+
:logs_anomaly_detection)
|
4355
4670
|
SENSITIVE = []
|
4356
4671
|
include Aws::Structure
|
4357
4672
|
end
|
@@ -4994,18 +5309,27 @@ module Aws::DevOpsGuru
|
|
4994
5309
|
# ops_center: {
|
4995
5310
|
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
4996
5311
|
# },
|
5312
|
+
# logs_anomaly_detection: {
|
5313
|
+
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
5314
|
+
# },
|
4997
5315
|
# }
|
4998
5316
|
#
|
4999
5317
|
# @!attribute [rw] ops_center
|
5000
5318
|
# Information about whether DevOps Guru is configured to create an
|
5001
5319
|
# OpsItem in Amazon Web Services Systems Manager OpsCenter for each
|
5002
|
-
# created insight.
|
5320
|
+
# created insight. You can use this to update the configuration.
|
5003
5321
|
# @return [Types::OpsCenterIntegrationConfig]
|
5004
5322
|
#
|
5323
|
+
# @!attribute [rw] logs_anomaly_detection
|
5324
|
+
# Information about whether DevOps Guru is configured to perform log
|
5325
|
+
# anomaly detection on Amazon CloudWatch log groups.
|
5326
|
+
# @return [Types::LogsAnomalyDetectionIntegrationConfig]
|
5327
|
+
#
|
5005
5328
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegrationConfig AWS API Documentation
|
5006
5329
|
#
|
5007
5330
|
class UpdateServiceIntegrationConfig < Struct.new(
|
5008
|
-
:ops_center
|
5331
|
+
:ops_center,
|
5332
|
+
:logs_anomaly_detection)
|
5009
5333
|
SENSITIVE = []
|
5010
5334
|
include Aws::Structure
|
5011
5335
|
end
|
@@ -5018,6 +5342,9 @@ module Aws::DevOpsGuru
|
|
5018
5342
|
# ops_center: {
|
5019
5343
|
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
5020
5344
|
# },
|
5345
|
+
# logs_anomaly_detection: {
|
5346
|
+
# opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
|
5347
|
+
# },
|
5021
5348
|
# },
|
5022
5349
|
# }
|
5023
5350
|
#
|
data/lib/aws-sdk-devopsguru.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-devopsguru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|