NAME

Paws::Glue::SearchTables - Arguments for method SearchTables on Paws::Glue

DESCRIPTION

This class represents the parameters used for calling the method SearchTables on the AWS Glue service. Use the attributes of this class as arguments to method SearchTables.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchTables.

SYNOPSIS

my $glue = Paws->service('Glue');
my $SearchTablesResponse = $glue->SearchTables(
  CatalogId => 'MyCatalogIdString',    # OPTIONAL
  Filters   => [
    {
      Comparator => 'EQUALS'
      , # values: EQUALS, GREATER_THAN, LESS_THAN, GREATER_THAN_EQUALS, LESS_THAN_EQUALS; OPTIONAL
      Key   => 'MyValueString',    # max: 1024; OPTIONAL
      Value => 'MyValueString',    # max: 1024; OPTIONAL
    },
    ...
  ],    # OPTIONAL
  MaxResults        => 1,                  # OPTIONAL
  NextToken         => 'MyToken',          # OPTIONAL
  ResourceShareType => 'FOREIGN',          # OPTIONAL
  SearchText        => 'MyValueString',    # OPTIONAL
  SortCriteria      => [
    {
      FieldName => 'MyValueString',    # max: 1024; OPTIONAL
      Sort      => 'ASC',              # values: ASC, DESC; OPTIONAL
    },
    ...
  ],    # OPTIONAL
);

# Results:
my $NextToken = $SearchTablesResponse->NextToken;
my $TableList = $SearchTablesResponse->TableList;

# Returns a L<Paws::Glue::SearchTablesResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/glue/SearchTables

ATTRIBUTES

CatalogId => Str

A unique identifier, consisting of account_id .

Filters => ArrayRef[Paws::Glue::PropertyPredicate]

A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate.

The Comparator member of the PropertyPredicate struct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as when Key=Name, a fuzzy match algorithm is used. The Key field (for example, the value of the Name field) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with the Value member of PropertyPredicate. For example, if Key=Name and Value=link, tables named customer-link and xx-link-yy are returned, but xxlinkyy is not returned.

MaxResults => Int

The maximum number of tables to return in a single response.

NextToken => Str

A continuation token, included if this is a continuation call.

ResourceShareType => Str

Allows you to specify that you want to search the tables shared with your account. The allowable values are FOREIGN or ALL.

  • If set to FOREIGN, will search the tables shared with your account.

  • If set to ALL, will search the tables shared with your account, as well as the tables in yor local account.

Valid values are: "FOREIGN", "ALL"

SearchText => Str

A string used for a text search.

Specifying a value in quotes filters based on an exact match to the value.

SortCriteria => ArrayRef[Paws::Glue::SortCriterion]

A list of criteria for sorting the results by a field name, in an ascending or descending order.

SEE ALSO

This class forms part of Paws, documenting arguments for method SearchTables in Paws::Glue

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues