libZSservicesZSamazonka-athenaZSamazonka-athena
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Read TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Show 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 #

NFData TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

Methods

rnf :: TableMetadata -> () #

Hashable TableMetadata Source # 
Instance details

Defined in Amazonka.Athena.Types.TableMetadata

FromJSON 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: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.