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

Class: Aws::SageMaker::Types::NestedFilters

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

Overview

Note:

When passing NestedFilters as input to an Aws::Client method, you can use a vanilla Hash:

{
  nested_property_name: "ResourcePropertyName", # required
  filters: [ # required
    {
      name: "ResourcePropertyName", # required
      operator: "Equals", # accepts Equals, NotEquals, GreaterThan, GreaterThanOrEqualTo, LessThan, LessThanOrEqualTo, Contains
      value: "FilterValue",
    },
  ],
}

Defines a list of NestedFilters objects. To satisfy the conditions specified in the NestedFilters call, a resource must satisfy the conditions of all of the filters.

For example, you could define a NestedFilters using the training job's InputDataConfig property to filter on Channel objects.

A NestedFilters object contains multiple filters. For example, to find all training jobs whose name contains train and that have cat/data in their S3Uri (specified in InputDataConfig), you need to create a NestedFilters object that specifies the InputDataConfig property with the following Filter objects:

  • '{Name:"InputDataConfig.ChannelName", "Operator":"EQUALS", "Value":"train"}',

  • '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"CONTAINS", "Value":"cat/data"}'

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::Filter>

A list of filters. Each filter acts on a property. Filters must contain at least one Filters value. For example, a NestedFilters call might include a filter on the PropertyName parameter of the InputDataConfig property: InputDataConfig.DataSource.S3DataSource.S3Uri.

Returns:

#nested_property_nameString

The name of the property to use in the nested filters. The value must match a listed property name, such as InputDataConfig .

Returns:

  • (String)

    The name of the property to use in the nested filters.