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 |
Updates a partition.
- updatePartition :: Text -> Text -> PartitionInput -> UpdatePartition
- data UpdatePartition
- upCatalogId :: Lens' UpdatePartition (Maybe Text)
- upDatabaseName :: Lens' UpdatePartition Text
- upTableName :: Lens' UpdatePartition Text
- upPartitionValueList :: Lens' UpdatePartition [Text]
- upPartitionInput :: Lens' UpdatePartition PartitionInput
- updatePartitionResponse :: Int -> UpdatePartitionResponse
- data UpdatePartitionResponse
- uprsResponseStatus :: Lens' UpdatePartitionResponse Int
Creating a Request
Creates a value of UpdatePartition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upCatalogId
- The ID of the Data Catalog where the partition to be updated resides. If none is supplied, the AWS account ID is used by default.upDatabaseName
- The name of the catalog database in which the table in question resides.upTableName
- The name of the table where the partition to be updated is located.upPartitionValueList
- A list of the values defining the partition.upPartitionInput
- The new partition object to which to update the partition.
data UpdatePartition Source #
See: updatePartition
smart constructor.
Request Lenses
upCatalogId :: Lens' UpdatePartition (Maybe Text) Source #
The ID of the Data Catalog where the partition to be updated resides. If none is supplied, the AWS account ID is used by default.
upDatabaseName :: Lens' UpdatePartition Text Source #
The name of the catalog database in which the table in question resides.
upTableName :: Lens' UpdatePartition Text Source #
The name of the table where the partition to be updated is located.
upPartitionValueList :: Lens' UpdatePartition [Text] Source #
A list of the values defining the partition.
upPartitionInput :: Lens' UpdatePartition PartitionInput Source #
The new partition object to which to update the partition.
Destructuring the Response
updatePartitionResponse Source #
Creates a value of UpdatePartitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprsResponseStatus
- -- | The response status code.
data UpdatePartitionResponse Source #
See: updatePartitionResponse
smart constructor.
Response Lenses
uprsResponseStatus :: Lens' UpdatePartitionResponse Int Source #
- - | The response status code.