| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.GetPartitionIndexes
Description
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_nextToken :: Lens' GetPartitionIndexesResponse (Maybe Text)
- getPartitionIndexesResponse_partitionIndexDescriptorList :: Lens' GetPartitionIndexesResponse (Maybe [PartitionIndexDescriptor])
- getPartitionIndexesResponse_httpStatus :: Lens' GetPartitionIndexesResponse Int
Creating a Request
data GetPartitionIndexes Source #
See: newGetPartitionIndexes smart constructor.
Constructors
| GetPartitionIndexes' | |
Fields
| |
Instances
newGetPartitionIndexes Source #
Arguments
| :: 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:
GetPartitionIndexes, getPartitionIndexes_catalogId - The catalog ID where the table resides.
GetPartitionIndexes, getPartitionIndexes_nextToken - A continuation token, included if this is a continuation call.
GetPartitionIndexes, getPartitionIndexes_databaseName - Specifies the name of a database from which you want to retrieve
partition indexes.
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.
Constructors
| GetPartitionIndexesResponse' | |
Fields
| |
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:
GetPartitionIndexes, getPartitionIndexesResponse_nextToken - A continuation token, present if the current list segment is not the
last.
$sel:partitionIndexDescriptorList:GetPartitionIndexesResponse', getPartitionIndexesResponse_partitionIndexDescriptorList - A list of index descriptors.
$sel:httpStatus:GetPartitionIndexesResponse', getPartitionIndexesResponse_httpStatus - The response's http status code.
Response Lenses
getPartitionIndexesResponse_nextToken :: Lens' GetPartitionIndexesResponse (Maybe Text) Source #
A continuation token, present if the current list segment is not the last.
getPartitionIndexesResponse_partitionIndexDescriptorList :: Lens' GetPartitionIndexesResponse (Maybe [PartitionIndexDescriptor]) Source #
A list of index descriptors.
getPartitionIndexesResponse_httpStatus :: Lens' GetPartitionIndexesResponse Int Source #
The response's http status code.