| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Athena.Types.TableMetadata
Description
Synopsis
- data TableMetadata = TableMetadata' {}
- newTableMetadata :: Text -> TableMetadata
- tableMetadata_columns :: Lens' TableMetadata (Maybe [Column])
- tableMetadata_createTime :: Lens' TableMetadata (Maybe UTCTime)
- tableMetadata_lastAccessTime :: Lens' TableMetadata (Maybe UTCTime)
- tableMetadata_parameters :: Lens' TableMetadata (Maybe (HashMap Text Text))
- tableMetadata_partitionKeys :: Lens' TableMetadata (Maybe [Column])
- tableMetadata_tableType :: Lens' TableMetadata (Maybe Text)
- tableMetadata_name :: Lens' TableMetadata Text
Documentation
data TableMetadata Source #
Contains metadata for a table.
See: newTableMetadata smart constructor.
Constructors
| TableMetadata' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> TableMetadata |
Create a value of TableMetadata with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:columns:TableMetadata', tableMetadata_columns - A list of the columns in the table.
$sel:createTime:TableMetadata', tableMetadata_createTime - The time that the table was created.
$sel:lastAccessTime:TableMetadata', tableMetadata_lastAccessTime - The last time the table was accessed.
$sel:parameters:TableMetadata', tableMetadata_parameters - A set of custom key/value pairs for table properties.
$sel:partitionKeys:TableMetadata', tableMetadata_partitionKeys - A list of the partition keys in the table.
$sel:tableType:TableMetadata', tableMetadata_tableType - The type of table. In Athena, only EXTERNAL_TABLE is supported.
TableMetadata, tableMetadata_name - The name of the table.
tableMetadata_columns :: Lens' TableMetadata (Maybe [Column]) Source #
A list of the columns in the table.
tableMetadata_createTime :: Lens' TableMetadata (Maybe UTCTime) Source #
The time that the table was created.
tableMetadata_lastAccessTime :: Lens' TableMetadata (Maybe UTCTime) Source #
The last time the table was accessed.
tableMetadata_parameters :: Lens' TableMetadata (Maybe (HashMap Text Text)) Source #
A set of custom key/value pairs for table properties.
tableMetadata_partitionKeys :: Lens' TableMetadata (Maybe [Column]) Source #
A list of the partition keys in the table.
tableMetadata_tableType :: Lens' TableMetadata (Maybe Text) Source #
The type of table. In Athena, only EXTERNAL_TABLE is supported.
tableMetadata_name :: Lens' TableMetadata Text Source #
The name of the table.