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
Glue.Client.exceptions.AlreadyExistsException
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.ResourceNumberLimitExceededException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.GlueEncryptionException