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 partition statistics of columns.
The Identity and Access Management (IAM) permission required for this
operation is GetPartition
.
Synopsis
- data GetColumnStatisticsForPartition = GetColumnStatisticsForPartition' {
- catalogId :: Maybe Text
- databaseName :: Text
- tableName :: Text
- partitionValues :: [Text]
- columnNames :: [Text]
- newGetColumnStatisticsForPartition :: Text -> Text -> GetColumnStatisticsForPartition
- getColumnStatisticsForPartition_catalogId :: Lens' GetColumnStatisticsForPartition (Maybe Text)
- getColumnStatisticsForPartition_databaseName :: Lens' GetColumnStatisticsForPartition Text
- getColumnStatisticsForPartition_tableName :: Lens' GetColumnStatisticsForPartition Text
- getColumnStatisticsForPartition_partitionValues :: Lens' GetColumnStatisticsForPartition [Text]
- getColumnStatisticsForPartition_columnNames :: Lens' GetColumnStatisticsForPartition [Text]
- data GetColumnStatisticsForPartitionResponse = GetColumnStatisticsForPartitionResponse' {}
- newGetColumnStatisticsForPartitionResponse :: Int -> GetColumnStatisticsForPartitionResponse
- getColumnStatisticsForPartitionResponse_errors :: Lens' GetColumnStatisticsForPartitionResponse (Maybe [ColumnError])
- getColumnStatisticsForPartitionResponse_columnStatisticsList :: Lens' GetColumnStatisticsForPartitionResponse (Maybe [ColumnStatistics])
- getColumnStatisticsForPartitionResponse_httpStatus :: Lens' GetColumnStatisticsForPartitionResponse Int
Creating a Request
data GetColumnStatisticsForPartition Source #
See: newGetColumnStatisticsForPartition
smart constructor.
GetColumnStatisticsForPartition' | |
|
Instances
newGetColumnStatisticsForPartition Source #
Create a value of GetColumnStatisticsForPartition
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:GetColumnStatisticsForPartition'
, getColumnStatisticsForPartition_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:GetColumnStatisticsForPartition'
, getColumnStatisticsForPartition_databaseName
- The name of the catalog database where the partitions reside.
$sel:tableName:GetColumnStatisticsForPartition'
, getColumnStatisticsForPartition_tableName
- The name of the partitions' table.
$sel:partitionValues:GetColumnStatisticsForPartition'
, getColumnStatisticsForPartition_partitionValues
- A list of partition values identifying the partition.
$sel:columnNames:GetColumnStatisticsForPartition'
, getColumnStatisticsForPartition_columnNames
- A list of the column names.
Request Lenses
getColumnStatisticsForPartition_catalogId :: Lens' GetColumnStatisticsForPartition (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.
getColumnStatisticsForPartition_databaseName :: Lens' GetColumnStatisticsForPartition Text Source #
The name of the catalog database where the partitions reside.
getColumnStatisticsForPartition_tableName :: Lens' GetColumnStatisticsForPartition Text Source #
The name of the partitions' table.
getColumnStatisticsForPartition_partitionValues :: Lens' GetColumnStatisticsForPartition [Text] Source #
A list of partition values identifying the partition.
getColumnStatisticsForPartition_columnNames :: Lens' GetColumnStatisticsForPartition [Text] Source #
A list of the column names.
Destructuring the Response
data GetColumnStatisticsForPartitionResponse Source #
See: newGetColumnStatisticsForPartitionResponse
smart constructor.
GetColumnStatisticsForPartitionResponse' | |
|
Instances
newGetColumnStatisticsForPartitionResponse Source #
Create a value of GetColumnStatisticsForPartitionResponse
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:GetColumnStatisticsForPartitionResponse'
, getColumnStatisticsForPartitionResponse_errors
- Error occurred during retrieving column statistics data.
$sel:columnStatisticsList:GetColumnStatisticsForPartitionResponse'
, getColumnStatisticsForPartitionResponse_columnStatisticsList
- List of ColumnStatistics that failed to be retrieved.
$sel:httpStatus:GetColumnStatisticsForPartitionResponse'
, getColumnStatisticsForPartitionResponse_httpStatus
- The response's http status code.
Response Lenses
getColumnStatisticsForPartitionResponse_errors :: Lens' GetColumnStatisticsForPartitionResponse (Maybe [ColumnError]) Source #
Error occurred during retrieving column statistics data.
getColumnStatisticsForPartitionResponse_columnStatisticsList :: Lens' GetColumnStatisticsForPartitionResponse (Maybe [ColumnStatistics]) Source #
List of ColumnStatistics that failed to be retrieved.
getColumnStatisticsForPartitionResponse_httpStatus :: Lens' GetColumnStatisticsForPartitionResponse Int Source #
The response's http status code.