| 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.GetColumnStatisticsForTable
Description
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_columnStatisticsList :: Lens' GetColumnStatisticsForTableResponse (Maybe [ColumnStatistics])
- getColumnStatisticsForTableResponse_errors :: Lens' GetColumnStatisticsForTableResponse (Maybe [ColumnError])
- getColumnStatisticsForTableResponse_httpStatus :: Lens' GetColumnStatisticsForTableResponse Int
Creating a Request
data GetColumnStatisticsForTable Source #
See: newGetColumnStatisticsForTable smart constructor.
Constructors
| GetColumnStatisticsForTable' | |
Fields
| |
Instances
newGetColumnStatisticsForTable Source #
Arguments
| :: 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:
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.
GetColumnStatisticsForTable, getColumnStatisticsForTable_databaseName - The name of the catalog database where the partitions reside.
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.
Constructors
| GetColumnStatisticsForTableResponse' | |
Fields
| |
Instances
newGetColumnStatisticsForTableResponse Source #
Arguments
| :: Int | |
| -> GetColumnStatisticsForTableResponse |
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:columnStatisticsList:GetColumnStatisticsForTableResponse', getColumnStatisticsForTableResponse_columnStatisticsList - List of ColumnStatistics that failed to be retrieved.
$sel:errors:GetColumnStatisticsForTableResponse', getColumnStatisticsForTableResponse_errors - List of ColumnStatistics that failed to be retrieved.
$sel:httpStatus:GetColumnStatisticsForTableResponse', getColumnStatisticsForTableResponse_httpStatus - The response's http status code.
Response Lenses
getColumnStatisticsForTableResponse_columnStatisticsList :: Lens' GetColumnStatisticsForTableResponse (Maybe [ColumnStatistics]) Source #
List of ColumnStatistics that failed to be retrieved.
getColumnStatisticsForTableResponse_errors :: Lens' GetColumnStatisticsForTableResponse (Maybe [ColumnError]) Source #
List of ColumnStatistics that failed to be retrieved.
getColumnStatisticsForTableResponse_httpStatus :: Lens' GetColumnStatisticsForTableResponse Int Source #
The response's http status code.