aws-sdk-lookoutmetrics 1.16.0 → 1.19.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: 6af63fa1ce2d955ad6e943eb815a875e717dc48fa929f4584b2538b74ff16b02
4
- data.tar.gz: b21550664cb5630a846d4ca0f6ec386aa620c53dc2cad09dfa7cedb20321b4b4
3
+ metadata.gz: 59345fbf66785eff41ce5e27028071fd1692386ccf4971410d915ffbc37da532
4
+ data.tar.gz: '0794e1c7b207ce9f080c79d38dbf6e68e281d72661b94686b65e4cd62ee999be'
5
5
  SHA512:
6
- metadata.gz: 5fe67e0baeeead79accc3fd63779ab9489bddfde2a0c77582d1236317e631295c93b8a0bd7470ba585deb33bce204f32161c041802bcb6780e51f65de0cf9ad4
7
- data.tar.gz: cab5ad278ff7aa0ad7ef62a4a9734d14818f9f8ba7bf79ff8ad1b7b6f126b61d33f8e78f22b3fd684a376645d3642d0b8b0fa70572ef2c459536f7092395b0c9
6
+ metadata.gz: d1cca1445efe1da70413424dc0eeaeb9178b96920e8f0b3e7a0a707e050e6489c1a097e28601fddc4213a0c86da4634c2c8a797e78ebcf911fff41a3323e4bc4
7
+ data.tar.gz: b57f73391239f67a394106874fa974cf9a0be128439d9667bdcd91b3ece1e4d910b85979a5296fed44179db304a1a63459659ccb7ed4ea9f6a1c650ce503f597
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2022-05-31)
5
+ ------------------
6
+
7
+ * Feature - Adding backtest mode to detectors using the Cloudwatch data source.
8
+
9
+ 1.18.0 (2022-05-25)
10
+ ------------------
11
+
12
+ * Feature - Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source.
13
+
14
+ 1.17.0 (2022-05-19)
15
+ ------------------
16
+
17
+ * Feature - In this release we added SnsFormat to SNSConfiguration to support human readable alert.
18
+
4
19
  1.16.0 (2022-04-21)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.19.0
@@ -434,6 +434,7 @@ module Aws::LookoutMetrics
434
434
  # sns_configuration: {
435
435
  # role_arn: "Arn", # required
436
436
  # sns_topic_arn: "Arn", # required
437
+ # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON
437
438
  # },
438
439
  # lambda_configuration: {
439
440
  # role_arn: "Arn", # required
@@ -603,6 +604,9 @@ module Aws::LookoutMetrics
603
604
  # },
604
605
  # cloud_watch_config: {
605
606
  # role_arn: "Arn",
607
+ # back_test_configuration: {
608
+ # run_back_test_mode: false, # required
609
+ # },
606
610
  # },
607
611
  # rds_source_config: {
608
612
  # db_instance_identifier: "RDSDatabaseIdentifier",
@@ -630,6 +634,17 @@ module Aws::LookoutMetrics
630
634
  # security_group_id_list: ["SecurityGroupId"], # required
631
635
  # },
632
636
  # },
637
+ # athena_source_config: {
638
+ # role_arn: "Arn",
639
+ # database_name: "AthenaDatabaseName",
640
+ # data_catalog: "AthenaDataCatalog",
641
+ # table_name: "AthenaTableName",
642
+ # work_group_name: "AthenaWorkGroupName",
643
+ # s3_results_path: "AthenaS3ResultsPath",
644
+ # back_test_configuration: {
645
+ # run_back_test_mode: false, # required
646
+ # },
647
+ # },
633
648
  # },
634
649
  # timezone: "Timezone",
635
650
  # tags: {
@@ -742,6 +757,7 @@ module Aws::LookoutMetrics
742
757
  #
743
758
  # resp.alert.action.sns_configuration.role_arn #=> String
744
759
  # resp.alert.action.sns_configuration.sns_topic_arn #=> String
760
+ # resp.alert.action.sns_configuration.sns_format #=> String, one of "LONG_TEXT", "SHORT_TEXT", "JSON"
745
761
  # resp.alert.action.lambda_configuration.role_arn #=> String
746
762
  # resp.alert.action.lambda_configuration.lambda_arn #=> String
747
763
  # resp.alert.alert_description #=> String
@@ -931,6 +947,7 @@ module Aws::LookoutMetrics
931
947
  # resp.metric_source.app_flow_config.role_arn #=> String
932
948
  # resp.metric_source.app_flow_config.flow_name #=> String
933
949
  # resp.metric_source.cloud_watch_config.role_arn #=> String
950
+ # resp.metric_source.cloud_watch_config.back_test_configuration.run_back_test_mode #=> Boolean
934
951
  # resp.metric_source.rds_source_config.db_instance_identifier #=> String
935
952
  # resp.metric_source.rds_source_config.database_host #=> String
936
953
  # resp.metric_source.rds_source_config.database_port #=> Integer
@@ -953,6 +970,13 @@ module Aws::LookoutMetrics
953
970
  # resp.metric_source.redshift_source_config.vpc_configuration.subnet_id_list[0] #=> String
954
971
  # resp.metric_source.redshift_source_config.vpc_configuration.security_group_id_list #=> Array
955
972
  # resp.metric_source.redshift_source_config.vpc_configuration.security_group_id_list[0] #=> String
973
+ # resp.metric_source.athena_source_config.role_arn #=> String
974
+ # resp.metric_source.athena_source_config.database_name #=> String
975
+ # resp.metric_source.athena_source_config.data_catalog #=> String
976
+ # resp.metric_source.athena_source_config.table_name #=> String
977
+ # resp.metric_source.athena_source_config.work_group_name #=> String
978
+ # resp.metric_source.athena_source_config.s3_results_path #=> String
979
+ # resp.metric_source.athena_source_config.back_test_configuration.run_back_test_mode #=> Boolean
956
980
  #
957
981
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeMetricSet AWS API Documentation
958
982
  #
@@ -1707,7 +1731,7 @@ module Aws::LookoutMetrics
1707
1731
  # The dataset's interval.
1708
1732
  #
1709
1733
  # @option params [Types::MetricSource] :metric_source
1710
- # Contains information about source data used to generate a metric.
1734
+ # Contains information about source data used to generate metrics.
1711
1735
  #
1712
1736
  # @return [Types::UpdateMetricSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1713
1737
  #
@@ -1758,6 +1782,9 @@ module Aws::LookoutMetrics
1758
1782
  # },
1759
1783
  # cloud_watch_config: {
1760
1784
  # role_arn: "Arn",
1785
+ # back_test_configuration: {
1786
+ # run_back_test_mode: false, # required
1787
+ # },
1761
1788
  # },
1762
1789
  # rds_source_config: {
1763
1790
  # db_instance_identifier: "RDSDatabaseIdentifier",
@@ -1785,6 +1812,17 @@ module Aws::LookoutMetrics
1785
1812
  # security_group_id_list: ["SecurityGroupId"], # required
1786
1813
  # },
1787
1814
  # },
1815
+ # athena_source_config: {
1816
+ # role_arn: "Arn",
1817
+ # database_name: "AthenaDatabaseName",
1818
+ # data_catalog: "AthenaDataCatalog",
1819
+ # table_name: "AthenaTableName",
1820
+ # work_group_name: "AthenaWorkGroupName",
1821
+ # s3_results_path: "AthenaS3ResultsPath",
1822
+ # back_test_configuration: {
1823
+ # run_back_test_mode: false, # required
1824
+ # },
1825
+ # },
1788
1826
  # },
1789
1827
  # })
1790
1828
  #
@@ -1814,7 +1852,7 @@ module Aws::LookoutMetrics
1814
1852
  params: params,
1815
1853
  config: config)
1816
1854
  context[:gem_name] = 'aws-sdk-lookoutmetrics'
1817
- context[:gem_version] = '1.16.0'
1855
+ context[:gem_version] = '1.19.0'
1818
1856
  Seahorse::Client::Request.new(handlers, context)
1819
1857
  end
1820
1858
 
@@ -43,11 +43,18 @@ module Aws::LookoutMetrics
43
43
  AnomalyGroupTimeSeriesFeedback = Shapes::StructureShape.new(name: 'AnomalyGroupTimeSeriesFeedback')
44
44
  AppFlowConfig = Shapes::StructureShape.new(name: 'AppFlowConfig')
45
45
  Arn = Shapes::StringShape.new(name: 'Arn')
46
+ AthenaDataCatalog = Shapes::StringShape.new(name: 'AthenaDataCatalog')
47
+ AthenaDatabaseName = Shapes::StringShape.new(name: 'AthenaDatabaseName')
48
+ AthenaS3ResultsPath = Shapes::StringShape.new(name: 'AthenaS3ResultsPath')
49
+ AthenaSourceConfig = Shapes::StructureShape.new(name: 'AthenaSourceConfig')
50
+ AthenaTableName = Shapes::StringShape.new(name: 'AthenaTableName')
51
+ AthenaWorkGroupName = Shapes::StringShape.new(name: 'AthenaWorkGroupName')
46
52
  AttributeValue = Shapes::StructureShape.new(name: 'AttributeValue')
47
53
  AutoDetectionMetricSource = Shapes::StructureShape.new(name: 'AutoDetectionMetricSource')
48
54
  AutoDetectionS3SourceConfig = Shapes::StructureShape.new(name: 'AutoDetectionS3SourceConfig')
49
55
  BackTestAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'BackTestAnomalyDetectorRequest')
50
56
  BackTestAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'BackTestAnomalyDetectorResponse')
57
+ BackTestConfiguration = Shapes::StructureShape.new(name: 'BackTestConfiguration')
51
58
  BinaryAttributeValue = Shapes::StringShape.new(name: 'BinaryAttributeValue')
52
59
  BinaryListAttributeValue = Shapes::ListShape.new(name: 'BinaryListAttributeValue')
53
60
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -189,6 +196,7 @@ module Aws::LookoutMetrics
189
196
  SensitivityThreshold = Shapes::IntegerShape.new(name: 'SensitivityThreshold')
190
197
  ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
191
198
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
199
+ SnsFormat = Shapes::StringShape.new(name: 'SnsFormat')
192
200
  StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue')
193
201
  StringListAttributeValue = Shapes::ListShape.new(name: 'StringListAttributeValue')
194
202
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
@@ -315,6 +323,15 @@ module Aws::LookoutMetrics
315
323
  AppFlowConfig.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, location_name: "FlowName"))
316
324
  AppFlowConfig.struct_class = Types::AppFlowConfig
317
325
 
326
+ AthenaSourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
327
+ AthenaSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: AthenaDatabaseName, location_name: "DatabaseName"))
328
+ AthenaSourceConfig.add_member(:data_catalog, Shapes::ShapeRef.new(shape: AthenaDataCatalog, location_name: "DataCatalog"))
329
+ AthenaSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: AthenaTableName, location_name: "TableName"))
330
+ AthenaSourceConfig.add_member(:work_group_name, Shapes::ShapeRef.new(shape: AthenaWorkGroupName, location_name: "WorkGroupName"))
331
+ AthenaSourceConfig.add_member(:s3_results_path, Shapes::ShapeRef.new(shape: AthenaS3ResultsPath, location_name: "S3ResultsPath"))
332
+ AthenaSourceConfig.add_member(:back_test_configuration, Shapes::ShapeRef.new(shape: BackTestConfiguration, location_name: "BackTestConfiguration"))
333
+ AthenaSourceConfig.struct_class = Types::AthenaSourceConfig
334
+
318
335
  AttributeValue.add_member(:s, Shapes::ShapeRef.new(shape: StringAttributeValue, location_name: "S"))
319
336
  AttributeValue.add_member(:n, Shapes::ShapeRef.new(shape: NumberAttributeValue, location_name: "N"))
320
337
  AttributeValue.add_member(:b, Shapes::ShapeRef.new(shape: BinaryAttributeValue, location_name: "B"))
@@ -335,9 +352,13 @@ module Aws::LookoutMetrics
335
352
 
336
353
  BackTestAnomalyDetectorResponse.struct_class = Types::BackTestAnomalyDetectorResponse
337
354
 
355
+ BackTestConfiguration.add_member(:run_back_test_mode, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "RunBackTestMode"))
356
+ BackTestConfiguration.struct_class = Types::BackTestConfiguration
357
+
338
358
  BinaryListAttributeValue.member = Shapes::ShapeRef.new(shape: BinaryAttributeValue)
339
359
 
340
360
  CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
361
+ CloudWatchConfig.add_member(:back_test_configuration, Shapes::ShapeRef.new(shape: BackTestConfiguration, location_name: "BackTestConfiguration"))
341
362
  CloudWatchConfig.struct_class = Types::CloudWatchConfig
342
363
 
343
364
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
@@ -680,6 +701,7 @@ module Aws::LookoutMetrics
680
701
  MetricSource.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchConfig, location_name: "CloudWatchConfig"))
681
702
  MetricSource.add_member(:rds_source_config, Shapes::ShapeRef.new(shape: RDSSourceConfig, location_name: "RDSSourceConfig"))
682
703
  MetricSource.add_member(:redshift_source_config, Shapes::ShapeRef.new(shape: RedshiftSourceConfig, location_name: "RedshiftSourceConfig"))
704
+ MetricSource.add_member(:athena_source_config, Shapes::ShapeRef.new(shape: AthenaSourceConfig, location_name: "AthenaSourceConfig"))
683
705
  MetricSource.struct_class = Types::MetricSource
684
706
 
685
707
  MetricValueList.member = Shapes::ShapeRef.new(shape: MetricValue)
@@ -725,6 +747,7 @@ module Aws::LookoutMetrics
725
747
 
726
748
  SNSConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
727
749
  SNSConfiguration.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "SnsTopicArn"))
750
+ SNSConfiguration.add_member(:sns_format, Shapes::ShapeRef.new(shape: SnsFormat, location_name: "SnsFormat"))
728
751
  SNSConfiguration.struct_class = Types::SNSConfiguration
729
752
 
730
753
  SampleDataS3SourceConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
@@ -33,6 +33,7 @@ module Aws::LookoutMetrics
33
33
  # sns_configuration: {
34
34
  # role_arn: "Arn", # required
35
35
  # sns_topic_arn: "Arn", # required
36
+ # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON
36
37
  # },
37
38
  # lambda_configuration: {
38
39
  # role_arn: "Arn", # required
@@ -465,6 +466,66 @@ module Aws::LookoutMetrics
465
466
  include Aws::Structure
466
467
  end
467
468
 
469
+ # Details about an Amazon Athena datasource.
470
+ #
471
+ # @note When making an API call, you may pass AthenaSourceConfig
472
+ # data as a hash:
473
+ #
474
+ # {
475
+ # role_arn: "Arn",
476
+ # database_name: "AthenaDatabaseName",
477
+ # data_catalog: "AthenaDataCatalog",
478
+ # table_name: "AthenaTableName",
479
+ # work_group_name: "AthenaWorkGroupName",
480
+ # s3_results_path: "AthenaS3ResultsPath",
481
+ # back_test_configuration: {
482
+ # run_back_test_mode: false, # required
483
+ # },
484
+ # }
485
+ #
486
+ # @!attribute [rw] role_arn
487
+ # An IAM role that gives Amazon Lookout for Metrics permission to
488
+ # access the data.
489
+ # @return [String]
490
+ #
491
+ # @!attribute [rw] database_name
492
+ # The database's name.
493
+ # @return [String]
494
+ #
495
+ # @!attribute [rw] data_catalog
496
+ # The database's data catalog.
497
+ # @return [String]
498
+ #
499
+ # @!attribute [rw] table_name
500
+ # The database's table name.
501
+ # @return [String]
502
+ #
503
+ # @!attribute [rw] work_group_name
504
+ # The database's work group name.
505
+ # @return [String]
506
+ #
507
+ # @!attribute [rw] s3_results_path
508
+ # The database's results path.
509
+ # @return [String]
510
+ #
511
+ # @!attribute [rw] back_test_configuration
512
+ # Settings for backtest mode.
513
+ # @return [Types::BackTestConfiguration]
514
+ #
515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/AthenaSourceConfig AWS API Documentation
516
+ #
517
+ class AthenaSourceConfig < Struct.new(
518
+ :role_arn,
519
+ :database_name,
520
+ :data_catalog,
521
+ :table_name,
522
+ :work_group_name,
523
+ :s3_results_path,
524
+ :back_test_configuration)
525
+ SENSITIVE = []
526
+ include Aws::Structure
527
+ end
528
+
468
529
  # An attribute value.
469
530
  #
470
531
  # @!attribute [rw] s
@@ -578,6 +639,27 @@ module Aws::LookoutMetrics
578
639
  #
579
640
  class BackTestAnomalyDetectorResponse < Aws::EmptyStructure; end
580
641
 
642
+ # Settings for backtest mode.
643
+ #
644
+ # @note When making an API call, you may pass BackTestConfiguration
645
+ # data as a hash:
646
+ #
647
+ # {
648
+ # run_back_test_mode: false, # required
649
+ # }
650
+ #
651
+ # @!attribute [rw] run_back_test_mode
652
+ # Run a backtest instead of monitoring new data.
653
+ # @return [Boolean]
654
+ #
655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/BackTestConfiguration AWS API Documentation
656
+ #
657
+ class BackTestConfiguration < Struct.new(
658
+ :run_back_test_mode)
659
+ SENSITIVE = []
660
+ include Aws::Structure
661
+ end
662
+
581
663
  # Details about an Amazon CloudWatch datasource.
582
664
  #
583
665
  # @note When making an API call, you may pass CloudWatchConfig
@@ -585,6 +667,9 @@ module Aws::LookoutMetrics
585
667
  #
586
668
  # {
587
669
  # role_arn: "Arn",
670
+ # back_test_configuration: {
671
+ # run_back_test_mode: false, # required
672
+ # },
588
673
  # }
589
674
  #
590
675
  # @!attribute [rw] role_arn
@@ -592,10 +677,15 @@ module Aws::LookoutMetrics
592
677
  # access data in Amazon CloudWatch.
593
678
  # @return [String]
594
679
  #
680
+ # @!attribute [rw] back_test_configuration
681
+ # Settings for backtest mode.
682
+ # @return [Types::BackTestConfiguration]
683
+ #
595
684
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CloudWatchConfig AWS API Documentation
596
685
  #
597
686
  class CloudWatchConfig < Struct.new(
598
- :role_arn)
687
+ :role_arn,
688
+ :back_test_configuration)
599
689
  SENSITIVE = []
600
690
  include Aws::Structure
601
691
  end
@@ -649,6 +739,7 @@ module Aws::LookoutMetrics
649
739
  # sns_configuration: {
650
740
  # role_arn: "Arn", # required
651
741
  # sns_topic_arn: "Arn", # required
742
+ # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON
652
743
  # },
653
744
  # lambda_configuration: {
654
745
  # role_arn: "Arn", # required
@@ -824,6 +915,9 @@ module Aws::LookoutMetrics
824
915
  # },
825
916
  # cloud_watch_config: {
826
917
  # role_arn: "Arn",
918
+ # back_test_configuration: {
919
+ # run_back_test_mode: false, # required
920
+ # },
827
921
  # },
828
922
  # rds_source_config: {
829
923
  # db_instance_identifier: "RDSDatabaseIdentifier",
@@ -851,6 +945,17 @@ module Aws::LookoutMetrics
851
945
  # security_group_id_list: ["SecurityGroupId"], # required
852
946
  # },
853
947
  # },
948
+ # athena_source_config: {
949
+ # role_arn: "Arn",
950
+ # database_name: "AthenaDatabaseName",
951
+ # data_catalog: "AthenaDataCatalog",
952
+ # table_name: "AthenaTableName",
953
+ # work_group_name: "AthenaWorkGroupName",
954
+ # s3_results_path: "AthenaS3ResultsPath",
955
+ # back_test_configuration: {
956
+ # run_back_test_mode: false, # required
957
+ # },
958
+ # },
854
959
  # },
855
960
  # timezone: "Timezone",
856
961
  # tags: {
@@ -2390,7 +2495,7 @@ module Aws::LookoutMetrics
2390
2495
  include Aws::Structure
2391
2496
  end
2392
2497
 
2393
- # Contains information about source data used to generate a metric.
2498
+ # Contains information about source data used to generate metrics.
2394
2499
  #
2395
2500
  # @note When making an API call, you may pass MetricSource
2396
2501
  # data as a hash:
@@ -2421,6 +2526,9 @@ module Aws::LookoutMetrics
2421
2526
  # },
2422
2527
  # cloud_watch_config: {
2423
2528
  # role_arn: "Arn",
2529
+ # back_test_configuration: {
2530
+ # run_back_test_mode: false, # required
2531
+ # },
2424
2532
  # },
2425
2533
  # rds_source_config: {
2426
2534
  # db_instance_identifier: "RDSDatabaseIdentifier",
@@ -2448,6 +2556,17 @@ module Aws::LookoutMetrics
2448
2556
  # security_group_id_list: ["SecurityGroupId"], # required
2449
2557
  # },
2450
2558
  # },
2559
+ # athena_source_config: {
2560
+ # role_arn: "Arn",
2561
+ # database_name: "AthenaDatabaseName",
2562
+ # data_catalog: "AthenaDataCatalog",
2563
+ # table_name: "AthenaTableName",
2564
+ # work_group_name: "AthenaWorkGroupName",
2565
+ # s3_results_path: "AthenaS3ResultsPath",
2566
+ # back_test_configuration: {
2567
+ # run_back_test_mode: false, # required
2568
+ # },
2569
+ # },
2451
2570
  # }
2452
2571
  #
2453
2572
  # @!attribute [rw] s3_source_config
@@ -2456,24 +2575,26 @@ module Aws::LookoutMetrics
2456
2575
  # @return [Types::S3SourceConfig]
2457
2576
  #
2458
2577
  # @!attribute [rw] app_flow_config
2459
- # An object containing information about the AppFlow configuration.
2578
+ # Details about an AppFlow datasource.
2460
2579
  # @return [Types::AppFlowConfig]
2461
2580
  #
2462
2581
  # @!attribute [rw] cloud_watch_config
2463
- # An object containing information about the Amazon CloudWatch
2464
- # monitoring configuration.
2582
+ # Details about an Amazon CloudWatch monitoring datasource.
2465
2583
  # @return [Types::CloudWatchConfig]
2466
2584
  #
2467
2585
  # @!attribute [rw] rds_source_config
2468
- # An object containing information about the Amazon Relational
2469
- # Database Service (RDS) configuration.
2586
+ # Details about an Amazon Relational Database Service (RDS)
2587
+ # datasource.
2470
2588
  # @return [Types::RDSSourceConfig]
2471
2589
  #
2472
2590
  # @!attribute [rw] redshift_source_config
2473
- # An object containing information about the Amazon Redshift database
2474
- # configuration.
2591
+ # Details about an Amazon Redshift database datasource.
2475
2592
  # @return [Types::RedshiftSourceConfig]
2476
2593
  #
2594
+ # @!attribute [rw] athena_source_config
2595
+ # Details about an Amazon Athena datasource.
2596
+ # @return [Types::AthenaSourceConfig]
2597
+ #
2477
2598
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/MetricSource AWS API Documentation
2478
2599
  #
2479
2600
  class MetricSource < Struct.new(
@@ -2481,7 +2602,8 @@ module Aws::LookoutMetrics
2481
2602
  :app_flow_config,
2482
2603
  :cloud_watch_config,
2483
2604
  :rds_source_config,
2484
- :redshift_source_config)
2605
+ :redshift_source_config,
2606
+ :athena_source_config)
2485
2607
  SENSITIVE = []
2486
2608
  include Aws::Structure
2487
2609
  end
@@ -2742,6 +2864,7 @@ module Aws::LookoutMetrics
2742
2864
  # {
2743
2865
  # role_arn: "Arn", # required
2744
2866
  # sns_topic_arn: "Arn", # required
2867
+ # sns_format: "LONG_TEXT", # accepts LONG_TEXT, SHORT_TEXT, JSON
2745
2868
  # }
2746
2869
  #
2747
2870
  # @!attribute [rw] role_arn
@@ -2752,11 +2875,16 @@ module Aws::LookoutMetrics
2752
2875
  # The ARN of the target SNS topic.
2753
2876
  # @return [String]
2754
2877
  #
2878
+ # @!attribute [rw] sns_format
2879
+ # The format of the SNS topic.
2880
+ # @return [String]
2881
+ #
2755
2882
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/SNSConfiguration AWS API Documentation
2756
2883
  #
2757
2884
  class SNSConfiguration < Struct.new(
2758
2885
  :role_arn,
2759
- :sns_topic_arn)
2886
+ :sns_topic_arn,
2887
+ :sns_format)
2760
2888
  SENSITIVE = []
2761
2889
  include Aws::Structure
2762
2890
  end
@@ -3093,6 +3221,9 @@ module Aws::LookoutMetrics
3093
3221
  # },
3094
3222
  # cloud_watch_config: {
3095
3223
  # role_arn: "Arn",
3224
+ # back_test_configuration: {
3225
+ # run_back_test_mode: false, # required
3226
+ # },
3096
3227
  # },
3097
3228
  # rds_source_config: {
3098
3229
  # db_instance_identifier: "RDSDatabaseIdentifier",
@@ -3120,6 +3251,17 @@ module Aws::LookoutMetrics
3120
3251
  # security_group_id_list: ["SecurityGroupId"], # required
3121
3252
  # },
3122
3253
  # },
3254
+ # athena_source_config: {
3255
+ # role_arn: "Arn",
3256
+ # database_name: "AthenaDatabaseName",
3257
+ # data_catalog: "AthenaDataCatalog",
3258
+ # table_name: "AthenaTableName",
3259
+ # work_group_name: "AthenaWorkGroupName",
3260
+ # s3_results_path: "AthenaS3ResultsPath",
3261
+ # back_test_configuration: {
3262
+ # run_back_test_mode: false, # required
3263
+ # },
3264
+ # },
3123
3265
  # },
3124
3266
  # }
3125
3267
  #
@@ -3154,7 +3296,7 @@ module Aws::LookoutMetrics
3154
3296
  # @return [String]
3155
3297
  #
3156
3298
  # @!attribute [rw] metric_source
3157
- # Contains information about source data used to generate a metric.
3299
+ # Contains information about source data used to generate metrics.
3158
3300
  # @return [Types::MetricSource]
3159
3301
  #
3160
3302
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateMetricSetRequest AWS API Documentation
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lookoutmetrics/customizations'
48
48
  # @!group service
49
49
  module Aws::LookoutMetrics
50
50
 
51
- GEM_VERSION = '1.16.0'
51
+ GEM_VERSION = '1.19.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lookoutmetrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-21 00:00:00.000000000 Z
11
+ date: 2022-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core