Class: Aws::ServiceDiscovery::Types::ServiceFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::ServiceFilter
- Defined in:
- gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb
Overview
When making an API call, you may pass ServiceFilter data as a hash:
{
name: "NAMESPACE_ID", # required, accepts NAMESPACE_ID
values: ["FilterValue"], # required
condition: "EQ", # accepts EQ, IN, BETWEEN
}
A complex type that lets you specify the namespaces that you want to list services for.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#condition ⇒ String
The operator that you want to use to determine whether a service is returned by
ListServices
. -
#name ⇒ String
Specify
NAMESPACE_ID
. -
#values ⇒ Array<String>
The values that are applicable to the value that you specify for
Condition
to filter the list of services.
Instance Attribute Details
#condition ⇒ String
The operator that you want to use to determine whether a service is
returned by ListServices
. Valid values for Condition
include the
following:
EQ
: When you specifyEQ
, specify one namespace ID forValues
.EQ
is the default condition and can be omitted.IN
: When you specifyIN
, specify a list of the IDs for the namespaces that you wantListServices
to return a list of services for.BETWEEN
: Not applicable.
3317 3318 3319 3320 3321 3322 3323 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3317 class ServiceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
Specify NAMESPACE_ID
.
3317 3318 3319 3320 3321 3322 3323 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3317 class ServiceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<String>
The values that are applicable to the value that you specify for
Condition
to filter the list of services.
3317 3318 3319 3320 3321 3322 3323 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3317 class ServiceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |