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

Class: Aws::Glue::Types::GetTablesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass GetTablesRequest data as a hash:

{
  catalog_id: "CatalogIdString",
  database_name: "NameString", # required
  expression: "FilterString",
  next_token: "Token",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.

Returns:

  • (String)


3324
3325
3326
3327
3328
3329
3330
3331
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3324

class GetTablesRequest < Struct.new(
  :catalog_id,
  :database_name,
  :expression,
  :next_token,
  :max_results)
  include Aws::Structure
end

#database_nameString

The database in the catalog whose tables to list.

Returns:

  • (String)


3324
3325
3326
3327
3328
3329
3330
3331
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3324

class GetTablesRequest < Struct.new(
  :catalog_id,
  :database_name,
  :expression,
  :next_token,
  :max_results)
  include Aws::Structure
end

#expressionString

A regular expression pattern. If present, only those tables whose names match the pattern are returned.

Returns:

  • (String)


3324
3325
3326
3327
3328
3329
3330
3331
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3324

class GetTablesRequest < Struct.new(
  :catalog_id,
  :database_name,
  :expression,
  :next_token,
  :max_results)
  include Aws::Structure
end

#max_resultsInteger

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

Returns:

  • (Integer)


3324
3325
3326
3327
3328
3329
3330
3331
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3324

class GetTablesRequest < Struct.new(
  :catalog_id,
  :database_name,
  :expression,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


3324
3325
3326
3327
3328
3329
3330
3331
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3324

class GetTablesRequest < Struct.new(
  :catalog_id,
  :database_name,
  :expression,
  :next_token,
  :max_results)
  include Aws::Structure
end