Glue / Client / create_partition_index
create_partition_index#
- Glue.Client.create_partition_index(**kwargs)#
Creates a specified partition index in an existing table.
See also: AWS API Documentation
Request Syntax
response = client.create_partition_index( CatalogId='string', DatabaseName='string', TableName='string', PartitionIndex={ 'Keys': [ 'string', ], 'IndexName': 'string' } )
- Parameters:
CatalogId (string) – The catalog ID where the table resides.
DatabaseName (string) –
[REQUIRED]
Specifies the name of a database in which you want to create a partition index.
TableName (string) –
[REQUIRED]
Specifies the name of a table in which you want to create a partition index.
PartitionIndex (dict) –
[REQUIRED]
Specifies a
PartitionIndex
structure to create a partition index in an existing table.Keys (list) – [REQUIRED]
The keys for the partition index.
(string) –
IndexName (string) – [REQUIRED]
The name of the partition index.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions