aws-sdk-lookoutmetrics 1.17.0 → 1.18.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: 76535fbfb5f945c619f7001a1a6709a632b118d70017c0efe3a9badc098ea893
4
- data.tar.gz: c73dedc572b8fc463493f9e928d5ef803afefee5445d4e4862d4764a3323390b
3
+ metadata.gz: 316b81895fdc3eec74216636bd66d896d0f8560886f4a6c84caa347b59bda274
4
+ data.tar.gz: 98db724b218a1e386fc5f4a6b4265b1710d32125703fcdc0093f30fe98694629
5
5
  SHA512:
6
- metadata.gz: 030c68894b5bb5d28d77d5dd331361bef512f59037b58e2550981b71fc0f8be2d48f681db93254a3c8cad8f10e959145c6b8c55fb70d0a180ecabfc774e274dc
7
- data.tar.gz: 07a6741ebf403f298c1824b2cf7bd5d8dfcfecc48198c7d0e7c12c035548ec136c81bb023000710a4d875e7316a32ebc5219bc0d6dca574a95981e7984db92c1
6
+ metadata.gz: a4f8c8d40a648ad9678ae0b2873a51d745a670cacd0b50335472e0496c6e6848f126ab13d1ce1fbe67771c76e6edbe176366b9bc98ae717e1ebe73ff30ca9f37
7
+ data.tar.gz: 9fdedea54380542ccc52602489d5011cc851ad4fa05d818ed8c1e978e41d00a120e804890de9ed0005f9e790f71b262445fe12727ff47334c8df31f41ae4c2e2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2022-05-25)
5
+ ------------------
6
+
7
+ * Feature - Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source.
8
+
4
9
  1.17.0 (2022-05-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.0
@@ -631,6 +631,17 @@ module Aws::LookoutMetrics
631
631
  # security_group_id_list: ["SecurityGroupId"], # required
632
632
  # },
633
633
  # },
634
+ # athena_source_config: {
635
+ # role_arn: "Arn",
636
+ # database_name: "AthenaDatabaseName",
637
+ # data_catalog: "AthenaDataCatalog",
638
+ # table_name: "AthenaTableName",
639
+ # work_group_name: "AthenaWorkGroupName",
640
+ # s3_results_path: "AthenaS3ResultsPath",
641
+ # back_test_configuration: {
642
+ # run_back_test_mode: false, # required
643
+ # },
644
+ # },
634
645
  # },
635
646
  # timezone: "Timezone",
636
647
  # tags: {
@@ -955,6 +966,13 @@ module Aws::LookoutMetrics
955
966
  # resp.metric_source.redshift_source_config.vpc_configuration.subnet_id_list[0] #=> String
956
967
  # resp.metric_source.redshift_source_config.vpc_configuration.security_group_id_list #=> Array
957
968
  # resp.metric_source.redshift_source_config.vpc_configuration.security_group_id_list[0] #=> String
969
+ # resp.metric_source.athena_source_config.role_arn #=> String
970
+ # resp.metric_source.athena_source_config.database_name #=> String
971
+ # resp.metric_source.athena_source_config.data_catalog #=> String
972
+ # resp.metric_source.athena_source_config.table_name #=> String
973
+ # resp.metric_source.athena_source_config.work_group_name #=> String
974
+ # resp.metric_source.athena_source_config.s3_results_path #=> String
975
+ # resp.metric_source.athena_source_config.back_test_configuration.run_back_test_mode #=> Boolean
958
976
  #
959
977
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeMetricSet AWS API Documentation
960
978
  #
@@ -1709,7 +1727,7 @@ module Aws::LookoutMetrics
1709
1727
  # The dataset's interval.
1710
1728
  #
1711
1729
  # @option params [Types::MetricSource] :metric_source
1712
- # Contains information about source data used to generate a metric.
1730
+ # Contains information about source data used to generate metrics.
1713
1731
  #
1714
1732
  # @return [Types::UpdateMetricSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1715
1733
  #
@@ -1787,6 +1805,17 @@ module Aws::LookoutMetrics
1787
1805
  # security_group_id_list: ["SecurityGroupId"], # required
1788
1806
  # },
1789
1807
  # },
1808
+ # athena_source_config: {
1809
+ # role_arn: "Arn",
1810
+ # database_name: "AthenaDatabaseName",
1811
+ # data_catalog: "AthenaDataCatalog",
1812
+ # table_name: "AthenaTableName",
1813
+ # work_group_name: "AthenaWorkGroupName",
1814
+ # s3_results_path: "AthenaS3ResultsPath",
1815
+ # back_test_configuration: {
1816
+ # run_back_test_mode: false, # required
1817
+ # },
1818
+ # },
1790
1819
  # },
1791
1820
  # })
1792
1821
  #
@@ -1816,7 +1845,7 @@ module Aws::LookoutMetrics
1816
1845
  params: params,
1817
1846
  config: config)
1818
1847
  context[:gem_name] = 'aws-sdk-lookoutmetrics'
1819
- context[:gem_version] = '1.17.0'
1848
+ context[:gem_version] = '1.18.0'
1820
1849
  Seahorse::Client::Request.new(handlers, context)
1821
1850
  end
1822
1851
 
@@ -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')
@@ -316,6 +323,15 @@ module Aws::LookoutMetrics
316
323
  AppFlowConfig.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, location_name: "FlowName"))
317
324
  AppFlowConfig.struct_class = Types::AppFlowConfig
318
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
+
319
335
  AttributeValue.add_member(:s, Shapes::ShapeRef.new(shape: StringAttributeValue, location_name: "S"))
320
336
  AttributeValue.add_member(:n, Shapes::ShapeRef.new(shape: NumberAttributeValue, location_name: "N"))
321
337
  AttributeValue.add_member(:b, Shapes::ShapeRef.new(shape: BinaryAttributeValue, location_name: "B"))
@@ -336,6 +352,9 @@ module Aws::LookoutMetrics
336
352
 
337
353
  BackTestAnomalyDetectorResponse.struct_class = Types::BackTestAnomalyDetectorResponse
338
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
+
339
358
  BinaryListAttributeValue.member = Shapes::ShapeRef.new(shape: BinaryAttributeValue)
340
359
 
341
360
  CloudWatchConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
@@ -681,6 +700,7 @@ module Aws::LookoutMetrics
681
700
  MetricSource.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchConfig, location_name: "CloudWatchConfig"))
682
701
  MetricSource.add_member(:rds_source_config, Shapes::ShapeRef.new(shape: RDSSourceConfig, location_name: "RDSSourceConfig"))
683
702
  MetricSource.add_member(:redshift_source_config, Shapes::ShapeRef.new(shape: RedshiftSourceConfig, location_name: "RedshiftSourceConfig"))
703
+ MetricSource.add_member(:athena_source_config, Shapes::ShapeRef.new(shape: AthenaSourceConfig, location_name: "AthenaSourceConfig"))
684
704
  MetricSource.struct_class = Types::MetricSource
685
705
 
686
706
  MetricValueList.member = Shapes::ShapeRef.new(shape: MetricValue)
@@ -466,6 +466,66 @@ module Aws::LookoutMetrics
466
466
  include Aws::Structure
467
467
  end
468
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
+
469
529
  # An attribute value.
470
530
  #
471
531
  # @!attribute [rw] s
@@ -579,6 +639,27 @@ module Aws::LookoutMetrics
579
639
  #
580
640
  class BackTestAnomalyDetectorResponse < Aws::EmptyStructure; end
581
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
+
582
663
  # Details about an Amazon CloudWatch datasource.
583
664
  #
584
665
  # @note When making an API call, you may pass CloudWatchConfig
@@ -853,6 +934,17 @@ module Aws::LookoutMetrics
853
934
  # security_group_id_list: ["SecurityGroupId"], # required
854
935
  # },
855
936
  # },
937
+ # athena_source_config: {
938
+ # role_arn: "Arn",
939
+ # database_name: "AthenaDatabaseName",
940
+ # data_catalog: "AthenaDataCatalog",
941
+ # table_name: "AthenaTableName",
942
+ # work_group_name: "AthenaWorkGroupName",
943
+ # s3_results_path: "AthenaS3ResultsPath",
944
+ # back_test_configuration: {
945
+ # run_back_test_mode: false, # required
946
+ # },
947
+ # },
856
948
  # },
857
949
  # timezone: "Timezone",
858
950
  # tags: {
@@ -2392,7 +2484,7 @@ module Aws::LookoutMetrics
2392
2484
  include Aws::Structure
2393
2485
  end
2394
2486
 
2395
- # Contains information about source data used to generate a metric.
2487
+ # Contains information about source data used to generate metrics.
2396
2488
  #
2397
2489
  # @note When making an API call, you may pass MetricSource
2398
2490
  # data as a hash:
@@ -2450,6 +2542,17 @@ module Aws::LookoutMetrics
2450
2542
  # security_group_id_list: ["SecurityGroupId"], # required
2451
2543
  # },
2452
2544
  # },
2545
+ # athena_source_config: {
2546
+ # role_arn: "Arn",
2547
+ # database_name: "AthenaDatabaseName",
2548
+ # data_catalog: "AthenaDataCatalog",
2549
+ # table_name: "AthenaTableName",
2550
+ # work_group_name: "AthenaWorkGroupName",
2551
+ # s3_results_path: "AthenaS3ResultsPath",
2552
+ # back_test_configuration: {
2553
+ # run_back_test_mode: false, # required
2554
+ # },
2555
+ # },
2453
2556
  # }
2454
2557
  #
2455
2558
  # @!attribute [rw] s3_source_config
@@ -2458,24 +2561,26 @@ module Aws::LookoutMetrics
2458
2561
  # @return [Types::S3SourceConfig]
2459
2562
  #
2460
2563
  # @!attribute [rw] app_flow_config
2461
- # An object containing information about the AppFlow configuration.
2564
+ # Details about an AppFlow datasource.
2462
2565
  # @return [Types::AppFlowConfig]
2463
2566
  #
2464
2567
  # @!attribute [rw] cloud_watch_config
2465
- # An object containing information about the Amazon CloudWatch
2466
- # monitoring configuration.
2568
+ # Details about an Amazon CloudWatch monitoring datasource.
2467
2569
  # @return [Types::CloudWatchConfig]
2468
2570
  #
2469
2571
  # @!attribute [rw] rds_source_config
2470
- # An object containing information about the Amazon Relational
2471
- # Database Service (RDS) configuration.
2572
+ # Details about an Amazon Relational Database Service (RDS)
2573
+ # datasource.
2472
2574
  # @return [Types::RDSSourceConfig]
2473
2575
  #
2474
2576
  # @!attribute [rw] redshift_source_config
2475
- # An object containing information about the Amazon Redshift database
2476
- # configuration.
2577
+ # Details about an Amazon Redshift database datasource.
2477
2578
  # @return [Types::RedshiftSourceConfig]
2478
2579
  #
2580
+ # @!attribute [rw] athena_source_config
2581
+ # Details about an Amazon Athena datasource.
2582
+ # @return [Types::AthenaSourceConfig]
2583
+ #
2479
2584
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/MetricSource AWS API Documentation
2480
2585
  #
2481
2586
  class MetricSource < Struct.new(
@@ -2483,7 +2588,8 @@ module Aws::LookoutMetrics
2483
2588
  :app_flow_config,
2484
2589
  :cloud_watch_config,
2485
2590
  :rds_source_config,
2486
- :redshift_source_config)
2591
+ :redshift_source_config,
2592
+ :athena_source_config)
2487
2593
  SENSITIVE = []
2488
2594
  include Aws::Structure
2489
2595
  end
@@ -2756,7 +2862,7 @@ module Aws::LookoutMetrics
2756
2862
  # @return [String]
2757
2863
  #
2758
2864
  # @!attribute [rw] sns_format
2759
- # The text format for alerts.
2865
+ # The format of the SNS topic.
2760
2866
  # @return [String]
2761
2867
  #
2762
2868
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/SNSConfiguration AWS API Documentation
@@ -3128,6 +3234,17 @@ module Aws::LookoutMetrics
3128
3234
  # security_group_id_list: ["SecurityGroupId"], # required
3129
3235
  # },
3130
3236
  # },
3237
+ # athena_source_config: {
3238
+ # role_arn: "Arn",
3239
+ # database_name: "AthenaDatabaseName",
3240
+ # data_catalog: "AthenaDataCatalog",
3241
+ # table_name: "AthenaTableName",
3242
+ # work_group_name: "AthenaWorkGroupName",
3243
+ # s3_results_path: "AthenaS3ResultsPath",
3244
+ # back_test_configuration: {
3245
+ # run_back_test_mode: false, # required
3246
+ # },
3247
+ # },
3131
3248
  # },
3132
3249
  # }
3133
3250
  #
@@ -3162,7 +3279,7 @@ module Aws::LookoutMetrics
3162
3279
  # @return [String]
3163
3280
  #
3164
3281
  # @!attribute [rw] metric_source
3165
- # Contains information about source data used to generate a metric.
3282
+ # Contains information about source data used to generate metrics.
3166
3283
  # @return [Types::MetricSource]
3167
3284
  #
3168
3285
  # @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.17.0'
51
+ GEM_VERSION = '1.18.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.17.0
4
+ version: 1.18.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-05-19 00:00:00.000000000 Z
11
+ date: 2022-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core