You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

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)


1453
1454
1455
1456
1457
1458
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1453

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

#nameString

Specify TYPE.

Returns:

  • (String)


1453
1454
1455
1456
1457
1458
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1453

class NamespaceFilter < Struct.new(
  :name,
  :values,
  :condition)
  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>)


1453
1454
1455
1456
1457
1458
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1453

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