Class: Aws::ServiceDiscovery::Types::NamespaceFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::NamespaceFilter
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicediscovery/types.rb
Overview
When making an API call, you may pass NamespaceFilter data as a hash:
{
name: "TYPE", # required, accepts TYPE
values: ["FilterValue"], # required
condition: "EQ", # accepts EQ, IN, BETWEEN
}
A complex type that identifies the namespaces that you want to list. You can choose to list public or private namespaces.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#condition ⇒ String
The operator that you want to use to determine whether ‘ListNamespaces` returns a namespace.
-
#name ⇒ String
Specify ‘TYPE`.
-
#values ⇒ Array<String>
If you specify ‘EQ` for `Condition`, specify either `DNS_PUBLIC` or `DNS_PRIVATE`.
Instance Attribute Details
#condition ⇒ String
The operator that you want to use to determine whether ‘ListNamespaces` returns a namespace. Valid values for `condition` include:
EQ
: When you specify ‘EQ` for the condition, you can choose to list
only public namespaces or private namespaces, but not both. `EQ`
is the default condition and can be omitted.
IN
: When you specify ‘IN` for the condition, you can choose to list
public namespaces, private namespaces, or both.
BETWEEN
: Not applicable
2148 2149 2150 2151 2152 2153 2154 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2148 class NamespaceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
Specify ‘TYPE`.
2148 2149 2150 2151 2152 2153 2154 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2148 class NamespaceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<String>
If you specify ‘EQ` for `Condition`, specify either `DNS_PUBLIC` or `DNS_PRIVATE`.
If you specify ‘IN` for `Condition`, you can specify `DNS_PUBLIC`, `DNS_PRIVATE`, or both.
2148 2149 2150 2151 2152 2153 2154 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2148 class NamespaceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |