Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deletes one or more partitions in a batch operation.
- batchDeletePartition :: Text -> Text -> BatchDeletePartition
- data BatchDeletePartition
- bdpCatalogId :: Lens' BatchDeletePartition (Maybe Text)
- bdpDatabaseName :: Lens' BatchDeletePartition Text
- bdpTableName :: Lens' BatchDeletePartition Text
- bdpPartitionsToDelete :: Lens' BatchDeletePartition [PartitionValueList]
- batchDeletePartitionResponse :: Int -> BatchDeletePartitionResponse
- data BatchDeletePartitionResponse
- bdprsErrors :: Lens' BatchDeletePartitionResponse [PartitionError]
- bdprsResponseStatus :: Lens' BatchDeletePartitionResponse Int
Creating a Request
Creates a value of BatchDeletePartition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdpCatalogId
- The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account ID is used by default.bdpDatabaseName
- The name of the catalog database in which the table in question resides.bdpTableName
- The name of the table where the partitions to be deleted is located.bdpPartitionsToDelete
- A list ofPartitionInput
structures that define the partitions to be deleted.
data BatchDeletePartition Source #
See: batchDeletePartition
smart constructor.
Request Lenses
bdpCatalogId :: Lens' BatchDeletePartition (Maybe Text) Source #
The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account ID is used by default.
bdpDatabaseName :: Lens' BatchDeletePartition Text Source #
The name of the catalog database in which the table in question resides.
bdpTableName :: Lens' BatchDeletePartition Text Source #
The name of the table where the partitions to be deleted is located.
bdpPartitionsToDelete :: Lens' BatchDeletePartition [PartitionValueList] Source #
A list of PartitionInput
structures that define the partitions to be deleted.
Destructuring the Response
batchDeletePartitionResponse Source #
Creates a value of BatchDeletePartitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdprsErrors
- Errors encountered when trying to delete the requested partitions.bdprsResponseStatus
- -- | The response status code.
data BatchDeletePartitionResponse Source #
See: batchDeletePartitionResponse
smart constructor.
Response Lenses
bdprsErrors :: Lens' BatchDeletePartitionResponse [PartitionError] Source #
Errors encountered when trying to delete the requested partitions.
bdprsResponseStatus :: Lens' BatchDeletePartitionResponse Int Source #
- - | The response status code.