Reading the Java AWS API docs and a few tutorials I see that the AWS Java API for DynamoDB has a createTable method. In my case the table is already created and I'm looking to just add a GSI. Is there an way to do that?
Just to add, when I checked if I could call the same createTable again, thinking the new GSI might just get added but i'm getting a response of:
"errorCode": "ResourceInUseException",
"errorMessage": "Table already exists: DeploymentOverview-V1"