Class: Aws::InternetMonitor::Types::FilterParameter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/types.rb

Overview

A filter that you use with the results of a Amazon CloudWatch Internet Monitor query that you created and ran. The query sets up a repository of data that is a subset of your application's Internet Monitor data. FilterParameter is a string that defines how you want to filter the repository of data to return a set of results, based on your criteria.

The filter parameters that you can specify depend on the query type that you used to create the repository, since each query type returns a different set of Internet Monitor data.

For each filter, you specify a field (such as city), an operator (such as not_equals, and a value or array of values (such as ["Seattle", "Redmond"]). Separate values in the array with commas.

For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fieldString

A data field that you want to filter, to further scope your application's Internet Monitor data in a repository that you created by running a query. A field might be city, for example. The field must be one of the fields that was returned by the specific query that you used to create the repository.

Returns:

  • (String)


382
383
384
385
386
387
388
# File 'gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/types.rb', line 382

class FilterParameter < Struct.new(
  :field,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The operator to use with the filter field and a value, such as not_equals.

Returns:

  • (String)


382
383
384
385
386
387
388
# File 'gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/types.rb', line 382

class FilterParameter < Struct.new(
  :field,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

One or more values to be used, together with the specified operator, to filter data for a query. For example, you could specify an array of values such as ["Seattle", "Redmond"]. Values in the array are separated by commas.

Returns:

  • (Array<String>)


382
383
384
385
386
387
388
# File 'gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/types.rb', line 382

class FilterParameter < Struct.new(
  :field,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end