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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 389e644f2322cc011d485151fad7ba734897d1f476ac698c2254f5ccc920a3f6
4
- data.tar.gz: da086971b763995672f932045e8d7e7b4495300d8d16289d8e3b91e436d64d61
3
+ metadata.gz: 99151139c93f2ff5bc0240bc3d3bca8ec9caa0893d85fe09d538547049583723
4
+ data.tar.gz: 7c0dbbefff8b6bfa707c54e0835a48b540ad3667b9713a0727c17270e0844687
5
5
  SHA512:
6
- metadata.gz: 9b51737b39559b33a687e8062d021b4940c22319ab1fc2bddb71949c6ec307bfb1157adf45233bb13d24597efe78771ff595aa93b37ce0ed503652a8dda0e86f
7
- data.tar.gz: afd0cb901a8ae13b85075b783582074390c250bdb2ef34a4427997671a2e91eed7b6052f8dc0c29ac5a76e4e5d20324d8814bfec1cc6c5ea48adbd2462135c39
6
+ metadata.gz: 384ee4f3abf0c6ca1bc61da3ce1186ebad6c66c021ff190d120ce7a8f4696b23a0c38c82f934741fe09aff051e0fab9f99621d289a7eb0ed6866220317df2e44
7
+ data.tar.gz: 4de527bed95d3a6465261c5ba0fee2e0feb0f3e49b470c63d107d646df3fa37021edb1b60fc0e9eb8187a90b7b77b757f099ddd2e07ee52a82143f5dc4ba3552
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-devopsguru/customizations'
48
48
  # @!group service
49
49
  module Aws::DevOpsGuru
50
50
 
51
- GEM_VERSION = '1.0.0'
51
+ GEM_VERSION = '1.1.0'
52
52
 
53
53
  end
@@ -327,7 +327,30 @@ module Aws::DevOpsGuru
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # Adds a notification channel to DevOps Guru. A notification channel is
331
+ # used to notify you about important DevOps Guru events, such as when an
332
+ # insight is generated.
333
+ #
334
+ # If you use an Amazon SNS topic in another account, you must attach a
335
+ # policy to it that grants DevOps Guru permission to it notifications.
336
+ # DevOps Guru adds the required policy on your behalf to send
337
+ # notifications using Amazon SNS in your account. For more information,
338
+ # see [Permissions for cross account Amazon SNS topics][1].
339
+ #
340
+ # If you use an Amazon SNS topic that is encrypted by an AWS Key
341
+ # Management Service customer-managed key (CMK), then you must add
342
+ # permissions to the CMK. For more information, see [Permissions for AWS
343
+ # KMS–encrypted Amazon SNS topics][2].
344
+ #
345
+ #
346
+ #
347
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html
348
+ # [2]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html
349
+ #
330
350
  # @option params [required, Types::NotificationChannelConfig] :config
351
+ # A `NotificationChannelConfig` object that specifies what type of
352
+ # notification channel to add. The one supported notification channel is
353
+ # Amazon Simple Notification Service (Amazon SNS).
331
354
  #
332
355
  # @return [Types::AddNotificationChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
333
356
  #
@@ -338,7 +361,7 @@ module Aws::DevOpsGuru
338
361
  # resp = client.add_notification_channel({
339
362
  # config: { # required
340
363
  # sns: { # required
341
- # topic_arn: "__stringMin36Max1024PatternArnAwsAZ09SnsAZ09D12",
364
+ # topic_arn: "TopicArn",
342
365
  # },
343
366
  # },
344
367
  # })
@@ -356,17 +379,22 @@ module Aws::DevOpsGuru
356
379
  req.send_request(options)
357
380
  end
358
381
 
382
+ # Returns the number of open reactive insights, the number of open
383
+ # proactive insights, and the number of metrics analyzed in your AWS
384
+ # account. Use these numbers to gauge the health of operations in your
385
+ # AWS account.
386
+ #
359
387
  # @return [Types::DescribeAccountHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
360
388
  #
361
- # * {Types::DescribeAccountHealthResponse#metrics_analyzed #metrics_analyzed} => Integer
362
- # * {Types::DescribeAccountHealthResponse#open_proactive_insights #open_proactive_insights} => Integer
363
389
  # * {Types::DescribeAccountHealthResponse#open_reactive_insights #open_reactive_insights} => Integer
390
+ # * {Types::DescribeAccountHealthResponse#open_proactive_insights #open_proactive_insights} => Integer
391
+ # * {Types::DescribeAccountHealthResponse#metrics_analyzed #metrics_analyzed} => Integer
364
392
  #
365
393
  # @example Response structure
366
394
  #
367
- # resp.metrics_analyzed #=> Integer
368
- # resp.open_proactive_insights #=> Integer
369
395
  # resp.open_reactive_insights #=> Integer
396
+ # resp.open_proactive_insights #=> Integer
397
+ # resp.metrics_analyzed #=> Integer
370
398
  #
371
399
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealth AWS API Documentation
372
400
  #
@@ -377,15 +405,27 @@ module Aws::DevOpsGuru
377
405
  req.send_request(options)
378
406
  end
379
407
 
408
+ # For the time range passed in, returns the number of open reactive
409
+ # insight that were created, the number of open proactive insights that
410
+ # were created, and the Mean Time to Recover (MTTR) for all closed
411
+ # reactive insights.
412
+ #
380
413
  # @option params [required, Time,DateTime,Date,Integer,String] :from_time
414
+ # The start of the time range passed in. The start time granularity is
415
+ # at the day level. The floor of the start time is used. Returned
416
+ # information occurred after this day.
381
417
  #
382
418
  # @option params [Time,DateTime,Date,Integer,String] :to_time
419
+ # The end of the time range passed in. The start time granularity is at
420
+ # the day level. The floor of the start time is used. Returned
421
+ # information occurred before this day. If this is not specified, then
422
+ # the current day is used.
383
423
  #
384
424
  # @return [Types::DescribeAccountOverviewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
385
425
  #
386
- # * {Types::DescribeAccountOverviewResponse#mean_time_to_recover_in_milliseconds #mean_time_to_recover_in_milliseconds} => Integer
387
- # * {Types::DescribeAccountOverviewResponse#proactive_insights #proactive_insights} => Integer
388
426
  # * {Types::DescribeAccountOverviewResponse#reactive_insights #reactive_insights} => Integer
427
+ # * {Types::DescribeAccountOverviewResponse#proactive_insights #proactive_insights} => Integer
428
+ # * {Types::DescribeAccountOverviewResponse#mean_time_to_recover_in_milliseconds #mean_time_to_recover_in_milliseconds} => Integer
389
429
  #
390
430
  # @example Request syntax with placeholder values
391
431
  #
@@ -396,9 +436,9 @@ module Aws::DevOpsGuru
396
436
  #
397
437
  # @example Response structure
398
438
  #
399
- # resp.mean_time_to_recover_in_milliseconds #=> Integer
400
- # resp.proactive_insights #=> Integer
401
439
  # resp.reactive_insights #=> Integer
440
+ # resp.proactive_insights #=> Integer
441
+ # resp.mean_time_to_recover_in_milliseconds #=> Integer
402
442
  #
403
443
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountOverview AWS API Documentation
404
444
  #
@@ -409,7 +449,10 @@ module Aws::DevOpsGuru
409
449
  req.send_request(options)
410
450
  end
411
451
 
452
+ # Returns details about an anomaly that you specify using its ID.
453
+ #
412
454
  # @option params [required, String] :id
455
+ # The ID of the anomaly.
413
456
  #
414
457
  # @return [Types::DescribeAnomalyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
415
458
  #
@@ -419,49 +462,49 @@ module Aws::DevOpsGuru
419
462
  # @example Request syntax with placeholder values
420
463
  #
421
464
  # resp = client.describe_anomaly({
422
- # id: "__string", # required
465
+ # id: "AnomalyId", # required
423
466
  # })
424
467
  #
425
468
  # @example Response structure
426
469
  #
427
- # resp.proactive_anomaly.anomaly_time_range.end_time #=> Time
428
- # resp.proactive_anomaly.anomaly_time_range.start_time #=> Time
429
- # resp.proactive_anomaly.associated_insight_id #=> String
430
470
  # resp.proactive_anomaly.id #=> String
431
- # resp.proactive_anomaly.limit #=> Float
432
- # resp.proactive_anomaly.prediction_time_range.end_time #=> Time
433
- # resp.proactive_anomaly.prediction_time_range.start_time #=> Time
434
- # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
435
- # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
436
471
  # resp.proactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
472
+ # resp.proactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
473
+ # resp.proactive_anomaly.update_time #=> Time
474
+ # resp.proactive_anomaly.anomaly_time_range.start_time #=> Time
475
+ # resp.proactive_anomaly.anomaly_time_range.end_time #=> Time
476
+ # resp.proactive_anomaly.prediction_time_range.start_time #=> Time
477
+ # resp.proactive_anomaly.prediction_time_range.end_time #=> Time
437
478
  # resp.proactive_anomaly.source_details.cloud_watch_metrics #=> Array
479
+ # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_name #=> String
480
+ # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].namespace #=> String
438
481
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].dimensions #=> Array
439
482
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].dimensions[0].name #=> String
440
483
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].dimensions[0].value #=> String
441
- # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_name #=> String
442
- # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].namespace #=> String
443
- # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
444
484
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
445
485
  # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
446
- # resp.proactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
447
- # resp.proactive_anomaly.update_time #=> Time
448
- # resp.reactive_anomaly.anomaly_time_range.end_time #=> Time
449
- # resp.reactive_anomaly.anomaly_time_range.start_time #=> Time
450
- # resp.reactive_anomaly.associated_insight_id #=> String
486
+ # resp.proactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
487
+ # resp.proactive_anomaly.associated_insight_id #=> String
488
+ # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
489
+ # resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
490
+ # resp.proactive_anomaly.limit #=> Float
451
491
  # resp.reactive_anomaly.id #=> String
452
- # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
453
- # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
454
492
  # resp.reactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
493
+ # resp.reactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
494
+ # resp.reactive_anomaly.anomaly_time_range.start_time #=> Time
495
+ # resp.reactive_anomaly.anomaly_time_range.end_time #=> Time
455
496
  # resp.reactive_anomaly.source_details.cloud_watch_metrics #=> Array
497
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_name #=> String
498
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].namespace #=> String
456
499
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].dimensions #=> Array
457
500
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].dimensions[0].name #=> String
458
501
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].dimensions[0].value #=> String
459
- # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_name #=> String
460
- # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].namespace #=> String
461
- # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
462
502
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
463
503
  # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
464
- # resp.reactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
504
+ # resp.reactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
505
+ # resp.reactive_anomaly.associated_insight_id #=> String
506
+ # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
507
+ # resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
465
508
  #
466
509
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomaly AWS API Documentation
467
510
  #
@@ -472,7 +515,10 @@ module Aws::DevOpsGuru
472
515
  req.send_request(options)
473
516
  end
474
517
 
518
+ # Returns details about an insight that you specify using its ID.
519
+ #
475
520
  # @option params [required, String] :id
521
+ # The ID of the insight.
476
522
  #
477
523
  # @return [Types::DescribeInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
478
524
  #
@@ -482,31 +528,31 @@ module Aws::DevOpsGuru
482
528
  # @example Request syntax with placeholder values
483
529
  #
484
530
  # resp = client.describe_insight({
485
- # id: "__string", # required
531
+ # id: "InsightId", # required
486
532
  # })
487
533
  #
488
534
  # @example Response structure
489
535
  #
490
536
  # resp.proactive_insight.id #=> String
491
- # resp.proactive_insight.insight_time_range.end_time #=> Time
492
- # resp.proactive_insight.insight_time_range.start_time #=> Time
493
537
  # resp.proactive_insight.name #=> String
494
- # resp.proactive_insight.prediction_time_range.end_time #=> Time
538
+ # resp.proactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
539
+ # resp.proactive_insight.status #=> String, one of "ONGOING", "CLOSED"
540
+ # resp.proactive_insight.insight_time_range.start_time #=> Time
541
+ # resp.proactive_insight.insight_time_range.end_time #=> Time
495
542
  # resp.proactive_insight.prediction_time_range.start_time #=> Time
543
+ # resp.proactive_insight.prediction_time_range.end_time #=> Time
496
544
  # resp.proactive_insight.resource_collection.cloud_formation.stack_names #=> Array
497
545
  # resp.proactive_insight.resource_collection.cloud_formation.stack_names[0] #=> String
498
- # resp.proactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
499
546
  # resp.proactive_insight.ssm_ops_item_id #=> String
500
- # resp.proactive_insight.status #=> String, one of "ONGOING", "CLOSED"
501
547
  # resp.reactive_insight.id #=> String
502
- # resp.reactive_insight.insight_time_range.end_time #=> Time
503
- # resp.reactive_insight.insight_time_range.start_time #=> Time
504
548
  # resp.reactive_insight.name #=> String
549
+ # resp.reactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
550
+ # resp.reactive_insight.status #=> String, one of "ONGOING", "CLOSED"
551
+ # resp.reactive_insight.insight_time_range.start_time #=> Time
552
+ # resp.reactive_insight.insight_time_range.end_time #=> Time
505
553
  # resp.reactive_insight.resource_collection.cloud_formation.stack_names #=> Array
506
554
  # resp.reactive_insight.resource_collection.cloud_formation.stack_names[0] #=> String
507
- # resp.reactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
508
555
  # resp.reactive_insight.ssm_ops_item_id #=> String
509
- # resp.reactive_insight.status #=> String, one of "ONGOING", "CLOSED"
510
556
  #
511
557
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight AWS API Documentation
512
558
  #
@@ -517,9 +563,22 @@ module Aws::DevOpsGuru
517
563
  req.send_request(options)
518
564
  end
519
565
 
520
- # @option params [String] :next_token
566
+ # Returns the number of open proactive insights, open reactive insights,
567
+ # and the Mean Time to Recover (MTTR) for all closed insights in
568
+ # resource collections in your account. You specify the type of AWS
569
+ # resources collection. The one type of AWS resource collection
570
+ # supported is AWS CloudFormation stacks. DevOps Guru can be configured
571
+ # to analyze only the AWS resources that are defined in the stacks.
521
572
  #
522
573
  # @option params [required, String] :resource_collection_type
574
+ # An AWS resource collection type. This type specifies how analyzed AWS
575
+ # resources are defined. The one type of AWS resource collection
576
+ # supported is AWS CloudFormation stacks. DevOps Guru can be configured
577
+ # to analyze only the AWS resources that are defined in the stacks.
578
+ #
579
+ # @option params [String] :next_token
580
+ # The pagination token to use to retrieve the next page of results for
581
+ # this operation. If this value is null, it retrieves the first page.
523
582
  #
524
583
  # @return [Types::DescribeResourceCollectionHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
525
584
  #
@@ -531,17 +590,17 @@ module Aws::DevOpsGuru
531
590
  # @example Request syntax with placeholder values
532
591
  #
533
592
  # resp = client.describe_resource_collection_health({
534
- # next_token: "__string",
535
- # resource_collection_type: "__string", # required
593
+ # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
594
+ # next_token: "UuidNextToken",
536
595
  # })
537
596
  #
538
597
  # @example Response structure
539
598
  #
540
599
  # resp.cloud_formation #=> Array
541
- # resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
600
+ # resp.cloud_formation[0].stack_name #=> String
542
601
  # resp.cloud_formation[0].insight.open_proactive_insights #=> Integer
543
602
  # resp.cloud_formation[0].insight.open_reactive_insights #=> Integer
544
- # resp.cloud_formation[0].stack_name #=> String
603
+ # resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
545
604
  # resp.next_token #=> String
546
605
  #
547
606
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth AWS API Documentation
@@ -553,6 +612,11 @@ module Aws::DevOpsGuru
553
612
  req.send_request(options)
554
613
  end
555
614
 
615
+ # Returns the integration status of services that are integrated with
616
+ # DevOps Guru. The one service that can be integrated with DevOps Guru
617
+ # is AWS Systems Manager, which can be used to create an OpsItem for
618
+ # each generated insight.
619
+ #
556
620
  # @return [Types::DescribeServiceIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
557
621
  #
558
622
  # * {Types::DescribeServiceIntegrationResponse#service_integration #service_integration} => Types::ServiceIntegrationConfig
@@ -570,29 +634,38 @@ module Aws::DevOpsGuru
570
634
  req.send_request(options)
571
635
  end
572
636
 
573
- # @option params [String] :next_token
637
+ # Returns lists AWS resources that are of the specified resource
638
+ # collection type. The one type of AWS resource collection supported is
639
+ # AWS CloudFormation stacks. DevOps Guru can be configured to analyze
640
+ # only the AWS resources that are defined in the stacks.
574
641
  #
575
642
  # @option params [required, String] :resource_collection_type
643
+ # The type of AWS resource collections to return. The one valid value is
644
+ # `CLOUD_FORMATION` for AWS CloudFormation stacks.
645
+ #
646
+ # @option params [String] :next_token
647
+ # The pagination token to use to retrieve the next page of results for
648
+ # this operation. If this value is null, it retrieves the first page.
576
649
  #
577
650
  # @return [Types::GetResourceCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
578
651
  #
579
- # * {Types::GetResourceCollectionResponse#next_token #next_token} => String
580
652
  # * {Types::GetResourceCollectionResponse#resource_collection #resource_collection} => Types::ResourceCollectionFilter
653
+ # * {Types::GetResourceCollectionResponse#next_token #next_token} => String
581
654
  #
582
655
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
583
656
  #
584
657
  # @example Request syntax with placeholder values
585
658
  #
586
659
  # resp = client.get_resource_collection({
587
- # next_token: "__string",
588
- # resource_collection_type: "__string", # required
660
+ # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
661
+ # next_token: "UuidNextToken",
589
662
  # })
590
663
  #
591
664
  # @example Response structure
592
665
  #
593
- # resp.next_token #=> String
594
666
  # resp.resource_collection.cloud_formation.stack_names #=> Array
595
667
  # resp.resource_collection.cloud_formation.stack_names[0] #=> String
668
+ # resp.next_token #=> String
596
669
  #
597
670
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollection AWS API Documentation
598
671
  #
@@ -603,77 +676,88 @@ module Aws::DevOpsGuru
603
676
  req.send_request(options)
604
677
  end
605
678
 
679
+ # Returns a list of the anomalies that belong to an insight that you
680
+ # specify using its ID.
681
+ #
606
682
  # @option params [required, String] :insight_id
683
+ # The ID of the insight. The returned anomalies belong to this insight.
684
+ #
685
+ # @option params [Types::StartTimeRange] :start_time_range
686
+ # A time range used to specify when the requested anomalies started. All
687
+ # returned anomalies started during this time range.
607
688
  #
608
689
  # @option params [Integer] :max_results
690
+ # The maximum number of results to return with a single call. To
691
+ # retrieve the remaining results, make another call with the returned
692
+ # `nextToken` value.
609
693
  #
610
694
  # @option params [String] :next_token
611
- #
612
- # @option params [Types::StartTimeRange] :start_time_range
695
+ # The pagination token to use to retrieve the next page of results for
696
+ # this operation. If this value is null, it retrieves the first page.
613
697
  #
614
698
  # @return [Types::ListAnomaliesForInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
615
699
  #
616
- # * {Types::ListAnomaliesForInsightResponse#next_token #next_token} => String
617
700
  # * {Types::ListAnomaliesForInsightResponse#proactive_anomalies #proactive_anomalies} => Array<Types::ProactiveAnomalySummary>
618
701
  # * {Types::ListAnomaliesForInsightResponse#reactive_anomalies #reactive_anomalies} => Array<Types::ReactiveAnomalySummary>
702
+ # * {Types::ListAnomaliesForInsightResponse#next_token #next_token} => String
619
703
  #
620
704
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
621
705
  #
622
706
  # @example Request syntax with placeholder values
623
707
  #
624
708
  # resp = client.list_anomalies_for_insight({
625
- # insight_id: "__string", # required
626
- # max_results: 1,
627
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
709
+ # insight_id: "InsightId", # required
628
710
  # start_time_range: {
629
711
  # from_time: Time.now,
630
712
  # to_time: Time.now,
631
713
  # },
714
+ # max_results: 1,
715
+ # next_token: "UuidNextToken",
632
716
  # })
633
717
  #
634
718
  # @example Response structure
635
719
  #
636
- # resp.next_token #=> String
637
720
  # resp.proactive_anomalies #=> Array
638
- # resp.proactive_anomalies[0].anomaly_time_range.end_time #=> Time
639
- # resp.proactive_anomalies[0].anomaly_time_range.start_time #=> Time
640
- # resp.proactive_anomalies[0].associated_insight_id #=> String
641
721
  # resp.proactive_anomalies[0].id #=> String
642
- # resp.proactive_anomalies[0].limit #=> Float
643
- # resp.proactive_anomalies[0].prediction_time_range.end_time #=> Time
644
- # resp.proactive_anomalies[0].prediction_time_range.start_time #=> Time
645
- # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
646
- # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
647
722
  # resp.proactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
723
+ # resp.proactive_anomalies[0].status #=> String, one of "ONGOING", "CLOSED"
724
+ # resp.proactive_anomalies[0].update_time #=> Time
725
+ # resp.proactive_anomalies[0].anomaly_time_range.start_time #=> Time
726
+ # resp.proactive_anomalies[0].anomaly_time_range.end_time #=> Time
727
+ # resp.proactive_anomalies[0].prediction_time_range.start_time #=> Time
728
+ # resp.proactive_anomalies[0].prediction_time_range.end_time #=> Time
648
729
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics #=> Array
730
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_name #=> String
731
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].namespace #=> String
649
732
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions #=> Array
650
733
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions[0].name #=> String
651
734
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions[0].value #=> String
652
- # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_name #=> String
653
- # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].namespace #=> String
654
- # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
655
735
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
656
736
  # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
657
- # resp.proactive_anomalies[0].status #=> String, one of "ONGOING", "CLOSED"
658
- # resp.proactive_anomalies[0].update_time #=> Time
737
+ # resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
738
+ # resp.proactive_anomalies[0].associated_insight_id #=> String
739
+ # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
740
+ # resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
741
+ # resp.proactive_anomalies[0].limit #=> Float
659
742
  # resp.reactive_anomalies #=> Array
660
- # resp.reactive_anomalies[0].anomaly_time_range.end_time #=> Time
661
- # resp.reactive_anomalies[0].anomaly_time_range.start_time #=> Time
662
- # resp.reactive_anomalies[0].associated_insight_id #=> String
663
743
  # resp.reactive_anomalies[0].id #=> String
664
- # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
665
- # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
666
744
  # resp.reactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
745
+ # resp.reactive_anomalies[0].status #=> String, one of "ONGOING", "CLOSED"
746
+ # resp.reactive_anomalies[0].anomaly_time_range.start_time #=> Time
747
+ # resp.reactive_anomalies[0].anomaly_time_range.end_time #=> Time
667
748
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics #=> Array
749
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_name #=> String
750
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].namespace #=> String
668
751
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions #=> Array
669
752
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions[0].name #=> String
670
753
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions[0].value #=> String
671
- # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_name #=> String
672
- # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].namespace #=> String
673
- # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
674
754
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
675
755
  # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
676
- # resp.reactive_anomalies[0].status #=> String, one of "ONGOING", "CLOSED"
756
+ # resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
757
+ # resp.reactive_anomalies[0].associated_insight_id #=> String
758
+ # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
759
+ # resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
760
+ # resp.next_token #=> String
677
761
  #
678
762
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsight AWS API Documentation
679
763
  #
@@ -684,11 +768,21 @@ module Aws::DevOpsGuru
684
768
  req.send_request(options)
685
769
  end
686
770
 
771
+ # Returns a list of the events emitted by the resources that are
772
+ # evaluated by DevOps Guru. You can use filters to specify which events
773
+ # are returned.
774
+ #
687
775
  # @option params [required, Types::ListEventsFilters] :filters
776
+ # A `ListEventsFilters` object used to specify which events to return.
688
777
  #
689
778
  # @option params [Integer] :max_results
779
+ # The maximum number of results to return with a single call. To
780
+ # retrieve the remaining results, make another call with the returned
781
+ # `nextToken` value.
690
782
  #
691
783
  # @option params [String] :next_token
784
+ # The pagination token to use to retrieve the next page of results for
785
+ # this operation. If this value is null, it retrieves the first page.
692
786
  #
693
787
  # @return [Types::ListEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
694
788
  #
@@ -701,39 +795,39 @@ module Aws::DevOpsGuru
701
795
  #
702
796
  # resp = client.list_events({
703
797
  # filters: { # required
704
- # data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
705
- # event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
706
- # event_source: "__stringMin10Max50PatternAZAZ09AmazonawsComAwsEvents",
798
+ # insight_id: "InsightId",
707
799
  # event_time_range: {
708
800
  # from_time: Time.now, # required
709
801
  # to_time: Time.now, # required
710
802
  # },
711
- # insight_id: "__stringMin1Max100PatternW",
803
+ # event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
804
+ # event_source: "EventSource",
805
+ # data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
712
806
  # resource_collection: {
713
807
  # cloud_formation: {
714
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
808
+ # stack_names: ["StackName"],
715
809
  # },
716
810
  # },
717
811
  # },
718
812
  # max_results: 1,
719
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
813
+ # next_token: "UuidNextToken",
720
814
  # })
721
815
  #
722
816
  # @example Response structure
723
817
  #
724
818
  # resp.events #=> Array
725
- # resp.events[0].data_source #=> String, one of "AWS_CLOUD_TRAIL", "AWS_CODE_DEPLOY"
726
- # resp.events[0].event_class #=> String, one of "INFRASTRUCTURE", "DEPLOYMENT", "SECURITY_CHANGE", "CONFIG_CHANGE", "SCHEMA_CHANGE"
727
- # resp.events[0].event_source #=> String
728
- # resp.events[0].id #=> String
729
- # resp.events[0].name #=> String
730
819
  # resp.events[0].resource_collection.cloud_formation.stack_names #=> Array
731
820
  # resp.events[0].resource_collection.cloud_formation.stack_names[0] #=> String
821
+ # resp.events[0].id #=> String
822
+ # resp.events[0].time #=> Time
823
+ # resp.events[0].event_source #=> String
824
+ # resp.events[0].name #=> String
825
+ # resp.events[0].data_source #=> String, one of "AWS_CLOUD_TRAIL", "AWS_CODE_DEPLOY"
826
+ # resp.events[0].event_class #=> String, one of "INFRASTRUCTURE", "DEPLOYMENT", "SECURITY_CHANGE", "CONFIG_CHANGE", "SCHEMA_CHANGE"
732
827
  # resp.events[0].resources #=> Array
733
- # resp.events[0].resources[0].arn #=> String
734
- # resp.events[0].resources[0].name #=> String
735
828
  # resp.events[0].resources[0].type #=> String
736
- # resp.events[0].time #=> Time
829
+ # resp.events[0].resources[0].name #=> String
830
+ # resp.events[0].resources[0].arn #=> String
737
831
  # resp.next_token #=> String
738
832
  #
739
833
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEvents AWS API Documentation
@@ -745,69 +839,80 @@ module Aws::DevOpsGuru
745
839
  req.send_request(options)
746
840
  end
747
841
 
842
+ # Returns a list of insights in your AWS account. You can specify which
843
+ # insights are returned by their start time and status (`ONGOING`,
844
+ # `CLOSED`, or `ANY`).
845
+ #
846
+ # @option params [required, Types::ListInsightsStatusFilter] :status_filter
847
+ # A filter used to filter the returned insights by their status. You can
848
+ # specify one status filter.
849
+ #
748
850
  # @option params [Integer] :max_results
851
+ # The maximum number of results to return with a single call. To
852
+ # retrieve the remaining results, make another call with the returned
853
+ # `nextToken` value.
749
854
  #
750
855
  # @option params [String] :next_token
751
- #
752
- # @option params [required, Types::ListInsightsStatusFilter] :status_filter
856
+ # The pagination token to use to retrieve the next page of results for
857
+ # this operation. If this value is null, it retrieves the first page.
753
858
  #
754
859
  # @return [Types::ListInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
755
860
  #
756
- # * {Types::ListInsightsResponse#next_token #next_token} => String
757
861
  # * {Types::ListInsightsResponse#proactive_insights #proactive_insights} => Array<Types::ProactiveInsightSummary>
758
862
  # * {Types::ListInsightsResponse#reactive_insights #reactive_insights} => Array<Types::ReactiveInsightSummary>
863
+ # * {Types::ListInsightsResponse#next_token #next_token} => String
759
864
  #
760
865
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
761
866
  #
762
867
  # @example Request syntax with placeholder values
763
868
  #
764
869
  # resp = client.list_insights({
765
- # max_results: 1,
766
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
767
870
  # status_filter: { # required
768
- # any: {
769
- # start_time_range: { # required
770
- # from_time: Time.now,
771
- # to_time: Time.now,
772
- # },
871
+ # ongoing: {
773
872
  # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
774
873
  # },
775
874
  # closed: {
875
+ # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
776
876
  # end_time_range: { # required
777
877
  # from_time: Time.now,
778
878
  # to_time: Time.now,
779
879
  # },
780
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
781
880
  # },
782
- # ongoing: {
881
+ # any: {
783
882
  # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
883
+ # start_time_range: { # required
884
+ # from_time: Time.now,
885
+ # to_time: Time.now,
886
+ # },
784
887
  # },
785
888
  # },
889
+ # max_results: 1,
890
+ # next_token: "UuidNextToken",
786
891
  # })
787
892
  #
788
893
  # @example Response structure
789
894
  #
790
- # resp.next_token #=> String
791
895
  # resp.proactive_insights #=> Array
792
896
  # resp.proactive_insights[0].id #=> String
793
- # resp.proactive_insights[0].insight_time_range.end_time #=> Time
794
- # resp.proactive_insights[0].insight_time_range.start_time #=> Time
795
897
  # resp.proactive_insights[0].name #=> String
796
- # resp.proactive_insights[0].prediction_time_range.end_time #=> Time
898
+ # resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
899
+ # resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
900
+ # resp.proactive_insights[0].insight_time_range.start_time #=> Time
901
+ # resp.proactive_insights[0].insight_time_range.end_time #=> Time
797
902
  # resp.proactive_insights[0].prediction_time_range.start_time #=> Time
903
+ # resp.proactive_insights[0].prediction_time_range.end_time #=> Time
798
904
  # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
799
905
  # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
800
- # resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
801
- # resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
802
906
  # resp.reactive_insights #=> Array
803
907
  # resp.reactive_insights[0].id #=> String
804
- # resp.reactive_insights[0].insight_time_range.end_time #=> Time
805
- # resp.reactive_insights[0].insight_time_range.start_time #=> Time
806
908
  # resp.reactive_insights[0].name #=> String
807
- # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
808
- # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
809
909
  # resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
810
910
  # resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
911
+ # resp.reactive_insights[0].insight_time_range.start_time #=> Time
912
+ # resp.reactive_insights[0].insight_time_range.end_time #=> Time
913
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
914
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
915
+ # resp.next_token #=> String
811
916
  #
812
917
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights AWS API Documentation
813
918
  #
@@ -818,7 +923,15 @@ module Aws::DevOpsGuru
818
923
  req.send_request(options)
819
924
  end
820
925
 
926
+ # Returns a list of notification channels configured for DevOps Guru.
927
+ # Each notification channel is used to notify you when DevOps Guru
928
+ # generates an insight that contains information about how to improve
929
+ # your operations. The one supported notification channel is Amazon
930
+ # Simple Notification Service (Amazon SNS).
931
+ #
821
932
  # @option params [String] :next_token
933
+ # The pagination token to use to retrieve the next page of results for
934
+ # this operation. If this value is null, it retrieves the first page.
822
935
  #
823
936
  # @return [Types::ListNotificationChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
824
937
  #
@@ -830,14 +943,14 @@ module Aws::DevOpsGuru
830
943
  # @example Request syntax with placeholder values
831
944
  #
832
945
  # resp = client.list_notification_channels({
833
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
946
+ # next_token: "UuidNextToken",
834
947
  # })
835
948
  #
836
949
  # @example Response structure
837
950
  #
838
951
  # resp.channels #=> Array
839
- # resp.channels[0].config.sns.topic_arn #=> String
840
952
  # resp.channels[0].id #=> String
953
+ # resp.channels[0].config.sns.topic_arn #=> String
841
954
  # resp.next_token #=> String
842
955
  #
843
956
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels AWS API Documentation
@@ -849,32 +962,43 @@ module Aws::DevOpsGuru
849
962
  req.send_request(options)
850
963
  end
851
964
 
965
+ # Returns a list of a specified insight's recommendations. Each
966
+ # recommendation includes a list of related metrics and a list of
967
+ # related events.
968
+ #
852
969
  # @option params [required, String] :insight_id
970
+ # The ID of the requested insight.
853
971
  #
854
972
  # @option params [String] :next_token
973
+ # The pagination token to use to retrieve the next page of results for
974
+ # this operation. If this value is null, it retrieves the first page.
855
975
  #
856
976
  # @return [Types::ListRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
857
977
  #
858
- # * {Types::ListRecommendationsResponse#next_token #next_token} => String
859
978
  # * {Types::ListRecommendationsResponse#recommendations #recommendations} => Array<Types::Recommendation>
979
+ # * {Types::ListRecommendationsResponse#next_token #next_token} => String
860
980
  #
861
981
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
862
982
  #
863
983
  # @example Request syntax with placeholder values
864
984
  #
865
985
  # resp = client.list_recommendations({
866
- # insight_id: "__stringMin1Max100PatternW", # required
867
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
986
+ # insight_id: "InsightId", # required
987
+ # next_token: "UuidNextToken",
868
988
  # })
869
989
  #
870
990
  # @example Response structure
871
991
  #
872
- # resp.next_token #=> String
873
992
  # resp.recommendations #=> Array
874
993
  # resp.recommendations[0].description #=> String
875
994
  # resp.recommendations[0].link #=> String
876
995
  # resp.recommendations[0].name #=> String
877
996
  # resp.recommendations[0].reason #=> String
997
+ # resp.recommendations[0].related_events #=> Array
998
+ # resp.recommendations[0].related_events[0].name #=> String
999
+ # resp.recommendations[0].related_events[0].resources #=> Array
1000
+ # resp.recommendations[0].related_events[0].resources[0].name #=> String
1001
+ # resp.recommendations[0].related_events[0].resources[0].type #=> String
878
1002
  # resp.recommendations[0].related_anomalies #=> Array
879
1003
  # resp.recommendations[0].related_anomalies[0].resources #=> Array
880
1004
  # resp.recommendations[0].related_anomalies[0].resources[0].name #=> String
@@ -883,11 +1007,7 @@ module Aws::DevOpsGuru
883
1007
  # resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics #=> Array
884
1008
  # resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].metric_name #=> String
885
1009
  # resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].namespace #=> String
886
- # resp.recommendations[0].related_events #=> Array
887
- # resp.recommendations[0].related_events[0].name #=> String
888
- # resp.recommendations[0].related_events[0].resources #=> Array
889
- # resp.recommendations[0].related_events[0].resources[0].name #=> String
890
- # resp.recommendations[0].related_events[0].resources[0].type #=> String
1010
+ # resp.next_token #=> String
891
1011
  #
892
1012
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations AWS API Documentation
893
1013
  #
@@ -898,7 +1018,11 @@ module Aws::DevOpsGuru
898
1018
  req.send_request(options)
899
1019
  end
900
1020
 
1021
+ # Collects customer feedback about the specified insight.
1022
+ #
901
1023
  # @option params [Types::InsightFeedback] :insight_feedback
1024
+ # The feedback from customers is about the recommendations in this
1025
+ # insight.
902
1026
  #
903
1027
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
904
1028
  #
@@ -906,8 +1030,8 @@ module Aws::DevOpsGuru
906
1030
  #
907
1031
  # resp = client.put_feedback({
908
1032
  # insight_feedback: {
1033
+ # id: "InsightId",
909
1034
  # feedback: "VALID_COLLECTION", # accepts VALID_COLLECTION, RECOMMENDATION_USEFUL, ALERT_TOO_SENSITIVE, DATA_NOISY_ANOMALY, DATA_INCORRECT
910
- # id: "__stringMin1Max100PatternW",
911
1035
  # },
912
1036
  # })
913
1037
  #
@@ -920,14 +1044,19 @@ module Aws::DevOpsGuru
920
1044
  req.send_request(options)
921
1045
  end
922
1046
 
1047
+ # Removes a notification channel from DevOps Guru. A notification
1048
+ # channel is used to notify you when DevOps Guru generates an insight
1049
+ # that contains information about how to improve your operations.
1050
+ #
923
1051
  # @option params [required, String] :id
1052
+ # The ID of the notification channel to be removed.
924
1053
  #
925
1054
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
926
1055
  #
927
1056
  # @example Request syntax with placeholder values
928
1057
  #
929
1058
  # resp = client.remove_notification_channel({
930
- # id: "__string", # required
1059
+ # id: "NotificationChannelId", # required
931
1060
  # })
932
1061
  #
933
1062
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RemoveNotificationChannel AWS API Documentation
@@ -939,68 +1068,88 @@ module Aws::DevOpsGuru
939
1068
  req.send_request(options)
940
1069
  end
941
1070
 
1071
+ # Returns a list of insights in your AWS account. You can specify which
1072
+ # insights are returned by their start time, one or more statuses
1073
+ # (`ONGOING`, `CLOSED`, and `CLOSED`), one or more severities (`LOW`,
1074
+ # `MEDIUM`, and `HIGH`), and type (`REACTIVE` or `PROACTIVE`).
1075
+ #
1076
+ # Use the `Filters` parameter to specify status and severity search
1077
+ # parameters. Use the `Type` parameter to specify `REACTIVE` or
1078
+ # `PROACTIVE` in your search.
1079
+ #
1080
+ # @option params [required, Types::StartTimeRange] :start_time_range
1081
+ # The start of the time range passed in. Returned insights occurred
1082
+ # after this time.
1083
+ #
942
1084
  # @option params [Types::SearchInsightsFilters] :filters
1085
+ # A `SearchInsightsFilters` object that is used to set the severity and
1086
+ # status filters on your insight search.
943
1087
  #
944
1088
  # @option params [Integer] :max_results
1089
+ # The maximum number of results to return with a single call. To
1090
+ # retrieve the remaining results, make another call with the returned
1091
+ # `nextToken` value.
945
1092
  #
946
1093
  # @option params [String] :next_token
947
- #
948
- # @option params [required, Types::StartTimeRange] :start_time_range
1094
+ # The pagination token to use to retrieve the next page of results for
1095
+ # this operation. If this value is null, it retrieves the first page.
949
1096
  #
950
1097
  # @option params [required, String] :type
1098
+ # The type of insights you are searching for (`REACTIVE` or
1099
+ # `PROACTIVE`).
951
1100
  #
952
1101
  # @return [Types::SearchInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
953
1102
  #
954
- # * {Types::SearchInsightsResponse#next_token #next_token} => String
955
1103
  # * {Types::SearchInsightsResponse#proactive_insights #proactive_insights} => Array<Types::ProactiveInsightSummary>
956
1104
  # * {Types::SearchInsightsResponse#reactive_insights #reactive_insights} => Array<Types::ReactiveInsightSummary>
1105
+ # * {Types::SearchInsightsResponse#next_token #next_token} => String
957
1106
  #
958
1107
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
959
1108
  #
960
1109
  # @example Request syntax with placeholder values
961
1110
  #
962
1111
  # resp = client.search_insights({
1112
+ # start_time_range: { # required
1113
+ # from_time: Time.now,
1114
+ # to_time: Time.now,
1115
+ # },
963
1116
  # filters: {
1117
+ # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
1118
+ # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
964
1119
  # resource_collection: {
965
1120
  # cloud_formation: {
966
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
1121
+ # stack_names: ["StackName"],
967
1122
  # },
968
1123
  # },
969
- # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
970
- # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
971
1124
  # },
972
1125
  # max_results: 1,
973
- # next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
974
- # start_time_range: { # required
975
- # from_time: Time.now,
976
- # to_time: Time.now,
977
- # },
1126
+ # next_token: "UuidNextToken",
978
1127
  # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
979
1128
  # })
980
1129
  #
981
1130
  # @example Response structure
982
1131
  #
983
- # resp.next_token #=> String
984
1132
  # resp.proactive_insights #=> Array
985
1133
  # resp.proactive_insights[0].id #=> String
986
- # resp.proactive_insights[0].insight_time_range.end_time #=> Time
987
- # resp.proactive_insights[0].insight_time_range.start_time #=> Time
988
1134
  # resp.proactive_insights[0].name #=> String
989
- # resp.proactive_insights[0].prediction_time_range.end_time #=> Time
1135
+ # resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1136
+ # resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1137
+ # resp.proactive_insights[0].insight_time_range.start_time #=> Time
1138
+ # resp.proactive_insights[0].insight_time_range.end_time #=> Time
990
1139
  # resp.proactive_insights[0].prediction_time_range.start_time #=> Time
1140
+ # resp.proactive_insights[0].prediction_time_range.end_time #=> Time
991
1141
  # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
992
1142
  # resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
993
- # resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
994
- # resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
995
1143
  # resp.reactive_insights #=> Array
996
1144
  # resp.reactive_insights[0].id #=> String
997
- # resp.reactive_insights[0].insight_time_range.end_time #=> Time
998
- # resp.reactive_insights[0].insight_time_range.start_time #=> Time
999
1145
  # resp.reactive_insights[0].name #=> String
1000
- # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1001
- # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1002
1146
  # resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1003
1147
  # resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
1148
+ # resp.reactive_insights[0].insight_time_range.start_time #=> Time
1149
+ # resp.reactive_insights[0].insight_time_range.end_time #=> Time
1150
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
1151
+ # resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
1152
+ # resp.next_token #=> String
1004
1153
  #
1005
1154
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights AWS API Documentation
1006
1155
  #
@@ -1011,9 +1160,18 @@ module Aws::DevOpsGuru
1011
1160
  req.send_request(options)
1012
1161
  end
1013
1162
 
1163
+ # Updates the collection of resources that DevOps Guru analyzes. The one
1164
+ # type of AWS resource collection supported is AWS CloudFormation
1165
+ # stacks. DevOps Guru can be configured to analyze only the AWS
1166
+ # resources that are defined in the stacks. This method also creates the
1167
+ # IAM role required for you to use DevOps Guru.
1168
+ #
1014
1169
  # @option params [required, String] :action
1170
+ # Specifies if the resource collection in the request is added or
1171
+ # deleted to the resource collection.
1015
1172
  #
1016
1173
  # @option params [required, Types::UpdateResourceCollectionFilter] :resource_collection
1174
+ # Contains information used to update a collection of AWS resources.
1017
1175
  #
1018
1176
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1019
1177
  #
@@ -1023,7 +1181,7 @@ module Aws::DevOpsGuru
1023
1181
  # action: "ADD", # required, accepts ADD, REMOVE
1024
1182
  # resource_collection: { # required
1025
1183
  # cloud_formation: {
1026
- # stack_names: ["__stringMin1Max128PatternAZAZAZAZ09"],
1184
+ # stack_names: ["StackName"],
1027
1185
  # },
1028
1186
  # },
1029
1187
  # })
@@ -1037,7 +1195,15 @@ module Aws::DevOpsGuru
1037
1195
  req.send_request(options)
1038
1196
  end
1039
1197
 
1198
+ # Enables or disables integration with a service that can be integrated
1199
+ # with DevOps Guru. The one service that can be integrated with DevOps
1200
+ # Guru is AWS Systems Manager, which can be used to create an OpsItem
1201
+ # for each generated insight.
1202
+ #
1040
1203
  # @option params [required, Types::UpdateServiceIntegrationConfig] :service_integration
1204
+ # An `IntegratedServiceConfig` object used to specify the integrated
1205
+ # service you want to update, and whether you want to update it to
1206
+ # enabled or disabled.
1041
1207
  #
1042
1208
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1043
1209
  #
@@ -1073,7 +1239,7 @@ module Aws::DevOpsGuru
1073
1239
  params: params,
1074
1240
  config: config)
1075
1241
  context[:gem_name] = 'aws-sdk-devopsguru'
1076
- context[:gem_version] = '1.0.0'
1242
+ context[:gem_version] = '1.1.0'
1077
1243
  Seahorse::Client::Request.new(handlers, context)
1078
1244
  end
1079
1245