libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.Types.TableInput

Description

 
Synopsis

Documentation

data TableInput Source #

A structure used to define a table.

See: newTableInput smart constructor.

Constructors

TableInput' 

Fields

Instances

Instances details
Eq TableInput Source # 
Instance details

Defined in Amazonka.Glue.Types.TableInput

Read TableInput Source # 
Instance details

Defined in Amazonka.Glue.Types.TableInput

Show TableInput Source # 
Instance details

Defined in Amazonka.Glue.Types.TableInput

Generic TableInput Source # 
Instance details

Defined in Amazonka.Glue.Types.TableInput

Associated Types

type Rep TableInput :: Type -> Type #

NFData TableInput Source # 
Instance details

Defined in Amazonka.Glue.Types.TableInput

Methods

rnf :: TableInput -> () #

Hashable TableInput Source # 
Instance details

Defined in Amazonka.Glue.Types.TableInput

ToJSON TableInput Source # 
Instance details

Defined in Amazonka.Glue.Types.TableInput

type Rep TableInput Source # 
Instance details

Defined in Amazonka.Glue.Types.TableInput

type Rep TableInput = D1 ('MetaData "TableInput" "Amazonka.Glue.Types.TableInput" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "TableInput'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "retention") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "targetTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TableIdentifier)) :*: S1 ('MetaSel ('Just "tableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "viewOriginalText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "viewExpandedText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "lastAnalyzedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "storageDescriptor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageDescriptor)) :*: S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "lastAccessTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "partitionKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Column])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newTableInput Source #

Create a value of TableInput 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:retention:TableInput', tableInput_retention - The retention time for this table.

$sel:targetTable:TableInput', tableInput_targetTable - A TableIdentifier structure that describes a target table for resource linking.

$sel:tableType:TableInput', tableInput_tableType - The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).

$sel:owner:TableInput', tableInput_owner - The table owner.

$sel:viewOriginalText:TableInput', tableInput_viewOriginalText - If the table is a view, the original text of the view; otherwise null.

$sel:viewExpandedText:TableInput', tableInput_viewExpandedText - If the table is a view, the expanded text of the view; otherwise null.

$sel:lastAnalyzedTime:TableInput', tableInput_lastAnalyzedTime - The last time that column statistics were computed for this table.

$sel:storageDescriptor:TableInput', tableInput_storageDescriptor - A storage descriptor containing information about the physical storage of this table.

$sel:parameters:TableInput', tableInput_parameters - These key-value pairs define properties associated with the table.

$sel:lastAccessTime:TableInput', tableInput_lastAccessTime - The last time that the table was accessed.

$sel:description:TableInput', tableInput_description - A description of the table.

$sel:partitionKeys:TableInput', tableInput_partitionKeys - A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.

When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you must at least set the value of partitionKeys to an empty list. For example:

"PartitionKeys": []

$sel:name:TableInput', tableInput_name - The table name. For Hive compatibility, this is folded to lowercase when it is stored.

tableInput_retention :: Lens' TableInput (Maybe Natural) Source #

The retention time for this table.

tableInput_targetTable :: Lens' TableInput (Maybe TableIdentifier) Source #

A TableIdentifier structure that describes a target table for resource linking.

tableInput_tableType :: Lens' TableInput (Maybe Text) Source #

The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).

tableInput_viewOriginalText :: Lens' TableInput (Maybe Text) Source #

If the table is a view, the original text of the view; otherwise null.

tableInput_viewExpandedText :: Lens' TableInput (Maybe Text) Source #

If the table is a view, the expanded text of the view; otherwise null.

tableInput_lastAnalyzedTime :: Lens' TableInput (Maybe UTCTime) Source #

The last time that column statistics were computed for this table.

tableInput_storageDescriptor :: Lens' TableInput (Maybe StorageDescriptor) Source #

A storage descriptor containing information about the physical storage of this table.

tableInput_parameters :: Lens' TableInput (Maybe (HashMap Text Text)) Source #

These key-value pairs define properties associated with the table.

tableInput_lastAccessTime :: Lens' TableInput (Maybe UTCTime) Source #

The last time that the table was accessed.

tableInput_description :: Lens' TableInput (Maybe Text) Source #

A description of the table.

tableInput_partitionKeys :: Lens' TableInput (Maybe [Column]) Source #

A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.

When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you must at least set the value of partitionKeys to an empty list. For example:

"PartitionKeys": []

tableInput_name :: Lens' TableInput Text Source #

The table name. For Hive compatibility, this is folded to lowercase when it is stored.