from sqlalchemy import Column
from sqlalchemy.types import JSON, Text, Boolean, TIMESTAMP, BigInteger
from sqlalchemy.dialects import postgresql as psql

from steampipe_alchemy import Base

class AwsLambdaVersion(Base):
    __tablename__ = 'aws_lambda_version'
    version = Column('version', Text, nullable=True)
    function_name = Column('function_name', Text, nullable=True)
    arn = Column('arn', Text, primary_key=True, nullable=True)
    master_arn = Column('master_arn', Text, nullable=True)
    state = Column('state', Text, nullable=True)
    code_sha_256 = Column('code_sha_256', Text, nullable=True)
    code_size = Column('code_size', BigInteger, nullable=True)
    description = Column('description', Text, nullable=True)
    handler = Column('handler', Text, nullable=True)
    last_modified = Column('last_modified', Text, nullable=True)
    last_update_status = Column('last_update_status', Text, nullable=True)
    last_update_status_reason = Column('last_update_status_reason', Text, nullable=True)
    last_update_status_reason_code = Column('last_update_status_reason_code', Text, nullable=True)
    memory_size = Column('memory_size', BigInteger, nullable=True)
    revision_id = Column('revision_id', Text, nullable=True)
    runtime = Column('runtime', Text, nullable=True)
    timeout = Column('timeout', BigInteger, nullable=True)
    vpc_id = Column('vpc_id', Text, nullable=True)
    vpc_security_group_ids = Column('vpc_security_group_ids', JSON, nullable=True)
    vpc_subnet_ids = Column('vpc_subnet_ids', JSON, nullable=True)
    title = Column('title', Text, nullable=True)
    akas = Column('akas', JSON, nullable=True)
    partition = Column('partition', Text, nullable=True)
    region = Column('region', Text, nullable=True)
    account_id = Column('account_id', Text, nullable=True)