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 TableInput = TableInput' {
- retention :: Maybe Natural
- targetTable :: Maybe TableIdentifier
- tableType :: Maybe Text
- owner :: Maybe Text
- viewOriginalText :: Maybe Text
- viewExpandedText :: Maybe Text
- lastAnalyzedTime :: Maybe POSIX
- storageDescriptor :: Maybe StorageDescriptor
- parameters :: Maybe (HashMap Text Text)
- lastAccessTime :: Maybe POSIX
- description :: Maybe Text
- partitionKeys :: Maybe [Column]
- name :: Text
- newTableInput :: Text -> TableInput
- tableInput_retention :: Lens' TableInput (Maybe Natural)
- tableInput_targetTable :: Lens' TableInput (Maybe TableIdentifier)
- tableInput_tableType :: Lens' TableInput (Maybe Text)
- tableInput_owner :: Lens' TableInput (Maybe Text)
- tableInput_viewOriginalText :: Lens' TableInput (Maybe Text)
- tableInput_viewExpandedText :: Lens' TableInput (Maybe Text)
- tableInput_lastAnalyzedTime :: Lens' TableInput (Maybe UTCTime)
- tableInput_storageDescriptor :: Lens' TableInput (Maybe StorageDescriptor)
- tableInput_parameters :: Lens' TableInput (Maybe (HashMap Text Text))
- tableInput_lastAccessTime :: Lens' TableInput (Maybe UTCTime)
- tableInput_description :: Lens' TableInput (Maybe Text)
- tableInput_partitionKeys :: Lens' TableInput (Maybe [Column])
- tableInput_name :: Lens' TableInput Text
Documentation
data TableInput Source #
A structure used to define a table.
See: newTableInput
smart constructor.
TableInput' | |
|
Instances
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_owner :: Lens' TableInput (Maybe Text) Source #
The table owner.
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.