Class: Aws::ApplicationDiscoveryService::Types::Filter
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationDiscoveryService::Types::Filter
- Defined in:
- gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb
Overview
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
-
#condition ⇒ String
A conditional operator.
-
#name ⇒ String
The name of the filter.
-
#values ⇒ Array<String>
A string value on which to filter.
Instance Attribute Details
#condition ⇒ String
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.
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 |
#name ⇒ String
The name of the filter.
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 |
#values ⇒ Array<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.
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 |