Refactored command that runs DynamoDB to use attributes for all possible options.