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 |
Retrieves partitions in a batch request.
- batchGetPartition :: Text -> Text -> BatchGetPartition
- data BatchGetPartition
- bgpCatalogId :: Lens' BatchGetPartition (Maybe Text)
- bgpDatabaseName :: Lens' BatchGetPartition Text
- bgpTableName :: Lens' BatchGetPartition Text
- bgpPartitionsToGet :: Lens' BatchGetPartition [PartitionValueList]
- batchGetPartitionResponse :: Int -> BatchGetPartitionResponse
- data BatchGetPartitionResponse
- bgprsUnprocessedKeys :: Lens' BatchGetPartitionResponse [PartitionValueList]
- bgprsPartitions :: Lens' BatchGetPartitionResponse [Partition]
- bgprsResponseStatus :: Lens' BatchGetPartitionResponse Int
Creating a Request
Creates a value of BatchGetPartition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bgpCatalogId
- The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.bgpDatabaseName
- The name of the catalog database where the partitions reside.bgpTableName
- The name of the partitions' table.bgpPartitionsToGet
- A list of partition values identifying the partitions to retrieve.
data BatchGetPartition Source #
See: batchGetPartition
smart constructor.
Request Lenses
bgpCatalogId :: Lens' BatchGetPartition (Maybe Text) Source #
The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
bgpDatabaseName :: Lens' BatchGetPartition Text Source #
The name of the catalog database where the partitions reside.
bgpTableName :: Lens' BatchGetPartition Text Source #
The name of the partitions' table.
bgpPartitionsToGet :: Lens' BatchGetPartition [PartitionValueList] Source #
A list of partition values identifying the partitions to retrieve.
Destructuring the Response
batchGetPartitionResponse Source #
Creates a value of BatchGetPartitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bgprsUnprocessedKeys
- A list of the partition values in the request for which partions were not returned.bgprsPartitions
- A list of the requested partitions.bgprsResponseStatus
- -- | The response status code.
data BatchGetPartitionResponse Source #
See: batchGetPartitionResponse
smart constructor.
Response Lenses
bgprsUnprocessedKeys :: Lens' BatchGetPartitionResponse [PartitionValueList] Source #
A list of the partition values in the request for which partions were not returned.
bgprsPartitions :: Lens' BatchGetPartitionResponse [Partition] Source #
A list of the requested partitions.
bgprsResponseStatus :: Lens' BatchGetPartitionResponse Int Source #
- - | The response status code.