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 |
Retrieves partitions in a batch request.
Synopsis
- data BatchGetPartition = BatchGetPartition' {}
- newBatchGetPartition :: Text -> Text -> BatchGetPartition
- batchGetPartition_catalogId :: Lens' BatchGetPartition (Maybe Text)
- batchGetPartition_databaseName :: Lens' BatchGetPartition Text
- batchGetPartition_tableName :: Lens' BatchGetPartition Text
- batchGetPartition_partitionsToGet :: Lens' BatchGetPartition [PartitionValueList]
- data BatchGetPartitionResponse = BatchGetPartitionResponse' {}
- newBatchGetPartitionResponse :: Int -> BatchGetPartitionResponse
- batchGetPartitionResponse_unprocessedKeys :: Lens' BatchGetPartitionResponse (Maybe [PartitionValueList])
- batchGetPartitionResponse_partitions :: Lens' BatchGetPartitionResponse (Maybe [Partition])
- batchGetPartitionResponse_httpStatus :: Lens' BatchGetPartitionResponse Int
Creating a Request
data BatchGetPartition Source #
See: newBatchGetPartition
smart constructor.
BatchGetPartition' | |
|
Instances
:: Text | |
-> Text | |
-> BatchGetPartition |
Create a value of BatchGetPartition
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:BatchGetPartition'
, batchGetPartition_catalogId
- The ID of the Data Catalog where the partitions in question reside. If
none is supplied, the Amazon Web Services account ID is used by default.
$sel:databaseName:BatchGetPartition'
, batchGetPartition_databaseName
- The name of the catalog database where the partitions reside.
$sel:tableName:BatchGetPartition'
, batchGetPartition_tableName
- The name of the partitions' table.
$sel:partitionsToGet:BatchGetPartition'
, batchGetPartition_partitionsToGet
- A list of partition values identifying the partitions to retrieve.
Request Lenses
batchGetPartition_catalogId :: Lens' BatchGetPartition (Maybe Text) Source #
The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.
batchGetPartition_databaseName :: Lens' BatchGetPartition Text Source #
The name of the catalog database where the partitions reside.
batchGetPartition_tableName :: Lens' BatchGetPartition Text Source #
The name of the partitions' table.
batchGetPartition_partitionsToGet :: Lens' BatchGetPartition [PartitionValueList] Source #
A list of partition values identifying the partitions to retrieve.
Destructuring the Response
data BatchGetPartitionResponse Source #
See: newBatchGetPartitionResponse
smart constructor.
BatchGetPartitionResponse' | |
|
Instances
newBatchGetPartitionResponse Source #
Create a value of BatchGetPartitionResponse
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:unprocessedKeys:BatchGetPartitionResponse'
, batchGetPartitionResponse_unprocessedKeys
- A list of the partition values in the request for which partitions were
not returned.
$sel:partitions:BatchGetPartitionResponse'
, batchGetPartitionResponse_partitions
- A list of the requested partitions.
$sel:httpStatus:BatchGetPartitionResponse'
, batchGetPartitionResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetPartitionResponse_unprocessedKeys :: Lens' BatchGetPartitionResponse (Maybe [PartitionValueList]) Source #
A list of the partition values in the request for which partitions were not returned.
batchGetPartitionResponse_partitions :: Lens' BatchGetPartitionResponse (Maybe [Partition]) Source #
A list of the requested partitions.
batchGetPartitionResponse_httpStatus :: Lens' BatchGetPartitionResponse Int Source #
The response's http status code.