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 the partition indexes associated with a table.
This operation returns paginated results.
Synopsis
- data GetPartitionIndexes = GetPartitionIndexes' {}
- newGetPartitionIndexes :: Text -> Text -> GetPartitionIndexes
- getPartitionIndexes_catalogId :: Lens' GetPartitionIndexes (Maybe Text)
- getPartitionIndexes_nextToken :: Lens' GetPartitionIndexes (Maybe Text)
- getPartitionIndexes_databaseName :: Lens' GetPartitionIndexes Text
- getPartitionIndexes_tableName :: Lens' GetPartitionIndexes Text
- data GetPartitionIndexesResponse = GetPartitionIndexesResponse' {}
- newGetPartitionIndexesResponse :: Int -> GetPartitionIndexesResponse
- getPartitionIndexesResponse_partitionIndexDescriptorList :: Lens' GetPartitionIndexesResponse (Maybe [PartitionIndexDescriptor])
- getPartitionIndexesResponse_nextToken :: Lens' GetPartitionIndexesResponse (Maybe Text)
- getPartitionIndexesResponse_httpStatus :: Lens' GetPartitionIndexesResponse Int
Creating a Request
data GetPartitionIndexes Source #
See: newGetPartitionIndexes
smart constructor.
GetPartitionIndexes' | |
|
Instances
newGetPartitionIndexes Source #
:: Text | |
-> Text | |
-> GetPartitionIndexes |
Create a value of GetPartitionIndexes
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:GetPartitionIndexes'
, getPartitionIndexes_catalogId
- The catalog ID where the table resides.
$sel:nextToken:GetPartitionIndexes'
, getPartitionIndexes_nextToken
- A continuation token, included if this is a continuation call.
$sel:databaseName:GetPartitionIndexes'
, getPartitionIndexes_databaseName
- Specifies the name of a database from which you want to retrieve
partition indexes.
$sel:tableName:GetPartitionIndexes'
, getPartitionIndexes_tableName
- Specifies the name of a table for which you want to retrieve the
partition indexes.
Request Lenses
getPartitionIndexes_catalogId :: Lens' GetPartitionIndexes (Maybe Text) Source #
The catalog ID where the table resides.
getPartitionIndexes_nextToken :: Lens' GetPartitionIndexes (Maybe Text) Source #
A continuation token, included if this is a continuation call.
getPartitionIndexes_databaseName :: Lens' GetPartitionIndexes Text Source #
Specifies the name of a database from which you want to retrieve partition indexes.
getPartitionIndexes_tableName :: Lens' GetPartitionIndexes Text Source #
Specifies the name of a table for which you want to retrieve the partition indexes.
Destructuring the Response
data GetPartitionIndexesResponse Source #
See: newGetPartitionIndexesResponse
smart constructor.
GetPartitionIndexesResponse' | |
|
Instances
newGetPartitionIndexesResponse Source #
Create a value of GetPartitionIndexesResponse
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:partitionIndexDescriptorList:GetPartitionIndexesResponse'
, getPartitionIndexesResponse_partitionIndexDescriptorList
- A list of index descriptors.
$sel:nextToken:GetPartitionIndexes'
, getPartitionIndexesResponse_nextToken
- A continuation token, present if the current list segment is not the
last.
$sel:httpStatus:GetPartitionIndexesResponse'
, getPartitionIndexesResponse_httpStatus
- The response's http status code.
Response Lenses
getPartitionIndexesResponse_partitionIndexDescriptorList :: Lens' GetPartitionIndexesResponse (Maybe [PartitionIndexDescriptor]) Source #
A list of index descriptors.
getPartitionIndexesResponse_nextToken :: Lens' GetPartitionIndexesResponse (Maybe Text) Source #
A continuation token, present if the current list segment is not the last.
getPartitionIndexesResponse_httpStatus :: Lens' GetPartitionIndexesResponse Int Source #
The response's http status code.