lib/aws-sdk-lookoutmetrics/client.rb in aws-sdk-lookoutmetrics-1.21.0 vs lib/aws-sdk-lookoutmetrics/client.rb in aws-sdk-lookoutmetrics-1.22.0
- old
+ new
@@ -565,10 +565,14 @@
#
#
#
# [1]: https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html
#
+ # @option params [Array<Types::MetricSetDimensionFilter>] :dimension_filter_list
+ # A list of filters that specify which data is kept for anomaly
+ # detection.
+ #
# @return [Types::CreateMetricSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateMetricSetResponse#metric_set_arn #metric_set_arn} => String
#
# @example Request syntax with placeholder values
@@ -661,10 +665,21 @@
# },
# timezone: "Timezone",
# tags: {
# "TagKey" => "TagValue",
# },
+ # dimension_filter_list: [
+ # {
+ # name: "ColumnName",
+ # filter_list: [
+ # {
+ # dimension_value: "DimensionValue",
+ # filter_operation: "EQUALS", # accepts EQUALS
+ # },
+ # ],
+ # },
+ # ],
# })
#
# @example Response structure
#
# resp.metric_set_arn #=> String
@@ -921,10 +936,11 @@
# * {Types::DescribeMetricSetResponse#timestamp_column #timestamp_column} => Types::TimestampColumn
# * {Types::DescribeMetricSetResponse#dimension_list #dimension_list} => Array<String>
# * {Types::DescribeMetricSetResponse#metric_set_frequency #metric_set_frequency} => String
# * {Types::DescribeMetricSetResponse#timezone #timezone} => String
# * {Types::DescribeMetricSetResponse#metric_source #metric_source} => Types::MetricSource
+ # * {Types::DescribeMetricSetResponse#dimension_filter_list #dimension_filter_list} => Array<Types::MetricSetDimensionFilter>
#
# @example Request syntax with placeholder values
#
# resp = client.describe_metric_set({
# metric_set_arn: "Arn", # required
@@ -994,10 +1010,15 @@
# resp.metric_source.athena_source_config.data_catalog #=> String
# resp.metric_source.athena_source_config.table_name #=> String
# resp.metric_source.athena_source_config.work_group_name #=> String
# resp.metric_source.athena_source_config.s3_results_path #=> String
# resp.metric_source.athena_source_config.back_test_configuration.run_back_test_mode #=> Boolean
+ # resp.dimension_filter_list #=> Array
+ # resp.dimension_filter_list[0].name #=> String
+ # resp.dimension_filter_list[0].filter_list #=> Array
+ # resp.dimension_filter_list[0].filter_list[0].dimension_value #=> String
+ # resp.dimension_filter_list[0].filter_list[0].filter_operation #=> String, one of "EQUALS"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeMetricSet AWS API Documentation
#
# @overload describe_metric_set(params = {})
# @param [Hash] params ({})
@@ -1854,10 +1875,17 @@
# The dataset's interval.
#
# @option params [Types::MetricSource] :metric_source
# Contains information about source data used to generate metrics.
#
+ # @option params [Array<Types::MetricSetDimensionFilter>] :dimension_filter_list
+ # Describes a list of filters for choosing specific dimensions and
+ # specific values. Each filter consists of the dimension and one of its
+ # values that you want to include. When multiple dimensions or values
+ # are specified, the dimensions are joined with an AND operation and the
+ # values are joined with an OR operation.
+ #
# @return [Types::UpdateMetricSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateMetricSetResponse#metric_set_arn #metric_set_arn} => String
#
# @example Request syntax with placeholder values
@@ -1945,10 +1973,21 @@
# back_test_configuration: {
# run_back_test_mode: false, # required
# },
# },
# },
+ # dimension_filter_list: [
+ # {
+ # name: "ColumnName",
+ # filter_list: [
+ # {
+ # dimension_value: "DimensionValue",
+ # filter_operation: "EQUALS", # accepts EQUALS
+ # },
+ # ],
+ # },
+ # ],
# })
#
# @example Response structure
#
# resp.metric_set_arn #=> String
@@ -1973,10 +2012,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-lookoutmetrics'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated