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'
}
)
[REQUIRED]
Specifies the name of a database in which you want to create a partition index.
[REQUIRED]
Specifies the name of a table in which you want to create a partition index.
[REQUIRED]
Specifies a PartitionIndex
structure to create a partition index in an existing table.
The keys for the partition index.
The name of the partition index.
dict
Response Syntax
{}
Response Structure
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