First of all, check your Region code
ddbClient.setRegion(Region.getRegion(Regions.EU_WEST_2));
// add your Region
Also, check the credential
AmazonDynamoDBClient ddbClient = new AmazonDynamoDBClient(credentialsProvider);
Interested to know more about AWS, Join: AWS Online training
For more information visit: