I am trying to create a table with the following code
table = dynamodb.create_table(
TableName='log',
AttributeDefinitions=[
{
'AttributeName': 'lastcall',
'AttributeType': 's'
}
],
KeySchema=[
{
'AttributeName': 'lastcall', #partition key
'KeyType': 'HASH'
}
]
)
I am getting the above error not able to figure out what cloud be wrong.