aws.athena.get_database
Example SQL Queries
SELECT * FROMaws.athena.get_databaseWHERE"catalog_name" = 'VALUE'AND "database_name" = 'VALUE';Description
Returns a database object for the specified database and data catalog.
Table Definition
| Column Name | Column Data Type |
|---|---|
| catalog_name Required Input Column The name of the data catalog that contains the database to return. | VARCHAR |
| database_name Required Input Column The name of the database to return. | VARCHAR |
| work_group Input Column The name of the workgroup for which the metadata is being fetched. Required if requesting an IAM Identity Center enabled Glue Data Catalog. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| database The database returned. | STRUCT( |
Show child fields
| |