get_partition_indexes
¶
get_partition_indexes(
database_name: NameString,
table_name: NameString,
*,
config_overrides: Optional[GlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
next_token: Optional[Token] = None,
) -> GetPartitionIndexesResponse
Retrieves the partition indexes associated with a table.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The catalog ID where the table resides.
-
database_name(NameString) –Specifies the name of a database from which you want to retrieve partition indexes.
-
table_name(NameString) –Specifies the name of a table for which you want to retrieve the partition indexes.
-
next_token(Optional[Token], default:None) –A continuation token, included if this is a continuation call.
Raises:
-
ConflictException–The
CreatePartitionsAPI was called on a table that has indexes enabled. -
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 | |