Class: Aws::ServiceDiscovery::Types::NamespaceFilter

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

Overview

Note:

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

Instance Attribute Details

#conditionString

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

Returns:

  • (String)


2060
2061
2062
2063
2064
2065
2066
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2060

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

#nameString

Specify TYPE.

Returns:

  • (String)


2060
2061
2062
2063
2064
2065
2066
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2060

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

#valuesArray<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.

Returns:

  • (Array<String>)


2060
2061
2062
2063
2064
2065
2066
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2060

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