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 |
Creates or updates partition statistics of columns.
The Identity and Access Management (IAM) permission required for this
operation is UpdatePartition
.
Synopsis
- data UpdateColumnStatisticsForPartition = UpdateColumnStatisticsForPartition' {}
- newUpdateColumnStatisticsForPartition :: Text -> Text -> UpdateColumnStatisticsForPartition
- updateColumnStatisticsForPartition_catalogId :: Lens' UpdateColumnStatisticsForPartition (Maybe Text)
- updateColumnStatisticsForPartition_databaseName :: Lens' UpdateColumnStatisticsForPartition Text
- updateColumnStatisticsForPartition_tableName :: Lens' UpdateColumnStatisticsForPartition Text
- updateColumnStatisticsForPartition_partitionValues :: Lens' UpdateColumnStatisticsForPartition [Text]
- updateColumnStatisticsForPartition_columnStatisticsList :: Lens' UpdateColumnStatisticsForPartition [ColumnStatistics]
- data UpdateColumnStatisticsForPartitionResponse = UpdateColumnStatisticsForPartitionResponse' {}
- newUpdateColumnStatisticsForPartitionResponse :: Int -> UpdateColumnStatisticsForPartitionResponse
- updateColumnStatisticsForPartitionResponse_errors :: Lens' UpdateColumnStatisticsForPartitionResponse (Maybe [ColumnStatisticsError])
- updateColumnStatisticsForPartitionResponse_httpStatus :: Lens' UpdateColumnStatisticsForPartitionResponse Int
Creating a Request
data UpdateColumnStatisticsForPartition Source #
See: newUpdateColumnStatisticsForPartition
smart constructor.
UpdateColumnStatisticsForPartition' | |
|
Instances
newUpdateColumnStatisticsForPartition Source #
Create a value of UpdateColumnStatisticsForPartition
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:UpdateColumnStatisticsForPartition'
, updateColumnStatisticsForPartition_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:UpdateColumnStatisticsForPartition'
, updateColumnStatisticsForPartition_databaseName
- The name of the catalog database where the partitions reside.
$sel:tableName:UpdateColumnStatisticsForPartition'
, updateColumnStatisticsForPartition_tableName
- The name of the partitions' table.
$sel:partitionValues:UpdateColumnStatisticsForPartition'
, updateColumnStatisticsForPartition_partitionValues
- A list of partition values identifying the partition.
$sel:columnStatisticsList:UpdateColumnStatisticsForPartition'
, updateColumnStatisticsForPartition_columnStatisticsList
- A list of the column statistics.
Request Lenses
updateColumnStatisticsForPartition_catalogId :: Lens' UpdateColumnStatisticsForPartition (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.
updateColumnStatisticsForPartition_databaseName :: Lens' UpdateColumnStatisticsForPartition Text Source #
The name of the catalog database where the partitions reside.
updateColumnStatisticsForPartition_tableName :: Lens' UpdateColumnStatisticsForPartition Text Source #
The name of the partitions' table.
updateColumnStatisticsForPartition_partitionValues :: Lens' UpdateColumnStatisticsForPartition [Text] Source #
A list of partition values identifying the partition.
updateColumnStatisticsForPartition_columnStatisticsList :: Lens' UpdateColumnStatisticsForPartition [ColumnStatistics] Source #
A list of the column statistics.
Destructuring the Response
data UpdateColumnStatisticsForPartitionResponse Source #
See: newUpdateColumnStatisticsForPartitionResponse
smart constructor.
UpdateColumnStatisticsForPartitionResponse' | |
|
Instances
newUpdateColumnStatisticsForPartitionResponse Source #
Create a value of UpdateColumnStatisticsForPartitionResponse
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:UpdateColumnStatisticsForPartitionResponse'
, updateColumnStatisticsForPartitionResponse_errors
- Error occurred during updating column statistics data.
$sel:httpStatus:UpdateColumnStatisticsForPartitionResponse'
, updateColumnStatisticsForPartitionResponse_httpStatus
- The response's http status code.
Response Lenses
updateColumnStatisticsForPartitionResponse_errors :: Lens' UpdateColumnStatisticsForPartitionResponse (Maybe [ColumnStatisticsError]) Source #
Error occurred during updating column statistics data.
updateColumnStatisticsForPartitionResponse_httpStatus :: Lens' UpdateColumnStatisticsForPartitionResponse Int Source #
The response's http status code.