Module Smaws_Client_RedshiftData.ListTables

and Deserialization

List the tables in a database. If neither SchemaPattern nor TablePattern are specified, then all tables in the database are returned. A token is returned to page through the table list. Depending on the authorization method, use one of the following combinations of request parameters:

For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `DatabaseConnectionException of Types.database_connection_exception | `InternalServerException of Types.internal_server_exception | `QueryTimeoutException of Types.query_timeout_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.list_tables_request -> (Types.list_tables_response, [> Smaws_Lib.Protocols.AwsJson.error | `DatabaseConnectionException of Types.database_connection_exception | `InternalServerException of Types.internal_server_exception | `QueryTimeoutException of Types.query_timeout_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ValidationException of Types.validation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.list_tables_request -> (Types.list_tables_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `DatabaseConnectionException of Types.database_connection_exception | `InternalServerException of Types.internal_server_exception | `QueryTimeoutException of Types.query_timeout_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ValidationException of Types.validation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result