amazonka-athena-2.0: Amazon Athena SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Athena.Types.TableMetadata

Description

 
Synopsis

Documentation

data TableMetadata Source #

Contains metadata for a table.

See: newTableMetadata smart constructor.

Constructors

TableMetadata' 

Fields

Instances

Instances details
FromJSON TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Generic TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Associated Types

type Rep TableMetadata :: Type -> Type #

Read TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Show TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

NFData TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Methods

rnf :: TableMetadata -> () #

Eq TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Hashable TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

type Rep TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

newTableMetadata Source #

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.