aws-sdk-devopsguru 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -94,6 +94,11 @@ module Aws::DevOpsGuru
94
94
  def message
95
95
  @message || @data[:message]
96
96
  end
97
+
98
+ # @return [String]
99
+ def retry_after_seconds
100
+ @data[:retry_after_seconds]
101
+ end
97
102
  end
98
103
 
99
104
  class ResourceNotFoundException < ServiceError
@@ -159,6 +164,11 @@ module Aws::DevOpsGuru
159
164
  def service_code
160
165
  @data[:service_code]
161
166
  end
167
+
168
+ # @return [String]
169
+ def retry_after_seconds
170
+ @data[:retry_after_seconds]
171
+ end
162
172
  end
163
173
 
164
174
  class ValidationException < ServiceError
@@ -170,11 +180,6 @@ module Aws::DevOpsGuru
170
180
  super(context, message, data)
171
181
  end
172
182
 
173
- # @return [String]
174
- def fields
175
- @data[:fields]
176
- end
177
-
178
183
  # @return [String]
179
184
  def message
180
185
  @message || @data[:message]
@@ -184,6 +189,11 @@ module Aws::DevOpsGuru
184
189
  def reason
185
190
  @data[:reason]
186
191
  end
192
+
193
+ # @return [String]
194
+ def fields
195
+ @data[:fields]
196
+ end
187
197
  end
188
198
 
189
199
  end
@@ -10,6 +10,15 @@
10
10
  module Aws::DevOpsGuru
11
11
  module Types
12
12
 
13
+ # You don't have permissions to perform the requested operation. The
14
+ # user or role that is making the request must have at least one IAM
15
+ # permissions policy attached that grants the required permissions. For
16
+ # more information, see [Access Management][1] in the *IAM User Guide*.
17
+ #
18
+ #
19
+ #
20
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html
21
+ #
13
22
  # @!attribute [rw] message
14
23
  # @return [String]
15
24
  #
@@ -27,12 +36,15 @@ module Aws::DevOpsGuru
27
36
  # {
28
37
  # config: { # required
29
38
  # sns: { # required
30
- # topic_arn: "__stringMin36Max1024PatternArnAwsAZ09SnsAZ09D12",
39
+ # topic_arn: "TopicArn",
31
40
  # },
32
41
  # },
33
42
  # }
34
43
  #
35
44
  # @!attribute [rw] config
45
+ # A `NotificationChannelConfig` object that specifies what type of
46
+ # notification channel to add. The one supported notification channel
47
+ # is Amazon Simple Notification Service (Amazon SNS).
36
48
  # @return [Types::NotificationChannelConfig]
37
49
  #
38
50
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AddNotificationChannelRequest AWS API Documentation
@@ -44,6 +56,7 @@ module Aws::DevOpsGuru
44
56
  end
45
57
 
46
58
  # @!attribute [rw] id
59
+ # The ID of the added notification channel.
47
60
  # @return [String]
48
61
  #
49
62
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AddNotificationChannelResponse AWS API Documentation
@@ -54,7 +67,14 @@ module Aws::DevOpsGuru
54
67
  include Aws::Structure
55
68
  end
56
69
 
70
+ # Details about the source of the anomalous operational data that
71
+ # triggered the anomaly. The one supported source is Amazon CloudWatch
72
+ # metrics.
73
+ #
57
74
  # @!attribute [rw] cloud_watch_metrics
75
+ # An array of `CloudWatchMetricsDetail` object that contains
76
+ # information about the analyzed metrics that displayed anomalous
77
+ # behavior.
58
78
  # @return [Array<Types::CloudWatchMetricsDetail>]
59
79
  #
60
80
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalySourceDetails AWS API Documentation
@@ -65,29 +85,43 @@ module Aws::DevOpsGuru
65
85
  include Aws::Structure
66
86
  end
67
87
 
68
- # @!attribute [rw] end_time
69
- # @return [Time]
88
+ # A time range that specifies when the observed unusual behavior in an
89
+ # anomaly started and ended.
70
90
  #
71
91
  # @!attribute [rw] start_time
92
+ # The time when the anomalous behavior started.
93
+ # @return [Time]
94
+ #
95
+ # @!attribute [rw] end_time
96
+ # The time when the anomalous behavior ended.
72
97
  # @return [Time]
73
98
  #
74
99
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalyTimeRange AWS API Documentation
75
100
  #
76
101
  class AnomalyTimeRange < Struct.new(
77
- :end_time,
78
- :start_time)
102
+ :start_time,
103
+ :end_time)
79
104
  SENSITIVE = []
80
105
  include Aws::Structure
81
106
  end
82
107
 
108
+ # Information about AWS CloudFormation stacks. You can use stacks to
109
+ # specify which AWS resources in your account to analyze. For more
110
+ # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
111
+ #
112
+ #
113
+ #
114
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
115
+ #
83
116
  # @note When making an API call, you may pass CloudFormationCollection
84
117
  # data as a hash:
85
118
  #
86
119
  # {
87
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
120
+ # stack_names: ["StackName"],
88
121
  # }
89
122
  #
90
123
  # @!attribute [rw] stack_names
124
+ # An array of CloudFormation stack names.
91
125
  # @return [Array<String>]
92
126
  #
93
127
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudFormationCollection AWS API Documentation
@@ -98,7 +132,16 @@ module Aws::DevOpsGuru
98
132
  include Aws::Structure
99
133
  end
100
134
 
135
+ # Information about AWS CloudFormation stacks. You can use stacks to
136
+ # specify which AWS resources in your account to analyze. For more
137
+ # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
138
+ #
139
+ #
140
+ #
141
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
142
+ #
101
143
  # @!attribute [rw] stack_names
144
+ # An array of CloudFormation stack names.
102
145
  # @return [Array<String>]
103
146
  #
104
147
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudFormationCollectionFilter AWS API Documentation
@@ -109,56 +152,94 @@ module Aws::DevOpsGuru
109
152
  include Aws::Structure
110
153
  end
111
154
 
112
- # @!attribute [rw] insight
113
- # @return [Types::InsightHealth]
155
+ # Information about the health of AWS resources in your account that are
156
+ # specified by an AWS CloudFormation stack.
114
157
  #
115
158
  # @!attribute [rw] stack_name
159
+ # The name of the CloudFormation stack.
116
160
  # @return [String]
117
161
  #
162
+ # @!attribute [rw] insight
163
+ # Information about the health of the AWS resources in your account
164
+ # that are specified by an AWS CloudFormation stack, including the
165
+ # number of open proactive, open reactive insights, and the Mean Time
166
+ # to Recover (MTTR) of closed insights.
167
+ # @return [Types::InsightHealth]
168
+ #
118
169
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudFormationHealth AWS API Documentation
119
170
  #
120
171
  class CloudFormationHealth < Struct.new(
121
- :insight,
122
- :stack_name)
172
+ :stack_name,
173
+ :insight)
123
174
  SENSITIVE = []
124
175
  include Aws::Structure
125
176
  end
126
177
 
127
- # @!attribute [rw] dimensions
128
- # @return [Array<Types::CloudWatchMetricsDimension>]
178
+ # Information about an Amazon CloudWatch metric.
129
179
  #
130
180
  # @!attribute [rw] metric_name
181
+ # The name of the CloudWatch metric.
131
182
  # @return [String]
132
183
  #
133
184
  # @!attribute [rw] namespace
185
+ # The namespace of the CloudWatch metric. A namespace is a container
186
+ # for CloudWatch metrics.
134
187
  # @return [String]
135
188
  #
136
- # @!attribute [rw] period
137
- # @return [Integer]
189
+ # @!attribute [rw] dimensions
190
+ # An array of CloudWatch dimensions associated with
191
+ # @return [Array<Types::CloudWatchMetricsDimension>]
138
192
  #
139
193
  # @!attribute [rw] stat
194
+ # The type of statistic associated with the CloudWatch metric. For
195
+ # more information, see [Statistics][1] in the *Amazon CloudWatch User
196
+ # Guide*.
197
+ #
198
+ #
199
+ #
200
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic
140
201
  # @return [String]
141
202
  #
142
203
  # @!attribute [rw] unit
204
+ # The unit of measure used for the CloudWatch metric. For example,
205
+ # `Bytes`, `Seconds`, `Count`, and `Percent`.
143
206
  # @return [String]
144
207
  #
208
+ # @!attribute [rw] period
209
+ # The length of time associated with the CloudWatch metric in number
210
+ # of seconds.
211
+ # @return [Integer]
212
+ #
145
213
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudWatchMetricsDetail AWS API Documentation
146
214
  #
147
215
  class CloudWatchMetricsDetail < Struct.new(
148
- :dimensions,
149
216
  :metric_name,
150
217
  :namespace,
151
- :period,
218
+ :dimensions,
152
219
  :stat,
153
- :unit)
220
+ :unit,
221
+ :period)
154
222
  SENSITIVE = []
155
223
  include Aws::Structure
156
224
  end
157
225
 
226
+ # The dimension of a Amazon CloudWatch metric that is used when DevOps
227
+ # Guru analyzes the resources in your account for operational problems
228
+ # and anomalous behaviour. A dimension is a name/value pair that is part
229
+ # of the identity of a metric. A metric can have up to 10 dimensions.
230
+ # For more information, see [Dimensions][1] in the *Amazon CloudWatch
231
+ # User Guide*.
232
+ #
233
+ #
234
+ #
235
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension
236
+ #
158
237
  # @!attribute [rw] name
238
+ # The name of the CloudWatch dimension.
159
239
  # @return [String]
160
240
  #
161
241
  # @!attribute [rw] value
242
+ # The value of the CloudWatch dimension.
162
243
  # @return [String]
163
244
  #
164
245
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudWatchMetricsDimension AWS API Documentation
@@ -170,13 +251,17 @@ module Aws::DevOpsGuru
170
251
  include Aws::Structure
171
252
  end
172
253
 
254
+ # An exception that is thrown when a conflict occurs.
255
+ #
173
256
  # @!attribute [rw] message
174
257
  # @return [String]
175
258
  #
176
259
  # @!attribute [rw] resource_id
260
+ # The ID of the AWS resource in which a conflict occurred.
177
261
  # @return [String]
178
262
  #
179
263
  # @!attribute [rw] resource_type
264
+ # The type of the AWS resource in which a conflict occurred.
180
265
  # @return [String]
181
266
  #
182
267
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ConflictException AWS API Documentation
@@ -195,21 +280,27 @@ module Aws::DevOpsGuru
195
280
  #
196
281
  class DescribeAccountHealthRequest < Aws::EmptyStructure; end
197
282
 
198
- # @!attribute [rw] metrics_analyzed
283
+ # @!attribute [rw] open_reactive_insights
284
+ # An integer that specifies the number of open reactive insights in
285
+ # your AWS account.
199
286
  # @return [Integer]
200
287
  #
201
288
  # @!attribute [rw] open_proactive_insights
289
+ # An integer that specifies the number of open proactive insights in
290
+ # your AWS account.
202
291
  # @return [Integer]
203
292
  #
204
- # @!attribute [rw] open_reactive_insights
293
+ # @!attribute [rw] metrics_analyzed
294
+ # An integer that specifies the number of metrics that have been
295
+ # analyzed in your AWS account.
205
296
  # @return [Integer]
206
297
  #
207
298
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthResponse AWS API Documentation
208
299
  #
209
300
  class DescribeAccountHealthResponse < Struct.new(
210
- :metrics_analyzed,
301
+ :open_reactive_insights,
211
302
  :open_proactive_insights,
212
- :open_reactive_insights)
303
+ :metrics_analyzed)
213
304
  SENSITIVE = []
214
305
  include Aws::Structure
215
306
  end
@@ -223,9 +314,16 @@ module Aws::DevOpsGuru
223
314
  # }
224
315
  #
225
316
  # @!attribute [rw] from_time
317
+ # The start of the time range passed in. The start time granularity is
318
+ # at the day level. The floor of the start time is used. Returned
319
+ # information occurred after this day.
226
320
  # @return [Time]
227
321
  #
228
322
  # @!attribute [rw] to_time
323
+ # The end of the time range passed in. The start time granularity is
324
+ # at the day level. The floor of the start time is used. Returned
325
+ # information occurred before this day. If this is not specified, then
326
+ # the current day is used.
229
327
  # @return [Time]
230
328
  #
231
329
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountOverviewRequest AWS API Documentation
@@ -237,21 +335,27 @@ module Aws::DevOpsGuru
237
335
  include Aws::Structure
238
336
  end
239
337
 
240
- # @!attribute [rw] mean_time_to_recover_in_milliseconds
338
+ # @!attribute [rw] reactive_insights
339
+ # An integer that specifies the number of open reactive insights in
340
+ # your AWS account that were created during the time range passed in.
241
341
  # @return [Integer]
242
342
  #
243
343
  # @!attribute [rw] proactive_insights
344
+ # An integer that specifies the number of open proactive insights in
345
+ # your AWS account that were created during the time range passed in.
244
346
  # @return [Integer]
245
347
  #
246
- # @!attribute [rw] reactive_insights
348
+ # @!attribute [rw] mean_time_to_recover_in_milliseconds
349
+ # The Mean Time to Recover (MTTR) for all closed insights that were
350
+ # created during the time range passed in.
247
351
  # @return [Integer]
248
352
  #
249
353
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountOverviewResponse AWS API Documentation
250
354
  #
251
355
  class DescribeAccountOverviewResponse < Struct.new(
252
- :mean_time_to_recover_in_milliseconds,
356
+ :reactive_insights,
253
357
  :proactive_insights,
254
- :reactive_insights)
358
+ :mean_time_to_recover_in_milliseconds)
255
359
  SENSITIVE = []
256
360
  include Aws::Structure
257
361
  end
@@ -260,10 +364,11 @@ module Aws::DevOpsGuru
260
364
  # data as a hash:
261
365
  #
262
366
  # {
263
- # id: "__string", # required
367
+ # id: "AnomalyId", # required
264
368
  # }
265
369
  #
266
370
  # @!attribute [rw] id
371
+ # The ID of the anomaly.
267
372
  # @return [String]
268
373
  #
269
374
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomalyRequest AWS API Documentation
@@ -275,9 +380,11 @@ module Aws::DevOpsGuru
275
380
  end
276
381
 
277
382
  # @!attribute [rw] proactive_anomaly
383
+ # An `ReactiveAnomaly` object that represents the requested anomaly.
278
384
  # @return [Types::ProactiveAnomaly]
279
385
  #
280
386
  # @!attribute [rw] reactive_anomaly
387
+ # An `ProactiveAnomaly` object that represents the requested anomaly.
281
388
  # @return [Types::ReactiveAnomaly]
282
389
  #
283
390
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomalyResponse AWS API Documentation
@@ -293,10 +400,11 @@ module Aws::DevOpsGuru
293
400
  # data as a hash:
294
401
  #
295
402
  # {
296
- # id: "__string", # required
403
+ # id: "InsightId", # required
297
404
  # }
298
405
  #
299
406
  # @!attribute [rw] id
407
+ # The ID of the insight.
300
408
  # @return [String]
301
409
  #
302
410
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsightRequest AWS API Documentation
@@ -308,9 +416,11 @@ module Aws::DevOpsGuru
308
416
  end
309
417
 
310
418
  # @!attribute [rw] proactive_insight
419
+ # An `ProactiveInsight` object that represents the requested insight.
311
420
  # @return [Types::ProactiveInsight]
312
421
  #
313
422
  # @!attribute [rw] reactive_insight
423
+ # An `ReactiveInsight` object that represents the requested insight.
314
424
  # @return [Types::ReactiveInsight]
315
425
  #
316
426
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsightResponse AWS API Documentation
@@ -326,29 +436,41 @@ module Aws::DevOpsGuru
326
436
  # data as a hash:
327
437
  #
328
438
  # {
329
- # next_token: "__string",
330
- # resource_collection_type: "__string", # required
439
+ # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
440
+ # next_token: "UuidNextToken",
331
441
  # }
332
442
  #
333
- # @!attribute [rw] next_token
443
+ # @!attribute [rw] resource_collection_type
444
+ # An AWS resource collection type. This type specifies how analyzed
445
+ # AWS resources are defined. The one type of AWS resource collection
446
+ # supported is AWS CloudFormation stacks. DevOps Guru can be
447
+ # configured to analyze only the AWS resources that are defined in the
448
+ # stacks.
334
449
  # @return [String]
335
450
  #
336
- # @!attribute [rw] resource_collection_type
451
+ # @!attribute [rw] next_token
452
+ # The pagination token to use to retrieve the next page of results for
453
+ # this operation. If this value is null, it retrieves the first page.
337
454
  # @return [String]
338
455
  #
339
456
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealthRequest AWS API Documentation
340
457
  #
341
458
  class DescribeResourceCollectionHealthRequest < Struct.new(
342
- :next_token,
343
- :resource_collection_type)
459
+ :resource_collection_type,
460
+ :next_token)
344
461
  SENSITIVE = []
345
462
  include Aws::Structure
346
463
  end
347
464
 
348
465
  # @!attribute [rw] cloud_formation
466
+ # The returned `CloudFormationHealthOverview` object that contains an
467
+ # `InsightHealthOverview` object with the requested system health
468
+ # information.
349
469
  # @return [Array<Types::CloudFormationHealth>]
350
470
  #
351
471
  # @!attribute [rw] next_token
472
+ # The pagination token to use to retrieve the next page of results for
473
+ # this operation. If there are no more pages, this value is null.
352
474
  # @return [String]
353
475
  #
354
476
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealthResponse AWS API Documentation
@@ -367,6 +489,8 @@ module Aws::DevOpsGuru
367
489
  class DescribeServiceIntegrationRequest < Aws::EmptyStructure; end
368
490
 
369
491
  # @!attribute [rw] service_integration
492
+ # Information about the integration of DevOps Guru with another AWS
493
+ # service, such as AWS Systems Manager.
370
494
  # @return [Types::ServiceIntegrationConfig]
371
495
  #
372
496
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeServiceIntegrationResponse AWS API Documentation
@@ -377,6 +501,9 @@ module Aws::DevOpsGuru
377
501
  include Aws::Structure
378
502
  end
379
503
 
504
+ # A range of time that specifies when anomalous behavior in an anomaly
505
+ # or insight ended.
506
+ #
380
507
  # @note When making an API call, you may pass EndTimeRange
381
508
  # data as a hash:
382
509
  #
@@ -386,9 +513,11 @@ module Aws::DevOpsGuru
386
513
  # }
387
514
  #
388
515
  # @!attribute [rw] from_time
516
+ # The earliest end time in the time range.
389
517
  # @return [Time]
390
518
  #
391
519
  # @!attribute [rw] to_time
520
+ # The latest end time in the time range.
392
521
  # @return [Time]
393
522
  #
394
523
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/EndTimeRange AWS API Documentation
@@ -400,64 +529,95 @@ module Aws::DevOpsGuru
400
529
  include Aws::Structure
401
530
  end
402
531
 
403
- # @!attribute [rw] data_source
404
- # @return [String]
532
+ # An AWS resource event. AWS resource events and metrics are analyzed by
533
+ # DevOps Guru to find anomalous behavior and provide recommendations to
534
+ # improve your operational solutions.
405
535
  #
406
- # @!attribute [rw] event_class
536
+ # @!attribute [rw] resource_collection
537
+ # A collection of AWS resources supported by DevOps Guru. The one type
538
+ # of AWS resource collection supported is AWS CloudFormation stacks.
539
+ # DevOps Guru can be configured to analyze only the AWS resources that
540
+ # are defined in the stacks.
541
+ # @return [Types::ResourceCollection]
542
+ #
543
+ # @!attribute [rw] id
544
+ # The ID of the event.
407
545
  # @return [String]
408
546
  #
547
+ # @!attribute [rw] time
548
+ # A `Timestamp` that specifies the time the event occurred.
549
+ # @return [Time]
550
+ #
409
551
  # @!attribute [rw] event_source
552
+ # The AWS source that emitted the event.
410
553
  # @return [String]
411
554
  #
412
- # @!attribute [rw] id
555
+ # @!attribute [rw] name
556
+ # The name of the event.
413
557
  # @return [String]
414
558
  #
415
- # @!attribute [rw] name
559
+ # @!attribute [rw] data_source
560
+ # The source, `AWS_CLOUD_TRAIL` or `AWS_CODE_DEPLOY`, where DevOps
561
+ # Guru analysis found the event.
416
562
  # @return [String]
417
563
  #
418
- # @!attribute [rw] resource_collection
419
- # @return [Types::ResourceCollection]
564
+ # @!attribute [rw] event_class
565
+ # The class of the event. The class specifies what the event is
566
+ # related to, such as an infrastructure change, a deployment, or a
567
+ # schema change.
568
+ # @return [String]
420
569
  #
421
570
  # @!attribute [rw] resources
571
+ # An `EventResource` object that contains information about the
572
+ # resource that emitted the event.
422
573
  # @return [Array<Types::EventResource>]
423
574
  #
424
- # @!attribute [rw] time
425
- # @return [Time]
426
- #
427
575
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/Event AWS API Documentation
428
576
  #
429
577
  class Event < Struct.new(
430
- :data_source,
431
- :event_class,
432
- :event_source,
578
+ :resource_collection,
433
579
  :id,
580
+ :time,
581
+ :event_source,
434
582
  :name,
435
- :resource_collection,
436
- :resources,
437
- :time)
583
+ :data_source,
584
+ :event_class,
585
+ :resources)
438
586
  SENSITIVE = []
439
587
  include Aws::Structure
440
588
  end
441
589
 
442
- # @!attribute [rw] arn
590
+ # The AWS resource that emitted an event. AWS resource events and
591
+ # metrics are analyzed by DevOps Guru to find anomalous behavior and
592
+ # provide recommendations to improve your operational solutions.
593
+ #
594
+ # @!attribute [rw] type
595
+ # The type of resource that emitted an event.
443
596
  # @return [String]
444
597
  #
445
598
  # @!attribute [rw] name
599
+ # The name of the resource that emitted an event.
446
600
  # @return [String]
447
601
  #
448
- # @!attribute [rw] type
602
+ # @!attribute [rw] arn
603
+ # The Amazon Resource Name (ARN) of the resource that emitted an
604
+ # event.
449
605
  # @return [String]
450
606
  #
451
607
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/EventResource AWS API Documentation
452
608
  #
453
609
  class EventResource < Struct.new(
454
- :arn,
610
+ :type,
455
611
  :name,
456
- :type)
612
+ :arn)
457
613
  SENSITIVE = []
458
614
  include Aws::Structure
459
615
  end
460
616
 
617
+ # The time range during which an AWS event occurred. AWS resource events
618
+ # and metrics are analyzed by DevOps Guru to find anomalous behavior and
619
+ # provide recommendations to improve your operational solutions.
620
+ #
461
621
  # @note When making an API call, you may pass EventTimeRange
462
622
  # data as a hash:
463
623
  #
@@ -467,9 +627,11 @@ module Aws::DevOpsGuru
467
627
  # }
468
628
  #
469
629
  # @!attribute [rw] from_time
630
+ # The time when the event started.
470
631
  # @return [Time]
471
632
  #
472
633
  # @!attribute [rw] to_time
634
+ # The time when the event ended.
473
635
  # @return [Time]
474
636
  #
475
637
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/EventTimeRange AWS API Documentation
@@ -485,104 +647,137 @@ module Aws::DevOpsGuru
485
647
  # data as a hash:
486
648
  #
487
649
  # {
488
- # next_token: "__string",
489
- # resource_collection_type: "__string", # required
650
+ # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
651
+ # next_token: "UuidNextToken",
490
652
  # }
491
653
  #
492
- # @!attribute [rw] next_token
654
+ # @!attribute [rw] resource_collection_type
655
+ # The type of AWS resource collections to return. The one valid value
656
+ # is `CLOUD_FORMATION` for AWS CloudFormation stacks.
493
657
  # @return [String]
494
658
  #
495
- # @!attribute [rw] resource_collection_type
659
+ # @!attribute [rw] next_token
660
+ # The pagination token to use to retrieve the next page of results for
661
+ # this operation. If this value is null, it retrieves the first page.
496
662
  # @return [String]
497
663
  #
498
664
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollectionRequest AWS API Documentation
499
665
  #
500
666
  class GetResourceCollectionRequest < Struct.new(
501
- :next_token,
502
- :resource_collection_type)
667
+ :resource_collection_type,
668
+ :next_token)
503
669
  SENSITIVE = []
504
670
  include Aws::Structure
505
671
  end
506
672
 
507
- # @!attribute [rw] next_token
508
- # @return [String]
509
- #
510
673
  # @!attribute [rw] resource_collection
674
+ # The requested list of AWS resource collections. The one type of AWS
675
+ # resource collection supported is AWS CloudFormation stacks. DevOps
676
+ # Guru can be configured to analyze only the AWS resources that are
677
+ # defined in the stacks.
511
678
  # @return [Types::ResourceCollectionFilter]
512
679
  #
680
+ # @!attribute [rw] next_token
681
+ # The pagination token to use to retrieve the next page of results for
682
+ # this operation. If there are no more pages, this value is null.
683
+ # @return [String]
684
+ #
513
685
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollectionResponse AWS API Documentation
514
686
  #
515
687
  class GetResourceCollectionResponse < Struct.new(
516
- :next_token,
517
- :resource_collection)
688
+ :resource_collection,
689
+ :next_token)
518
690
  SENSITIVE = []
519
691
  include Aws::Structure
520
692
  end
521
693
 
694
+ # Information about insight feedback received from a customer.
695
+ #
522
696
  # @note When making an API call, you may pass InsightFeedback
523
697
  # data as a hash:
524
698
  #
525
699
  # {
700
+ # id: "InsightId",
526
701
  # feedback: "VALID_COLLECTION", # accepts VALID_COLLECTION, RECOMMENDATION_USEFUL, ALERT_TOO_SENSITIVE, DATA_NOISY_ANOMALY, DATA_INCORRECT
527
- # id: "__stringMin1Max100PatternW",
528
702
  # }
529
703
  #
530
- # @!attribute [rw] feedback
704
+ # @!attribute [rw] id
705
+ # The insight feedback ID.
531
706
  # @return [String]
532
707
  #
533
- # @!attribute [rw] id
708
+ # @!attribute [rw] feedback
709
+ # The feedback provided by the customer.
534
710
  # @return [String]
535
711
  #
536
712
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/InsightFeedback AWS API Documentation
537
713
  #
538
714
  class InsightFeedback < Struct.new(
539
- :feedback,
540
- :id)
715
+ :id,
716
+ :feedback)
541
717
  SENSITIVE = []
542
718
  include Aws::Structure
543
719
  end
544
720
 
545
- # @!attribute [rw] mean_time_to_recover_in_milliseconds
546
- # @return [Integer]
721
+ # Information about the number of open reactive and proactive insights
722
+ # that can be used to gauge the health of your system.
547
723
  #
548
724
  # @!attribute [rw] open_proactive_insights
725
+ # The number of open proactive insights.
549
726
  # @return [Integer]
550
727
  #
551
728
  # @!attribute [rw] open_reactive_insights
729
+ # The number of open reactive insights.
730
+ # @return [Integer]
731
+ #
732
+ # @!attribute [rw] mean_time_to_recover_in_milliseconds
733
+ # The Meant Time to Recover (MTTR) for the insight.
552
734
  # @return [Integer]
553
735
  #
554
736
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/InsightHealth AWS API Documentation
555
737
  #
556
738
  class InsightHealth < Struct.new(
557
- :mean_time_to_recover_in_milliseconds,
558
739
  :open_proactive_insights,
559
- :open_reactive_insights)
740
+ :open_reactive_insights,
741
+ :mean_time_to_recover_in_milliseconds)
560
742
  SENSITIVE = []
561
743
  include Aws::Structure
562
744
  end
563
745
 
564
- # @!attribute [rw] end_time
565
- # @return [Time]
746
+ # A time ranged that specifies when the observed behavior in an insight
747
+ # started and ended.
566
748
  #
567
749
  # @!attribute [rw] start_time
750
+ # The time when the behavior described in an insight started.
751
+ # @return [Time]
752
+ #
753
+ # @!attribute [rw] end_time
754
+ # The time when the behavior described in an insight ended.
568
755
  # @return [Time]
569
756
  #
570
757
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/InsightTimeRange AWS API Documentation
571
758
  #
572
759
  class InsightTimeRange < Struct.new(
573
- :end_time,
574
- :start_time)
760
+ :start_time,
761
+ :end_time)
575
762
  SENSITIVE = []
576
763
  include Aws::Structure
577
764
  end
578
765
 
766
+ # An internal failure in an Amazon service occurred.
767
+ #
579
768
  # @!attribute [rw] message
580
769
  # @return [String]
581
770
  #
771
+ # @!attribute [rw] retry_after_seconds
772
+ # The number of seconds after which the action that caused the
773
+ # internal server exception can be retried.
774
+ # @return [Integer]
775
+ #
582
776
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/InternalServerException AWS API Documentation
583
777
  #
584
778
  class InternalServerException < Struct.new(
585
- :message)
779
+ :message,
780
+ :retry_after_seconds)
586
781
  SENSITIVE = []
587
782
  include Aws::Structure
588
783
  end
@@ -591,102 +786,133 @@ module Aws::DevOpsGuru
591
786
  # data as a hash:
592
787
  #
593
788
  # {
594
- # insight_id: "__string", # required
595
- # max_results: 1,
596
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
789
+ # insight_id: "InsightId", # required
597
790
  # start_time_range: {
598
791
  # from_time: Time.now,
599
792
  # to_time: Time.now,
600
793
  # },
794
+ # max_results: 1,
795
+ # next_token: "UuidNextToken",
601
796
  # }
602
797
  #
603
798
  # @!attribute [rw] insight_id
799
+ # The ID of the insight. The returned anomalies belong to this
800
+ # insight.
604
801
  # @return [String]
605
802
  #
803
+ # @!attribute [rw] start_time_range
804
+ # A time range used to specify when the requested anomalies started.
805
+ # All returned anomalies started during this time range.
806
+ # @return [Types::StartTimeRange]
807
+ #
606
808
  # @!attribute [rw] max_results
809
+ # The maximum number of results to return with a single call. To
810
+ # retrieve the remaining results, make another call with the returned
811
+ # `nextToken` value.
607
812
  # @return [Integer]
608
813
  #
609
814
  # @!attribute [rw] next_token
815
+ # The pagination token to use to retrieve the next page of results for
816
+ # this operation. If this value is null, it retrieves the first page.
610
817
  # @return [String]
611
818
  #
612
- # @!attribute [rw] start_time_range
613
- # @return [Types::StartTimeRange]
614
- #
615
819
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsightRequest AWS API Documentation
616
820
  #
617
821
  class ListAnomaliesForInsightRequest < Struct.new(
618
822
  :insight_id,
823
+ :start_time_range,
619
824
  :max_results,
620
- :next_token,
621
- :start_time_range)
825
+ :next_token)
622
826
  SENSITIVE = []
623
827
  include Aws::Structure
624
828
  end
625
829
 
626
- # @!attribute [rw] next_token
627
- # @return [String]
628
- #
629
830
  # @!attribute [rw] proactive_anomalies
831
+ # An array of `ProactiveAnomalySummary` objects that represent the
832
+ # requested anomalies
630
833
  # @return [Array<Types::ProactiveAnomalySummary>]
631
834
  #
632
835
  # @!attribute [rw] reactive_anomalies
836
+ # An array of `ReactiveAnomalySummary` objects that represent the
837
+ # requested anomalies
633
838
  # @return [Array<Types::ReactiveAnomalySummary>]
634
839
  #
840
+ # @!attribute [rw] next_token
841
+ # The pagination token to use to retrieve the next page of results for
842
+ # this operation. If there are no more pages, this value is null.
843
+ # @return [String]
844
+ #
635
845
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsightResponse AWS API Documentation
636
846
  #
637
847
  class ListAnomaliesForInsightResponse < Struct.new(
638
- :next_token,
639
848
  :proactive_anomalies,
640
- :reactive_anomalies)
849
+ :reactive_anomalies,
850
+ :next_token)
641
851
  SENSITIVE = []
642
852
  include Aws::Structure
643
853
  end
644
854
 
855
+ # Filters you can use to specify which events are returned when
856
+ # `ListEvents` is called.
857
+ #
645
858
  # @note When making an API call, you may pass ListEventsFilters
646
859
  # data as a hash:
647
860
  #
648
861
  # {
649
- # data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
650
- # event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
651
- # event_source: "__stringMin10Max50PatternAZAZ09AmazonawsComAwsEvents",
862
+ # insight_id: "InsightId",
652
863
  # event_time_range: {
653
864
  # from_time: Time.now, # required
654
865
  # to_time: Time.now, # required
655
866
  # },
656
- # insight_id: "__stringMin1Max100PatternW",
867
+ # event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
868
+ # event_source: "EventSource",
869
+ # data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
657
870
  # resource_collection: {
658
871
  # cloud_formation: {
659
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
872
+ # stack_names: ["StackName"],
660
873
  # },
661
874
  # },
662
875
  # }
663
876
  #
664
- # @!attribute [rw] data_source
877
+ # @!attribute [rw] insight_id
878
+ # An ID of an insight that is related to the events you want to filter
879
+ # for.
665
880
  # @return [String]
666
881
  #
882
+ # @!attribute [rw] event_time_range
883
+ # A time range during which you want the filtered events to have
884
+ # occurred.
885
+ # @return [Types::EventTimeRange]
886
+ #
667
887
  # @!attribute [rw] event_class
888
+ # The class of the events you want to filter for, such as an
889
+ # infrastructure change, a deployment, or a schema change.
668
890
  # @return [String]
669
891
  #
670
892
  # @!attribute [rw] event_source
893
+ # The AWS source that emitted the events you want to filter for.
671
894
  # @return [String]
672
895
  #
673
- # @!attribute [rw] event_time_range
674
- # @return [Types::EventTimeRange]
675
- #
676
- # @!attribute [rw] insight_id
896
+ # @!attribute [rw] data_source
897
+ # The source, `AWS_CLOUD_TRAIL` or `AWS_CODE_DEPLOY`, of the events
898
+ # you want returned.
677
899
  # @return [String]
678
900
  #
679
901
  # @!attribute [rw] resource_collection
902
+ # A collection of AWS resources supported by DevOps Guru. The one type
903
+ # of AWS resource collection supported is AWS CloudFormation stacks.
904
+ # DevOps Guru can be configured to analyze only the AWS resources that
905
+ # are defined in the stacks.
680
906
  # @return [Types::ResourceCollection]
681
907
  #
682
908
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsFilters AWS API Documentation
683
909
  #
684
910
  class ListEventsFilters < Struct.new(
685
- :data_source,
911
+ :insight_id,
912
+ :event_time_range,
686
913
  :event_class,
687
914
  :event_source,
688
- :event_time_range,
689
- :insight_id,
915
+ :data_source,
690
916
  :resource_collection)
691
917
  SENSITIVE = []
692
918
  include Aws::Structure
@@ -697,31 +923,37 @@ module Aws::DevOpsGuru
697
923
  #
698
924
  # {
699
925
  # filters: { # required
700
- # data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
701
- # event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
702
- # event_source: "__stringMin10Max50PatternAZAZ09AmazonawsComAwsEvents",
926
+ # insight_id: "InsightId",
703
927
  # event_time_range: {
704
928
  # from_time: Time.now, # required
705
929
  # to_time: Time.now, # required
706
930
  # },
707
- # insight_id: "__stringMin1Max100PatternW",
931
+ # event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
932
+ # event_source: "EventSource",
933
+ # data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
708
934
  # resource_collection: {
709
935
  # cloud_formation: {
710
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
936
+ # stack_names: ["StackName"],
711
937
  # },
712
938
  # },
713
939
  # },
714
940
  # max_results: 1,
715
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
941
+ # next_token: "UuidNextToken",
716
942
  # }
717
943
  #
718
944
  # @!attribute [rw] filters
945
+ # A `ListEventsFilters` object used to specify which events to return.
719
946
  # @return [Types::ListEventsFilters]
720
947
  #
721
948
  # @!attribute [rw] max_results
949
+ # The maximum number of results to return with a single call. To
950
+ # retrieve the remaining results, make another call with the returned
951
+ # `nextToken` value.
722
952
  # @return [Integer]
723
953
  #
724
954
  # @!attribute [rw] next_token
955
+ # The pagination token to use to retrieve the next page of results for
956
+ # this operation. If this value is null, it retrieves the first page.
725
957
  # @return [String]
726
958
  #
727
959
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsRequest AWS API Documentation
@@ -735,9 +967,12 @@ module Aws::DevOpsGuru
735
967
  end
736
968
 
737
969
  # @!attribute [rw] events
970
+ # A list of the requested events.
738
971
  # @return [Array<Types::Event>]
739
972
  #
740
973
  # @!attribute [rw] next_token
974
+ # The pagination token to use to retrieve the next page of results for
975
+ # this operation. If there are no more pages, this value is null.
741
976
  # @return [String]
742
977
  #
743
978
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsResponse AWS API Documentation
@@ -749,58 +984,70 @@ module Aws::DevOpsGuru
749
984
  include Aws::Structure
750
985
  end
751
986
 
987
+ # Used to filter for insights that have any status.
988
+ #
752
989
  # @note When making an API call, you may pass ListInsightsAnyStatusFilter
753
990
  # data as a hash:
754
991
  #
755
992
  # {
993
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
756
994
  # start_time_range: { # required
757
995
  # from_time: Time.now,
758
996
  # to_time: Time.now,
759
997
  # },
760
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
761
998
  # }
762
999
  #
763
- # @!attribute [rw] start_time_range
764
- # @return [Types::StartTimeRange]
765
- #
766
1000
  # @!attribute [rw] type
1001
+ # Use to filter for either `REACTIVE` or `PROACTIVE` insights.
767
1002
  # @return [String]
768
1003
  #
1004
+ # @!attribute [rw] start_time_range
1005
+ # A time range used to specify when the behavior of the filtered
1006
+ # insights started.
1007
+ # @return [Types::StartTimeRange]
1008
+ #
769
1009
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsightsAnyStatusFilter AWS API Documentation
770
1010
  #
771
1011
  class ListInsightsAnyStatusFilter < Struct.new(
772
- :start_time_range,
773
- :type)
1012
+ :type,
1013
+ :start_time_range)
774
1014
  SENSITIVE = []
775
1015
  include Aws::Structure
776
1016
  end
777
1017
 
1018
+ # Used to filter for insights that have the status `CLOSED`.
1019
+ #
778
1020
  # @note When making an API call, you may pass ListInsightsClosedStatusFilter
779
1021
  # data as a hash:
780
1022
  #
781
1023
  # {
1024
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
782
1025
  # end_time_range: { # required
783
1026
  # from_time: Time.now,
784
1027
  # to_time: Time.now,
785
1028
  # },
786
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
787
1029
  # }
788
1030
  #
789
- # @!attribute [rw] end_time_range
790
- # @return [Types::EndTimeRange]
791
- #
792
1031
  # @!attribute [rw] type
1032
+ # Use to filter for either `REACTIVE` or `PROACTIVE` insights.
793
1033
  # @return [String]
794
1034
  #
1035
+ # @!attribute [rw] end_time_range
1036
+ # A time range used to specify when the behavior of the filtered
1037
+ # insights ended.
1038
+ # @return [Types::EndTimeRange]
1039
+ #
795
1040
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsightsClosedStatusFilter AWS API Documentation
796
1041
  #
797
1042
  class ListInsightsClosedStatusFilter < Struct.new(
798
- :end_time_range,
799
- :type)
1043
+ :type,
1044
+ :end_time_range)
800
1045
  SENSITIVE = []
801
1046
  include Aws::Structure
802
1047
  end
803
1048
 
1049
+ # Used to filter for insights that have the status `ONGOING`.
1050
+ #
804
1051
  # @note When making an API call, you may pass ListInsightsOngoingStatusFilter
805
1052
  # data as a hash:
806
1053
  #
@@ -809,6 +1056,7 @@ module Aws::DevOpsGuru
809
1056
  # }
810
1057
  #
811
1058
  # @!attribute [rw] type
1059
+ # Use to filter for either `REACTIVE` or `PROACTIVE` insights.
812
1060
  # @return [String]
813
1061
  #
814
1062
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsightsOngoingStatusFilter AWS API Documentation
@@ -823,105 +1071,124 @@ module Aws::DevOpsGuru
823
1071
  # data as a hash:
824
1072
  #
825
1073
  # {
826
- # max_results: 1,
827
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
828
1074
  # status_filter: { # required
829
- # any: {
830
- # start_time_range: { # required
831
- # from_time: Time.now,
832
- # to_time: Time.now,
833
- # },
1075
+ # ongoing: {
834
1076
  # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
835
1077
  # },
836
1078
  # closed: {
1079
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
837
1080
  # end_time_range: { # required
838
1081
  # from_time: Time.now,
839
1082
  # to_time: Time.now,
840
1083
  # },
841
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
842
1084
  # },
843
- # ongoing: {
1085
+ # any: {
844
1086
  # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1087
+ # start_time_range: { # required
1088
+ # from_time: Time.now,
1089
+ # to_time: Time.now,
1090
+ # },
845
1091
  # },
846
1092
  # },
1093
+ # max_results: 1,
1094
+ # next_token: "UuidNextToken",
847
1095
  # }
848
1096
  #
1097
+ # @!attribute [rw] status_filter
1098
+ # A filter used to filter the returned insights by their status. You
1099
+ # can specify one status filter.
1100
+ # @return [Types::ListInsightsStatusFilter]
1101
+ #
849
1102
  # @!attribute [rw] max_results
1103
+ # The maximum number of results to return with a single call. To
1104
+ # retrieve the remaining results, make another call with the returned
1105
+ # `nextToken` value.
850
1106
  # @return [Integer]
851
1107
  #
852
1108
  # @!attribute [rw] next_token
1109
+ # The pagination token to use to retrieve the next page of results for
1110
+ # this operation. If this value is null, it retrieves the first page.
853
1111
  # @return [String]
854
1112
  #
855
- # @!attribute [rw] status_filter
856
- # @return [Types::ListInsightsStatusFilter]
857
- #
858
1113
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsightsRequest AWS API Documentation
859
1114
  #
860
1115
  class ListInsightsRequest < Struct.new(
1116
+ :status_filter,
861
1117
  :max_results,
862
- :next_token,
863
- :status_filter)
1118
+ :next_token)
864
1119
  SENSITIVE = []
865
1120
  include Aws::Structure
866
1121
  end
867
1122
 
868
- # @!attribute [rw] next_token
869
- # @return [String]
870
- #
871
1123
  # @!attribute [rw] proactive_insights
1124
+ # The returned list of proactive insights.
872
1125
  # @return [Array<Types::ProactiveInsightSummary>]
873
1126
  #
874
1127
  # @!attribute [rw] reactive_insights
1128
+ # The returned list of reactive insights.
875
1129
  # @return [Array<Types::ReactiveInsightSummary>]
876
1130
  #
1131
+ # @!attribute [rw] next_token
1132
+ # The pagination token to use to retrieve the next page of results for
1133
+ # this operation. If there are no more pages, this value is null.
1134
+ # @return [String]
1135
+ #
877
1136
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsightsResponse AWS API Documentation
878
1137
  #
879
1138
  class ListInsightsResponse < Struct.new(
880
- :next_token,
881
1139
  :proactive_insights,
882
- :reactive_insights)
1140
+ :reactive_insights,
1141
+ :next_token)
883
1142
  SENSITIVE = []
884
1143
  include Aws::Structure
885
1144
  end
886
1145
 
1146
+ # A filter used by `ListInsights` to specify which insights to return.
1147
+ #
887
1148
  # @note When making an API call, you may pass ListInsightsStatusFilter
888
1149
  # data as a hash:
889
1150
  #
890
1151
  # {
891
- # any: {
892
- # start_time_range: { # required
893
- # from_time: Time.now,
894
- # to_time: Time.now,
895
- # },
1152
+ # ongoing: {
896
1153
  # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
897
1154
  # },
898
1155
  # closed: {
1156
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
899
1157
  # end_time_range: { # required
900
1158
  # from_time: Time.now,
901
1159
  # to_time: Time.now,
902
1160
  # },
903
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
904
1161
  # },
905
- # ongoing: {
1162
+ # any: {
906
1163
  # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1164
+ # start_time_range: { # required
1165
+ # from_time: Time.now,
1166
+ # to_time: Time.now,
1167
+ # },
907
1168
  # },
908
1169
  # }
909
1170
  #
910
- # @!attribute [rw] any
911
- # @return [Types::ListInsightsAnyStatusFilter]
1171
+ # @!attribute [rw] ongoing
1172
+ # A `ListInsightsAnyStatusFilter` that specifies ongoing insights that
1173
+ # are either `REACTIVE` or `PROACTIVE`.
1174
+ # @return [Types::ListInsightsOngoingStatusFilter]
912
1175
  #
913
1176
  # @!attribute [rw] closed
1177
+ # A `ListInsightsClosedStatusFilter` that specifies closed insights
1178
+ # that are either `REACTIVE` or `PROACTIVE`.
914
1179
  # @return [Types::ListInsightsClosedStatusFilter]
915
1180
  #
916
- # @!attribute [rw] ongoing
917
- # @return [Types::ListInsightsOngoingStatusFilter]
1181
+ # @!attribute [rw] any
1182
+ # A `ListInsightsAnyStatusFilter` that specifies insights of any
1183
+ # status that are either `REACTIVE` or `PROACTIVE`.
1184
+ # @return [Types::ListInsightsAnyStatusFilter]
918
1185
  #
919
1186
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsightsStatusFilter AWS API Documentation
920
1187
  #
921
1188
  class ListInsightsStatusFilter < Struct.new(
922
- :any,
1189
+ :ongoing,
923
1190
  :closed,
924
- :ongoing)
1191
+ :any)
925
1192
  SENSITIVE = []
926
1193
  include Aws::Structure
927
1194
  end
@@ -930,10 +1197,12 @@ module Aws::DevOpsGuru
930
1197
  # data as a hash:
931
1198
  #
932
1199
  # {
933
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
1200
+ # next_token: "UuidNextToken",
934
1201
  # }
935
1202
  #
936
1203
  # @!attribute [rw] next_token
1204
+ # The pagination token to use to retrieve the next page of results for
1205
+ # this operation. If this value is null, it retrieves the first page.
937
1206
  # @return [String]
938
1207
  #
939
1208
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannelsRequest AWS API Documentation
@@ -945,9 +1214,12 @@ module Aws::DevOpsGuru
945
1214
  end
946
1215
 
947
1216
  # @!attribute [rw] channels
1217
+ # An array that contains the requested notification channels.
948
1218
  # @return [Array<Types::NotificationChannel>]
949
1219
  #
950
1220
  # @!attribute [rw] next_token
1221
+ # The pagination token to use to retrieve the next page of results for
1222
+ # this operation. If there are no more pages, this value is null.
951
1223
  # @return [String]
952
1224
  #
953
1225
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannelsResponse AWS API Documentation
@@ -963,14 +1235,17 @@ module Aws::DevOpsGuru
963
1235
  # data as a hash:
964
1236
  #
965
1237
  # {
966
- # insight_id: "__stringMin1Max100PatternW", # required
967
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
1238
+ # insight_id: "InsightId", # required
1239
+ # next_token: "UuidNextToken",
968
1240
  # }
969
1241
  #
970
1242
  # @!attribute [rw] insight_id
1243
+ # The ID of the requested insight.
971
1244
  # @return [String]
972
1245
  #
973
1246
  # @!attribute [rw] next_token
1247
+ # The pagination token to use to retrieve the next page of results for
1248
+ # this operation. If this value is null, it retrieves the first page.
974
1249
  # @return [String]
975
1250
  #
976
1251
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendationsRequest AWS API Documentation
@@ -982,46 +1257,96 @@ module Aws::DevOpsGuru
982
1257
  include Aws::Structure
983
1258
  end
984
1259
 
985
- # @!attribute [rw] next_token
986
- # @return [String]
987
- #
988
1260
  # @!attribute [rw] recommendations
1261
+ # An array of the requested recommendations.
989
1262
  # @return [Array<Types::Recommendation>]
990
1263
  #
1264
+ # @!attribute [rw] next_token
1265
+ # The pagination token to use to retrieve the next page of results for
1266
+ # this operation. If there are no more pages, this value is null.
1267
+ # @return [String]
1268
+ #
991
1269
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendationsResponse AWS API Documentation
992
1270
  #
993
1271
  class ListRecommendationsResponse < Struct.new(
994
- :next_token,
995
- :recommendations)
1272
+ :recommendations,
1273
+ :next_token)
996
1274
  SENSITIVE = []
997
1275
  include Aws::Structure
998
1276
  end
999
1277
 
1000
- # @!attribute [rw] config
1001
- # @return [Types::NotificationChannelConfig]
1278
+ # Information about a notification channel. A notification channel is
1279
+ # used to notify you when DevOps Guru creates an insight. The one
1280
+ # supported notification channel is Amazon Simple Notification Service
1281
+ # (Amazon SNS).
1282
+ #
1283
+ # If you use an Amazon SNS topic in another account, you must attach a
1284
+ # policy to it that grants DevOps Guru permission to it notifications.
1285
+ # DevOps Guru adds the required policy on your behalf to send
1286
+ # notifications using Amazon SNS in your account. For more information,
1287
+ # see [Permissions for cross account Amazon SNS topics][1].
1288
+ #
1289
+ # If you use an Amazon SNS topic that is encrypted by an AWS Key
1290
+ # Management Service customer-managed key (CMK), then you must add
1291
+ # permissions to the CMK. For more information, see [Permissions for AWS
1292
+ # KMS–encrypted Amazon SNS topics][2].
1293
+ #
1294
+ #
1295
+ #
1296
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html
1297
+ # [2]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html
1002
1298
  #
1003
1299
  # @!attribute [rw] id
1300
+ # The ID of a notification channel.
1004
1301
  # @return [String]
1005
1302
  #
1303
+ # @!attribute [rw] config
1304
+ # A `NotificationChannelConfig` object that contains information about
1305
+ # configured notification channels.
1306
+ # @return [Types::NotificationChannelConfig]
1307
+ #
1006
1308
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/NotificationChannel AWS API Documentation
1007
1309
  #
1008
1310
  class NotificationChannel < Struct.new(
1009
- :config,
1010
- :id)
1311
+ :id,
1312
+ :config)
1011
1313
  SENSITIVE = []
1012
1314
  include Aws::Structure
1013
1315
  end
1014
1316
 
1317
+ # Information about notification channels you have configured with
1318
+ # DevOps Guru. The one supported notification channel is Amazon Simple
1319
+ # Notification Service (Amazon SNS).
1320
+ #
1015
1321
  # @note When making an API call, you may pass NotificationChannelConfig
1016
1322
  # data as a hash:
1017
1323
  #
1018
1324
  # {
1019
1325
  # sns: { # required
1020
- # topic_arn: "__stringMin36Max1024PatternArnAwsAZ09SnsAZ09D12",
1326
+ # topic_arn: "TopicArn",
1021
1327
  # },
1022
1328
  # }
1023
1329
  #
1024
1330
  # @!attribute [rw] sns
1331
+ # Information about a notification channel configured in DevOps Guru
1332
+ # to send notifications when insights are created.
1333
+ #
1334
+ # If you use an Amazon SNS topic in another account, you must attach a
1335
+ # policy to it that grants DevOps Guru permission to it notifications.
1336
+ # DevOps Guru adds the required policy on your behalf to send
1337
+ # notifications using Amazon SNS in your account. For more
1338
+ # information, see [Permissions for cross account Amazon SNS
1339
+ # topics][1].
1340
+ #
1341
+ # If you use an Amazon SNS topic that is encrypted by an AWS Key
1342
+ # Management Service customer-managed key (CMK), then you must add
1343
+ # permissions to the CMK. For more information, see [Permissions for
1344
+ # AWS KMS–encrypted Amazon SNS topics][2].
1345
+ #
1346
+ #
1347
+ #
1348
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html
1349
+ # [2]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html
1025
1350
  # @return [Types::SnsChannelConfig]
1026
1351
  #
1027
1352
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/NotificationChannelConfig AWS API Documentation
@@ -1032,7 +1357,12 @@ module Aws::DevOpsGuru
1032
1357
  include Aws::Structure
1033
1358
  end
1034
1359
 
1360
+ # Information about whether DevOps Guru is configured to create an
1361
+ # OpsItem in AWS Systems Manager OpsCenter for each created insight.
1362
+ #
1035
1363
  # @!attribute [rw] opt_in_status
1364
+ # Specifies if DevOps Guru is enabled to create an AWS Systems Manager
1365
+ # OpsItem for each created insight.
1036
1366
  # @return [String]
1037
1367
  #
1038
1368
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/OpsCenterIntegration AWS API Documentation
@@ -1043,6 +1373,9 @@ module Aws::DevOpsGuru
1043
1373
  include Aws::Structure
1044
1374
  end
1045
1375
 
1376
+ # Information about whether DevOps Guru is configured to create an
1377
+ # OpsItem in AWS Systems Manager OpsCenter for each created insight.
1378
+ #
1046
1379
  # @note When making an API call, you may pass OpsCenterIntegrationConfig
1047
1380
  # data as a hash:
1048
1381
  #
@@ -1051,6 +1384,8 @@ module Aws::DevOpsGuru
1051
1384
  # }
1052
1385
  #
1053
1386
  # @!attribute [rw] opt_in_status
1387
+ # Specifies if DevOps Guru is enabled to create an AWS Systems Manager
1388
+ # OpsItem for each created insight.
1054
1389
  # @return [String]
1055
1390
  #
1056
1391
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/OpsCenterIntegrationConfig AWS API Documentation
@@ -1061,185 +1396,271 @@ module Aws::DevOpsGuru
1061
1396
  include Aws::Structure
1062
1397
  end
1063
1398
 
1064
- # @!attribute [rw] end_time
1065
- # @return [Time]
1399
+ # The time range during which anomalous behavior in a proactive anomaly
1400
+ # or an insight is expected to occur.
1066
1401
  #
1067
1402
  # @!attribute [rw] start_time
1403
+ # The time range during which a metric limit is expected to be
1404
+ # exceeded. This applies to proactive insights only.
1405
+ # @return [Time]
1406
+ #
1407
+ # @!attribute [rw] end_time
1408
+ # The time when the behavior in a proactive insight is expected to
1409
+ # end.
1068
1410
  # @return [Time]
1069
1411
  #
1070
1412
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PredictionTimeRange AWS API Documentation
1071
1413
  #
1072
1414
  class PredictionTimeRange < Struct.new(
1073
- :end_time,
1074
- :start_time)
1415
+ :start_time,
1416
+ :end_time)
1075
1417
  SENSITIVE = []
1076
1418
  include Aws::Structure
1077
1419
  end
1078
1420
 
1079
- # @!attribute [rw] anomaly_time_range
1080
- # @return [Types::AnomalyTimeRange]
1421
+ # Information about an anomaly. This object is returned by
1422
+ # `ListAnomalies`.
1081
1423
  #
1082
- # @!attribute [rw] associated_insight_id
1424
+ # @!attribute [rw] id
1425
+ # The ID of a proactive anomaly.
1083
1426
  # @return [String]
1084
1427
  #
1085
- # @!attribute [rw] id
1428
+ # @!attribute [rw] severity
1429
+ # The severity of a proactive anomaly.
1086
1430
  # @return [String]
1087
1431
  #
1088
- # @!attribute [rw] limit
1089
- # @return [Float]
1432
+ # @!attribute [rw] status
1433
+ # The status of a proactive anomaly.
1434
+ # @return [String]
1090
1435
  #
1091
- # @!attribute [rw] prediction_time_range
1092
- # @return [Types::PredictionTimeRange]
1436
+ # @!attribute [rw] update_time
1437
+ # The time of the anomaly's most recent update.
1438
+ # @return [Time]
1093
1439
  #
1094
- # @!attribute [rw] resource_collection
1095
- # @return [Types::ResourceCollection]
1440
+ # @!attribute [rw] anomaly_time_range
1441
+ # A time range that specifies when the observed unusual behavior in an
1442
+ # anomaly started and ended.
1443
+ # @return [Types::AnomalyTimeRange]
1096
1444
  #
1097
- # @!attribute [rw] severity
1098
- # @return [String]
1445
+ # @!attribute [rw] prediction_time_range
1446
+ # The time range during which anomalous behavior in a proactive
1447
+ # anomaly or an insight is expected to occur.
1448
+ # @return [Types::PredictionTimeRange]
1099
1449
  #
1100
1450
  # @!attribute [rw] source_details
1451
+ # Details about the source of the analyzed operational data that
1452
+ # triggered the anomaly. The one supported source is Amazon CloudWatch
1453
+ # metrics.
1101
1454
  # @return [Types::AnomalySourceDetails]
1102
1455
  #
1103
- # @!attribute [rw] status
1456
+ # @!attribute [rw] associated_insight_id
1457
+ # The ID of the insight that contains this anomaly. An insight is
1458
+ # composed of related anomalies.
1104
1459
  # @return [String]
1105
1460
  #
1106
- # @!attribute [rw] update_time
1107
- # @return [Time]
1461
+ # @!attribute [rw] resource_collection
1462
+ # A collection of AWS resources supported by DevOps Guru. The one type
1463
+ # of AWS resource collection supported is AWS CloudFormation stacks.
1464
+ # DevOps Guru can be configured to analyze only the AWS resources that
1465
+ # are defined in the stacks.
1466
+ # @return [Types::ResourceCollection]
1467
+ #
1468
+ # @!attribute [rw] limit
1469
+ # A threshold that was exceeded by behavior in analyzed resources.
1470
+ # Exceeding this threshold is related to the anomalous behavior that
1471
+ # generated this anomaly.
1472
+ # @return [Float]
1108
1473
  #
1109
1474
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomaly AWS API Documentation
1110
1475
  #
1111
1476
  class ProactiveAnomaly < Struct.new(
1112
- :anomaly_time_range,
1113
- :associated_insight_id,
1114
1477
  :id,
1115
- :limit,
1116
- :prediction_time_range,
1117
- :resource_collection,
1118
1478
  :severity,
1119
- :source_details,
1120
1479
  :status,
1121
- :update_time)
1480
+ :update_time,
1481
+ :anomaly_time_range,
1482
+ :prediction_time_range,
1483
+ :source_details,
1484
+ :associated_insight_id,
1485
+ :resource_collection,
1486
+ :limit)
1122
1487
  SENSITIVE = []
1123
1488
  include Aws::Structure
1124
1489
  end
1125
1490
 
1126
- # @!attribute [rw] anomaly_time_range
1127
- # @return [Types::AnomalyTimeRange]
1491
+ # Details about a proactive anomaly. This object is returned by
1492
+ # `DescribeAnomaly.`
1128
1493
  #
1129
- # @!attribute [rw] associated_insight_id
1494
+ # @!attribute [rw] id
1495
+ # The ID of the anomaly.
1130
1496
  # @return [String]
1131
1497
  #
1132
- # @!attribute [rw] id
1498
+ # @!attribute [rw] severity
1499
+ # The severity of the anomaly.
1133
1500
  # @return [String]
1134
1501
  #
1135
- # @!attribute [rw] limit
1136
- # @return [Float]
1502
+ # @!attribute [rw] status
1503
+ # The status of the anomaly.
1504
+ # @return [String]
1137
1505
  #
1138
- # @!attribute [rw] prediction_time_range
1139
- # @return [Types::PredictionTimeRange]
1506
+ # @!attribute [rw] update_time
1507
+ # The time of the anomaly's most recent update.
1508
+ # @return [Time]
1140
1509
  #
1141
- # @!attribute [rw] resource_collection
1142
- # @return [Types::ResourceCollection]
1510
+ # @!attribute [rw] anomaly_time_range
1511
+ # A time range that specifies when the observed unusual behavior in an
1512
+ # anomaly started and ended.
1513
+ # @return [Types::AnomalyTimeRange]
1143
1514
  #
1144
- # @!attribute [rw] severity
1145
- # @return [String]
1515
+ # @!attribute [rw] prediction_time_range
1516
+ # The time range during which anomalous behavior in a proactive
1517
+ # anomaly or an insight is expected to occur.
1518
+ # @return [Types::PredictionTimeRange]
1146
1519
  #
1147
1520
  # @!attribute [rw] source_details
1521
+ # Details about the source of the analyzed operational data that
1522
+ # triggered the anomaly. The one supported source is Amazon CloudWatch
1523
+ # metrics.
1148
1524
  # @return [Types::AnomalySourceDetails]
1149
1525
  #
1150
- # @!attribute [rw] status
1526
+ # @!attribute [rw] associated_insight_id
1527
+ # The ID of the insight that contains this anomaly. An insight is
1528
+ # composed of related anomalies.
1151
1529
  # @return [String]
1152
1530
  #
1153
- # @!attribute [rw] update_time
1154
- # @return [Time]
1531
+ # @!attribute [rw] resource_collection
1532
+ # A collection of AWS resources supported by DevOps Guru. The one type
1533
+ # of AWS resource collection supported is AWS CloudFormation stacks.
1534
+ # DevOps Guru can be configured to analyze only the AWS resources that
1535
+ # are defined in the stacks.
1536
+ # @return [Types::ResourceCollection]
1537
+ #
1538
+ # @!attribute [rw] limit
1539
+ # A threshold that was exceeded by behavior in analyzed resources.
1540
+ # Exceeding this threshold is related to the anomalous behavior that
1541
+ # generated this anomaly.
1542
+ # @return [Float]
1155
1543
  #
1156
1544
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomalySummary AWS API Documentation
1157
1545
  #
1158
1546
  class ProactiveAnomalySummary < Struct.new(
1159
- :anomaly_time_range,
1160
- :associated_insight_id,
1161
1547
  :id,
1162
- :limit,
1163
- :prediction_time_range,
1164
- :resource_collection,
1165
1548
  :severity,
1166
- :source_details,
1167
1549
  :status,
1168
- :update_time)
1550
+ :update_time,
1551
+ :anomaly_time_range,
1552
+ :prediction_time_range,
1553
+ :source_details,
1554
+ :associated_insight_id,
1555
+ :resource_collection,
1556
+ :limit)
1169
1557
  SENSITIVE = []
1170
1558
  include Aws::Structure
1171
1559
  end
1172
1560
 
1561
+ # Details about a proactive insight. This object is returned by
1562
+ # `ListInsights`.
1563
+ #
1173
1564
  # @!attribute [rw] id
1565
+ # The ID of the proactive insight.
1174
1566
  # @return [String]
1175
1567
  #
1176
- # @!attribute [rw] insight_time_range
1177
- # @return [Types::InsightTimeRange]
1178
- #
1179
1568
  # @!attribute [rw] name
1569
+ # The name of the proactive insight.
1180
1570
  # @return [String]
1181
1571
  #
1572
+ # @!attribute [rw] severity
1573
+ # The severity of the proactive insight.
1574
+ # @return [String]
1575
+ #
1576
+ # @!attribute [rw] status
1577
+ # The status of the proactive insight.
1578
+ # @return [String]
1579
+ #
1580
+ # @!attribute [rw] insight_time_range
1581
+ # A time ranged that specifies when the observed behavior in an
1582
+ # insight started and ended.
1583
+ # @return [Types::InsightTimeRange]
1584
+ #
1182
1585
  # @!attribute [rw] prediction_time_range
1586
+ # The time range during which anomalous behavior in a proactive
1587
+ # anomaly or an insight is expected to occur.
1183
1588
  # @return [Types::PredictionTimeRange]
1184
1589
  #
1185
1590
  # @!attribute [rw] resource_collection
1591
+ # A collection of AWS resources supported by DevOps Guru. The one type
1592
+ # of AWS resource collection supported is AWS CloudFormation stacks.
1593
+ # DevOps Guru can be configured to analyze only the AWS resources that
1594
+ # are defined in the stacks.
1186
1595
  # @return [Types::ResourceCollection]
1187
1596
  #
1188
- # @!attribute [rw] severity
1189
- # @return [String]
1190
- #
1191
1597
  # @!attribute [rw] ssm_ops_item_id
1192
- # @return [String]
1193
- #
1194
- # @!attribute [rw] status
1598
+ # The ID of the AWS System Manager OpsItem created for this insight.
1599
+ # You must enable the creation of OpstItems insights before they are
1600
+ # created for each insight.
1195
1601
  # @return [String]
1196
1602
  #
1197
1603
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsight AWS API Documentation
1198
1604
  #
1199
1605
  class ProactiveInsight < Struct.new(
1200
1606
  :id,
1201
- :insight_time_range,
1202
1607
  :name,
1608
+ :severity,
1609
+ :status,
1610
+ :insight_time_range,
1203
1611
  :prediction_time_range,
1204
1612
  :resource_collection,
1205
- :severity,
1206
- :ssm_ops_item_id,
1207
- :status)
1613
+ :ssm_ops_item_id)
1208
1614
  SENSITIVE = []
1209
1615
  include Aws::Structure
1210
1616
  end
1211
1617
 
1618
+ # Details about a proactive insight. This object is returned by
1619
+ # `DescribeInsight.`
1620
+ #
1212
1621
  # @!attribute [rw] id
1622
+ # The ID of the proactive insight.
1213
1623
  # @return [String]
1214
1624
  #
1215
- # @!attribute [rw] insight_time_range
1216
- # @return [Types::InsightTimeRange]
1217
- #
1218
1625
  # @!attribute [rw] name
1626
+ # The name of the proactive insight.
1219
1627
  # @return [String]
1220
1628
  #
1221
- # @!attribute [rw] prediction_time_range
1222
- # @return [Types::PredictionTimeRange]
1223
- #
1224
- # @!attribute [rw] resource_collection
1225
- # @return [Types::ResourceCollection]
1226
- #
1227
1629
  # @!attribute [rw] severity
1630
+ # The severity of the proactive insight.
1228
1631
  # @return [String]
1229
1632
  #
1230
1633
  # @!attribute [rw] status
1634
+ # The status of the proactive insight.
1231
1635
  # @return [String]
1232
1636
  #
1637
+ # @!attribute [rw] insight_time_range
1638
+ # A time ranged that specifies when the observed behavior in an
1639
+ # insight started and ended.
1640
+ # @return [Types::InsightTimeRange]
1641
+ #
1642
+ # @!attribute [rw] prediction_time_range
1643
+ # The time range during which anomalous behavior in a proactive
1644
+ # anomaly or an insight is expected to occur.
1645
+ # @return [Types::PredictionTimeRange]
1646
+ #
1647
+ # @!attribute [rw] resource_collection
1648
+ # A collection of AWS resources supported by DevOps Guru. The one type
1649
+ # of AWS resource collection supported is AWS CloudFormation stacks.
1650
+ # DevOps Guru can be configured to analyze only the AWS resources that
1651
+ # are defined in the stacks.
1652
+ # @return [Types::ResourceCollection]
1653
+ #
1233
1654
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsightSummary AWS API Documentation
1234
1655
  #
1235
1656
  class ProactiveInsightSummary < Struct.new(
1236
1657
  :id,
1237
- :insight_time_range,
1238
1658
  :name,
1239
- :prediction_time_range,
1240
- :resource_collection,
1241
1659
  :severity,
1242
- :status)
1660
+ :status,
1661
+ :insight_time_range,
1662
+ :prediction_time_range,
1663
+ :resource_collection)
1243
1664
  SENSITIVE = []
1244
1665
  include Aws::Structure
1245
1666
  end
@@ -1249,12 +1670,14 @@ module Aws::DevOpsGuru
1249
1670
  #
1250
1671
  # {
1251
1672
  # insight_feedback: {
1673
+ # id: "InsightId",
1252
1674
  # feedback: "VALID_COLLECTION", # accepts VALID_COLLECTION, RECOMMENDATION_USEFUL, ALERT_TOO_SENSITIVE, DATA_NOISY_ANOMALY, DATA_INCORRECT
1253
- # id: "__stringMin1Max100PatternW",
1254
1675
  # },
1255
1676
  # }
1256
1677
  #
1257
1678
  # @!attribute [rw] insight_feedback
1679
+ # The feedback from customers is about the recommendations in this
1680
+ # insight.
1258
1681
  # @return [Types::InsightFeedback]
1259
1682
  #
1260
1683
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PutFeedbackRequest AWS API Documentation
@@ -1269,160 +1692,234 @@ module Aws::DevOpsGuru
1269
1692
  #
1270
1693
  class PutFeedbackResponse < Aws::EmptyStructure; end
1271
1694
 
1272
- # @!attribute [rw] anomaly_time_range
1273
- # @return [Types::AnomalyTimeRange]
1274
- #
1275
- # @!attribute [rw] associated_insight_id
1276
- # @return [String]
1695
+ # Details about a reactive anomaly. This object is returned by
1696
+ # `ListAnomalies`.
1277
1697
  #
1278
1698
  # @!attribute [rw] id
1699
+ # The ID of the reactive anomaly.
1279
1700
  # @return [String]
1280
1701
  #
1281
- # @!attribute [rw] resource_collection
1282
- # @return [Types::ResourceCollection]
1283
- #
1284
1702
  # @!attribute [rw] severity
1703
+ # The severity of the anomaly.
1285
1704
  # @return [String]
1286
1705
  #
1706
+ # @!attribute [rw] status
1707
+ # The status of the anomaly.
1708
+ # @return [String]
1709
+ #
1710
+ # @!attribute [rw] anomaly_time_range
1711
+ # A time range that specifies when the observed unusual behavior in an
1712
+ # anomaly started and ended.
1713
+ # @return [Types::AnomalyTimeRange]
1714
+ #
1287
1715
  # @!attribute [rw] source_details
1716
+ # Details about the source of the analyzed operational data that
1717
+ # triggered the anomaly. The one supported source is Amazon CloudWatch
1718
+ # metrics.
1288
1719
  # @return [Types::AnomalySourceDetails]
1289
1720
  #
1290
- # @!attribute [rw] status
1721
+ # @!attribute [rw] associated_insight_id
1722
+ # The ID of the insight that contains this anomaly. An insight is
1723
+ # composed of related anomalies.
1291
1724
  # @return [String]
1292
1725
  #
1726
+ # @!attribute [rw] resource_collection
1727
+ # A collection of AWS resources supported by DevOps Guru. The one type
1728
+ # of AWS resource collection supported is AWS CloudFormation stacks.
1729
+ # DevOps Guru can be configured to analyze only the AWS resources that
1730
+ # are defined in the stacks.
1731
+ # @return [Types::ResourceCollection]
1732
+ #
1293
1733
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomaly AWS API Documentation
1294
1734
  #
1295
1735
  class ReactiveAnomaly < Struct.new(
1296
- :anomaly_time_range,
1297
- :associated_insight_id,
1298
1736
  :id,
1299
- :resource_collection,
1300
1737
  :severity,
1738
+ :status,
1739
+ :anomaly_time_range,
1301
1740
  :source_details,
1302
- :status)
1741
+ :associated_insight_id,
1742
+ :resource_collection)
1303
1743
  SENSITIVE = []
1304
1744
  include Aws::Structure
1305
1745
  end
1306
1746
 
1307
- # @!attribute [rw] anomaly_time_range
1308
- # @return [Types::AnomalyTimeRange]
1309
- #
1310
- # @!attribute [rw] associated_insight_id
1311
- # @return [String]
1747
+ # Details about a reactive anomaly. This object is returned by
1748
+ # `DescribeAnomaly.`
1312
1749
  #
1313
1750
  # @!attribute [rw] id
1751
+ # The ID of the reactive anomaly.
1314
1752
  # @return [String]
1315
1753
  #
1316
- # @!attribute [rw] resource_collection
1317
- # @return [Types::ResourceCollection]
1318
- #
1319
1754
  # @!attribute [rw] severity
1755
+ # The severity of the reactive anomaly.
1320
1756
  # @return [String]
1321
1757
  #
1758
+ # @!attribute [rw] status
1759
+ # The status of the reactive anomaly.
1760
+ # @return [String]
1761
+ #
1762
+ # @!attribute [rw] anomaly_time_range
1763
+ # A time range that specifies when the observed unusual behavior in an
1764
+ # anomaly started and ended.
1765
+ # @return [Types::AnomalyTimeRange]
1766
+ #
1322
1767
  # @!attribute [rw] source_details
1768
+ # Details about the source of the analyzed operational data that
1769
+ # triggered the anomaly. The one supported source is Amazon CloudWatch
1770
+ # metrics.
1323
1771
  # @return [Types::AnomalySourceDetails]
1324
1772
  #
1325
- # @!attribute [rw] status
1773
+ # @!attribute [rw] associated_insight_id
1774
+ # The ID of the insight that contains this anomaly. An insight is
1775
+ # composed of related anomalies.
1326
1776
  # @return [String]
1327
1777
  #
1778
+ # @!attribute [rw] resource_collection
1779
+ # A collection of AWS resources supported by DevOps Guru. The one type
1780
+ # of AWS resource collection supported is AWS CloudFormation stacks.
1781
+ # DevOps Guru can be configured to analyze only the AWS resources that
1782
+ # are defined in the stacks.
1783
+ # @return [Types::ResourceCollection]
1784
+ #
1328
1785
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomalySummary AWS API Documentation
1329
1786
  #
1330
1787
  class ReactiveAnomalySummary < Struct.new(
1331
- :anomaly_time_range,
1332
- :associated_insight_id,
1333
1788
  :id,
1334
- :resource_collection,
1335
1789
  :severity,
1790
+ :status,
1791
+ :anomaly_time_range,
1336
1792
  :source_details,
1337
- :status)
1793
+ :associated_insight_id,
1794
+ :resource_collection)
1338
1795
  SENSITIVE = []
1339
1796
  include Aws::Structure
1340
1797
  end
1341
1798
 
1799
+ # Information about a reactive insight. This object is returned by
1800
+ # `ListInsights`.
1801
+ #
1342
1802
  # @!attribute [rw] id
1803
+ # The ID of a reactive insight.
1343
1804
  # @return [String]
1344
1805
  #
1345
- # @!attribute [rw] insight_time_range
1346
- # @return [Types::InsightTimeRange]
1347
- #
1348
1806
  # @!attribute [rw] name
1807
+ # The name of a reactive insight.
1349
1808
  # @return [String]
1350
1809
  #
1351
- # @!attribute [rw] resource_collection
1352
- # @return [Types::ResourceCollection]
1353
- #
1354
1810
  # @!attribute [rw] severity
1811
+ # The severity of a reactive insight.
1355
1812
  # @return [String]
1356
1813
  #
1357
- # @!attribute [rw] ssm_ops_item_id
1814
+ # @!attribute [rw] status
1815
+ # The status of a reactive insight.
1358
1816
  # @return [String]
1359
1817
  #
1360
- # @!attribute [rw] status
1818
+ # @!attribute [rw] insight_time_range
1819
+ # A time ranged that specifies when the observed behavior in an
1820
+ # insight started and ended.
1821
+ # @return [Types::InsightTimeRange]
1822
+ #
1823
+ # @!attribute [rw] resource_collection
1824
+ # A collection of AWS resources supported by DevOps Guru. The one type
1825
+ # of AWS resource collection supported is AWS CloudFormation stacks.
1826
+ # DevOps Guru can be configured to analyze only the AWS resources that
1827
+ # are defined in the stacks.
1828
+ # @return [Types::ResourceCollection]
1829
+ #
1830
+ # @!attribute [rw] ssm_ops_item_id
1831
+ # The ID of the AWS System Manager OpsItem created for this insight.
1832
+ # You must enable the creation of OpstItems insights before they are
1833
+ # created for each insight.
1361
1834
  # @return [String]
1362
1835
  #
1363
1836
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsight AWS API Documentation
1364
1837
  #
1365
1838
  class ReactiveInsight < Struct.new(
1366
1839
  :id,
1367
- :insight_time_range,
1368
1840
  :name,
1369
- :resource_collection,
1370
1841
  :severity,
1371
- :ssm_ops_item_id,
1372
- :status)
1842
+ :status,
1843
+ :insight_time_range,
1844
+ :resource_collection,
1845
+ :ssm_ops_item_id)
1373
1846
  SENSITIVE = []
1374
1847
  include Aws::Structure
1375
1848
  end
1376
1849
 
1850
+ # Information about a reactive insight. This object is returned by
1851
+ # `DescribeInsight.`
1852
+ #
1377
1853
  # @!attribute [rw] id
1854
+ # The ID of a reactive summary.
1378
1855
  # @return [String]
1379
1856
  #
1380
- # @!attribute [rw] insight_time_range
1381
- # @return [Types::InsightTimeRange]
1382
- #
1383
1857
  # @!attribute [rw] name
1858
+ # The name of a reactive insight.
1384
1859
  # @return [String]
1385
1860
  #
1386
- # @!attribute [rw] resource_collection
1387
- # @return [Types::ResourceCollection]
1388
- #
1389
1861
  # @!attribute [rw] severity
1862
+ # The severity of a reactive insight.
1390
1863
  # @return [String]
1391
1864
  #
1392
1865
  # @!attribute [rw] status
1866
+ # The status of a reactive insight.
1393
1867
  # @return [String]
1394
1868
  #
1869
+ # @!attribute [rw] insight_time_range
1870
+ # A time ranged that specifies when the observed behavior in an
1871
+ # insight started and ended.
1872
+ # @return [Types::InsightTimeRange]
1873
+ #
1874
+ # @!attribute [rw] resource_collection
1875
+ # A collection of AWS resources supported by DevOps Guru. The one type
1876
+ # of AWS resource collection supported is AWS CloudFormation stacks.
1877
+ # DevOps Guru can be configured to analyze only the AWS resources that
1878
+ # are defined in the stacks.
1879
+ # @return [Types::ResourceCollection]
1880
+ #
1395
1881
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsightSummary AWS API Documentation
1396
1882
  #
1397
1883
  class ReactiveInsightSummary < Struct.new(
1398
1884
  :id,
1399
- :insight_time_range,
1400
1885
  :name,
1401
- :resource_collection,
1402
1886
  :severity,
1403
- :status)
1887
+ :status,
1888
+ :insight_time_range,
1889
+ :resource_collection)
1404
1890
  SENSITIVE = []
1405
1891
  include Aws::Structure
1406
1892
  end
1407
1893
 
1894
+ # Recommendation information to help you remediate detected anomalous
1895
+ # behavior that generated an insight.
1896
+ #
1408
1897
  # @!attribute [rw] description
1898
+ # A description of the problem.
1409
1899
  # @return [String]
1410
1900
  #
1411
1901
  # @!attribute [rw] link
1902
+ # A hyperlink to information to help you address the problem.
1412
1903
  # @return [String]
1413
1904
  #
1414
1905
  # @!attribute [rw] name
1906
+ # The name of the recommendation.
1415
1907
  # @return [String]
1416
1908
  #
1417
1909
  # @!attribute [rw] reason
1910
+ # The reason DevOps Guru flagged the anomalous behavior as a problem.
1418
1911
  # @return [String]
1419
1912
  #
1420
- # @!attribute [rw] related_anomalies
1421
- # @return [Array<Types::RecommendationRelatedAnomaly>]
1422
- #
1423
1913
  # @!attribute [rw] related_events
1914
+ # Events that are related to the problem. Use these events to learn
1915
+ # more about what's happening and to help address the issue.
1424
1916
  # @return [Array<Types::RecommendationRelatedEvent>]
1425
1917
  #
1918
+ # @!attribute [rw] related_anomalies
1919
+ # Anomalies that are related to the problem. Use these Anomalies to
1920
+ # learn more about what's happening and to help address the issue.
1921
+ # @return [Array<Types::RecommendationRelatedAnomaly>]
1922
+ #
1426
1923
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/Recommendation AWS API Documentation
1427
1924
  #
1428
1925
  class Recommendation < Struct.new(
@@ -1430,16 +1927,24 @@ module Aws::DevOpsGuru
1430
1927
  :link,
1431
1928
  :name,
1432
1929
  :reason,
1433
- :related_anomalies,
1434
- :related_events)
1930
+ :related_events,
1931
+ :related_anomalies)
1435
1932
  SENSITIVE = []
1436
1933
  include Aws::Structure
1437
1934
  end
1438
1935
 
1936
+ # Information about an anomaly that is related to a recommendation.
1937
+ #
1439
1938
  # @!attribute [rw] resources
1939
+ # An array of objects that represent resources in which DevOps Guru
1940
+ # detected anomalous behavior. Each object contains the name and type
1941
+ # of the resource.
1440
1942
  # @return [Array<Types::RecommendationRelatedAnomalyResource>]
1441
1943
  #
1442
1944
  # @!attribute [rw] source_details
1945
+ # Information about where the anomalous behavior related the
1946
+ # recommendation was found. For example, details in Amazon CloudWatch
1947
+ # metrics.
1443
1948
  # @return [Array<Types::RecommendationRelatedAnomalySourceDetail>]
1444
1949
  #
1445
1950
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedAnomaly AWS API Documentation
@@ -1451,10 +1956,15 @@ module Aws::DevOpsGuru
1451
1956
  include Aws::Structure
1452
1957
  end
1453
1958
 
1959
+ # Information about a resource in which DevOps Guru detected anomalous
1960
+ # behavior.
1961
+ #
1454
1962
  # @!attribute [rw] name
1963
+ # The name of the resource.
1455
1964
  # @return [String]
1456
1965
  #
1457
1966
  # @!attribute [rw] type
1967
+ # The type of the resource.
1458
1968
  # @return [String]
1459
1969
  #
1460
1970
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedAnomalyResource AWS API Documentation
@@ -1466,7 +1976,14 @@ module Aws::DevOpsGuru
1466
1976
  include Aws::Structure
1467
1977
  end
1468
1978
 
1979
+ # Contains an array of
1980
+ # `RecommendationRelatedCloudWatchMetricsSourceDetail` objects that
1981
+ # contain the name and namespace of an Amazon CloudWatch metric.
1982
+ #
1469
1983
  # @!attribute [rw] cloud_watch_metrics
1984
+ # An array of `CloudWatchMetricsDetail` objects that contains
1985
+ # information about the analyzed metrics that displayed anomalous
1986
+ # behavior.
1470
1987
  # @return [Array<Types::RecommendationRelatedCloudWatchMetricsSourceDetail>]
1471
1988
  #
1472
1989
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedAnomalySourceDetail AWS API Documentation
@@ -1477,10 +1994,17 @@ module Aws::DevOpsGuru
1477
1994
  include Aws::Structure
1478
1995
  end
1479
1996
 
1997
+ # Information about an Amazon CloudWatch metric that is analyzed by
1998
+ # DevOps Guru. It is one of many analyzed metrics that are used to
1999
+ # generate insights.
2000
+ #
1480
2001
  # @!attribute [rw] metric_name
2002
+ # The name of the CloudWatch metric.
1481
2003
  # @return [String]
1482
2004
  #
1483
2005
  # @!attribute [rw] namespace
2006
+ # The namespace of the CloudWatch metric. A namespace is a container
2007
+ # for CloudWatch metrics.
1484
2008
  # @return [String]
1485
2009
  #
1486
2010
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedCloudWatchMetricsSourceDetail AWS API Documentation
@@ -1492,10 +2016,16 @@ module Aws::DevOpsGuru
1492
2016
  include Aws::Structure
1493
2017
  end
1494
2018
 
2019
+ # Information about an event that is related to a recommendation.
2020
+ #
1495
2021
  # @!attribute [rw] name
2022
+ # The name of the event. This corresponds to the `Name` field in an
2023
+ # `Event` object.
1496
2024
  # @return [String]
1497
2025
  #
1498
2026
  # @!attribute [rw] resources
2027
+ # A `ResourceCollection` object that contains arrays of the names of
2028
+ # AWS CloudFormation stacks.
1499
2029
  # @return [Array<Types::RecommendationRelatedEventResource>]
1500
2030
  #
1501
2031
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedEvent AWS API Documentation
@@ -1507,10 +2037,17 @@ module Aws::DevOpsGuru
1507
2037
  include Aws::Structure
1508
2038
  end
1509
2039
 
2040
+ # Information about an AWS resource that emitted and event that is
2041
+ # related to a recommendation in an insight.
2042
+ #
1510
2043
  # @!attribute [rw] name
2044
+ # The name of the resource that emitted the event. This corresponds to
2045
+ # the `Name` field in an `EventResource` object.
1511
2046
  # @return [String]
1512
2047
  #
1513
2048
  # @!attribute [rw] type
2049
+ # The type of the resource that emitted the event. This corresponds to
2050
+ # the `Type` field in an `EventResource` object.
1514
2051
  # @return [String]
1515
2052
  #
1516
2053
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedEventResource AWS API Documentation
@@ -1526,10 +2063,11 @@ module Aws::DevOpsGuru
1526
2063
  # data as a hash:
1527
2064
  #
1528
2065
  # {
1529
- # id: "__string", # required
2066
+ # id: "NotificationChannelId", # required
1530
2067
  # }
1531
2068
  #
1532
2069
  # @!attribute [rw] id
2070
+ # The ID of the notification channel to be removed.
1533
2071
  # @return [String]
1534
2072
  #
1535
2073
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RemoveNotificationChannelRequest AWS API Documentation
@@ -1544,16 +2082,23 @@ module Aws::DevOpsGuru
1544
2082
  #
1545
2083
  class RemoveNotificationChannelResponse < Aws::EmptyStructure; end
1546
2084
 
2085
+ # A collection of AWS resources supported by DevOps Guru. The one type
2086
+ # of AWS resource collection supported is AWS CloudFormation stacks.
2087
+ # DevOps Guru can be configured to analyze only the AWS resources that
2088
+ # are defined in the stacks.
2089
+ #
1547
2090
  # @note When making an API call, you may pass ResourceCollection
1548
2091
  # data as a hash:
1549
2092
  #
1550
2093
  # {
1551
2094
  # cloud_formation: {
1552
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
2095
+ # stack_names: ["StackName"],
1553
2096
  # },
1554
2097
  # }
1555
2098
  #
1556
2099
  # @!attribute [rw] cloud_formation
2100
+ # An array of the names of AWS CloudFormation stacks. The stacks
2101
+ # define AWS resources that DevOps Guru analyzes.
1557
2102
  # @return [Types::CloudFormationCollection]
1558
2103
  #
1559
2104
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollection AWS API Documentation
@@ -1564,7 +2109,17 @@ module Aws::DevOpsGuru
1564
2109
  include Aws::Structure
1565
2110
  end
1566
2111
 
2112
+ # Information about a filter used to specify which AWS resources are
2113
+ # analyzed for anomalous behavior by DevOps Guru.
2114
+ #
1567
2115
  # @!attribute [rw] cloud_formation
2116
+ # Information about AWS CloudFormation stacks. You can use stacks to
2117
+ # specify which AWS resources in your account to analyze. For more
2118
+ # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
2119
+ #
2120
+ #
2121
+ #
2122
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
1568
2123
  # @return [Types::CloudFormationCollectionFilter]
1569
2124
  #
1570
2125
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollectionFilter AWS API Documentation
@@ -1575,13 +2130,17 @@ module Aws::DevOpsGuru
1575
2130
  include Aws::Structure
1576
2131
  end
1577
2132
 
2133
+ # A requested resource could not be found
2134
+ #
1578
2135
  # @!attribute [rw] message
1579
2136
  # @return [String]
1580
2137
  #
1581
2138
  # @!attribute [rw] resource_id
2139
+ # The ID of the AWS resource that could not be found.
1582
2140
  # @return [String]
1583
2141
  #
1584
2142
  # @!attribute [rw] resource_type
2143
+ # The type of the AWS resource that could not be found.
1585
2144
  # @return [String]
1586
2145
  #
1587
2146
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceNotFoundException AWS API Documentation
@@ -1594,34 +2153,43 @@ module Aws::DevOpsGuru
1594
2153
  include Aws::Structure
1595
2154
  end
1596
2155
 
2156
+ # Specifies one or more severity values and one or more status values
2157
+ # that are used to search for insights.
2158
+ #
1597
2159
  # @note When making an API call, you may pass SearchInsightsFilters
1598
2160
  # data as a hash:
1599
2161
  #
1600
2162
  # {
2163
+ # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
2164
+ # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
1601
2165
  # resource_collection: {
1602
2166
  # cloud_formation: {
1603
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
2167
+ # stack_names: ["StackName"],
1604
2168
  # },
1605
2169
  # },
1606
- # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
1607
- # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
1608
2170
  # }
1609
2171
  #
1610
- # @!attribute [rw] resource_collection
1611
- # @return [Types::ResourceCollection]
1612
- #
1613
2172
  # @!attribute [rw] severities
2173
+ # An array of severity values used to search for insights.
1614
2174
  # @return [Array<String>]
1615
2175
  #
1616
2176
  # @!attribute [rw] statuses
2177
+ # An array of status values used to search for insights.
1617
2178
  # @return [Array<String>]
1618
2179
  #
2180
+ # @!attribute [rw] resource_collection
2181
+ # A collection of AWS resources supported by DevOps Guru. The one type
2182
+ # of AWS resource collection supported is AWS CloudFormation stacks.
2183
+ # DevOps Guru can be configured to analyze only the AWS resources that
2184
+ # are defined in the stacks.
2185
+ # @return [Types::ResourceCollection]
2186
+ #
1619
2187
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsightsFilters AWS API Documentation
1620
2188
  #
1621
2189
  class SearchInsightsFilters < Struct.new(
1622
- :resource_collection,
1623
2190
  :severities,
1624
- :statuses)
2191
+ :statuses,
2192
+ :resource_collection)
1625
2193
  SENSITIVE = []
1626
2194
  include Aws::Structure
1627
2195
  end
@@ -1630,71 +2198,91 @@ module Aws::DevOpsGuru
1630
2198
  # data as a hash:
1631
2199
  #
1632
2200
  # {
2201
+ # start_time_range: { # required
2202
+ # from_time: Time.now,
2203
+ # to_time: Time.now,
2204
+ # },
1633
2205
  # filters: {
2206
+ # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
2207
+ # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
1634
2208
  # resource_collection: {
1635
2209
  # cloud_formation: {
1636
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
2210
+ # stack_names: ["StackName"],
1637
2211
  # },
1638
2212
  # },
1639
- # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
1640
- # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
1641
2213
  # },
1642
2214
  # max_results: 1,
1643
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
1644
- # start_time_range: { # required
1645
- # from_time: Time.now,
1646
- # to_time: Time.now,
1647
- # },
2215
+ # next_token: "UuidNextToken",
1648
2216
  # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1649
2217
  # }
1650
2218
  #
2219
+ # @!attribute [rw] start_time_range
2220
+ # The start of the time range passed in. Returned insights occurred
2221
+ # after this time.
2222
+ # @return [Types::StartTimeRange]
2223
+ #
1651
2224
  # @!attribute [rw] filters
2225
+ # A `SearchInsightsFilters` object that is used to set the severity
2226
+ # and status filters on your insight search.
1652
2227
  # @return [Types::SearchInsightsFilters]
1653
2228
  #
1654
2229
  # @!attribute [rw] max_results
2230
+ # The maximum number of results to return with a single call. To
2231
+ # retrieve the remaining results, make another call with the returned
2232
+ # `nextToken` value.
1655
2233
  # @return [Integer]
1656
2234
  #
1657
2235
  # @!attribute [rw] next_token
2236
+ # The pagination token to use to retrieve the next page of results for
2237
+ # this operation. If this value is null, it retrieves the first page.
1658
2238
  # @return [String]
1659
2239
  #
1660
- # @!attribute [rw] start_time_range
1661
- # @return [Types::StartTimeRange]
1662
- #
1663
2240
  # @!attribute [rw] type
2241
+ # The type of insights you are searching for (`REACTIVE` or
2242
+ # `PROACTIVE`).
1664
2243
  # @return [String]
1665
2244
  #
1666
2245
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsightsRequest AWS API Documentation
1667
2246
  #
1668
2247
  class SearchInsightsRequest < Struct.new(
2248
+ :start_time_range,
1669
2249
  :filters,
1670
2250
  :max_results,
1671
2251
  :next_token,
1672
- :start_time_range,
1673
2252
  :type)
1674
2253
  SENSITIVE = []
1675
2254
  include Aws::Structure
1676
2255
  end
1677
2256
 
1678
- # @!attribute [rw] next_token
1679
- # @return [String]
1680
- #
1681
2257
  # @!attribute [rw] proactive_insights
2258
+ # The returned proactive insights.
1682
2259
  # @return [Array<Types::ProactiveInsightSummary>]
1683
2260
  #
1684
2261
  # @!attribute [rw] reactive_insights
2262
+ # The returned reactive insights.
1685
2263
  # @return [Array<Types::ReactiveInsightSummary>]
1686
2264
  #
2265
+ # @!attribute [rw] next_token
2266
+ # The pagination token to use to retrieve the next page of results for
2267
+ # this operation. If there are no more pages, this value is null.
2268
+ # @return [String]
2269
+ #
1687
2270
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsightsResponse AWS API Documentation
1688
2271
  #
1689
2272
  class SearchInsightsResponse < Struct.new(
1690
- :next_token,
1691
2273
  :proactive_insights,
1692
- :reactive_insights)
2274
+ :reactive_insights,
2275
+ :next_token)
1693
2276
  SENSITIVE = []
1694
2277
  include Aws::Structure
1695
2278
  end
1696
2279
 
2280
+ # Information about the integration of DevOps Guru with another AWS
2281
+ # service, such as AWS Systems Manager.
2282
+ #
1697
2283
  # @!attribute [rw] ops_center
2284
+ # Information about whether DevOps Guru is configured to create an
2285
+ # OpsItem in AWS Systems Manager OpsCenter for each created insight.
1698
2286
  # @return [Types::OpsCenterIntegration]
1699
2287
  #
1700
2288
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceIntegrationConfig AWS API Documentation
@@ -1705,6 +2293,8 @@ module Aws::DevOpsGuru
1705
2293
  include Aws::Structure
1706
2294
  end
1707
2295
 
2296
+ # The request contains a value that exceeds a maximum quota.
2297
+ #
1708
2298
  # @!attribute [rw] message
1709
2299
  # @return [String]
1710
2300
  #
@@ -1716,14 +2306,35 @@ module Aws::DevOpsGuru
1716
2306
  include Aws::Structure
1717
2307
  end
1718
2308
 
2309
+ # Contains the Amazon Resource Name (ARN) of an Amazon Simple
2310
+ # Notification Service topic.
2311
+ #
2312
+ # If you use an Amazon SNS topic in another account, you must attach a
2313
+ # policy to it that grants DevOps Guru permission to it notifications.
2314
+ # DevOps Guru adds the required policy on your behalf to send
2315
+ # notifications using Amazon SNS in your account. For more information,
2316
+ # see [Permissions for cross account Amazon SNS topics][1].
2317
+ #
2318
+ # If you use an Amazon SNS topic that is encrypted by an AWS Key
2319
+ # Management Service customer-managed key (CMK), then you must add
2320
+ # permissions to the CMK. For more information, see [Permissions for AWS
2321
+ # KMS–encrypted Amazon SNS topics][2].
2322
+ #
2323
+ #
2324
+ #
2325
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html
2326
+ # [2]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html
2327
+ #
1719
2328
  # @note When making an API call, you may pass SnsChannelConfig
1720
2329
  # data as a hash:
1721
2330
  #
1722
2331
  # {
1723
- # topic_arn: "__stringMin36Max1024PatternArnAwsAZ09SnsAZ09D12",
2332
+ # topic_arn: "TopicArn",
1724
2333
  # }
1725
2334
  #
1726
2335
  # @!attribute [rw] topic_arn
2336
+ # The Amazon Resource Name (ARN) of an Amazon Simple Notification
2337
+ # Service topic.
1727
2338
  # @return [String]
1728
2339
  #
1729
2340
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SnsChannelConfig AWS API Documentation
@@ -1734,6 +2345,9 @@ module Aws::DevOpsGuru
1734
2345
  include Aws::Structure
1735
2346
  end
1736
2347
 
2348
+ # A time range used to specify when the behavior of an insight or
2349
+ # anomaly started.
2350
+ #
1737
2351
  # @note When making an API call, you may pass StartTimeRange
1738
2352
  # data as a hash:
1739
2353
  #
@@ -1743,9 +2357,11 @@ module Aws::DevOpsGuru
1743
2357
  # }
1744
2358
  #
1745
2359
  # @!attribute [rw] from_time
2360
+ # The start time of the time range.
1746
2361
  # @return [Time]
1747
2362
  #
1748
2363
  # @!attribute [rw] to_time
2364
+ # The end time of the time range.
1749
2365
  # @return [Time]
1750
2366
  #
1751
2367
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartTimeRange AWS API Documentation
@@ -1757,33 +2373,48 @@ module Aws::DevOpsGuru
1757
2373
  include Aws::Structure
1758
2374
  end
1759
2375
 
2376
+ # The request was denied due to a request throttling.
2377
+ #
1760
2378
  # @!attribute [rw] message
1761
2379
  # @return [String]
1762
2380
  #
1763
2381
  # @!attribute [rw] quota_code
2382
+ # The code of the quota that was exceeded, causing the throttling
2383
+ # exception.
1764
2384
  # @return [String]
1765
2385
  #
1766
2386
  # @!attribute [rw] service_code
2387
+ # The code of the service that caused the throttling exception.
1767
2388
  # @return [String]
1768
2389
  #
2390
+ # @!attribute [rw] retry_after_seconds
2391
+ # The number of seconds after which the action that caused the
2392
+ # throttling exception can be retried.
2393
+ # @return [Integer]
2394
+ #
1769
2395
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ThrottlingException AWS API Documentation
1770
2396
  #
1771
2397
  class ThrottlingException < Struct.new(
1772
2398
  :message,
1773
2399
  :quota_code,
1774
- :service_code)
2400
+ :service_code,
2401
+ :retry_after_seconds)
1775
2402
  SENSITIVE = []
1776
2403
  include Aws::Structure
1777
2404
  end
1778
2405
 
2406
+ # Contains the names of AWS CloudFormation stacks used to update a
2407
+ # collection of stacks.
2408
+ #
1779
2409
  # @note When making an API call, you may pass UpdateCloudFormationCollectionFilter
1780
2410
  # data as a hash:
1781
2411
  #
1782
2412
  # {
1783
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
2413
+ # stack_names: ["StackName"],
1784
2414
  # }
1785
2415
  #
1786
2416
  # @!attribute [rw] stack_names
2417
+ # An array of the name of stacks to update.
1787
2418
  # @return [Array<String>]
1788
2419
  #
1789
2420
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateCloudFormationCollectionFilter AWS API Documentation
@@ -1794,16 +2425,19 @@ module Aws::DevOpsGuru
1794
2425
  include Aws::Structure
1795
2426
  end
1796
2427
 
2428
+ # Contains information used to update a collection of AWS resources.
2429
+ #
1797
2430
  # @note When making an API call, you may pass UpdateResourceCollectionFilter
1798
2431
  # data as a hash:
1799
2432
  #
1800
2433
  # {
1801
2434
  # cloud_formation: {
1802
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
2435
+ # stack_names: ["StackName"],
1803
2436
  # },
1804
2437
  # }
1805
2438
  #
1806
2439
  # @!attribute [rw] cloud_formation
2440
+ # An collection of AWS CloudFormation stacks.
1807
2441
  # @return [Types::UpdateCloudFormationCollectionFilter]
1808
2442
  #
1809
2443
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionFilter AWS API Documentation
@@ -1821,15 +2455,18 @@ module Aws::DevOpsGuru
1821
2455
  # action: "ADD", # required, accepts ADD, REMOVE
1822
2456
  # resource_collection: { # required
1823
2457
  # cloud_formation: {
1824
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
2458
+ # stack_names: ["StackName"],
1825
2459
  # },
1826
2460
  # },
1827
2461
  # }
1828
2462
  #
1829
2463
  # @!attribute [rw] action
2464
+ # Specifies if the resource collection in the request is added or
2465
+ # deleted to the resource collection.
1830
2466
  # @return [String]
1831
2467
  #
1832
2468
  # @!attribute [rw] resource_collection
2469
+ # Contains information used to update a collection of AWS resources.
1833
2470
  # @return [Types::UpdateResourceCollectionFilter]
1834
2471
  #
1835
2472
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionRequest AWS API Documentation
@@ -1845,6 +2482,9 @@ module Aws::DevOpsGuru
1845
2482
  #
1846
2483
  class UpdateResourceCollectionResponse < Aws::EmptyStructure; end
1847
2484
 
2485
+ # Information about updating the integration status of an AWS service,
2486
+ # such as AWS Systems Manager, with DevOps Guru.
2487
+ #
1848
2488
  # @note When making an API call, you may pass UpdateServiceIntegrationConfig
1849
2489
  # data as a hash:
1850
2490
  #
@@ -1855,6 +2495,8 @@ module Aws::DevOpsGuru
1855
2495
  # }
1856
2496
  #
1857
2497
  # @!attribute [rw] ops_center
2498
+ # Information about whether DevOps Guru is configured to create an
2499
+ # OpsItem in AWS Systems Manager OpsCenter for each created insight.
1858
2500
  # @return [Types::OpsCenterIntegrationConfig]
1859
2501
  #
1860
2502
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegrationConfig AWS API Documentation
@@ -1877,6 +2519,9 @@ module Aws::DevOpsGuru
1877
2519
  # }
1878
2520
  #
1879
2521
  # @!attribute [rw] service_integration
2522
+ # An `IntegratedServiceConfig` object used to specify the integrated
2523
+ # service you want to update, and whether you want to update it to
2524
+ # enabled or disabled.
1880
2525
  # @return [Types::UpdateServiceIntegrationConfig]
1881
2526
  #
1882
2527
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegrationRequest AWS API Documentation
@@ -1891,36 +2536,48 @@ module Aws::DevOpsGuru
1891
2536
  #
1892
2537
  class UpdateServiceIntegrationResponse < Aws::EmptyStructure; end
1893
2538
 
1894
- # @!attribute [rw] fields
1895
- # @return [Array<Types::ValidationExceptionField>]
2539
+ # Contains information about data passed in to a field during a request
2540
+ # that is not valid.
1896
2541
  #
1897
2542
  # @!attribute [rw] message
2543
+ # A message that describes the validation exception.
1898
2544
  # @return [String]
1899
2545
  #
1900
2546
  # @!attribute [rw] reason
2547
+ # The reason the validation exception was thrown.
1901
2548
  # @return [String]
1902
2549
  #
2550
+ # @!attribute [rw] fields
2551
+ # An array of fields that are associated with the validation
2552
+ # exception.
2553
+ # @return [Array<Types::ValidationExceptionField>]
2554
+ #
1903
2555
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ValidationException AWS API Documentation
1904
2556
  #
1905
2557
  class ValidationException < Struct.new(
1906
- :fields,
1907
2558
  :message,
1908
- :reason)
2559
+ :reason,
2560
+ :fields)
1909
2561
  SENSITIVE = []
1910
2562
  include Aws::Structure
1911
2563
  end
1912
2564
 
1913
- # @!attribute [rw] message
1914
- # @return [String]
2565
+ # The field associated with the validation exception.
1915
2566
  #
1916
2567
  # @!attribute [rw] name
2568
+ # The name of the field.
2569
+ # @return [String]
2570
+ #
2571
+ # @!attribute [rw] message
2572
+ # The message associated with the validation exception with
2573
+ # information to help determine its cause.
1917
2574
  # @return [String]
1918
2575
  #
1919
2576
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ValidationExceptionField AWS API Documentation
1920
2577
  #
1921
2578
  class ValidationExceptionField < Struct.new(
1922
- :message,
1923
- :name)
2579
+ :name,
2580
+ :message)
1924
2581
  SENSITIVE = []
1925
2582
  include Aws::Structure
1926
2583
  end