Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TableMetadata = TableMetadata' {}
- newTableMetadata :: Text -> TableMetadata
- tableMetadata_tableType :: Lens' TableMetadata (Maybe Text)
- tableMetadata_parameters :: Lens' TableMetadata (Maybe (HashMap Text Text))
- tableMetadata_columns :: Lens' TableMetadata (Maybe [Column])
- tableMetadata_lastAccessTime :: Lens' TableMetadata (Maybe UTCTime)
- tableMetadata_partitionKeys :: Lens' TableMetadata (Maybe [Column])
- tableMetadata_createTime :: Lens' TableMetadata (Maybe UTCTime)
- tableMetadata_name :: Lens' TableMetadata Text
Documentation
data TableMetadata Source #
Contains metadata for a table.
See: newTableMetadata
smart constructor.
TableMetadata' | |
|
Instances
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:tableType:TableMetadata'
, tableMetadata_tableType
- The type of table. In Athena, only EXTERNAL_TABLE
is supported.
$sel:parameters:TableMetadata'
, tableMetadata_parameters
- A set of custom key/value pairs for table properties.
$sel:columns:TableMetadata'
, tableMetadata_columns
- A list of the columns in the table.
$sel:lastAccessTime:TableMetadata'
, tableMetadata_lastAccessTime
- The last time the table was accessed.
$sel:partitionKeys:TableMetadata'
, tableMetadata_partitionKeys
- A list of the partition keys in the table.
$sel:createTime:TableMetadata'
, tableMetadata_createTime
- The time that the table was created.
$sel:name:TableMetadata'
, tableMetadata_name
- The name of the table.
tableMetadata_tableType :: Lens' TableMetadata (Maybe Text) Source #
The type of table. In Athena, only EXTERNAL_TABLE
is supported.
tableMetadata_parameters :: Lens' TableMetadata (Maybe (HashMap Text Text)) Source #
A set of custom key/value pairs for table properties.
tableMetadata_columns :: Lens' TableMetadata (Maybe [Column]) Source #
A list of the columns in the table.
tableMetadata_lastAccessTime :: Lens' TableMetadata (Maybe UTCTime) Source #
The last time the table was accessed.
tableMetadata_partitionKeys :: Lens' TableMetadata (Maybe [Column]) Source #
A list of the partition keys in the table.
tableMetadata_createTime :: Lens' TableMetadata (Maybe UTCTime) Source #
The time that the table was created.
tableMetadata_name :: Lens' TableMetadata Text Source #
The name of the table.