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::RedshiftDataAPIService::Types::ListTablesRequest

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

Overview

Note:

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

{
  cluster_identifier: "Location", # required
  database: "String", # required
  db_user: "String",
  max_results: 1,
  next_token: "String",
  schema_pattern: "String",
  secret_arn: "SecretArn",
  table_pattern: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_identifierString

The cluster identifier. This parameter is required when authenticating using either AWS Secrets Manager or temporary credentials.

Returns:

  • (String)

    The cluster identifier.

#databaseString

The name of the database. This parameter is required when authenticating using temporary credentials.

Returns:

  • (String)

    The name of the database.

#db_userString

The database user name. This parameter is required when authenticating using temporary credentials.

Returns:

  • (String)

    The database user name.

#max_resultsInteger

The maximum number of tables to return in the response. If more tables exist than fit in one response, then NextToken is returned to page through the results.

Returns:

  • (Integer)

    The maximum number of tables to return in the response.

#next_tokenString

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

Returns:

  • (String)

    A value that indicates the starting point for the next set of response records in a subsequent request.

#schema_patternString

A pattern to filter results by schema name. Within a schema pattern, \"%\" means match any substring of 0 or more characters and \"_\" means match any one character. Only schema name entries matching the search pattern are returned. If SchemaPattern is not specified, then all tables that match TablePattern are returned. If neither SchemaPattern or TablePattern are specified, then all tables are returned.

Returns:

  • (String)

    A pattern to filter results by schema name.

#secret_arnString

The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using AWS Secrets Manager.

Returns:

  • (String)

    The name or ARN of the secret that enables access to the database.

#table_patternString

A pattern to filter results by table name. Within a table pattern, \"%\" means match any substring of 0 or more characters and \"_\" means match any one character. Only table name entries matching the search pattern are returned. If TablePattern is not specified, then all tables that match SchemaPatternare returned. If neither SchemaPattern or TablePattern are specified, then all tables are returned.

Returns:

  • (String)

    A pattern to filter results by table name.