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 |
Deletes a specified partition index from an existing table.
Synopsis
- data DeletePartitionIndex = DeletePartitionIndex' {}
- newDeletePartitionIndex :: Text -> Text -> Text -> DeletePartitionIndex
- deletePartitionIndex_catalogId :: Lens' DeletePartitionIndex (Maybe Text)
- deletePartitionIndex_databaseName :: Lens' DeletePartitionIndex Text
- deletePartitionIndex_tableName :: Lens' DeletePartitionIndex Text
- deletePartitionIndex_indexName :: Lens' DeletePartitionIndex Text
- data DeletePartitionIndexResponse = DeletePartitionIndexResponse' {
- httpStatus :: Int
- newDeletePartitionIndexResponse :: Int -> DeletePartitionIndexResponse
- deletePartitionIndexResponse_httpStatus :: Lens' DeletePartitionIndexResponse Int
Creating a Request
data DeletePartitionIndex Source #
See: newDeletePartitionIndex
smart constructor.
DeletePartitionIndex' | |
|
Instances
newDeletePartitionIndex Source #
:: Text | |
-> Text | |
-> Text | |
-> DeletePartitionIndex |
Create a value of DeletePartitionIndex
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:DeletePartitionIndex'
, deletePartitionIndex_catalogId
- The catalog ID where the table resides.
$sel:databaseName:DeletePartitionIndex'
, deletePartitionIndex_databaseName
- Specifies the name of a database from which you want to delete a
partition index.
$sel:tableName:DeletePartitionIndex'
, deletePartitionIndex_tableName
- Specifies the name of a table from which you want to delete a partition
index.
$sel:indexName:DeletePartitionIndex'
, deletePartitionIndex_indexName
- The name of the partition index to be deleted.
Request Lenses
deletePartitionIndex_catalogId :: Lens' DeletePartitionIndex (Maybe Text) Source #
The catalog ID where the table resides.
deletePartitionIndex_databaseName :: Lens' DeletePartitionIndex Text Source #
Specifies the name of a database from which you want to delete a partition index.
deletePartitionIndex_tableName :: Lens' DeletePartitionIndex Text Source #
Specifies the name of a table from which you want to delete a partition index.
deletePartitionIndex_indexName :: Lens' DeletePartitionIndex Text Source #
The name of the partition index to be deleted.
Destructuring the Response
data DeletePartitionIndexResponse Source #
See: newDeletePartitionIndexResponse
smart constructor.
DeletePartitionIndexResponse' | |
|
Instances
newDeletePartitionIndexResponse Source #
Create a value of DeletePartitionIndexResponse
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:DeletePartitionIndexResponse'
, deletePartitionIndexResponse_httpStatus
- The response's http status code.
Response Lenses
deletePartitionIndexResponse_httpStatus :: Lens' DeletePartitionIndexResponse Int Source #
The response's http status code.