client = boto3.client('dynamodb') response = client.get_item(TableName='Garbage_collector_table', Key={'topic':{'S':str(my_topic)}})