Copyright | (c) 2013-2017 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 a specified partition.
- deletePartition :: Text -> Text -> DeletePartition
- data DeletePartition
- dpCatalogId :: Lens' DeletePartition (Maybe Text)
- dpDatabaseName :: Lens' DeletePartition Text
- dpTableName :: Lens' DeletePartition Text
- dpPartitionValues :: Lens' DeletePartition [Text]
- deletePartitionResponse :: Int -> DeletePartitionResponse
- data DeletePartitionResponse
- dprsResponseStatus :: Lens' DeletePartitionResponse Int
Creating a Request
Creates a value of DeletePartition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpCatalogId
- 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.dpDatabaseName
- The name of the catalog database in which the table in question resides.dpTableName
- The name of the table where the partition to be deleted is located.dpPartitionValues
- The values that define the partition.
data DeletePartition Source #
See: deletePartition
smart constructor.
Request Lenses
dpCatalogId :: Lens' DeletePartition (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.
dpDatabaseName :: Lens' DeletePartition Text Source #
The name of the catalog database in which the table in question resides.
dpTableName :: Lens' DeletePartition Text Source #
The name of the table where the partition to be deleted is located.
dpPartitionValues :: Lens' DeletePartition [Text] Source #
The values that define the partition.
Destructuring the Response
deletePartitionResponse Source #
Creates a value of DeletePartitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dprsResponseStatus
- -- | The response status code.
data DeletePartitionResponse Source #
See: deletePartitionResponse
smart constructor.
Response Lenses
dprsResponseStatus :: Lens' DeletePartitionResponse Int Source #
- - | The response status code.