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.AlreadyExistsExceptionGlue.Client.exceptions.InvalidInputExceptionGlue.Client.exceptions.EntityNotFoundExceptionGlue.Client.exceptions.ResourceNumberLimitExceededExceptionGlue.Client.exceptions.InternalServiceExceptionGlue.Client.exceptions.OperationTimeoutExceptionGlue.Client.exceptions.GlueEncryptionException