def create(data_email_change_apply): condition_expression = Attr("UserID").not_exists() db_utils.create(Tables.PM_EMAIL_CHANGE_APPLY, data_email_change_apply, condition_expression)
def create(data_aws_account_coops): condition_expression = Attr("CoopID").not_exists() db_utils.create(Tables.PM_AWSACCOUNTCOOPS, data_aws_account_coops, condition_expression)
def create(data_affiliation): condition_expression = Attr("UserID").not_exists() db_utils.create(Tables.PM_AFFILIATION, data_affiliation, condition_expression)
def create(data_check_history): condition_expression = Attr("CheckHistoryID").not_exists() db_utils.create(Tables.PM_CHECK_HISTORY, data_check_history, condition_expression)
def create(data_last_check_result): condition_expression = Attr("OrganizationID").not_exists() db_utils.create(Tables.PM_LATEST_CHECK_RESULT, data_last_check_result, condition_expression)
def create(data_project): condition_expression = Attr("ProjectID").not_exists() db_utils.create(Tables.PM_PROJECTS, data_project, condition_expression)
def create(data_reports): condition_expression = Attr("ReportID").not_exists() db_utils.create(Tables.PM_REPORTS, data_reports, condition_expression)
def create(data_exclusion_resources): condition_expression = Attr("ExclusionResourceID").not_exists() db_utils.create(Tables.PM_EXCLUSION_RESOURCES, data_exclusion_resources, condition_expression)
def create(data_org_notify_mail_destinations): condition_expression = Attr("UserID").not_exists() db_utils.create(Tables.PM_ORG_NOTIFY_MAIL_DESTINATIONS, data_org_notify_mail_destinations, condition_expression)
def create(data_organization): condition_expression = Attr("OrganizationID").not_exists() db_utils.create(Tables.PM_ORGANIZATIONS, data_organization, condition_expression)
def create(data_security_check_webhook_call_history): condition_expression = Attr("SecurityCheckWebhookID").not_exists().__and__( Attr("CreatedAt").not_exists()) db_utils.create(Tables.PM_SECURITY_CHECK_WEBHOOK_CALL_HISTORY, data_security_check_webhook_call_history, condition_expression)
def create(data_check_result_item): condition_expression = Attr("CheckResultItemID").not_exists() db_utils.create(Tables.PM_CHECK_RESULT_ITEMS, data_check_result_item, condition_expression)
def create(data_security_check_webhook): condition_expression = Attr("SecurityCheckWebhookID").not_exists() db_utils.create(Tables.PM_SECURITY_CHECK_WEBHOOK, data_security_check_webhook, condition_expression)