AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::ServiceDiscovery::Types::ServiceFilter

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ServiceFilter as input to an Aws::Client method, you can use a vanilla 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.

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

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 specify EQ, specify one namespace ID for Values. EQ is the default condition and can be omitted.

  • IN: When you specify IN, specify a list of the IDs for the namespaces that you want ListServices to return a list of services for.

  • BETWEEN: Not applicable.

    Possible values:

    • EQ
    • IN
    • BETWEEN

Returns:

  • (String)

    The operator that you want to use to determine whether a service is returned by ListServices.

#nameString

Specify NAMESPACE_ID.

Possible values:

  • NAMESPACE_ID

Returns:

  • (String)

    Specify NAMESPACE_ID.

#valuesArray<String>

The values that are applicable to the value that you specify for Condition to filter the list of services.

Returns:

  • (Array<String>)

    The values that are applicable to the value that you specify for Condition to filter the list of services.