NEPTUNEDATA

CancelGremlinQuery

valid {
    input.ReqMap.queryId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CancelLoaderJob

valid {
    input.ReqMap.loadId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CancelMLDataProcessingJob

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.Qs.clean == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CancelMLModelTrainingJob

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.Qs.clean == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CancelMLModelTransformJob

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.Qs.clean == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CancelOpenCypherQuery

valid {
    input.ReqMap.queryId == STRING
    input.Qs.silent == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMLEndpoint

valid {
    input.Body.id == STRING
    input.Body.mlModelTrainingJobId == STRING
    input.Body.mlModelTransformJobId == STRING
    input.Body.update == BOOLEAN
    input.Body.neptuneIamRoleArn == STRING
    input.Body.modelName == STRING
    input.Body.instanceType == STRING
    input.Body.instanceCount == INTEGER
    input.Body.volumeEncryptionKMSKey == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteMLEndpoint

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.Qs.clean == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeletePropertygraphStatistics

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.Qs.clean == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteSparqlStatistics

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.Qs.clean == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ExecuteFastReset

enum_Action := [ "initiateDatabaseReset", "performDatabaseReset" ]

valid {
    input.Body.action == enum_Action[_]
    input.Body.token == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ExecuteGremlinExplainQuery

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

ExecuteGremlinProfileQuery

valid {
    input.Body.gremlin == STRING
    input.Body.profile.results == BOOLEAN
    input.Body.profile.chop == INTEGER
    input.Body.profile.serializer == STRING
    input.Body.profile.indexOps == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ExecuteGremlinQuery

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

ExecuteOpenCypherExplainQuery

enum_OpenCypherExplainMode := [ "static", "dynamic", "details" ]

valid {
    input.Body.query == STRING
    input.Body.parameters == STRING
    input.Body.explain == enum_OpenCypherExplainMode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ExecuteOpenCypherQuery

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

GetEngineStatus

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

GetGremlinQueryStatus

valid {
    input.ReqMap.queryId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetLoaderJobStatus

valid {
    input.ReqMap.loadId == STRING
    input.Qs.details == BOOLEAN
    input.Qs.errors == BOOLEAN
    input.Qs.page == INTEGER
    input.Qs.errorsPerPage == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetMLDataProcessingJob

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetMLEndpoint

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetMLModelTrainingJob

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetMLModelTransformJob

valid {
    input.ReqMap.id == STRING
    input.Qs.neptuneIamRoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetOpenCypherQueryStatus

valid {
    input.ReqMap.queryId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetPropertygraphStatistics

valid {
    input.ReqMap.queryId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetPropertygraphStream

enum_Encoding := [ "gzip" ]
enum_IteratorType := [ "AT_SEQUENCE_NUMBER", "AFTER_SEQUENCE_NUMBER", "TRIM_HORIZON", "LATEST" ]

valid {
    input.Qs.limit == LONG
    input.Qs.iteratorType == enum_IteratorType[_]
    input.Qs.commitNum == LONG
    input.Qs.opNum == LONG
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetPropertygraphSummary

enum_GraphSummaryType := [ "basic", "detailed" ]

valid {
    input.Qs.mode == enum_GraphSummaryType[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetRDFGraphSummary

enum_GraphSummaryType := [ "basic", "detailed" ]

valid {
    input.Qs.mode == enum_GraphSummaryType[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetSparqlStatistics

enum_GraphSummaryType := [ "basic", "detailed" ]

valid {
    input.Qs.mode == enum_GraphSummaryType[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetSparqlStream

enum_Encoding := [ "gzip" ]
enum_IteratorType := [ "AT_SEQUENCE_NUMBER", "AFTER_SEQUENCE_NUMBER", "TRIM_HORIZON", "LATEST" ]

valid {
    input.Qs.limit == LONG
    input.Qs.iteratorType == enum_IteratorType[_]
    input.Qs.commitNum == LONG
    input.Qs.opNum == LONG
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListGremlinQueries

valid {
    input.Qs.includeWaiting == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListLoaderJobs

valid {
    input.Qs.limit == INTEGER
    input.Qs.includeQueuedLoads == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMLDataProcessingJobs

valid {
    input.Qs.maxItems == INTEGER
    input.Qs.neptuneIamRoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMLEndpoints

valid {
    input.Qs.maxItems == INTEGER
    input.Qs.neptuneIamRoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMLModelTrainingJobs

valid {
    input.Qs.maxItems == INTEGER
    input.Qs.neptuneIamRoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMLModelTransformJobs

valid {
    input.Qs.maxItems == INTEGER
    input.Qs.neptuneIamRoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListOpenCypherQueries

valid {
    input.Qs.includeWaiting == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ManagePropertygraphStatistics

enum_StatisticsAutoGenerationMode := [ "disableAutoCompute", "enableAutoCompute", "refresh" ]

valid {
    input.Body.mode == enum_StatisticsAutoGenerationMode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ManageSparqlStatistics

enum_StatisticsAutoGenerationMode := [ "disableAutoCompute", "enableAutoCompute", "refresh" ]

valid {
    input.Body.mode == enum_StatisticsAutoGenerationMode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartLoaderJob

enum_Format := [ "csv", "opencypher", "ntriples", "nquads", "rdfxml", "turtle" ]
enum_Mode := [ "RESUME", "NEW", "AUTO" ]
enum_Parallelism := [ "LOW", "MEDIUM", "HIGH", "OVERSUBSCRIBE" ]
enum_S3BucketRegion := [ "us-east-1", "us-east-2", "us-west-1", "us-west-2", "ca-central-1", "sa-east-1", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "me-south-1", "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-south-1", "cn-north-1", "cn-northwest-1", "us-gov-west-1", "us-gov-east-1" ]

valid {
    input.Body.source == STRING
    input.Body.format == enum_Format[_]
    input.Body.region == enum_S3BucketRegion[_]
    input.Body.iamRoleArn == STRING
    input.Body.mode == enum_Mode[_]
    input.Body.failOnError == BOOLEAN
    input.Body.parallelism == enum_Parallelism[_]
    input.Body.parserConfiguration.STRING == STRING
    input.Body.updateSingleCardinalityProperties == BOOLEAN
    input.Body.queueRequest == BOOLEAN
    input.Body.dependencies[_] == STRING
    input.Body.userProvidedEdgeIds == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartMLDataProcessingJob

valid {
    input.Body.id == STRING
    input.Body.previousDataProcessingJobId == STRING
    input.Body.inputDataS3Location == STRING
    input.Body.processedDataS3Location == STRING
    input.Body.sagemakerIamRoleArn == STRING
    input.Body.neptuneIamRoleArn == STRING
    input.Body.processingInstanceType == STRING
    input.Body.processingInstanceVolumeSizeInGB == INTEGER
    input.Body.processingTimeOutInSeconds == INTEGER
    input.Body.modelType == STRING
    input.Body.configFileName == STRING
    input.Body.subnets[_] == STRING
    input.Body.securityGroupIds[_] == STRING
    input.Body.volumeEncryptionKMSKey == STRING
    input.Body.s3OutputEncryptionKMSKey == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartMLModelTrainingJob

valid {
    input.Body.id == STRING
    input.Body.previousModelTrainingJobId == STRING
    input.Body.dataProcessingJobId == STRING
    input.Body.trainModelS3Location == STRING
    input.Body.sagemakerIamRoleArn == STRING
    input.Body.neptuneIamRoleArn == STRING
    input.Body.baseProcessingInstanceType == STRING
    input.Body.trainingInstanceType == STRING
    input.Body.trainingInstanceVolumeSizeInGB == INTEGER
    input.Body.trainingTimeOutInSeconds == INTEGER
    input.Body.maxHPONumberOfTrainingJobs == INTEGER
    input.Body.maxHPOParallelTrainingJobs == INTEGER
    input.Body.subnets[_] == STRING
    input.Body.securityGroupIds[_] == STRING
    input.Body.volumeEncryptionKMSKey == STRING
    input.Body.s3OutputEncryptionKMSKey == STRING
    input.Body.enableManagedSpotTraining == BOOLEAN
    input.Body.customModelTrainingParameters.sourceS3DirectoryPath == STRING
    input.Body.customModelTrainingParameters.trainingEntryPointScript == STRING
    input.Body.customModelTrainingParameters.transformEntryPointScript == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartMLModelTransformJob

valid {
    input.Body.id == STRING
    input.Body.dataProcessingJobId == STRING
    input.Body.mlModelTrainingJobId == STRING
    input.Body.trainingJobName == STRING
    input.Body.modelTransformOutputS3Location == STRING
    input.Body.sagemakerIamRoleArn == STRING
    input.Body.neptuneIamRoleArn == STRING
    input.Body.customModelTransformParameters.sourceS3DirectoryPath == STRING
    input.Body.customModelTransformParameters.transformEntryPointScript == STRING
    input.Body.baseProcessingInstanceType == STRING
    input.Body.baseProcessingInstanceVolumeSizeInGB == INTEGER
    input.Body.subnets[_] == STRING
    input.Body.securityGroupIds[_] == STRING
    input.Body.volumeEncryptionKMSKey == STRING
    input.Body.s3OutputEncryptionKMSKey == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}