Skip to content

Searches for assets in Glue Data Catalog using full-text search, filters, sorting, and aggregations

Description

Searches for assets in Glue Data Catalog using full-text search, filters, sorting, and aggregations. Returns matching assets with relevance-ranked results.

Usage

glue_search_assets(SearchText, MaxResults, NextToken, Sort,
  FilterClause)

Arguments

  • SearchText

The text to search for. At least one of searchText or filterClause must be provided.

  • MaxResults

The maximum number of results to return in the response.

  • NextToken

A continuation token, if this is a continuation call.

  • Sort

The sort criteria for the search results.

  • FilterClause

The filter clause to apply to the search. Supports nested AND/OR logic with attribute-level and map-level filters.

Value

A list with the following syntax:

list(
  Items = list(
    list(
      Id = "string",
      AssetName = "string",
      AssetDescription = "string",
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      ),
      AssetTypeId = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$search_assets(
  SearchText = "string",
  MaxResults = 123,
  NextToken = "string",
  Sort = list(
    Attribute = "string",
    Order = "ASCENDING"|"DESCENDING"
  ),
  FilterClause = list(
    AndAllFilters = list(
      list()
    ),
    OrAnyFilters = list(
      list()
    ),
    AttributeFilter = list(
      Attribute = "string",
      Operator = "equals"|"greaterThan"|"greaterThanOrEquals"|"lessThan"|"lessThanOrEquals"|"notExists",
      Value = list(
        StringValue = "string",
        LongValue = 123
      )
    ),
    MapFilter = list(
      Attribute = "string",
      Key = "string",
      Value = list(
        StringValue = "string"
      )
    )
  )
)