| 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.Glue.Types.TableInput
Description
Synopsis
- data TableInput = TableInput' {
- description :: Maybe Text
- lastAccessTime :: Maybe POSIX
- lastAnalyzedTime :: Maybe POSIX
- owner :: Maybe Text
- parameters :: Maybe (HashMap Text Text)
- partitionKeys :: Maybe [Column]
- retention :: Maybe Natural
- storageDescriptor :: Maybe StorageDescriptor
- tableType :: Maybe Text
- targetTable :: Maybe TableIdentifier
- viewExpandedText :: Maybe Text
- viewOriginalText :: Maybe Text
- name :: Text
- newTableInput :: Text -> TableInput
- tableInput_description :: Lens' TableInput (Maybe Text)
- tableInput_lastAccessTime :: Lens' TableInput (Maybe UTCTime)
- tableInput_lastAnalyzedTime :: Lens' TableInput (Maybe UTCTime)
- tableInput_owner :: Lens' TableInput (Maybe Text)
- tableInput_parameters :: Lens' TableInput (Maybe (HashMap Text Text))
- tableInput_partitionKeys :: Lens' TableInput (Maybe [Column])
- tableInput_retention :: Lens' TableInput (Maybe Natural)
- tableInput_storageDescriptor :: Lens' TableInput (Maybe StorageDescriptor)
- tableInput_tableType :: Lens' TableInput (Maybe Text)
- tableInput_targetTable :: Lens' TableInput (Maybe TableIdentifier)
- tableInput_viewExpandedText :: Lens' TableInput (Maybe Text)
- tableInput_viewOriginalText :: Lens' TableInput (Maybe Text)
- tableInput_name :: Lens' TableInput Text
Documentation
data TableInput Source #
A structure used to define a table.
See: newTableInput smart constructor.
Constructors
| TableInput' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> TableInput |
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:description:TableInput', tableInput_description - A description of the table.
$sel:lastAccessTime:TableInput', tableInput_lastAccessTime - The last time that the table was accessed.
$sel:lastAnalyzedTime:TableInput', tableInput_lastAnalyzedTime - The last time that column statistics were computed for this table.
$sel:owner:TableInput', tableInput_owner - The table owner.
TableInput, tableInput_parameters - These key-value pairs define properties associated with 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:retention:TableInput', tableInput_retention - The retention time for this table.
$sel:storageDescriptor:TableInput', tableInput_storageDescriptor - A storage descriptor containing information about the physical storage
of this table.
$sel:tableType:TableInput', tableInput_tableType - The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
$sel:targetTable:TableInput', tableInput_targetTable - A TableIdentifier structure that describes a target table for resource
linking.
$sel:viewExpandedText:TableInput', tableInput_viewExpandedText - If the table is a view, the expanded text of the view; otherwise null.
$sel:viewOriginalText:TableInput', tableInput_viewOriginalText - If the table is a view, the original text of the view; otherwise null.
TableInput, tableInput_name - The table name. For Hive compatibility, this is folded to lowercase when
it is stored.
tableInput_description :: Lens' TableInput (Maybe Text) Source #
A description of the table.
tableInput_lastAccessTime :: Lens' TableInput (Maybe UTCTime) Source #
The last time that the table was accessed.
tableInput_lastAnalyzedTime :: Lens' TableInput (Maybe UTCTime) Source #
The last time that column statistics were computed for this table.
tableInput_owner :: Lens' TableInput (Maybe Text) Source #
The table owner.
tableInput_parameters :: Lens' TableInput (Maybe (HashMap Text Text)) Source #
These key-value pairs define properties associated with 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_retention :: Lens' TableInput (Maybe Natural) Source #
The retention time for this table.
tableInput_storageDescriptor :: Lens' TableInput (Maybe StorageDescriptor) Source #
A storage descriptor containing information about the physical storage of this table.
tableInput_tableType :: Lens' TableInput (Maybe Text) Source #
The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).
tableInput_targetTable :: Lens' TableInput (Maybe TableIdentifier) Source #
A TableIdentifier structure that describes a target table for resource
linking.
tableInput_viewExpandedText :: Lens' TableInput (Maybe Text) Source #
If the table is a view, the expanded text of the view; otherwise null.
tableInput_viewOriginalText :: Lens' TableInput (Maybe Text) Source #
If the table is a view, the original text of the view; otherwise null.
tableInput_name :: Lens' TableInput Text Source #
The table name. For Hive compatibility, this is folded to lowercase when it is stored.