COMPREHENDMEDICAL

DescribeEntitiesDetectionV2Job

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeICD10CMInferenceJob

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribePHIDetectionJob

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeRxNormInferenceJob

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeSNOMEDCTInferenceJob

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DetectEntities

valid {
    input.Body.Text == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DetectEntitiesV2

valid {
    input.Body.Text == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DetectPHI

valid {
    input.Body.Text == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

InferICD10CM

valid {
    input.Body.Text == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

InferRxNorm

valid {
    input.Body.Text == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

InferSNOMEDCT

valid {
    input.Body.Text == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListEntitiesDetectionV2Jobs

enum_JobStatus := [ "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED" ]

valid {
    input.Body.Filter.JobName == STRING
    input.Body.Filter.JobStatus == enum_JobStatus[_]
    input.Body.Filter.SubmitTimeBefore == TIMESTAMP
    input.Body.Filter.SubmitTimeAfter == TIMESTAMP
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListICD10CMInferenceJobs

enum_JobStatus := [ "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED" ]

valid {
    input.Body.Filter.JobName == STRING
    input.Body.Filter.JobStatus == enum_JobStatus[_]
    input.Body.Filter.SubmitTimeBefore == TIMESTAMP
    input.Body.Filter.SubmitTimeAfter == TIMESTAMP
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListPHIDetectionJobs

enum_JobStatus := [ "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED" ]

valid {
    input.Body.Filter.JobName == STRING
    input.Body.Filter.JobStatus == enum_JobStatus[_]
    input.Body.Filter.SubmitTimeBefore == TIMESTAMP
    input.Body.Filter.SubmitTimeAfter == TIMESTAMP
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListRxNormInferenceJobs

enum_JobStatus := [ "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED" ]

valid {
    input.Body.Filter.JobName == STRING
    input.Body.Filter.JobStatus == enum_JobStatus[_]
    input.Body.Filter.SubmitTimeBefore == TIMESTAMP
    input.Body.Filter.SubmitTimeAfter == TIMESTAMP
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListSNOMEDCTInferenceJobs

enum_JobStatus := [ "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED" ]

valid {
    input.Body.Filter.JobName == STRING
    input.Body.Filter.JobStatus == enum_JobStatus[_]
    input.Body.Filter.SubmitTimeBefore == TIMESTAMP
    input.Body.Filter.SubmitTimeAfter == TIMESTAMP
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartEntitiesDetectionV2Job

enum_LanguageCode := [ "en" ]

valid {
    input.Body.InputDataConfig.S3Bucket == STRING
    input.Body.InputDataConfig.S3Key == STRING
    input.Body.OutputDataConfig.S3Bucket == STRING
    input.Body.OutputDataConfig.S3Key == STRING
    input.Body.DataAccessRoleArn == STRING
    input.Body.JobName == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.KMSKey == STRING
    input.Body.LanguageCode == enum_LanguageCode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartICD10CMInferenceJob

enum_LanguageCode := [ "en" ]

valid {
    input.Body.InputDataConfig.S3Bucket == STRING
    input.Body.InputDataConfig.S3Key == STRING
    input.Body.OutputDataConfig.S3Bucket == STRING
    input.Body.OutputDataConfig.S3Key == STRING
    input.Body.DataAccessRoleArn == STRING
    input.Body.JobName == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.KMSKey == STRING
    input.Body.LanguageCode == enum_LanguageCode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartPHIDetectionJob

enum_LanguageCode := [ "en" ]

valid {
    input.Body.InputDataConfig.S3Bucket == STRING
    input.Body.InputDataConfig.S3Key == STRING
    input.Body.OutputDataConfig.S3Bucket == STRING
    input.Body.OutputDataConfig.S3Key == STRING
    input.Body.DataAccessRoleArn == STRING
    input.Body.JobName == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.KMSKey == STRING
    input.Body.LanguageCode == enum_LanguageCode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartRxNormInferenceJob

enum_LanguageCode := [ "en" ]

valid {
    input.Body.InputDataConfig.S3Bucket == STRING
    input.Body.InputDataConfig.S3Key == STRING
    input.Body.OutputDataConfig.S3Bucket == STRING
    input.Body.OutputDataConfig.S3Key == STRING
    input.Body.DataAccessRoleArn == STRING
    input.Body.JobName == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.KMSKey == STRING
    input.Body.LanguageCode == enum_LanguageCode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartSNOMEDCTInferenceJob

enum_LanguageCode := [ "en" ]

valid {
    input.Body.InputDataConfig.S3Bucket == STRING
    input.Body.InputDataConfig.S3Key == STRING
    input.Body.OutputDataConfig.S3Bucket == STRING
    input.Body.OutputDataConfig.S3Key == STRING
    input.Body.DataAccessRoleArn == STRING
    input.Body.JobName == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.KMSKey == STRING
    input.Body.LanguageCode == enum_LanguageCode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopEntitiesDetectionV2Job

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopICD10CMInferenceJob

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopPHIDetectionJob

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopRxNormInferenceJob

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopSNOMEDCTInferenceJob

valid {
    input.Body.JobId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}