Class: Aws::ApplicationDiscoveryService::Types::Filter

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

Overview

Note:

When making an API call, you may pass Filter data as a hash:

{
  name: "String", # required
  values: ["FilterValue"], # required
  condition: "Condition", # required
}

A filter that can use conditional operators.

For more information about filters, see Querying Discovered Configuration Items in the AWS Application Discovery Service User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.

Returns:

  • (String)


1129
1130
1131
1132
1133
1134
1135
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1129

class Filter < Struct.new(
  :name,
  :values,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the filter.

Returns:

  • (String)


1129
1130
1131
1132
1133
1134
1135
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1129

class Filter < Struct.new(
  :name,
  :values,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

A string value on which to filter. For example, if you choose the destinationServer.osVersion filter name, you could specify Ubuntu for the value.

Returns:

  • (Array<String>)


1129
1130
1131
1132
1133
1134
1135
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1129

class Filter < Struct.new(
  :name,
  :values,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end