You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ServiceDiscovery::Types::NamespaceFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::NamespaceFilter
- Defined in:
- (unknown)
Overview
When passing NamespaceFilter as input to an Aws::Client method, you can use a vanilla 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.
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
forCondition
, specify eitherDNS_PUBLIC
orDNS_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 specifyEQ
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 specifyIN
for the condition, you can choose to list public namespaces, private namespaces, or both.BETWEEN
: Not applicablePossible values:
- EQ
- IN
- BETWEEN
#name ⇒ String
Specify TYPE
.
Possible values:
- TYPE
#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.