| 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.UpdateColumnStatisticsForTable
Description
Creates or updates table statistics of columns.
The Identity and Access Management (IAM) permission required for this
operation is UpdateTable.
Synopsis
- data UpdateColumnStatisticsForTable = UpdateColumnStatisticsForTable' {}
- newUpdateColumnStatisticsForTable :: Text -> Text -> UpdateColumnStatisticsForTable
- updateColumnStatisticsForTable_catalogId :: Lens' UpdateColumnStatisticsForTable (Maybe Text)
- updateColumnStatisticsForTable_databaseName :: Lens' UpdateColumnStatisticsForTable Text
- updateColumnStatisticsForTable_tableName :: Lens' UpdateColumnStatisticsForTable Text
- updateColumnStatisticsForTable_columnStatisticsList :: Lens' UpdateColumnStatisticsForTable [ColumnStatistics]
- data UpdateColumnStatisticsForTableResponse = UpdateColumnStatisticsForTableResponse' {}
- newUpdateColumnStatisticsForTableResponse :: Int -> UpdateColumnStatisticsForTableResponse
- updateColumnStatisticsForTableResponse_errors :: Lens' UpdateColumnStatisticsForTableResponse (Maybe [ColumnStatisticsError])
- updateColumnStatisticsForTableResponse_httpStatus :: Lens' UpdateColumnStatisticsForTableResponse Int
Creating a Request
data UpdateColumnStatisticsForTable Source #
See: newUpdateColumnStatisticsForTable smart constructor.
Constructors
| UpdateColumnStatisticsForTable' | |
Fields
| |
Instances
newUpdateColumnStatisticsForTable Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateColumnStatisticsForTable |
Create a value of UpdateColumnStatisticsForTable 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:
UpdateColumnStatisticsForTable, updateColumnStatisticsForTable_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.
UpdateColumnStatisticsForTable, updateColumnStatisticsForTable_databaseName - The name of the catalog database where the partitions reside.
UpdateColumnStatisticsForTable, updateColumnStatisticsForTable_tableName - The name of the partitions' table.
$sel:columnStatisticsList:UpdateColumnStatisticsForTable', updateColumnStatisticsForTable_columnStatisticsList - A list of the column statistics.
Request Lenses
updateColumnStatisticsForTable_catalogId :: Lens' UpdateColumnStatisticsForTable (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.
updateColumnStatisticsForTable_databaseName :: Lens' UpdateColumnStatisticsForTable Text Source #
The name of the catalog database where the partitions reside.
updateColumnStatisticsForTable_tableName :: Lens' UpdateColumnStatisticsForTable Text Source #
The name of the partitions' table.
updateColumnStatisticsForTable_columnStatisticsList :: Lens' UpdateColumnStatisticsForTable [ColumnStatistics] Source #
A list of the column statistics.
Destructuring the Response
data UpdateColumnStatisticsForTableResponse Source #
See: newUpdateColumnStatisticsForTableResponse smart constructor.
Constructors
| UpdateColumnStatisticsForTableResponse' | |
Fields
| |
Instances
newUpdateColumnStatisticsForTableResponse Source #
Arguments
| :: Int | |
| -> UpdateColumnStatisticsForTableResponse |
Create a value of UpdateColumnStatisticsForTableResponse 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:UpdateColumnStatisticsForTableResponse', updateColumnStatisticsForTableResponse_errors - List of ColumnStatisticsErrors.
$sel:httpStatus:UpdateColumnStatisticsForTableResponse', updateColumnStatisticsForTableResponse_httpStatus - The response's http status code.
Response Lenses
updateColumnStatisticsForTableResponse_errors :: Lens' UpdateColumnStatisticsForTableResponse (Maybe [ColumnStatisticsError]) Source #
List of ColumnStatisticsErrors.
updateColumnStatisticsForTableResponse_httpStatus :: Lens' UpdateColumnStatisticsForTableResponse Int Source #
The response's http status code.