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 |
Delete the partition column statistics of a column.
The Identity and Access Management (IAM) permission required for this
operation is DeletePartition
.
Synopsis
- data DeleteColumnStatisticsForPartition = DeleteColumnStatisticsForPartition' {
- catalogId :: Maybe Text
- databaseName :: Text
- tableName :: Text
- partitionValues :: [Text]
- columnName :: Text
- newDeleteColumnStatisticsForPartition :: Text -> Text -> Text -> DeleteColumnStatisticsForPartition
- deleteColumnStatisticsForPartition_catalogId :: Lens' DeleteColumnStatisticsForPartition (Maybe Text)
- deleteColumnStatisticsForPartition_databaseName :: Lens' DeleteColumnStatisticsForPartition Text
- deleteColumnStatisticsForPartition_tableName :: Lens' DeleteColumnStatisticsForPartition Text
- deleteColumnStatisticsForPartition_partitionValues :: Lens' DeleteColumnStatisticsForPartition [Text]
- deleteColumnStatisticsForPartition_columnName :: Lens' DeleteColumnStatisticsForPartition Text
- data DeleteColumnStatisticsForPartitionResponse = DeleteColumnStatisticsForPartitionResponse' {
- httpStatus :: Int
- newDeleteColumnStatisticsForPartitionResponse :: Int -> DeleteColumnStatisticsForPartitionResponse
- deleteColumnStatisticsForPartitionResponse_httpStatus :: Lens' DeleteColumnStatisticsForPartitionResponse Int
Creating a Request
data DeleteColumnStatisticsForPartition Source #
See: newDeleteColumnStatisticsForPartition
smart constructor.
DeleteColumnStatisticsForPartition' | |
|
Instances
newDeleteColumnStatisticsForPartition Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteColumnStatisticsForPartition |
Create a value of DeleteColumnStatisticsForPartition
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:DeleteColumnStatisticsForPartition'
, deleteColumnStatisticsForPartition_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:DeleteColumnStatisticsForPartition'
, deleteColumnStatisticsForPartition_databaseName
- The name of the catalog database where the partitions reside.
$sel:tableName:DeleteColumnStatisticsForPartition'
, deleteColumnStatisticsForPartition_tableName
- The name of the partitions' table.
$sel:partitionValues:DeleteColumnStatisticsForPartition'
, deleteColumnStatisticsForPartition_partitionValues
- A list of partition values identifying the partition.
$sel:columnName:DeleteColumnStatisticsForPartition'
, deleteColumnStatisticsForPartition_columnName
- Name of the column.
Request Lenses
deleteColumnStatisticsForPartition_catalogId :: Lens' DeleteColumnStatisticsForPartition (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.
deleteColumnStatisticsForPartition_databaseName :: Lens' DeleteColumnStatisticsForPartition Text Source #
The name of the catalog database where the partitions reside.
deleteColumnStatisticsForPartition_tableName :: Lens' DeleteColumnStatisticsForPartition Text Source #
The name of the partitions' table.
deleteColumnStatisticsForPartition_partitionValues :: Lens' DeleteColumnStatisticsForPartition [Text] Source #
A list of partition values identifying the partition.
deleteColumnStatisticsForPartition_columnName :: Lens' DeleteColumnStatisticsForPartition Text Source #
Name of the column.
Destructuring the Response
data DeleteColumnStatisticsForPartitionResponse Source #
See: newDeleteColumnStatisticsForPartitionResponse
smart constructor.
DeleteColumnStatisticsForPartitionResponse' | |
|
Instances
Eq DeleteColumnStatisticsForPartitionResponse Source # | |
Read DeleteColumnStatisticsForPartitionResponse Source # | |
Show DeleteColumnStatisticsForPartitionResponse Source # | |
Generic DeleteColumnStatisticsForPartitionResponse Source # | |
Defined in Amazonka.Glue.DeleteColumnStatisticsForPartition type Rep DeleteColumnStatisticsForPartitionResponse :: Type -> Type # | |
NFData DeleteColumnStatisticsForPartitionResponse Source # | |
type Rep DeleteColumnStatisticsForPartitionResponse Source # | |
Defined in Amazonka.Glue.DeleteColumnStatisticsForPartition type Rep DeleteColumnStatisticsForPartitionResponse = D1 ('MetaData "DeleteColumnStatisticsForPartitionResponse" "Amazonka.Glue.DeleteColumnStatisticsForPartition" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DeleteColumnStatisticsForPartitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteColumnStatisticsForPartitionResponse Source #
Create a value of DeleteColumnStatisticsForPartitionResponse
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:httpStatus:DeleteColumnStatisticsForPartitionResponse'
, deleteColumnStatisticsForPartitionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteColumnStatisticsForPartitionResponse_httpStatus :: Lens' DeleteColumnStatisticsForPartitionResponse Int Source #
The response's http status code.