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 |
Retrieves table statistics of columns.
The Identity and Access Management (IAM) permission required for this
operation is GetTable
.
Synopsis
- data GetColumnStatisticsForTable = GetColumnStatisticsForTable' {
- catalogId :: Maybe Text
- databaseName :: Text
- tableName :: Text
- columnNames :: [Text]
- newGetColumnStatisticsForTable :: Text -> Text -> GetColumnStatisticsForTable
- getColumnStatisticsForTable_catalogId :: Lens' GetColumnStatisticsForTable (Maybe Text)
- getColumnStatisticsForTable_databaseName :: Lens' GetColumnStatisticsForTable Text
- getColumnStatisticsForTable_tableName :: Lens' GetColumnStatisticsForTable Text
- getColumnStatisticsForTable_columnNames :: Lens' GetColumnStatisticsForTable [Text]
- data GetColumnStatisticsForTableResponse = GetColumnStatisticsForTableResponse' {}
- newGetColumnStatisticsForTableResponse :: Int -> GetColumnStatisticsForTableResponse
- getColumnStatisticsForTableResponse_errors :: Lens' GetColumnStatisticsForTableResponse (Maybe [ColumnError])
- getColumnStatisticsForTableResponse_columnStatisticsList :: Lens' GetColumnStatisticsForTableResponse (Maybe [ColumnStatistics])
- getColumnStatisticsForTableResponse_httpStatus :: Lens' GetColumnStatisticsForTableResponse Int
Creating a Request
data GetColumnStatisticsForTable Source #
See: newGetColumnStatisticsForTable
smart constructor.
GetColumnStatisticsForTable' | |
|
Instances
newGetColumnStatisticsForTable Source #
:: Text | |
-> Text | |
-> GetColumnStatisticsForTable |
Create a value of GetColumnStatisticsForTable
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:catalogId:GetColumnStatisticsForTable'
, getColumnStatisticsForTable_catalogId
- The ID of the Data Catalog where the partitions in question reside. If
none is supplied, the Amazon Web Services account ID is used by default.
$sel:databaseName:GetColumnStatisticsForTable'
, getColumnStatisticsForTable_databaseName
- The name of the catalog database where the partitions reside.
$sel:tableName:GetColumnStatisticsForTable'
, getColumnStatisticsForTable_tableName
- The name of the partitions' table.
$sel:columnNames:GetColumnStatisticsForTable'
, getColumnStatisticsForTable_columnNames
- A list of the column names.
Request Lenses
getColumnStatisticsForTable_catalogId :: Lens' GetColumnStatisticsForTable (Maybe Text) Source #
The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.
getColumnStatisticsForTable_databaseName :: Lens' GetColumnStatisticsForTable Text Source #
The name of the catalog database where the partitions reside.
getColumnStatisticsForTable_tableName :: Lens' GetColumnStatisticsForTable Text Source #
The name of the partitions' table.
getColumnStatisticsForTable_columnNames :: Lens' GetColumnStatisticsForTable [Text] Source #
A list of the column names.
Destructuring the Response
data GetColumnStatisticsForTableResponse Source #
See: newGetColumnStatisticsForTableResponse
smart constructor.
GetColumnStatisticsForTableResponse' | |
|
Instances
newGetColumnStatisticsForTableResponse Source #
Create a value of GetColumnStatisticsForTableResponse
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:errors:GetColumnStatisticsForTableResponse'
, getColumnStatisticsForTableResponse_errors
- List of ColumnStatistics that failed to be retrieved.
$sel:columnStatisticsList:GetColumnStatisticsForTableResponse'
, getColumnStatisticsForTableResponse_columnStatisticsList
- List of ColumnStatistics that failed to be retrieved.
$sel:httpStatus:GetColumnStatisticsForTableResponse'
, getColumnStatisticsForTableResponse_httpStatus
- The response's http status code.
Response Lenses
getColumnStatisticsForTableResponse_errors :: Lens' GetColumnStatisticsForTableResponse (Maybe [ColumnError]) Source #
List of ColumnStatistics that failed to be retrieved.
getColumnStatisticsForTableResponse_columnStatisticsList :: Lens' GetColumnStatisticsForTableResponse (Maybe [ColumnStatistics]) Source #
List of ColumnStatistics that failed to be retrieved.
getColumnStatisticsForTableResponse_httpStatus :: Lens' GetColumnStatisticsForTableResponse Int Source #
The response's http status code.