code: def getHighestVersion(name, region=None, table="credential-store",
                        **kwargs):
      '''
      Return the highest version of `name` in the table
      '''
      session = get_session(**kwargs)
  
      dynamodb = session.resource('dynamodb', region_name=region)
      secrets = dynamodb.Table(table)
  
      response = secrets.query(Limit=1,
                               ScanIndexForward=False,
                               ConsistentRead=True,
                               KeyConditionExpression=boto3.dynamodb.conditions.Key(
                                   "name").eq(name),
                               ProjectionExpression="version")
  
      if response["Count"] == 0:
          return 0
      return response["Items"][0]["version"f getHighestVersion(name, region=None, table="credential-store",
                        **kwargs):
      '''
      Return the highest version of `name` in the table
      '''
      session = get_session(**kwargs)
  
      dynamodb = session.resource('dynamodb', region_name=region)
      secrets = dynamodb.Table(table)
  
      response = secrets.query(Limit=1,
                               ScanIndexForward=False,
                               ConsistentRead=True,
                               KeyConditionExpression=boto3.dynamodb.conditions.Key(
                                   "name").eq(name),
                               ProjectionExpression="version")
  
      if response["Count"] == 0:
          return 0
      return response["Items"][0]["version"]
docs: Return the highest version of `name` in the table